/* 라이브러리 프로젝트 2판 (2026-11-22)
   바탕: 넓은 여백과 큰 제목의 밝은 화면(애플식 절제), 시세·AI·미디어 구역은 어두운 데이터 판.
   색은 브랜드 파랑 #0113b5 하나와 시세의 오름(빨강)·내림(파랑)만 쓴다. 굵기는 400·600·650. */

:root {
	--ink: #1d1d1f; --ink-2: #424245; --mute: #6e6e73; --line: #d2d2d7; --line-2: #e8e8ed;
	--bg: #ffffff; --bg-2: #f5f5f7; --paper: #faf9f6; --card: #ffffff;
	--blue: #0113b5; --link: #0113b5; --on-blue: #ffffff;
	--night: #000000; --night-2: #111114; --night-3: #1c1c21; --night-line: rgba(255, 255, 255, .12); --night-ink: #f5f5f7; --night-mute: #a1a1a6;
	--up: #e0323f; --down: #2a6fdb; --live: #22c55e;
	--r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
	/* 글 쪽: 읽는 것(그림, 사진, 표, 인용, 요약, 코드)은 각지게, 누르는 것(단추, 칩, 태그)은 둥글게. 표지만 살짝 둥글린다(11-26) */
	--rb: 0px; --r-cover: 12px;
	--gut: clamp(16px, 4vw, 44px); --max: 1280px;
	--ease: cubic-bezier(.22, .61, .36, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
	--font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	--font-han: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", sans-serif;   /* 한자를 가진 고딕. 프리텐다드에는 한자가 없다 */
	--tape-h: 36px; --top-h: 60px;
	--hero-over: 28px; --hero-min: 600px; --dock-b: 16px; --dock-h: 46px;
	color-scheme: light;
}
[data-theme="dark"] {
	--ink: #f5f5f7; --ink-2: #d2d2d7; --mute: #a1a1a6; --line: #3a3a40; --line-2: #26262b;
	--bg: #0b0b0e; --bg-2: #141418; --paper: #111114; --card: #17171b;
	--blue: #3d8bff; --link: #5aa2ff; --on-blue: #04122e;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 24px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400; letter-spacing: -.011em;
	word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, h4) { margin: 0; font-weight: 650; text-wrap: balance; }
:where(p, li, dd, figcaption, blockquote) { text-wrap: pretty; }
:where(p, ul, ol, dl, figure, blockquote) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
[hidden] { display: none !important; }
svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* 아이콘 규칙이 그림 속 글자에 외곽선을 입히지 않게(글자가 두껍게 번져 보이던 원인) */
svg text { stroke: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--on-blue); }

.lp-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lp-skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; transition: top .2s; }
[data-theme="dark"] .lp-skip { color: var(--on-blue); }   /* 어두운 화면의 밝은 파랑 위 흰 글자는 대비가 3.3 이었다 */
.lp-skip:focus { top: 12px; }
.lp-wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.lp-small { margin-top: 14px; color: var(--mute); font-size: 13px; line-height: 1.6; }
.lp-h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }

/* ── 버튼 ── */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border: 1px solid var(--blue); border-radius: 999px;
	background: var(--blue); color: var(--on-blue); font-size: 15px; font-weight: 600; letter-spacing: -.01em; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.lp-btn:hover { background: transparent; color: var(--blue); }
.lp-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.lp-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.lp-btn--light { background: #fff; color: #1d1d1f; border-color: #fff; }
.lp-btn--light:hover { background: transparent; color: #fff; }
.lp-btn--sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.lp-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: inherit; transition: background .2s; }
.lp-ico svg { width: 21px; height: 21px; }
.lp-ico:hover { background: var(--bg-2); }

/* ── 시세 띠 ── */
.lp-tape { color-scheme: dark; position: relative; z-index: 31; display: flex; align-items: center; height: var(--tape-h); background: var(--night); color: var(--night-ink); font-size: 12.5px; }
.lp-tape__label { flex: none; display: flex; align-items: center; gap: 7px; height: 100%; padding: 0 16px 0 var(--gut); border-right: 1px solid var(--night-line); font-weight: 650; }
.lp-tape__label i, .lp-nav__live i, .lp-mhead__stamp i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.lp-tape__view { position: relative; flex: 1; min-width: 0; height: 100%; overflow: hidden; }
.lp-tape__track { display: flex; align-items: center; height: 100%; width: max-content; white-space: nowrap; }
.lp-tape__run { display: flex; align-items: center; height: 100%; }
.lp-tape__wait { padding-left: 16px; color: var(--night-mute); }
.lp-tick { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 20px; border-right: 1px solid var(--night-line); font-variant-numeric: tabular-nums; }
.lp-tick b { font-weight: 650; }
.lp-tick span { color: var(--night-mute); }
.lp-tick em { font-style: normal; font-weight: 600; }
.is-up { color: var(--up) !important; }
.is-down { color: var(--down) !important; }
[data-motion="on"] .lp-tape__track.is-run { animation: lp-tape var(--tape-dur, 60s) linear infinite; }
.lp-tape:hover .lp-tape__track { animation-play-state: paused; }
@keyframes lp-tape { to { transform: translateX(-50%); } }

/* ── 머리말 ── */
.lp-top { position: sticky; top: 0; z-index: 30; height: var(--top-h); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid transparent; transition: border-color .25s; }
[data-theme="dark"] .lp-top { background: rgba(11, 11, 14, .82); }
.lp-top.is-scrolled { border-bottom-color: var(--line-2); }
.lp-top__in { display: flex; align-items: center; gap: 28px; height: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.lp-logo { flex: none; display: flex; align-items: center; color: var(--blue); }
.lp-mark { width: 118px; height: auto; }
.lp-mark path { fill: currentColor; stroke: none; }
.lp-nav { flex: 1; min-width: 0; }
.lp-nav ul { display: flex; justify-content: center; gap: 2px; }
.lp-nav a { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .2s, background .2s; }
.lp-nav a:hover { color: var(--ink); background: var(--bg-2); }
.lp-nav a[aria-current] { color: var(--blue); }
.lp-top__act { flex: none; display: flex; gap: 2px; margin-left: auto; }

/* ── 구역 ── */
.lp-sec { padding-block: clamp(72px, 9vw, 128px); }
.lp-sec--tight { padding-block: clamp(40px, 5vw, 64px); }
.lp-sec--gray { background: var(--bg-2); }
.lp-sec--paper { background: var(--paper); }
.lp-sec--ink { color-scheme: dark; background: var(--night); color: var(--night-ink); --ink: #f5f5f7; --ink-2: #d2d2d7; --mute: #a1a1a6; --line: #34343a; --line-2: #232328; --bg-2: #16161a; --card: #121216; --blue: #3d8bff; --link: #5aa2ff; --on-blue: #04122e; }
.lp-sec--ink + .lp-sec--ink { padding-top: 0; }
.lp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.lp-head--center { justify-content: center; text-align: center; }
.lp-h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -.035em; }
.lp-lede { max-width: 640px; margin-top: 14px; text-wrap: balance; color: var(--mute); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; }
.lp-more { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .2s, background .2s; }
.lp-more:hover { border-color: var(--ink); }

/* ── 카드 ── */
.lp-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.lp-card__pic { display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); aspect-ratio: 16 / 10; }
.lp-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.lp-card:hover .lp-card__pic img { transform: scale(1.035); }
.lp-card__txt { padding-top: 18px; }
.lp-card__cat { color: var(--blue); font-size: 13px; font-weight: 600; }
.lp-card__title { margin-top: 6px; font-size: 19px; line-height: 1.38; letter-spacing: -.022em; font-weight: 650; }
.lp-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
[data-motion="off"] .lp-card__title a:hover { opacity: .72; }
.lp-card__sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 8px; color: var(--mute); font-size: 15px; line-height: 1.6; }
.lp-card__meta { display: flex; gap: 12px; margin-top: 12px; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.lp-card--xl .lp-card__pic { aspect-ratio: 16 / 10; border-radius: var(--r-xl); }
.lp-card--xl .lp-card__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
.lp-card--xl .lp-card__sum { font-size: 17px; -webkit-line-clamp: 3; }
.lp-card--side { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; align-items: start; }
.lp-card--side .lp-card__pic { aspect-ratio: 1 / 1; border-radius: var(--r-md); }
.lp-card--side .lp-card__txt { padding-top: 2px; }
.lp-card--side .lp-card__title { font-size: 17px; }
.lp-card--side .lp-card__sum { -webkit-line-clamp: 2; font-size: 14px; }
.lp-card--wide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lp-card--wide .lp-card__pic { aspect-ratio: 16 / 10; border-radius: var(--r-xl); }
.lp-card--wide .lp-card__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
.lp-card--wide .lp-card__sum { -webkit-line-clamp: 4; font-size: 17px; }
.lp-card--sm .lp-card__title { font-size: 17px; }
.lp-today { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.lp-today__side { display: grid; gap: 28px; align-content: start; }
.lp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.lp-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.lp-feature { margin-bottom: clamp(48px, 6vw, 80px); }

.lp-rows { border-top: 1px solid var(--line); }
.lp-row { border-bottom: 1px solid var(--line); }
.lp-row__link { display: grid; grid-template-columns: auto minmax(0, 1fr) 168px; gap: 28px; align-items: center; padding: 26px 0; }
.lp-row__no { width: 40px; color: var(--mute); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-row__title { margin-top: 6px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.35; letter-spacing: -.025em; }
.lp-row__sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 8px; color: var(--mute); font-size: 15px; }
.lp-row__pic { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 16 / 10; background: var(--bg-2); }
.lp-row__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.lp-row__link:hover .lp-row__pic img { transform: scale(1.04); }
[data-motion="off"] .lp-row__link:hover .lp-row__title { opacity: .72; }

/* ── 첫 화면 슬라이드: 시세 띠와 머리말 아래를 화면 끝까지 꽉 채우고 조금 넘친다 ── */
.lp-hero { position: relative; height: calc(100vh - var(--tape-h) - var(--top-h) + var(--hero-over)); height: calc(100svh - var(--tape-h) - var(--top-h) + var(--hero-over)); min-height: var(--hero-min); overflow: hidden; background: #000; color: #fff; }
.lp-hero__list { position: absolute; inset: 0; }
.lp-hero__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; visibility: hidden; opacity: 0; transition: opacity 1s var(--ease), visibility 0s 1s; }
.lp-hero__slide.is-on { visibility: visible; opacity: 1; transition: opacity 1s var(--ease), visibility 0s; z-index: 1; }
.lp-hero__bg, .lp-bgv, .lp-chero__bg, .lp-state__bg, .lp-mhead__bg { position: absolute; inset: 0; overflow: hidden; }
.lp-hero__bg img, .lp-hero__bg video, .lp-bgv img, .lp-bgv video, .lp-chero__bg img, .lp-chero__bg video, .lp-state__bg img, .lp-state__bg video, .lp-mhead__bg img, .lp-mhead__bg video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero__bg video, .lp-bgv video, .lp-chero__bg video, .lp-state__bg video, .lp-mhead__bg video { opacity: 0; transition: opacity 1.2s var(--ease); }
.lp-hero__bg video.is-ready, .lp-bgv video.is-ready, .lp-chero__bg video.is-ready, .lp-state__bg video.is-ready, .lp-mhead__bg video.is-ready { opacity: 1; }
.lp-hero__slide[data-tone="dark"] .lp-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.lp-hero__slide[data-tone="light"] { color: #1d1d1f; }
[data-motion="on"] .lp-hero__slide.is-on .lp-hero__bg img { animation: lp-kb 14s var(--ease) both; }
@keyframes lp-kb { from { transform: scale(1.07); } to { transform: scale(1); } }
.lp-hero__copy { position: relative; z-index: 2; padding-bottom: clamp(140px, 17vh, 190px); }
.lp-hero__cat a { font-size: 15px; font-weight: 600; opacity: .85; }
.lp-hero__cat a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lp-hero__title { max-width: 880px; margin-top: 14px; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.1; letter-spacing: -.045em; }
.lp-hero__lede { max-width: 640px; margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; opacity: .88; }
.lp-hero__act { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.lp-hero__count { font-size: 14px; font-weight: 600; opacity: .8; font-variant-numeric: tabular-nums; }
.lp-hero__slide[data-tone="light"] .lp-btn--light { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.lp-hero__slide[data-tone="light"] .lp-btn--light:hover { background: transparent; color: #1d1d1f; }
.lp-hero.is-on-light .lp-hero__tabs { color: #1d1d1f; }
.lp-hero__tabs { position: absolute; left: 0; right: 0; bottom: 60px; z-index: 3; display: flex; align-items: flex-end; gap: 16px; color: #fff; }
.lp-hero__tabs ol { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lp-hero__tabs li button { display: block; width: 100%; padding: 0 0 10px; border: 0; background: transparent; color: inherit; text-align: left; font-size: 13px; font-weight: 600; opacity: .62; transition: opacity .25s; }
.lp-hero__tabs li button[aria-current], .lp-hero__tabs li button:hover { opacity: 1; }
.lp-hero__tabs i { display: block; height: 2px; margin-top: 10px; background: currentColor; opacity: .35; overflow: hidden; }
.lp-hero__tabs li button[aria-current] i { opacity: 1; background: rgba(255, 255, 255, .3); }
.lp-hero.is-on-light .lp-hero__tabs li button[aria-current] i { background: rgba(0, 0, 0, .18); }
.lp-hero__tabs b { display: block; width: 100%; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }
.lp-hero__tabs li button[aria-current] b { transform: scaleX(1); }
.lp-hero.is-playing .lp-hero__tabs li button[aria-current] b { animation: lp-fill var(--dwell, 7s) linear both; }
@keyframes lp-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lp-hero__pause { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 2px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; opacity: .7; }
.lp-hero__pause svg { width: 14px; height: 14px; }
.lp-hero__pause:hover { opacity: 1; }
/* 넘김 줄과 오른쪽 아래 화면 설정 묶음(.lp-dock)의 높이를 한 줄로 맞춘다(2026-11-23 사용자: "높이 부분이 똑같이 맞춰졌으면").
   처음 화면에서 표지 아래 끝은 화면 아래 끝보다 --hero-over 만큼 내려가 있고, 설정 묶음의 세로 가운데는 화면 아래 끝에서 --dock-b + --dock-h / 2 위에 있다.
   넘김 줄 한 칸(위아래 6px + 글자 20px + 틈 10px + 선 2px = 44px)과 멈춤 단추(34px)의 세로 가운데를 그 높이에 둔다. 두 줄로 접히는 폭(980px 아래)에서는 아랫줄이 맞는다.
   --hero-lift: 화면이 낮아(안쪽 높이 668px 아래) 표지가 최소 높이(--hero-min)에 걸리면 표지 아래 끝이 그만큼 더 내려간다. 그 차이만큼 넘김 줄과 문구를 끌어올린다.
   문구가 머리말 밑으로 들어가지 않게, 화면 높이 615px 아래부터는 제목도 함께 줄인다(528px 에서 36px). 한도는 140px 이고 그보다 낮은 화면에서는 넘김 줄이 화면 아래로 내려간다.
   휴대폰은 넘김 줄이 설정 묶음 위로 올라가 있어 그대로 둔다. .lp-dock 의 bottom 이나 단추 높이를 바꾸면 :root 의 --dock-b, --dock-h(단추 36 + 안쪽 8 + 테두리 2)도 같이 고친다 */
@media (min-width: 641px) {
	.lp-hero { --hero-lift: clamp(0px, calc(var(--hero-min) + var(--tape-h) + var(--top-h) - var(--hero-over) - 100vh), 140px);
		--tabs-bottom: calc(var(--hero-over) + var(--dock-b) + (var(--dock-h) - 44px) / 2 + var(--hero-lift)); }
	@supports (height: 100svh) { .lp-hero { --hero-lift: clamp(0px, calc(var(--hero-min) + var(--tape-h) + var(--top-h) - var(--hero-over) - 100svh), 140px); } }
	.lp-hero__tabs { bottom: var(--tabs-bottom); }
	.lp-hero__tabs li button { padding: 6px 0; line-height: 20px; }
	.lp-hero__pause { margin-bottom: 5px; }
	.lp-hero__copy { padding-bottom: max(clamp(140px, 17vh, 190px), calc(var(--tabs-bottom) + 44px + 24px)); }
	.lp-hero__title { font-size: clamp(36px, min(5.6vw, calc((100vh - 448px) / 2.2)), 76px); }
}
/* 넘김 줄이 두 줄(44 + 8 + 44 = 96px)이 되는 폭: 둘러보기 단추와 윗줄이 붙어 있었다. 문구를 그만큼 올린다 */
@media (min-width: 641px) and (max-width: 980px) {
	.lp-hero__copy { padding-bottom: max(clamp(190px, 24vh, 240px), calc(var(--tabs-bottom) + 96px + 24px)); }
}

/* ── 시장 띠·코인 타일 ── */
.lp-coins { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lp-coin { position: relative; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); overflow: hidden; }
.lp-coin__name { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.lp-coin__name b { font-size: 15px; font-weight: 650; }
.lp-coin__name span { color: var(--mute); }
.lp-coin__price { margin-top: 10px; font-size: 21px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-coin__chg { margin-top: 2px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mute); }
.lp-coin__spark { width: 100%; height: 36px; margin-top: 10px; }
.lp-coin__spark path, .lp-mt__spark path { fill: none; stroke: var(--mute); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.lp-coin.is-up .lp-coin__spark path, tr.is-up .lp-mt__spark path { stroke: var(--up); }
.lp-coin.is-down .lp-coin__spark path, tr.is-down .lp-mt__spark path { stroke: var(--down); }
[data-motion="on"] .lp-coin__spark path, [data-motion="on"] .lp-mt__spark path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: lp-draw 1.6s var(--ease-out) forwards; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
.lp-mband__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 22px; color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-kimp b, .lp-fxline b { color: var(--ink); font-weight: 650; }
.lp-tvtape { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-tvtape .lp-tv__credit { display: none; }
.lp-tv { position: relative; width: 100%; }
/* TradingView 문서는 밝은 색 체계(normal)라서, 어두운 구역(color-scheme: dark) 안에 그냥 두면 브라우저가 흰 바탕을 깐다.
   액자의 색 체계를 맞춰 투명 바탕이 구역 색을 그대로 보이게 한다. */
.lp-tv iframe { display: block; width: 100%; border: 0; color-scheme: light; background: transparent; }
.lp-tv__hold { display: grid; place-items: center; min-height: 46px; height: 100%; color: var(--mute); font-size: 13px; }
.lp-tv__credit { margin-top: 8px; color: var(--mute); font-size: 12px; text-align: right; }
.lp-tv__credit a { text-decoration: underline; text-underline-offset: 3px; }
.lp-tvbox { margin-top: 28px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.lp-tvbox--light { margin-top: 18px; }

/* ── 에세이 ── */
.lp-essay { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lp-essay__q blockquote p { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.42; letter-spacing: -.035em; font-weight: 600; }
.lp-essay__q figcaption { margin-top: 24px; color: var(--mute); font-size: 15px; }
.lp-essay__q figcaption a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lp-elist { border-top: 1px solid var(--line); }
.lp-elist li { border-bottom: 1px solid var(--line); }
.lp-elist a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 0; align-items: baseline; }
.lp-elist__y { color: var(--mute); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-elist strong { font-size: 17px; font-weight: 600; line-height: 1.45; }
[data-motion="off"] .lp-elist a:hover strong { opacity: .72; }

/* ── 카테고리 벤토 ── */
/* 아홉 칸, 3·3·3. 줄마다 개수가 딱 떨어지게 */
.lp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 21vw, 300px); gap: 14px; }
.lp-tile a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r-lg); background: #111; color: #fff; isolation: isolate; }
.lp-tile__bg { position: absolute; inset: 0; z-index: -1; }
.lp-tile__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.lp-tile__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .46); transition: background .4s; }
.lp-tile a:hover .lp-tile__bg img { transform: scale(1.05); }
.lp-tile a:hover .lp-tile__bg::after { background: rgba(0, 0, 0, .56); }
.lp-tile__txt { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: clamp(18px, 2vw, 28px); }
.lp-tile__txt strong { font-size: clamp(20px, 2vw, 28px); font-weight: 650; letter-spacing: -.03em; }
.lp-tile__txt span { font-size: 14px; line-height: 1.5; opacity: .86; }
.lp-tile__txt em { justify-self: start; margin-top: 4px; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font-style: normal; font-size: 12.5px; font-weight: 600; }

/* ── 브랜드 문장 ── */
.lp-state { position: relative; overflow: hidden; padding-block: clamp(110px, 16vw, 200px); background: #000; color: #fff; }
.lp-state__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.lp-state__in { position: relative; z-index: 1; }
.lp-state__title { max-width: 900px; font-size: clamp(34px, 5vw, 68px); line-height: 1.12; letter-spacing: -.045em; }
.lp-state__text { max-width: 640px; margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; opacity: .86; }
.lp-state__act { margin-top: 36px; }

/* ── 미디어 ── */
.lp-media { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; }
.lp-stage { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #000; aspect-ratio: 16 / 9; }
.lp-stage img, .lp-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.lp-stage__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #000; transition: transform .3s var(--ease); }
.lp-stage__play svg { width: 28px; height: 28px; margin-left: 4px; }
.lp-stage__play:hover { transform: scale(1.06); }
.lp-media__list { display: grid; gap: 10px; align-content: start; }
.lp-vid { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); text-align: left; transition: border-color .2s, background .2s; }
.lp-vid.is-on { border-color: var(--blue); }
.lp-vid__thumb { overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 9; background: #000; }
.lp-vid__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-vid__txt { display: grid; gap: 4px; min-width: 0; }
.lp-vid__txt strong { font-size: 16px; font-weight: 650; }
.lp-vid__txt small { color: var(--mute); font-size: 13px; line-height: 1.45; }
.lp-playlist { margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }
.lp-playlist .lp-small { margin-top: 6px; }

/* ── 퍼블릭 뮤지엄 ── */
.lp-masonry { columns: 4 240px; column-gap: 18px; }
.lp-art { break-inside: avoid; margin: 0 0 22px; }
.lp-art__btn { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); background: var(--line-2); overflow: hidden; cursor: zoom-in; }
.lp-art__btn img { width: 100%; height: auto; transition: transform .9s var(--ease-out); }
.lp-art__btn:hover img { transform: scale(1.03); }
.lp-art figcaption { display: grid; gap: 2px; margin-top: 10px; }
.lp-art figcaption strong { font-size: 14px; font-weight: 600; line-height: 1.4; }
.lp-art figcaption span { color: var(--mute); font-size: 12.5px; line-height: 1.45; }
.lp-lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(8, 8, 10, .97); color: #f5f5f7; }
/* 판을 화면 크기에 고정한다. 예전에는 가운데 정렬 격자 안에서 판 높이가 정해지지 않아 height:100% 가 그림 원본 크기를 따라갔고,
   세로 그림이 화면 폭에 맞춰 늘어나 아래로 넘쳤다(캡션과 넘김 단추도 화면 밖, 2026-11-26 사용자 "너무 확대가 돼") */
.lp-lightbox__panel { position: absolute; inset: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; grid-template-rows: minmax(0, 1fr); align-items: center; padding: clamp(56px, 9vh, 88px) 12px clamp(24px, 5vh, 48px); }
.lp-lightbox__fig { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; height: 100%; min-height: 0; margin: 0; }
/* 그림은 위아래 여백과 캡션을 남긴 채 화면 안에 들어오게, 넓은 화면에서도 1080px 를 넘지 않게 한다 */
.lp-lightbox__fig img { width: 100%; height: 100%; max-width: 1080px; justify-self: center; object-fit: contain; min-height: 0; }
.lp-lightbox__fig figcaption { max-width: 760px; margin: 0 auto; text-align: center; font-size: 14px; line-height: 1.6; }
.lp-lightbox__fig figcaption strong { display: block; font-size: 17px; font-weight: 650; }
.lp-lightbox__fig figcaption span { color: #a1a1a6; }
.lp-lightbox__fig figcaption a { color: #5aa2ff; text-decoration: underline; text-underline-offset: 3px; }
.lp-lightbox .lp-ico { color: #f5f5f7; }
.lp-lightbox .lp-ico:hover { background: rgba(255, 255, 255, .12); }
.lp-lightbox__x { position: absolute; top: 12px; right: 12px; }

.lp-mus { padding-block: clamp(56px, 7vw, 96px); background: var(--paper); }
.lp-mus__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lp-mus__title { margin-top: 18px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -.045em; }
.lp-mus__lede { max-width: 560px; margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--ink-2); }
.lp-mus__hero img { width: 100%; max-height: 640px; object-fit: contain; border-radius: var(--r-md); }
.lp-mus__cap { margin-top: 12px; color: var(--mute); font-size: 13px; text-align: right; }
.lp-rooms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.lp-room a { display: grid; gap: 8px; }
.lp-room__pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 5; background: var(--line-2); }
.lp-room__pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.lp-room__pics img:first-child { grid-row: span 2; }
.lp-room a:hover img { transform: scale(1.04); }
.lp-room strong { margin-top: 6px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.lp-room span { color: var(--mute); font-size: 14px; line-height: 1.5; }
.lp-room em { font-style: normal; color: var(--blue); font-size: 13px; font-weight: 600; }
.lp-roomnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.lp-roomnav a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; transition: border-color .2s; }
.lp-roomnav a:hover { border-color: var(--ink); }

/* ── 리소스 ── */
.lp-resgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.lp-resg h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 16px; }
.lp-resg ul { display: grid; gap: 2px; margin-top: 10px; }
.lp-resg a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 15px; }
.lp-resg a:hover { color: var(--blue); }
.lp-dirs { display: grid; gap: clamp(56px, 7vw, 88px); }
.lp-dir header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.lp-dir h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; }
.lp-dir header p { color: var(--mute); font-size: 15px; }
.lp-dir ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.lp-dir li { border-bottom: 1px solid var(--line-2); }
.lp-dir a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 2px 10px; padding: 16px 0; }
.lp-dir a strong { font-size: 16px; font-weight: 600; }
.lp-dir a span { grid-column: 1; color: var(--mute); font-size: 13.5px; line-height: 1.5; }
.lp-dir a svg { grid-column: 2; grid-row: 1; width: 16px; height: 16px; margin-top: 4px; color: var(--mute); }
.lp-dir a:hover strong { color: var(--blue); }

/* ── 바닥글: 별이 흐르는 밤하늘 위에 큰 문장, 그 아래 길잡이. 밝기 설정과 상관없이 늘 어둡다 ── */
.lp-foot { color-scheme: dark; position: relative; overflow: hidden; padding-block: clamp(96px, 12vw, 168px) 36px; background: #000; color: rgba(245, 245, 247, .78); font-size: 14px;
	--ink: #f5f5f7; --ink-2: #d2d2d7; --mute: #8e8e96; --line: rgba(255, 255, 255, .14); }
.lp-foot__bg { position: absolute; inset: 0; overflow: hidden; }
.lp-foot__bg img, .lp-foot__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-foot__bg video { opacity: 0; transition: opacity 1.4s var(--ease); }
.lp-foot__bg video.is-ready { opacity: 1; }
.lp-foot__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.lp-foot__in { position: relative; z-index: 1; }
.lp-foot__hero { max-width: 980px; }
.lp-logo--foot { color: #fff; }
.lp-logo--foot .lp-mark { width: 150px; }
.lp-foot__line { margin-top: clamp(36px, 5vw, 64px); color: #fff; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.16; letter-spacing: -.045em; font-weight: 650; text-wrap: balance; }
.lp-foot__sub { max-width: 620px; margin-top: 22px; color: rgba(245, 245, 247, .74); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; }
.lp-foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; margin-top: clamp(72px, 9vw, 120px); padding-top: 36px; border-top: 1px solid var(--line); }
.lp-foot__col h2 { margin-bottom: 16px; color: #fff; font-size: 14px; }
.lp-foot__col ul { display: grid; gap: 2px; }
.lp-foot__col a { display: block; padding: 5px 0; color: rgba(245, 245, 247, .78); line-height: 1.45; transition: color .2s; }
.lp-foot__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lp-foot__col .lp-foot__cats { display: block; columns: 2; column-gap: 24px; }   /* 위에서 아래로 흘러 소 카테고리가 부모 바로 밑에 온다 */
.lp-foot__cats li { break-inside: avoid; }
.lp-foot__cats .is-sub a { padding-left: 14px; color: rgba(245, 245, 247, .6); }
.lp-foot__data { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; line-height: 1.65; }
.lp-foot__data b { display: block; margin-bottom: 4px; color: var(--ink-2); font-weight: 600; }
.lp-foot__bar { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }
.lp-foot__mail a { color: var(--ink-2); }
.lp-foot__mail a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 오른쪽 아래 설정·음악 ── */
.lp-dock { position: fixed; right: 16px; bottom: var(--dock-b); z-index: 40; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px;
	background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 28px rgba(0, 0, 0, .08); }
[data-theme="dark"] .lp-dock { background: rgba(24, 24, 28, .9); box-shadow: 0 8px 28px rgba(0, 0, 0, .4); }
.lp-dock button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.lp-dock button:hover { background: var(--bg-2); }
.lp-dock svg { width: 17px; height: 17px; }
.lp-dock [data-theme-ico], .lp-dock__mo { display: inline-flex; }
.lp-dock__mo.is-off, [data-motion="off"] .lp-dock__mo.is-on { display: none; }
[data-motion="off"] .lp-dock__mo.is-off { display: inline-flex; }
.lp-dock [data-music-btn][aria-pressed="true"] { color: var(--blue); }
.lp-player { position: fixed; right: 16px; bottom: 68px; z-index: 41; width: min(340px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-lg);
	background: var(--card); box-shadow: 0 18px 48px rgba(0, 0, 0, .14); }
.lp-player__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-player__head p { display: flex; align-items: center; gap: 10px; min-width: 0; }
/* 곡 제목 줄은 누르면 제목이 복사되는 단추다(2026-11-23 사용자: 제목이 잘리고 끌어서 복사가 안 된다). 오른쪽 끝의 작은 겹친 네모가 그 표시 */
.lp-player__head p { flex: 1; }
.lp-player__now { position: relative; display: grid; flex: 1; min-width: 0; margin: -5px 0 -5px -8px; padding: 5px 34px 5px 8px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.lp-player__now:hover, .lp-player__now:focus-visible { background: var(--bg-2); }
.lp-player__cp { position: absolute; top: 50%; right: 9px; display: grid; width: 16px; height: 16px; color: var(--mute); opacity: .6; transform: translateY(-50%); transition: opacity .2s, color .2s; }
.lp-player__cp svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-player__now:hover .lp-player__cp, .lp-player__now:focus-visible .lp-player__cp { color: var(--ink); opacity: 1; }
.lp-player__now.is-copied .lp-player__cp { color: var(--blue); opacity: 1; }
.lp-player__now.is-copied small { color: var(--blue); }
.lp-player__head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.lp-player__now small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mute); font-size: 12px; }
.lp-player__now small:empty { display: none; }
.lp-player__eq { flex: none; display: flex; align-items: flex-end; gap: 2px; width: 14px; height: 14px; }
.lp-player__eq i { flex: 1; height: 30%; background: var(--blue); border-radius: 1px; }
[data-motion="on"] .is-playing .lp-player__eq i { animation: lp-eq .9s var(--ease) infinite alternate; }
.is-playing .lp-player__eq i:nth-child(2) { animation-delay: -.3s; }
.is-playing .lp-player__eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes lp-eq { from { height: 25%; } to { height: 100%; } }
.lp-player__ctl { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.lp-player__btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blue); color: var(--on-blue); }
.lp-player__btn--sub { position: relative; width: 38px; height: 38px; background: var(--bg-2); color: var(--ink); }
.lp-player__btn--sub svg { width: 16px; height: 16px; }
.lp-player__shuf[aria-pressed="true"] { color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, var(--card)); box-shadow: inset 0 0 0 1.5px var(--blue); }   /* 켜짐: 파랑 테두리와 옅은 바탕 */
.lp-player__btn svg { width: 18px; height: 18px; }
.lp-player__vol { flex: 1; min-width: 0; margin-left: 4px; }
.lp-player__vol input { width: 100%; accent-color: var(--blue); }
.lp-player__list { display: grid; gap: 2px; max-height: 280px; margin-top: 14px; overflow: auto; overscroll-behavior: contain; }
.lp-player__list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; text-align: left; font-size: 14px; }
.lp-player__tt { display: grid; min-width: 0; line-height: 1.35; }
.lp-player__tt span, .lp-player__tt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-player__tt small { color: var(--mute); font-size: 12px; font-weight: 400; }
.lp-player__tt small:empty { display: none; }
.lp-player__list button:hover { background: var(--bg-2); }
.lp-player__list button.is-on { color: var(--blue); font-weight: 600; }
.lp-player__no { color: var(--mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.lp-player__list--wide { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.lp-player__note { margin-top: 12px; color: var(--mute); font-size: 12px; }

/* ── 겹치는 창 ── */
.lp-layer { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; background: rgba(0, 0, 0, .32); }
.lp-layer__panel { width: min(560px, 100%); height: 100%; overflow: auto; padding: 18px 24px 40px; background: var(--bg); }
.lp-layer--search { justify-content: center; align-items: flex-start; }
.lp-layer--search .lp-layer__panel { width: min(760px, 100%); height: auto; max-height: 88svh; margin-top: 7svh; border-radius: var(--r-lg); }
.lp-layer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.lp-layer__title { font-size: 15px; font-weight: 650; }
.lp-menu { display: grid; gap: 28px; margin-top: 12px; }
.lp-menu__cats a, .lp-menu__libs a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 4px; border-bottom: 1px solid var(--line-2); }
.lp-menu__cats strong, .lp-menu__libs strong { font-size: 17px; font-weight: 650; }
.lp-menu__cats small, .lp-menu__libs small { grid-column: 1; color: var(--mute); font-size: 13.5px; }
.lp-menu__cats .is-sub a { padding-left: 24px; }
.lp-menu__cats .is-sub strong { font-size: 15.5px; }
.lp-menu a:hover strong { color: var(--blue); }
.lp-q { display: flex; align-items: center; gap: 10px; flex: 1; }
.lp-q svg { width: 20px; height: 20px; color: var(--mute); }
.lp-q input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: 18px; outline: none; }
.lp-q__body { display: grid; gap: 22px; padding-top: 18px; }
.lp-q__label { margin-bottom: 8px; color: var(--mute); font-size: 13px; font-weight: 600; }
.lp-q__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-q__tags a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; }
.lp-q__tags a:hover { border-color: var(--ink); }
.lp-q__list li { border-bottom: 1px solid var(--line-2); }
.lp-q__list a { display: grid; gap: 4px; padding: 14px 2px; }
.lp-q__list small { color: var(--mute); font-size: 13.5px; }
.lp-q__list strong { font-size: 16px; font-weight: 600; }
.lp-q__list em { font-style: normal; color: var(--blue); font-size: 12.5px; font-weight: 600; }
.lp-q__list mark { background: transparent; color: var(--blue); }
.lp-empty { color: var(--mute); }

/* ── 카테고리 첫 화면 ── */
/* 카테고리 첫 화면: 영상(과 그 위 어둡게 덮은 막)이 아래쪽에서 서서히 투명해지며 글 목록의 바탕색(--fade-to)으로 이어진다.
   글자는 녹는 구간(--fade-h) 위에 두어서 어느 바탕으로 녹든 읽기 좋다. 단계가 보이지 않게 여러 지점으로 부드럽게 줄인다. */
.lp-chero { --fade-to: var(--bg); --fade-h: clamp(150px, 26vh, 280px); position: relative; display: flex; align-items: flex-end; min-height: calc(100vh - var(--tape-h) - var(--top-h) + 28px); min-height: calc(100svh - var(--tape-h) - var(--top-h) + 28px); overflow: hidden; background: var(--fade-to); color: #fff; }
.lp-chero--into-ink { --fade-to: var(--night); }
.lp-chero--into-arcade { --fade-to: #0a0a0c; }
.lp-chero--into-gray { --fade-to: var(--bg-2); }
.lp-chero--into-paper { --fade-to: var(--paper); }
.lp-chero__bg { background: #000;
	-webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - var(--fade-h)), rgba(0, 0, 0, .93) calc(100% - var(--fade-h) * .84), rgba(0, 0, 0, .78) calc(100% - var(--fade-h) * .68), rgba(0, 0, 0, .58) calc(100% - var(--fade-h) * .52), rgba(0, 0, 0, .37) calc(100% - var(--fade-h) * .36), rgba(0, 0, 0, .18) calc(100% - var(--fade-h) * .2), rgba(0, 0, 0, .06) calc(100% - var(--fade-h) * .08), transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - var(--fade-h)), rgba(0, 0, 0, .93) calc(100% - var(--fade-h) * .84), rgba(0, 0, 0, .78) calc(100% - var(--fade-h) * .68), rgba(0, 0, 0, .58) calc(100% - var(--fade-h) * .52), rgba(0, 0, 0, .37) calc(100% - var(--fade-h) * .36), rgba(0, 0, 0, .18) calc(100% - var(--fade-h) * .2), rgba(0, 0, 0, .06) calc(100% - var(--fade-h) * .08), transparent 100%); }
.lp-chero--dark .lp-chero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.lp-chero--light { color: #1d1d1f; }
.lp-chero--light .lp-chero__bg { background: #f5f5f7; }
.lp-chero--light .lp-chero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .45); }
.lp-chero__in { position: relative; z-index: 1; padding-block: 120px calc(var(--fade-h) + clamp(8px, 2vh, 28px)); }
.lp-chero + .lp-sec--list { padding-top: clamp(8px, 2vw, 32px); }
.lp-chero .lp-crumb { opacity: .82; }
.lp-chero__title { margin-top: 20px; font-size: clamp(44px, 7vw, 96px); line-height: 1.04; letter-spacing: -.05em; }
.lp-chero__lede { max-width: 760px; margin-top: 18px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; letter-spacing: -.025em; font-weight: 600; }
.lp-chero__story { max-width: 640px; margin-top: 16px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; opacity: .86; }
.lp-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: inherit; }
.lp-crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-crumb span[aria-hidden] { opacity: .5; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.lp-chip, .lp-chips button { height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.lp-chip:hover, .lp-chips button:hover { border-color: var(--ink); }
.lp-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.lp-loadmore { margin-top: 56px; text-align: center; }
.lp-otherc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lp-otherc--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-otherc a { display: grid; align-content: start; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); transition: border-color .2s; }
.lp-otherc a:hover { border-color: var(--ink); }
.lp-otherc strong { font-size: 16px; font-weight: 650; }
.lp-otherc small { color: var(--mute); font-size: 13px; line-height: 1.5; }

/* ── 카테고리 도구 공통 ── */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.lp-tool { padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.lp-tool--dark { background: var(--night-2); border-color: var(--night-line); }
.lp-tabs { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 22px; border-radius: 999px; background: var(--bg-2); }
.lp-tabs button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: var(--mute); }
.lp-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.lp-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-fields--col { grid-template-columns: 1fr; }
.lp-fields label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); font-weight: 600; }
.lp-fields input, .lp-fields select, .lp-fields textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--ink);
	font-size: 16px; font-weight: 400; font-variant-numeric: tabular-nums; resize: vertical; }
.lp-tool--dark .lp-fields input, .lp-tool--dark .lp-fields textarea { background: var(--night); border-color: var(--night-line); color: var(--night-ink); }
.lp-fields input:focus, .lp-fields select:focus, .lp-fields textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.lp-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.lp-out dt { color: var(--mute); font-size: 13px; font-weight: 600; }
.lp-out dd { margin: 6px 0 0; font-size: clamp(19px, 2vw, 26px); font-weight: 650; letter-spacing: -.025em; font-variant-numeric: tabular-nums; word-break: break-all; }
.lp-chips[data-presets] { margin-bottom: 20px; }

/* 에세이 도구 */
.lp-essaysp { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.lp-quotes { position: relative; min-height: 220px; }
.lp-quote { display: none; }
.lp-quote.is-on { display: block; }
[data-motion="on"] .lp-quote.is-on { animation: lp-fade .8s var(--ease) both; }
.lp-quote blockquote p { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.45; letter-spacing: -.03em; font-weight: 600; }
.lp-quote a { display: inline-block; margin-top: 20px; color: var(--mute); font-size: 15px; }
.lp-quote a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@keyframes lp-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lp-arch { margin-top: 20px; border-top: 1px solid var(--line); }
.lp-arch > li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lp-arch__y { font-size: 20px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-arch ul { display: grid; gap: 6px; }
.lp-arch a { font-size: 15px; line-height: 1.5; }
.lp-arch a:hover { color: var(--blue); }

/* 김프 */
.lp-kimp { color: var(--mute); font-size: 14px; }

/* 수익 구조 */
.lp-funnel { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.lp-funnel__t { color: var(--mute); font-size: 13px; font-weight: 600; }
.lp-funnel ol { display: grid; gap: 10px; margin-top: 16px; }
.lp-funnel li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: var(--r-md); background: var(--bg-2); }
.lp-funnel li:nth-child(2) { margin-inline: 4%; }
.lp-funnel li:nth-child(3) { margin-inline: 8%; }
.lp-funnel li:nth-child(4) { margin-inline: 12%; background: var(--blue); color: var(--on-blue); }
.lp-funnel li:nth-child(5) { margin-inline: 16%; }
.lp-funnel b { font-size: 17px; font-weight: 650; }
.lp-funnel span { font-size: 13.5px; opacity: .8; }

/* 프롬프트 */
.lp-promptout { position: sticky; top: calc(var(--top-h) + 24px); }
.lp-promptout__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--night-line); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--night-3); font-size: 13px; font-weight: 600; }
.lp-promptout__txt { min-height: 320px; margin: 0; padding: 20px; border: 1px solid var(--night-line); border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--night-2); color: var(--night-ink);
	font: 14.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, "D2Coding", monospace; white-space: pre-wrap; word-break: break-all; }

/* 팬톤 */
.lp-pts { display: flex; height: clamp(240px, 32vw, 420px); border-radius: var(--r-lg); overflow: hidden; }
.lp-pt { position: relative; flex: 1 1 0; min-width: 0; outline-offset: -3px; transition: flex-grow .5s var(--ease); cursor: default; }
.lp-pt.is-on, .lp-pt:hover, .lp-pt:focus-visible { flex-grow: 9; }
.lp-pt__sw { position: absolute; inset: 0; }
.lp-pt__y, .lp-pt__n, .lp-pt__c { position: absolute; left: 12px; right: 12px; color: #1d1d1f; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-pt__y { bottom: 64px; font-size: 22px; font-weight: 650; }
.lp-pt__n { bottom: 40px; font-size: 14px; font-weight: 600; }
.lp-pt__c { bottom: 18px; font-size: 12px; }
.lp-pt.is-on .lp-pt__y, .lp-pt:hover .lp-pt__y, .lp-pt:focus-visible .lp-pt__y,
.lp-pt.is-on .lp-pt__n, .lp-pt:hover .lp-pt__n, .lp-pt:focus-visible .lp-pt__n,
.lp-pt.is-on .lp-pt__c, .lp-pt:hover .lp-pt__c, .lp-pt:focus-visible .lp-pt__c { opacity: 1; }
.lp-pt.is-dark-sw span:not(.lp-pt__sw) { color: #fff; }

/* 대비 검사 */
.lp-cprev { display: grid; align-content: center; gap: 14px; min-height: 320px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line); }
.lp-cprev__big { font-size: clamp(30px, 3.4vw, 46px); font-weight: 650; letter-spacing: -.04em; line-height: 1.15; }
.lp-cprev__body { font-size: 16px; line-height: 1.7; }

/* 일진·띠 */
.lp-iljin { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--night-line); border-radius: var(--r-lg); background: var(--night-2); margin-bottom: 16px; }
.lp-iljin__date { color: var(--night-mute); font-size: 14px; font-weight: 600; }
.lp-iljin__gz { margin-top: 8px; font-size: clamp(40px, 5vw, 64px); font-weight: 650; letter-spacing: .02em; line-height: 1.1; }
.lp-iljin__desc { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.lp-iljin__year { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--night-line); color: var(--night-mute); font-size: 14px; }
.lp-tti__out { margin-top: 16px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.lp-zodiac { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.lp-ring { position: absolute; inset: 0; border: 1px solid var(--night-line); border-radius: 50%; }
[data-motion="on"] .lp-ring { animation: lp-spin 120s linear infinite; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-ji { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 1px solid var(--night-line); border-radius: 50%; background: var(--night-2); text-align: center; line-height: 1.1; transition: background .3s, border-color .3s; }
[data-motion="on"] .lp-ji { animation: lp-spin 120s linear infinite reverse; }
.lp-ji b { font-size: 20px; font-weight: 650; }
.lp-ji span { font-size: 11px; color: var(--night-mute); }
.lp-ji.is-on { background: var(--blue); border-color: var(--blue); color: #000; }
.lp-ji.is-on span { color: #000; }
.lp-ring__c { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(22px, 2.6vw, 30px); font-weight: 650; text-align: center; }
.lp-tablewrap { margin-top: clamp(40px, 5vw, 64px); overflow-x: auto; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.lp-table caption { margin-bottom: 14px; text-align: left; font-size: 17px; font-weight: 650; }
.lp-table th, .lp-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.lp-table thead th { color: var(--mute); font-size: 13px; font-weight: 600; }

/* 연표 */
.lp-tl { position: relative; padding-left: 36px; }
.lp-tl__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.lp-tl__line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--blue); transform: scaleY(var(--tl, 0)); transform-origin: top; }
.lp-tl__list { display: grid; gap: 36px; }
.lp-tl__item { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 32px; }
.lp-tl__item::before { content: ""; position: absolute; left: -35px; top: 8px; width: 14px; height: 14px; border: 2px solid var(--blue); border-radius: 50%; background: var(--paper); }
.lp-tl__when { color: var(--blue); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-tl__what { grid-column: 2; grid-row: 1; font-size: 22px; letter-spacing: -.025em; }
.lp-tl__desc { grid-column: 2; color: var(--ink-2); font-size: 16px; line-height: 1.7; }

/* 광물 높이 */
.lp-ores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-ore { padding: 22px; border: 1px solid var(--night-line); border-radius: var(--r-lg); background: var(--night-2); }
.lp-ore__name { font-size: 18px; font-weight: 650; }
.lp-ore__range { margin-top: 2px; color: var(--night-mute); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lp-ore__bar { position: relative; height: 8px; margin: 18px 0 14px; border-radius: 99px; background: var(--night-3); }
.lp-ore__bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: rgba(143, 176, 255, .45); }
.lp-ore__bar b { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid #000; border-radius: 50%; background: #fff; }
.lp-ore__best { font-size: 14px; }
.lp-ore__best b { font-weight: 650; font-variant-numeric: tabular-nums; }
.lp-ore .lp-small { margin-top: 6px; }

/* ── 라이브 마켓 ── */
.lp-mhead { color-scheme: dark; position: relative; overflow: hidden; padding-block: 112px 64px; background: #000; color: #fff; }
.lp-mhead__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.lp-mhead__in { position: relative; z-index: 1; }
.lp-mhead__title { margin-top: 18px; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -.05em; }
.lp-mhead__lede { max-width: 640px; margin-top: 18px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; opacity: .86; }
.lp-mhead__stamp { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; }
.lp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-kpis > div { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.lp-kpis dt { color: var(--mute); font-size: 13px; font-weight: 600; }
.lp-kpis dd { margin: 10px 0 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-kpis p { margin-top: 6px; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.lp-mt { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.lp-mt th, .lp-mt td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.lp-mt thead th { color: var(--mute); font-size: 13px; font-weight: 600; }
.lp-mt th[scope="row"], .lp-mt thead th:first-child { text-align: left; }
.lp-mt th[scope="row"] b { font-weight: 650; margin-right: 8px; }
.lp-mt th[scope="row"] span { color: var(--mute); font-weight: 400; }
.lp-mt__spark { width: 130px; }
.lp-mt__spark svg { width: 120px; height: 32px; margin-left: auto; }
.lp-mgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
.lp-mgrid .lp-tvbox { margin-top: 0; }
.lp-tvtape--block { margin-top: 24px; }

/* ── 쪽 머리(리소스·작은 쪽) ── */
.lp-shead { padding-block: clamp(64px, 8vw, 112px) clamp(32px, 4vw, 48px); }
.lp-shead__title { margin-top: 18px; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.08; letter-spacing: -.045em; }
.lp-shead__lede { max-width: 720px; margin-top: 18px; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; }
.lp-404__code { color: var(--blue); font-size: 15px; font-weight: 650; }
.lp-404__act { display: flex; gap: 10px; margin-top: 28px; }

/* ── 글 ── */
/* 글: 머리와 본문을 같은 가운데 기둥(760px)에 세우고, 목차는 오른쪽 여백에 좁게 */
.lp-post__head { padding-top: clamp(48px, 6vw, 88px); }
.lp-post__col { max-width: 760px; margin-inline: auto; }
.lp-post__cat { margin-top: 26px; }
.lp-cat { color: var(--blue); font-size: 15px; font-weight: 600; }
.lp-cat:hover { text-decoration: underline; text-underline-offset: 4px; }
/* 글 제목과 글머리는 문장마다 줄을 바꾸지 않고 본문 폭 안에서 자연스럽게 흘린다(11-26 사용자: "쓸데없이 줄바꿈이다", "자연스럽게 줄바꿈 없이 나오는 게 좋을 거 같음").
   쉼표나 마침표에서 줄을 끊던 묶음(.lp-sent)은 글 쪽에서 쓰지 않는다. 마지막 줄에 낱말 하나만 남는 것만 막는다(pretty) */
.lp-post__title { margin-top: 12px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.16; letter-spacing: -.045em; text-wrap: pretty; }
.lp-post__lede { margin-top: 20px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.lp-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-byline { color: var(--ink); font-weight: 600; }
.lp-byline:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-copy { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lp-copy svg { width: 15px; height: 15px; }
.lp-copy:hover { border-color: var(--ink); color: var(--ink); }
.lp-post__cover { margin-top: clamp(32px, 4vw, 56px); }
.lp-post__cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-cover); }
.lp-post__credit { margin-top: 14px; color: var(--mute); font-size: 13px; line-height: 1.6; }
.lp-post__credit a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.lp-post__credit a:hover { color: var(--ink); text-decoration-color: currentColor; }
.lp-post__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(80px, 9vw, 128px); }
.lp-post__main { grid-column: 2; min-width: 0; }
.lp-post__aside { grid-column: 3; min-width: 0; }
.lp-toc { position: sticky; top: calc(var(--top-h) + 32px); max-width: 220px; }
.lp-toc__h { margin-bottom: 14px; color: var(--blue); font-size: 13px; font-weight: 650; }
.lp-toc ol { display: grid; gap: 0; border-left: 1px solid var(--line); }
.lp-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--mute); font-size: 13.5px; line-height: 1.45; transition: color .2s, border-color .2s; }
.lp-toc .lv3 a { padding-left: 26px; font-size: 13px; }
.lp-toc a:hover { color: var(--ink); }
.lp-toc a.is-on { border-left-color: var(--blue); color: var(--blue); font-weight: 600; }
.lp-sum { margin-bottom: 48px; padding: clamp(22px, 3vw, 30px); border-radius: var(--rb); background: var(--bg-2); }
.lp-sum__h { font-size: 15px; font-weight: 650; }
.lp-sum ul { display: grid; gap: 10px; margin-top: 14px; padding-left: 1.2em; list-style: disc; }
.lp-sum li { font-size: 16px; line-height: 1.65; }
.lp-sum li::marker { color: var(--blue); }
.lp-read { position: fixed; left: 0; right: 0; top: 0; z-index: 35; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; }

.lp-prose { font-size: 17.5px; line-height: 1.85; color: var(--ink); }
.lp-prose > * + * { margin-top: 1.25em; }
/* 소제목 2판(11-26 사용자: 위에 그은 실선은 "별로인 거 같아", "H2 다음 아래에 선이 있어야 하고 포인트 컬러가 있으면", "H3와 H2가 잘 구분이 안되기 때문에 H2에 뭔가 모션 텍스트나 컬러나 그런 꾸밈").
   소제목 아래에 옅은 실선을 긋고 그 위에 소제목 글자 폭만큼 브랜드 파랑 선을 얹는다. 폭은 스크립트가 글자를 재서 --h2w 로 넘긴다(스크립트가 없으면 64px).
   화면에 들어올 때 글자가 조금 올라오고 파란 선이 왼쪽에서 그려진다(움직임을 끄면 처음부터 다 보인다). h3 에는 선이 없어서 둘이 한눈에 구분된다.
   위는 넓게(문단 간격의 네 배쯤) 두어 마디마다 끊어 읽게 한다 */
.lp-prose h2 { position: relative; margin-top: clamp(76px, 9.6vw, 120px); padding-bottom: 15px; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.36; letter-spacing: -.03em; }
.lp-prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: var(--h2w, 64px); max-width: 100%; height: 2px; background: var(--blue); transform-origin: left center; }   /* ai-design-ok: 사용자가 청한 소제목 아래 포인트 색 선(11-26) */
.lp-prose > h2:first-child { margin-top: 0; }
.lp-prose h2.lp-h2--wait { opacity: 0; transform: translateY(12px); }
.lp-prose h2.lp-h2--wait::after { transform: scaleX(0); }
.lp-prose h2.lp-h2--in { transition: opacity .6s var(--ease), transform .7s var(--ease-out); }
.lp-prose h2.lp-h2--in::after { transition: transform .9s var(--ease-out) .18s; }
[data-motion="off"] .lp-prose h2.lp-h2--wait { opacity: 1; transform: none; }
[data-motion="off"] .lp-prose h2.lp-h2--wait::after { transform: none; }
.lp-prose h3 { margin-top: 2.3em; font-size: 20px; line-height: 1.42; letter-spacing: -.02em; }
.lp-prose h2 + * { margin-top: 1.35em; }
.lp-prose h2 + h3 { margin-top: 1.5em; }
.lp-prose h3 + * { margin-top: .7em; }
.lp-prose--page h2 { margin-top: 52px; }
@media print { .lp-prose h2.lp-h2--wait { opacity: 1; transform: none; } }
/* 소제목 바로 뒤의 표, 그림, 코드 상자는 문단보다 조금 더 띄운다(글자가 아니라 상자라서 붙어 보인다) */
.lp-prose :is(h2, h3) + :is(.lp-table, figure, pre, .lp-codebox) { margin-top: 1.25em; }
.lp-prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lp-prose strong { font-weight: 650; }
.lp-prose ul, .lp-prose ol { display: grid; gap: .5em; padding-left: 1.3em; }
.lp-prose ol { padding-left: 1.8em; }   /* 열 번째 번호 '10.'이 왼쪽 밖으로 나가지 않게(11-26) */
.lp-prose ul { list-style: disc; }
.lp-prose ol { list-style: decimal; }
.lp-prose li::marker { color: var(--mute); }
.lp-prose figure img { border-radius: var(--rb); width: auto; max-width: 100%; margin-inline: auto; }
/* 세로로 긴 그림(판화, 초상, 휴대폰 화면)은 한 화면 높이 안에 들어오게 한다(11-26 우키요에 글: 넓은 화면에서 한 장이 1,000px 넘게 차지했다) */
.lp-prose figure img { max-height: min(88vh, 920px); object-fit: contain; }
.lp-prose figcaption { margin-top: 10px; color: var(--mute); font-size: 14px; text-align: center; }
/* 인용 3판(11-26). 1판 회색 상자는 "너무 심플해서 재미가 없으니까", 2판 큰 따옴표를 거쳐 사용자가 실험판에서 파란 꺾쇠를 골랐고 이렇게 덧붙였다:
   "텍스트 있는 부분을 약간 밝은 회색 배경을 깔아주는 것도 … 하얀색 외곽선이 둘러쌓고 있는 것처럼 한 뒤에 그 다음에 파란 꺽쇠가 감싸는 것처럼(배경과 꺽쇠 사이에는 약간의 흰색 여백) … 꺽쇠도 살짝 더 두꺼웠으면".
   회색 바탕 둘레의 흰 여백은 바탕색 테두리로 만들고, 꺾쇠(3px)는 그 테두리의 바깥 모서리 둘(왼쪽 위, 오른쪽 아래)에 놓는다. 짧은 인용은 글자 폭만큼만 차지한다 */
.lp-prose blockquote { position: relative; width: fit-content; max-width: 100%; margin-block: 2.2em; padding: 20px clamp(20px, 3.2vw, 30px) 22px; border: 10px solid var(--bg); background: var(--bg-2); font-size: 18px; line-height: 1.75; }
.lp-prose blockquote::before, .lp-prose blockquote::after { content: ""; position: absolute; width: 24px; height: 24px; border: 0 solid var(--blue); }
.lp-prose blockquote::before { left: -10px; top: -10px; border-width: 3px 0 0 3px; }
.lp-prose blockquote::after { right: -10px; bottom: -10px; border-width: 0 3px 3px 0; }
.lp-prose blockquote > * + * { margin-top: .7em; }
/* 인용은 가운데(11-26 밤 사용자: "파란 꺽쇠 부분 인용구 가운데 정렬 되었으면 한다"). 상자를 본문 폭의 가운데에 놓고 글자도 가운데로 맞춘다.
   여러 줄을 가운데로 맞추면 읽기 어려워서 긴 인용은 왼쪽 맞춤으로 둔다. 길이는 빌드가 글자 수로 잰다(lp-bq--mid 49~160자, lp-bq--long 160자 초과). 휴대폰에서는 mid 도 왼쪽으로 맞춘다 */
.lp-prose blockquote { margin-inline: auto; text-align: center; text-wrap: balance; }
.lp-prose blockquote.lp-bq--long { text-align: left; text-wrap: pretty; }
@media (max-width: 640px) { .lp-prose blockquote.lp-bq--mid { text-align: left; text-wrap: pretty; } }
@media (max-width: 640px) {
	.lp-prose blockquote { padding: 16px 18px 18px; border-width: 8px; font-size: 17.5px; }
	.lp-prose blockquote::before, .lp-prose blockquote::after { width: 20px; height: 20px; }
	.lp-prose blockquote::before { left: -8px; top: -8px; }
	.lp-prose blockquote::after { right: -8px; bottom: -8px; }
}
.lp-prose pre { overflow-x: auto; padding: 18px 20px; border-radius: var(--rb); background: #111114; color: #f5f5f7; font: 14px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, "D2Coding", monospace; }
.lp-prose code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, "D2Coding", monospace; padding: .1em .35em; border-radius: 3px; background: var(--bg-2); }
.lp-prose pre code { padding: 0; background: none; }
/* 코드 복사 단추: 코드 상자는 밝기와 상관없이 늘 어두우므로 단추도 어두운 바탕에 맞춘다. 첫 줄이 단추 밑으로 들어가지 않게 위 여백을 단추 높이만큼 둔다 */
.lp-codebox { position: relative; }
.lp-codebox pre { padding-top: 52px; }
.lp-codecopy { position: absolute; top: 9px; right: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: #1d1d22; color: #d2d2d7; font: 500 12.5px/1 var(--font); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.lp-codecopy:hover { background: #2a2a31; color: #fff; border-color: rgba(255, 255, 255, .28); }
.lp-codecopy:focus-visible { outline: 2px solid #8ab4ff; outline-offset: 2px; }
.lp-codecopy.is-done { color: #7ee2a8; border-color: rgba(126, 226, 168, .45); }
.lp-codecopy svg, .lp-fig .lp-codecopy svg { flex: none; width: 15px; height: 15px; }
.lp-prose hr { height: 1px; border: 0; background: var(--line); margin-block: 2.4em; }
.lp-prose .lp-table { overflow-x: auto; }
.lp-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
.lp-prose th, .lp-prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: normal; }
.lp-prose thead th { border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 650; white-space: nowrap; }
.lp-prose .lp-steps { list-style: none; padding: 0; counter-reset: st; gap: 14px; }
.lp-prose .lp-steps > li { position: relative; padding-left: 48px; counter-increment: st; }
.lp-prose .lp-steps > li::before { content: counter(st); position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 650; }
.lp-prose .lp-note { padding: 20px 24px; border-radius: var(--rb); background: var(--bg-2); font-size: 16px; }
.lp-prose--page { max-width: 760px; }

.lp-post__end { display: grid; gap: clamp(48px, 6vw, 64px); margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.lp-faq h2, .lp-src h2 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 14px; }
.lp-faq__q { border-bottom: 1px solid var(--line); }
.lp-faq__q:first-of-type { border-top: 1px solid var(--line); }
.lp-faq__q summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; font-size: 17px; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
.lp-faq__q summary::-webkit-details-marker { display: none; }
.lp-faq__t { min-width: 0; }   /* 질문 글자를 한 덩어리로 감싼다. summary 가 flex 라서 안의 한자(.lp-hj)나 묶음이 따로 놓여 흩어지던 것(2026-11-27 사용자 지적) */
.lp-faq__q summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 1.7px solid var(--mute); border-bottom: 1.7px solid var(--mute); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
.lp-faq__q[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.lp-faq__a { padding: 0 2px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
/* 참고한 자료(11-26 사용자: "참고 링크가 쭉 나열이 되어 있어", "어떻게 묶을까도 고민중이야"). 발행처마다 한 줄: 왼쪽에 사이트 아이콘과 발행처, 오른쪽에 그곳의 문서들 */
.lp-src h2 { display: flex; align-items: baseline; gap: 10px; }
.lp-src__n { color: var(--mute); font-size: 14px; font-weight: 400; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.lp-src__list { border-top: 1px solid var(--line); }
.lp-src__g { display: grid; grid-template-columns: minmax(0, 232px) minmax(0, 1fr); gap: 6px 28px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.lp-src__pub { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.lp-src__ic { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 5px; background: #fff; object-fit: contain; box-shadow: 0 0 0 1px var(--line-2); }
.lp-src__ic--txt { display: grid; place-items: center; background: var(--bg-2); color: var(--mute); font-size: 11px; font-weight: 650; line-height: 1; }
.lp-src__docs { display: grid; gap: 7px; }
.lp-src__docs li { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.lp-src__docs a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 3.5px; transition: color .15s, text-decoration-color .15s; }
.lp-src__docs a:hover { color: var(--link); text-decoration-color: currentColor; }
.lp-src__more summary { display: inline-flex; align-items: center; height: 30px; margin-top: 14px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; transition: border-color .2s, color .2s; }
.lp-src__more summary::-webkit-details-marker { display: none; }
.lp-src__more summary:hover { border-color: var(--ink); color: var(--ink); }
.lp-src__more[open] summary { display: none; }
.lp-src__more[open] .lp-src__docs { margin-top: 7px; }
@media (max-width: 700px) {
	.lp-src__g { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 2px 16px; }
	.lp-src__body { padding-left: 30px; }
}
.lp-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tags a { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 14px; transition: border-color .2s, color .2s; }
.lp-tags a:hover { border-color: var(--ink); color: var(--ink); }

/* ── 들어오는 움직임(스크립트가 붙인 표시로만 숨긴다) ── */
.lp-wait { opacity: 0; transform: translateY(24px); }
.lp-came { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
[data-motion="off"] .lp-wait { opacity: 1; transform: none; }
.is-loading .lp-main { opacity: .55; transition: opacity .2s .15s; }
.lp-main { outline: none; }

/* ── 카테고리 글 목록: 카테고리마다 다른 짜임 ── */
.lp-sec--list { padding-top: clamp(56px, 7vw, 96px); }
.lp-subcats { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(40px, 5vw, 64px); }
.lp-subcat { position: relative; display: flex; align-items: flex-end; min-height: 220px; overflow: hidden; border-radius: var(--r-xl); background: #000; color: #fff; isolation: isolate; }
.lp-subcat__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.lp-subcat__bg img, .lp-subcat__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.lp-subcat__bg video { opacity: 0; transition: opacity 1.2s var(--ease); }
.lp-subcat__bg video.is-ready { opacity: 1; }
.lp-subcat__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.lp-subcat:hover .lp-subcat__bg img { transform: scale(1.04); }
.lp-subcat__txt { display: grid; gap: 6px; padding: clamp(22px, 3vw, 36px); }
.lp-subcat__txt small { font-size: 13px; font-weight: 600; opacity: .78; }
.lp-subcat__txt strong { font-size: clamp(26px, 3vw, 38px); font-weight: 650; letter-spacing: -.035em; }
.lp-subcat__txt span { max-width: 560px; font-size: 15px; line-height: 1.6; opacity: .86; }

/* 에세이: 해와 제목, 글 속 한 문장 */
.lp-ledger { border-top: 1px solid var(--ink); }
.lp-ledger__it { border-bottom: 1px solid var(--line); }
.lp-ledger__it a { display: grid; grid-template-columns: 88px minmax(0, 1fr) 132px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 28px 0; }
.lp-ledger__y { align-self: start; padding-top: 6px; color: var(--mute); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-ledger__txt { display: grid; gap: 10px; }
.lp-ledger__txt strong { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.32; letter-spacing: -.03em; font-weight: 650; }
.lp-ledger__txt em { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ink-2); font-style: normal; font-size: 16px; line-height: 1.7; }
.lp-ledger__pic { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; background: var(--line-2); }
.lp-ledger__pic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .9s var(--ease-out), filter .6s; }
/* 제목에 올리면 글자가 굴러 오른다(library.js 의 워드 롤). 움직임 끔과 터치 기기에서는 밑줄 */
[data-motion="off"] .lp-ledger__it a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (hover: none) { .lp-ledger__it a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; } }
.lp-ledger__it a:hover img { transform: scale(1.05); filter: none; }

/* 비즈니스: 큰 두 칸 잡지 */
.lp-mag { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.lp-card--mag .lp-card__pic { aspect-ratio: 3 / 2; border-radius: var(--r-xl); }
.lp-card--mag .lp-card__title { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -.03em; }
.lp-card--mag .lp-card__sum { font-size: 16px; -webkit-line-clamp: 3; }

/* 디자인: 첫 글을 크게 두 칸 두 줄, 나머지 세 칸 */
.lp-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.lp-mosaic > .lp-card--mo:first-child { grid-column: span 2; grid-row: span 2; }
.lp-mosaic > .lp-card--mo:first-child .lp-card__pic { aspect-ratio: auto; flex: 1; min-height: 360px; border-radius: var(--r-xl); }
.lp-mosaic > .lp-card--mo:first-child .lp-card__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; }
.lp-card--mo .lp-card__pic { aspect-ratio: 4 / 3; }

/* 미디어: 16:9 화면 위에 제목 */
.lp-scrs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-scr a { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: #000; color: #fff; aspect-ratio: 16 / 10; isolation: isolate; }
.lp-scr__pic { position: absolute; inset: 0; z-index: -1; }
.lp-scr__pic img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform 1s var(--ease-out), opacity .4s; }
.lp-scr a:hover .lp-scr__pic img { transform: scale(1.05); opacity: .55; }
.lp-scr__txt { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 22px; background: rgba(0, 0, 0, .38); }
.lp-scr__txt strong { font-size: 18px; line-height: 1.35; letter-spacing: -.02em; font-weight: 650; }
.lp-scr__txt small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13.5px; line-height: 1.5; opacity: .82; }

/* 교양: 큰 글 하나와 오른쪽 목록 */
.lp-index { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lp-index__list { border-top: 1px solid var(--ink); counter-reset: ix; }
.lp-index__list li { border-bottom: 1px solid var(--line); counter-increment: ix; }
.lp-index__list a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; }
.lp-index__list a::before { content: counter(ix, decimal-leading-zero); grid-row: span 2; color: var(--mute); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 3px; }
.lp-index__list span { color: var(--blue); font-size: 12.5px; font-weight: 600; }
.lp-index__list strong { font-size: 17px; line-height: 1.45; font-weight: 600; }
.lp-index__list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* 사주: 별자리처럼 번호와 제목 */
.lp-stars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.lp-star { border-bottom: 1px solid var(--line); }
.lp-star a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 96px; gap: 18px; align-items: center; padding: 22px 0; }
.lp-star__no { color: var(--blue); font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.lp-star__txt { display: grid; gap: 6px; }
.lp-star__txt strong { font-size: 18px; line-height: 1.4; letter-spacing: -.02em; font-weight: 650; }
.lp-star__txt small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--mute); font-size: 13.5px; line-height: 1.55; }
.lp-star__pic { overflow: hidden; border-radius: 50%; aspect-ratio: 1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.lp-star__pic img { width: 100%; height: 100%; object-fit: cover; }
.lp-star a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* 라이프: 네 칸 작은 카드 */
.lp-grid4--compact { gap: 36px 20px; }
.lp-grid4--compact .lp-card__pic { aspect-ratio: 1 / 1; }

/* AI: 태그를 보이는 카드 */
.lp-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lp-card__tags span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--mute); font-size: 12px; font-weight: 600; }

/* 어두운 구역의 썸네일은 바탕과 섞이지 않게 얇은 테두리를 두른다(게임처럼 어두운 표지가 많은 곳) */
.lp-sec--ink .lp-card__pic, .lp-sec--ink .lp-row__pic { position: relative; background: #16161a; }
.lp-sec--ink .lp-card__pic::after, .lp-sec--ink .lp-row__pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); pointer-events: none; }
.lp-sec--arcade { background: #0a0a0c; }
.lp-sec--arcade .lp-card { padding: 12px 12px 20px; border-radius: calc(var(--r-lg) + 6px); background: #141418; }
.lp-sec--arcade .lp-card__pic { border-radius: var(--r-md); }
.lp-sec--arcade .lp-card__txt { padding-inline: 6px; }

/* 도구 링크(카테고리 아래) */
.lp-toolinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.lp-toolinks a { display: grid; gap: 6px; height: 100%; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); transition: border-color .2s; }
.lp-toolinks a:hover { border-color: var(--ink); }
.lp-toolinks strong { font-size: 17px; font-weight: 650; }
.lp-toolinks span { color: var(--mute); font-size: 14px; line-height: 1.55; }

/* 도구 상자(도구 모음·글 속) */
.lp-toolbox { margin-block: 2.2em; }
.lp-toolbox--bare { margin: 0; }
.lp-toolbox__head { margin-bottom: 16px; }
.lp-toolbox__k { color: var(--blue); font-size: 13px; font-weight: 650; }
.lp-toolbox__t { margin-top: 4px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.lp-toolbox__d { margin-top: 6px; color: var(--mute); font-size: 15px; line-height: 1.6; }
.lp-prose .lp-toolbox * + * { margin-top: 0; }
.lp-prose .lp-toolbox .lp-out { margin-top: 22px; }
.lp-prose .lp-toolbox .lp-small { margin-top: 14px; }
.lp-prose .lp-toolbox ul, .lp-prose .lp-toolbox ol { padding-left: 0; list-style: none; }
.lp-split--tool { gap: 16px; }
.lp-shead--tools { background: var(--bg-2); padding-bottom: clamp(40px, 5vw, 64px); }
.lp-tools { display: grid; gap: clamp(64px, 8vw, 112px); padding-block: clamp(56px, 7vw, 96px) clamp(80px, 9vw, 128px); }
.lp-toolsec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: 32px; border-top: 1px solid var(--ink); }
.lp-toolsec__cat a { color: var(--blue); font-size: 13px; font-weight: 650; }
.lp-toolsec__t { margin-top: 8px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.035em; }
.lp-toolsec__d { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.lp-toolsec .lp-iljin { background: var(--night); color: var(--night-ink); border-color: var(--night-line); }
.lp-toolsec .lp-tool--dark { color: var(--night-ink); }
.lp-toolsec .lp-tool--dark .lp-fields label, .lp-toolsec .lp-tool--dark .lp-small { color: var(--night-mute); }
/* 글 속에 넣은 어두운 도구(일진, 프롬프트 설계기)도 같은 글자색(11-24: 밝은 화면의 글에서 검은 상자 위에 검은 글자가 나왔다) */
.lp-iljin, .lp-tool--dark { color: var(--night-ink); }
.lp-prose .lp-iljin p, .lp-prose .lp-tool--dark p:not(.lp-small) { color: inherit; }
.lp-tool--dark .lp-fields label, .lp-tool--dark .lp-small, .lp-prose .lp-tool--dark .lp-small { color: var(--night-mute); }

/* ── 글 속 그림(코드로 그린 도표·차트·흐름도). 색은 밝기에 따라 바뀐다 ── */
.lp-fig { margin-block: 2.4em; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--rb); background: var(--card); }
/* 그림 속 사각형도 같은 모서리로(SVG 의 rx 속성을 CSS 로 덮는다). 손으로 그린 그림(자판, 기기 윤곽)은 모양이 내용이라 건드리지 않는다 */
.lp-fig:is([data-fig="stats"], [data-fig="steps"], [data-fig="bars"], [data-fig="cycle"], [data-fig="scale"], [data-fig="matrix"], [data-fig="routes"], [data-fig="samples"], [data-fig="share"], [data-fig="funnel"], [data-fig="palette"], [data-fig="swatch"]) svg rect { rx: var(--rb); ry: var(--rb); }
.lp-prose .lp-fig > * + * { margin-top: 0; }
.lp-fig svg { width: 100%; height: auto; overflow: visible; stroke: none; }
.lp-fig figcaption { margin-top: 14px; color: var(--mute); font-size: 14px; line-height: 1.6; text-align: left; }
.lp-fig figcaption b { color: var(--ink); font-weight: 650; }
.lp-fig .f-ink { fill: var(--ink); }
.lp-fig .f-mute { fill: var(--mute); }
.lp-fig .f-blue { fill: var(--blue); }
.lp-fig .f-soft { fill: var(--bg-2); }
.lp-fig .f-line { fill: var(--line); }
.lp-fig .f-up { fill: var(--up); }
.lp-fig .f-down { fill: var(--down); }
.lp-fig .s-ink { stroke: var(--ink); fill: none; }
.lp-fig .s-mute { stroke: var(--mute); fill: none; }
.lp-fig .s-line { stroke: var(--line); fill: none; }
.lp-fig .s-blue { stroke: var(--blue); fill: none; }
.lp-fig .s-up { stroke: var(--up); fill: none; }
.lp-fig text { font-family: var(--font); letter-spacing: -.01em; }
.lp-fig .t-sm { font-size: 12px; }
.lp-fig .t-md { font-size: 14px; }
.lp-fig .t-lg { font-size: 18px; font-weight: 650; }
.lp-fig .t-xl { font-size: 28px; font-weight: 650; }
/* 화면에 들어오면 선이 그려지고 막대가 자란다 */
[data-motion="on"] .lp-fig.lp-wait .draw { stroke-dashoffset: var(--len, 1200); }
.lp-fig .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-out) .2s; }
[data-motion="on"] .lp-fig.lp-wait .grow { transform: scaleY(0); }
.lp-fig .grow { transform-box: fill-box; transform-origin: bottom; transition: transform 1.1s var(--ease-out); }
[data-motion="on"] .lp-fig.lp-wait .grow-x { transform: scaleX(0); }
.lp-fig .grow-x { transform-box: fill-box; transform-origin: left; transition: transform 1.1s var(--ease-out); }
[data-motion="on"] .lp-fig.lp-wait .fade { opacity: 0; }
.lp-fig .fade { transition: opacity .8s var(--ease) .5s; }
.lp-fig .d1 { transition-delay: .1s; } .lp-fig .d2 { transition-delay: .2s; } .lp-fig .d3 { transition-delay: .3s; } .lp-fig .d4 { transition-delay: .4s; }
.lp-fig .d5 { transition-delay: .5s; } .lp-fig .d6 { transition-delay: .6s; } .lp-fig .d7 { transition-delay: .7s; } .lp-fig .d8 { transition-delay: .8s; }
/* 미술관 그림도 다른 그림처럼 네모난 틀에 넣는다(11-26 밤 사용자: "사진도 틀에 넣어줘. 네모난 틀. 그게 더 깔끔한거 같다"). 예전에는 틀 없이 본문 폭에 꽉 채웠다 */
.lp-fig--art img { width: 100%; border-radius: var(--rb); }
.lp-prose .lp-stage { border-radius: var(--rb); }   /* 글 속 영상도 내용이라 각지게(곡 단추는 누르는 것이라 둥글게 둔다) */

/* ── 글 속 그림의 새 종류와 상자 넷(2026-11-26, tools/figkit.py). 사용자: "좋은 요소인데 너무 다 비슷하잖아", "과할 정도로 다양한 형식을".
   상자: 테두리(기본) / 옅은 바탕 / 테두리 없음 / 어두운 띠. 종류는 HTML 이 먼저라 휴대폰에서도 글자가 줄지 않는다. ── */
/* 11-26 사용자: "살짝 회색 외곽선이 있으면 훨씬 세련되어 보일듯함. 막 티가 나는 외곽선이 아니라 살짝" */
.lp-fig--tint { border-color: var(--line-2); background: var(--bg-2); }
.lp-fig--bare { padding: 0; border: 0; border-radius: 0; background: none; }
.lp-fig--ink { border-color: transparent; background: var(--night-2); --ink: #f5f5f7; --ink-2: #d2d2d7; --mute: #a1a1a6; --line: #3a3a40; --bg-2: #1c1c21; --card: #1c1c21; --blue: #5b9dff; }
.lp-fig--ink figcaption { color: #a1a1a6; }
.lp-fig--ink figcaption b { color: #f5f5f7; }
.lp-prose .lp-fig :where(.lp-check, .lp-ftl, .lp-rail, .lp-calc, .lp-samp, .lp-dots, .lp-share, .lp-rank, .lp-fun, .lp-agenda, .lp-tree ul, .lp-wset ul, .lp-vs ul), .lp-fig :where(.lp-check, .lp-ftl, .lp-rail, .lp-calc, .lp-samp, .lp-dots, .lp-share, .lp-rank, .lp-fun, .lp-agenda, .lp-tree ul, .lp-wset ul, .lp-vs ul) { list-style: none; margin: 0; padding: 0; display: block; }
.lp-fig :where(.lp-check, .lp-ftl, .lp-rail, .lp-calc, .lp-samp, .lp-dots, .lp-share, .lp-rank, .lp-fun, .lp-agenda) li::marker { content: none; }
.lp-fig :where(.lp-calc, .lp-samp, .lp-dots, .lp-rank, .lp-fun) { font-variant-numeric: tabular-nums; }

/* 체크 목록 */
.lp-fig .lp-check li { display: grid; grid-template-columns: 22px minmax(0, 13em) 1fr; gap: 4px 14px; align-items: baseline; padding: 14px 2px; border-top: 1px solid var(--line); }
.lp-fig .lp-check li:last-child { border-bottom: 1px solid var(--line); }
/* 체크 표시는 첫 줄에 맞춘다(11-26 밤 사용자: "체크 표시랑 텍스트랑 정렬 안맞는다"). 가운데 맞춤이면 설명이 두 줄일 때 굵은 이름보다 아래로 내려앉는다. 첫 줄 높이 25.6px 안에서 20px 표시를 가운데 두려고 3px 내린다 */
.lp-fig .lp-check__m { width: 20px; height: 20px; align-self: start; margin-top: 3px; }
.lp-fig .lp-check__m path { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-fig .lp-check b { font-weight: 650; }
.lp-fig .lp-check span { color: var(--mute); font-size: 15px; }

/* 연표 띠: 넓은 화면은 가로, 휴대폰은 세로 */
.lp-fig .lp-ftl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.lp-fig .lp-ftl li { position: relative; padding: 26px 14px 2px 0; border-top: 2px solid var(--line); }
.lp-fig .lp-ftl li::before { content: ""; position: absolute; left: 0; top: -8px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--mute); background: var(--bg-2); }
.lp-fig .lp-ftl li.is-now::before { border-color: var(--blue); background: var(--blue); }
.lp-fig .lp-ftl time { display: block; font-size: 13px; font-weight: 650; color: var(--blue); letter-spacing: 0; }
.lp-fig .lp-ftl b { display: block; margin-top: 4px; font-size: 15.5px; font-weight: 650; line-height: 1.45; }
.lp-fig .lp-ftl span:not(.nw) { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--mute); }

/* 세로 선 순서 */
.lp-fig .lp-rail { counter-reset: rail; }
.lp-fig .lp-rail li { counter-increment: rail; position: relative; padding: 0 0 24px 54px; }
.lp-fig .lp-rail li::before { content: counter(rail); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 600 14px/1 var(--font); color: var(--ink); background: var(--bg); }
.lp-fig .lp-rail li::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 2px; width: 1.5px; background: var(--line); }
.lp-fig .lp-rail li:last-child { padding-bottom: 0; }
.lp-fig .lp-rail li:last-child::after { display: none; }
.lp-fig .lp-rail b { display: block; font-size: 17px; font-weight: 650; line-height: 1.45; }
.lp-fig .lp-rail span:not(.nw) { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }

/* 계산표 */
.lp-fig .lp-calc li { display: grid; grid-template-columns: minmax(0, 11em) 1fr auto; gap: 4px 18px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.lp-fig .lp-calc span { font-size: 15px; color: var(--ink-2); }
.lp-fig .lp-calc code { padding: 0; background: none; font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, "D2Coding", monospace; color: var(--mute); }
.lp-fig .lp-calc b { font-weight: 650; text-align: right; white-space: nowrap; }
.lp-fig .lp-calc .lp-calc__total { margin-top: -1px; border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 14px; }
.lp-fig .lp-calc .lp-calc__total span { font-weight: 650; color: var(--ink); }
.lp-fig .lp-calc .lp-calc__total b { font-size: 21px; color: var(--blue); }

/* 실제 색 견본 */
.lp-fig .lp-samp li { display: grid; grid-template-columns: minmax(0, 340px) 6.5em 5.5em 1fr; gap: 6px 16px; align-items: center; padding: 6px 0; }
.lp-fig .lp-samp__s { width: 100%; height: auto; }
.lp-fig .lp-samp code { padding: 0; background: none; font: 13.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-2); }
.lp-fig .lp-samp b { font-weight: 650; }
.lp-fig .lp-samp span { font-size: 14px; color: var(--mute); }

/* 점 그래프 */
.lp-fig .lp-dots li { display: grid; grid-template-columns: minmax(0, 9em) 1fr 6.5em; gap: 14px; align-items: center; padding: 7px 0; }
.lp-fig .lp-dots li > span { font-size: 14px; text-align: right; color: var(--ink-2); }
.lp-fig .lp-dots li > b { font-size: 14px; font-weight: 650; }
.lp-fig .lp-dots__t { width: 100%; height: 16px; overflow: visible; }
.lp-fig .lp-dots__base { stroke: var(--line); stroke-width: 2; }
.lp-fig .lp-dots__bar { stroke: var(--mute); stroke-width: 2; }
.lp-fig .lp-dots__dot { fill: var(--bg-2); stroke: var(--mute); stroke-width: 2.4; }
.lp-fig .lp-dots .is-top .lp-dots__bar { stroke: var(--blue); }
.lp-fig .lp-dots .is-top .lp-dots__dot { fill: var(--blue); stroke: var(--blue); }
.lp-fig .lp-dots .is-top > b { color: var(--blue); }
.lp-fig .lp-dots__zero { stroke: var(--ink); stroke-width: 1.5; }
.lp-fig .lp-dots .is-neg .lp-dots__bar { stroke: var(--down); }
.lp-fig .lp-dots .is-neg .lp-dots__dot { stroke: var(--down); }

/* 100% 띠 */
.lp-fig .lp-share__bar { width: 100%; height: 28px; }
.lp-fig .lp-share { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; }
.lp-fig .lp-share li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.lp-fig .lp-share li b { color: var(--ink); font-weight: 650; }
.lp-fig .lp-share__k { width: 12px; height: 12px; }
.lp-fig .lp-share__1 { fill: var(--blue); }
.lp-fig .lp-share__2 { fill: var(--blue); opacity: .68; }
.lp-fig .lp-share__3 { fill: var(--blue); opacity: .42; }
.lp-fig .lp-share__4 { fill: var(--mute); opacity: .75; }
.lp-fig .lp-share__5 { fill: var(--mute); opacity: .45; }
.lp-fig .lp-share__6 { fill: var(--line); }
/* 어두운 화면에서는 옅은 파랑이 바탕에 묻혀서 한 단계씩 밝게(11-26 미니멀 라이프 글의 '전기 요금' 띠) */
[data-theme="dark"] .lp-fig .lp-share__2 { opacity: .8; }
[data-theme="dark"] .lp-fig .lp-share__3 { opacity: .58; }
[data-theme="dark"] .lp-fig .lp-share__4 { opacity: .95; }
[data-theme="dark"] .lp-fig .lp-share__5 { opacity: .6; }
[data-theme="dark"] .lp-fig .lp-share__6 { fill: #5a5a61; }

/* A·B 맞대기 */
.lp-fig .lp-vs__h { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.lp-fig .lp-vs__h b { font-size: 18px; font-weight: 700; }
.lp-fig .lp-vs__h b:first-child { text-align: right; }
.lp-fig .lp-vs__h span { font-size: 12px; color: var(--mute); }
.lp-fig .lp-vs li { display: grid; grid-template-columns: 1fr minmax(5em, auto) 1fr; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lp-fig .lp-vs i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--mute); text-align: center; }
.lp-fig .lp-vs__a { text-align: right; }
.lp-fig .lp-vs__a, .lp-fig .lp-vs__b { font-size: 15.5px; line-height: 1.55; }

/* 용어 사전 */
.lp-fig .lp-terms { display: grid; grid-template-columns: 1fr; gap: 0 32px; margin: 0; }
.lp-fig .lp-terms--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-fig .lp-terms--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-fig .lp-terms div { padding: 16px 0; border-top: 1px solid var(--line); }
.lp-fig .lp-terms dt { font-size: 17px; font-weight: 700; }
.lp-fig .lp-terms dd { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

/* 크게 옮긴 인용 */
.lp-fig .lp-pq { padding: 26px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
/* 본문 인용과 같은 파란 따옴표를 문장 위에 하나(11-26) */
.lp-fig .lp-pq::before { content: "\201C"; display: block; height: 32px; margin-bottom: 8px; overflow: hidden; color: var(--blue); font: 700 60px/1 Georgia, "Times New Roman", "Noto Serif KR", serif; }
.lp-fig .lp-pq__t { margin: 0 auto; max-width: 30em; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.6; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.lp-fig .lp-pq__by { margin: 14px 0 0; font-size: 14px; color: var(--mute); }
.lp-fig--bare:has(.lp-pq) figcaption { text-align: center; }

/* 순위 */
.lp-fig .lp-rank li { display: grid; grid-template-columns: 2.4em minmax(0, 12em) 1fr auto; gap: 4px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lp-fig .lp-rank .lp-rank__n { font-size: 26px; font-weight: 300; line-height: 1; color: var(--mute); }
.lp-fig .lp-rank li:first-child .lp-rank__n.lp-rank__n { color: var(--blue); font-weight: 600; }
.lp-fig .lp-rank b { font-size: 16px; font-weight: 650; }
.lp-fig .lp-rank li > span:not(.lp-rank__n) { font-size: 14.5px; color: var(--mute); }
.lp-fig .lp-rank em { font-style: normal; font-weight: 650; white-space: nowrap; }

/* 갈래 나무 */
.lp-fig .lp-tree__root { margin: 0 auto; width: fit-content; padding: 8px 20px; border-radius: var(--rb); background: var(--ink); color: var(--bg); font-weight: 650; }
.lp-fig .lp-tree { --n: 2; }
.lp-fig .lp-tree--3 { --n: 3; } .lp-fig .lp-tree--4 { --n: 4; } .lp-fig .lp-tree--5 { --n: 5; } .lp-fig .lp-tree--6 { --n: 6; }   /* .lp-fig .lp-tree 의 --n:2 보다 강하게(11-26 일손 보고) */
.lp-fig .lp-tree__br { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; margin-top: 30px; padding-top: 22px; position: relative; }
/* 가로 연결선은 첫 갈래 가운데에서 마지막 갈래 가운데까지만 */
.lp-fig .lp-tree__br::after { content: ""; position: absolute; top: 0; height: 1.5px; background: var(--line); left: calc((100% - (var(--n) - 1) * 16px) / var(--n) / 2); right: calc((100% - (var(--n) - 1) * 16px) / var(--n) / 2); }
.lp-fig .lp-tree__br::before { content: ""; position: absolute; left: 50%; top: -30px; height: 30px; width: 1.5px; background: var(--line); }
.lp-fig .lp-tree__br > li { position: relative; text-align: center; }
.lp-fig .lp-tree__br > li::before { content: ""; position: absolute; left: 50%; top: -22px; height: 18px; width: 1.5px; background: var(--line); }
.lp-fig .lp-tree__br > li > b { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--blue); border-radius: var(--rb); color: var(--blue); font-weight: 650; font-size: 15px; }
.lp-fig .lp-tree__br ul { margin-top: 10px; }
.lp-fig .lp-tree__br ul li { padding: 3px 0; font-size: 14.5px; color: var(--ink-2); }

/* 겹치는 두 원, 계기판, 층 피라미드(SVG, 폭 400~520 이라 휴대폰에서도 글자가 크게 줄지 않는다) */
.lp-fig .lp-venn, .lp-fig .lp-gauge { max-width: 460px; margin-inline: auto; }
.lp-fig .lp-pyr { max-width: 440px; margin-inline: auto; }
.lp-fig .lp-pyr__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--mute); }
.lp-fig .lp-pyr__notes b { color: var(--ink); font-weight: 650; margin-right: 6px; }
/* 설명이 넷이면 둘씩 두 줄로(셋 + 하나로 떨어지지 않게). 칸은 줄어들 수 있게 둔다. max-content 로만 두면 긴 설명이 그림 밖으로 넘친다(2026-11-26) */
.lp-fig .lp-pyr__notes:has(> li:nth-child(4):last-child) { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; }
.lp-fig .lp-venn__a { fill: var(--blue); fill-opacity: .2; stroke: var(--blue); stroke-width: 1.5; }
.lp-fig .lp-venn__b { fill: var(--mute); fill-opacity: .18; stroke: var(--mute); stroke-width: 1.5; }
.lp-fig .lp-gauge path[class^="lp-gauge__z"] { fill: none; stroke-width: 18; stroke-linecap: butt; }
.lp-fig .lp-gauge__z1 { stroke: var(--blue); opacity: .35; } .lp-fig .lp-gauge__z2 { stroke: var(--blue); opacity: .55; } .lp-fig .lp-gauge__z3 { stroke: var(--mute); opacity: .5; }
.lp-fig .lp-gauge__z4 { stroke: var(--up); opacity: .55; } .lp-fig .lp-gauge__z5 { stroke: var(--up); opacity: .8; } .lp-fig .lp-gauge__z6 { stroke: var(--up); }
.lp-fig .lp-gauge__n { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.lp-fig .lp-gauge__c { fill: var(--ink); }
.lp-fig .lp-gauge__v { font-size: 40px; font-weight: 700; fill: var(--ink); }
.lp-fig .lp-gauge__zl { font-size: 16px; fill: var(--mute); }
.lp-fig .lp-pyr__1 { fill: var(--blue); } .lp-fig .lp-pyr__2 { fill: var(--blue); opacity: .78; } .lp-fig .lp-pyr__3 { fill: var(--blue); opacity: .56; }
.lp-fig .lp-pyr__4 { fill: var(--blue); opacity: .4; } .lp-fig .lp-pyr__5 { fill: var(--blue); opacity: .28; } .lp-fig .lp-pyr__6 { fill: var(--blue); opacity: .18; }
.lp-fig .lp-pyr__t1 { fill: #fff; } .lp-fig .lp-pyr__t2 { fill: var(--ink); }

/* 깔때기 */
.lp-fig .lp-fun li { display: grid; grid-template-columns: minmax(0, 7em) 1fr 6em 3.2em; gap: 12px; align-items: center; padding: 4px 0; }
.lp-fig .lp-fun li > span { font-size: 14.5px; text-align: right; color: var(--ink-2); }
.lp-fig .lp-fun__b { width: 100%; height: 34px; }
.lp-fig .lp-fun__b rect { fill: var(--blue); }
.lp-fig .lp-fun li:nth-child(n+2) .lp-fun__b rect { opacity: .78; } .lp-fig .lp-fun li:nth-child(n+3) .lp-fun__b rect { opacity: .58; } .lp-fig .lp-fun li:nth-child(n+4) .lp-fun__b rect { opacity: .42; }
.lp-fig .lp-fun li > b { font-size: 14.5px; font-weight: 650; }
.lp-fig .lp-fun small { font-size: 12.5px; color: var(--mute); }

/* 달력 농도 */
.lp-fig .lp-heat { overflow-x: auto; }
.lp-fig .lp-heat__g { display: grid; gap: 4px; min-width: 460px; font-size: 12.5px; color: var(--mute); }
/* 열이 일곱 개까지면(요일 달력) 휴대폰에서도 한 화면에 들어가므로 옆으로 밀지 않는다(11-26 도지코인 글) */
.lp-fig .lp-heat__g:is(.lp-heat--c2, .lp-heat--c3, .lp-heat--c4, .lp-heat--c5, .lp-heat--c6, .lp-heat--c7, .lp-heat--c8, .lp-heat--c9, .lp-heat--c10) { min-width: 0; }
/* 여덟~열 칸은 휴대폰에서 칸을 더 좁혀 한 화면에 넣는다(11-26 대운 글: 열째 칸이 화면 밖으로 밀렸다) */
@media (max-width: 480px) {
	.lp-fig .lp-heat__g:is(.lp-heat--c8, .lp-heat--c9, .lp-heat--c10) { gap: 3px; font-size: 11.5px; }
	.lp-fig .lp-heat__g:is(.lp-heat--c8, .lp-heat--c9, .lp-heat--c10) i { min-height: 16px; }
	.lp-fig .lp-heat--c8 { grid-template-columns: 4.9em repeat(8, minmax(0, 1fr)); }
	.lp-fig .lp-heat--c9 { grid-template-columns: 4.9em repeat(9, minmax(0, 1fr)); }
	.lp-fig .lp-heat--c10 { grid-template-columns: 4.9em repeat(10, minmax(0, 1fr)); }
}
.lp-heat--c2 { grid-template-columns: 5em repeat(2, 1fr); } .lp-heat--c3 { grid-template-columns: 5em repeat(3, 1fr); } .lp-heat--c4 { grid-template-columns: 5em repeat(4, 1fr); }
.lp-heat--c5 { grid-template-columns: 5em repeat(5, 1fr); } .lp-heat--c6 { grid-template-columns: 5em repeat(6, 1fr); } .lp-heat--c7 { grid-template-columns: 5em repeat(7, 1fr); }
.lp-heat--c8 { grid-template-columns: 5em repeat(8, 1fr); } .lp-heat--c9 { grid-template-columns: 5em repeat(9, 1fr); } .lp-heat--c10 { grid-template-columns: 5em repeat(10, 1fr); }
.lp-heat--c11 { grid-template-columns: 5em repeat(11, 1fr); } .lp-heat--c12 { grid-template-columns: 5em repeat(12, 1fr); } .lp-heat--c13 { grid-template-columns: 5em repeat(13, 1fr); } .lp-heat--c14 { grid-template-columns: 5em repeat(14, 1fr); }
.lp-fig .lp-heat__g > span { text-align: center; align-self: end; }
.lp-fig .lp-heat__r { text-align: left !important; align-self: center !important; color: var(--ink-2); font-weight: 600; }
.lp-fig .lp-heat i, .lp-fig .lp-heat__lg i { display: block; aspect-ratio: 1; min-height: 22px; border-radius: var(--rb); background: var(--blue); }
.lp-fig .lp-heat__0 { background: var(--line) !important; opacity: .55; } .lp-fig .lp-heat__1 { opacity: .25; } .lp-fig .lp-heat__2 { opacity: .45; } .lp-fig .lp-heat__3 { opacity: .7; } .lp-fig .lp-heat__4 { opacity: 1; }
.lp-fig .lp-heat__lg { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 12px 0 0; font-size: 12.5px; color: var(--mute); }
.lp-fig .lp-heat__lg i { width: 14px; min-height: 14px; border-radius: var(--rb); }
.lp-fig .lp-heat__lg span { margin-inline: 4px; }

/* 낱말 묶음 */
.lp-fig .lp-wset { display: grid; gap: 18px; }
.lp-fig .lp-wset p { margin: 0 0 14px; font-size: 13px; font-weight: 650; color: var(--mute); }
.lp-fig .lp-wset ul { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-fig .lp-wset li { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--rb); background: var(--card); font-size: 14.5px; }

/* 시간표 */
.lp-fig .lp-agenda li { display: grid; grid-template-columns: minmax(5.5em, max-content) 1fr; gap: 2px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lp-fig .lp-agenda time { grid-row: span 2; white-space: nowrap; font-size: 20px; font-weight: 650; letter-spacing: -.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.lp-fig .lp-agenda b { font-size: 16px; font-weight: 650; }
.lp-fig .lp-agenda span { font-size: 14.5px; color: var(--mute); }

@media (max-width: 640px) {
	.lp-fig .lp-check li { grid-template-columns: 22px 1fr; }
	.lp-fig .lp-check span { grid-column: 2; }
	.lp-fig .lp-ftl { grid-auto-flow: row; }
	.lp-fig .lp-ftl li { padding: 0 0 20px 26px; border-top: 0; border-left: 2px solid var(--line); margin-left: 7px; }
	.lp-fig .lp-ftl li:last-child { padding-bottom: 0; }
	.lp-fig .lp-ftl li::before { left: -8px; top: 2px; }
	.lp-fig .lp-calc li { grid-template-columns: 1fr auto; }
	.lp-fig .lp-calc code, .lp-fig .lp-calc i { grid-column: 1 / -1; grid-row: 2; }
	.lp-fig .lp-samp li { grid-template-columns: auto auto 1fr; gap: 14px 16px; padding: 10px 0; }
	.lp-fig .lp-samp__s { grid-column: 1 / -1; }
	.lp-fig .lp-dots li, .lp-fig .lp-fun li { grid-template-columns: 1fr auto; gap: 12px 12px; padding: 9px 0; }
	.lp-fig .lp-dots li > span, .lp-fig .lp-fun li > span { text-align: left; }
	.lp-fig .lp-dots__t, .lp-fig .lp-fun__b { grid-column: 1 / -1; grid-row: 2; }
	/* 휴대폰에서도 단계별 비율을 값 옆에 보인다(11-26: 숨어 있었다) */
	.lp-fig .lp-fun li { grid-template-columns: 1fr auto auto; }
	.lp-fig .lp-fun small { min-width: 2.6em; text-align: right; }
	.lp-fig .lp-vs__h { grid-template-columns: 1fr 1fr; }
	.lp-fig .lp-vs__h span { display: none; }
	.lp-fig .lp-vs__h b:first-child, .lp-fig .lp-vs__a { text-align: left; }
	.lp-fig .lp-vs li { grid-template-columns: 1fr 1fr; gap: 4px 14px; }
	.lp-fig .lp-vs i { grid-column: 1 / -1; grid-row: 1; text-align: left; }
	.lp-fig .lp-vs__a { grid-column: 1; grid-row: 2; }
	.lp-fig .lp-vs__b { grid-column: 2; grid-row: 2; }
	.lp-fig .lp-rank li { grid-template-columns: 2.2em 1fr auto; }
	.lp-fig .lp-rank .lp-rank__n { grid-column: 1; grid-row: 1 / span 2; }
	.lp-fig .lp-rank li > b { grid-column: 2; grid-row: 1; }
	.lp-fig .lp-rank li > em { grid-column: 3; grid-row: 1; }
	.lp-fig .lp-rank li > span:not(.lp-rank__n) { grid-column: 2 / -1; grid-row: 2; }
	.lp-fig .lp-agenda li { grid-template-columns: minmax(4.6em, max-content) 1fr; gap: 2px 14px; }
	.lp-fig .lp-agenda time { font-size: 17px; }
	.lp-fig .lp-terms--c2, .lp-fig .lp-terms--c3 { grid-template-columns: 1fr; }
	.lp-fig .lp-tree__br { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; padding-top: 0; }
	.lp-tree--2 .lp-tree__br, .lp-tree--4 .lp-tree__br, .lp-tree--6 .lp-tree__br { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-fig .lp-tree__br::after, .lp-fig .lp-tree__br::before, .lp-fig .lp-tree__br > li::before { display: none; }
	.lp-fig .lp-tree__br > li { padding: 14px; border-radius: var(--rb); background: var(--bg-2); }
}
.lp-fig--wide { margin-inline: calc(min(0px, (760px - min(100vw - var(--gut) * 2, 1040px)) / 2)); }

/* ── 라이브러리 이야기(소개) ── */
/* 주제 별자리 */
/* 원칙 */
/* 별의 아이 */
/* 읽는 사람 */

/* ── 넓이별 ── */
@media (max-width: 1180px) {
	.lp-nav a { padding: 0 9px; font-size: 13.5px; }
	.lp-coins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lp-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lp-otherc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-otherc--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lp-resgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-foot__grid { grid-template-columns: 1fr 1fr; }
	.lp-post__wrap { grid-template-columns: minmax(0, 1fr); }
	.lp-post__main { grid-column: 1; max-width: 760px; width: 100%; margin-inline: auto; }
	.lp-post__aside { display: none; }
	.lp-scrs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-toolsec { grid-template-columns: minmax(0, 1fr); }
	.lp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-mgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
	.lp-nav { display: none; }
	.lp-today, .lp-essay, .lp-essaysp, .lp-split, .lp-mus__in { grid-template-columns: minmax(0, 1fr); }
	.lp-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-media { grid-template-columns: minmax(0, 1fr); }
	.lp-bento { grid-auto-rows: 200px; }
	.lp-index, .lp-mag { grid-template-columns: minmax(0, 1fr); }
	.lp-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-stars { grid-template-columns: minmax(0, 1fr); }
	.lp-card--wide { grid-template-columns: minmax(0, 1fr); }
	.lp-hero__tabs ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
	.lp-ores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-dir ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-dir header { grid-template-columns: minmax(0, 1fr); }
	.lp-promptout { position: static; }
	.lp-tl__item { grid-template-columns: minmax(0, 1fr); }
	.lp-tl__what, .lp-tl__desc { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
	:root { --top-h: 56px; --tape-h: 34px; }
	.lp-mark { width: 100px; }
	.lp-tape__label { padding-right: 12px; }
	.lp-hero { min-height: 560px; }
	.lp-hero__copy { padding-bottom: 160px; }
	.lp-hero__act { flex-wrap: wrap; gap: 12px; }
	.lp-hero__tabs { bottom: 20px; }
	.lp-hero__tabs ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.lp-hero__tabs li button { font-size: 12px; padding-bottom: 6px; }
	.lp-hero__tabs i { margin-top: 6px; }
	.lp-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.lp-coin { padding: 14px 14px 10px; }
	.lp-coin__price { font-size: 17px; }
	.lp-grid3, .lp-grid4 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.lp-card--side { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
	.lp-row__link { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; }
	.lp-row__no { display: none; }
	.lp-row__sum { display: none; }
	.lp-head { flex-direction: column; align-items: flex-start; }
	.lp-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 168px; gap: 10px; }
	.lp-tile__txt span { display: none; }
	.lp-ledger__it a { grid-template-columns: minmax(0, 1fr) 88px; }
	.lp-ledger__y { grid-column: 1 / -1; padding-top: 0; }
	.lp-mosaic, .lp-scrs { grid-template-columns: minmax(0, 1fr); }
	.lp-mosaic > .lp-card--mo:first-child { grid-column: auto; grid-row: auto; }
	.lp-mosaic > .lp-card--mo:first-child .lp-card__pic { min-height: 0; aspect-ratio: 4 / 3; }
	.lp-star a { grid-template-columns: 32px minmax(0, 1fr) 64px; gap: 12px; }
	.lp-foot__line { font-size: 30px; }
	.lp-masonry { columns: 2 140px; column-gap: 12px; }
	.lp-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-otherc, .lp-otherc--3 { grid-template-columns: minmax(0, 1fr); }
	.lp-resgrid { grid-template-columns: minmax(0, 1fr); }
	.lp-dir ul { grid-template-columns: minmax(0, 1fr); }
	.lp-foot__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.lp-foot__data { grid-template-columns: minmax(0, 1fr); }
	.lp-foot__bar { flex-direction: column; }
	.lp-dock { right: 10px; bottom: 10px; }
	.lp-dock button { padding: 0 11px; }
	.lp-dock [data-music-label], .lp-dock [data-theme-label], .lp-dock [data-motion-label] { display: none; }   /* 글자만 숨긴다. 예전엔 밝기 아이콘 칸까지 숨어 빈 단추가 됐다 */
	.lp-player { right: 10px; bottom: 60px; }
	.lp-fields, .lp-out { grid-template-columns: minmax(0, 1fr); }
	.lp-out { gap: 14px; }
	.lp-kpis { grid-template-columns: minmax(0, 1fr); }
	.lp-ores { grid-template-columns: minmax(0, 1fr); }
	.lp-pts { height: 300px; }
	.lp-player__list--wide { grid-template-columns: minmax(0, 1fr); }
	.lp-lightbox__panel { grid-template-columns: 40px minmax(0, 1fr) 40px; padding-inline: 4px; }
	.lp-zodiac { width: min(100%, 340px); }
	.lp-ji { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
	.lp-ji b { font-size: 16px; }
	.lp-ji span { display: none; }
	.lp-chero { min-height: 82svh; }
	.lp-post__meta { gap: 6px 14px; }
	.lp-copy { margin-left: 0; }
	.lp-prose { font-size: 17px; }
	.lp-mt__spark { display: none; }
}
/* ── 카테고리 구역 4판(2026-11-22, rooms.py) ── */
/* 자료실: 묶음마다 한 칸, 링크는 이름·한 줄 설명·주소 */
.rm-shelf { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 28px 40px; }
.rm-shelf--1 { --cols: 1; } .rm-shelf--2 { --cols: 2; } .rm-shelf--3 { --cols: 3; }
.rm-shelf__t { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.rm-shelf ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; }
.rm-shelf--1 ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rm-shelf a, .rm-plats a, .rm-tools a { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.rm-shelf a strong, .rm-plats a strong, .rm-tools a strong { font-size: 15px; font-weight: 600; }
.rm-shelf a span, .rm-plats a span, .rm-tools a span { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.rm-shelf a small, .rm-plats a small, .rm-tools a small { color: var(--mute); font-size: 12px; }
.rm-shelf a:hover strong, .rm-plats a:hover strong, .rm-tools a:hover strong { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* 다른 주제: 장면 타일 */
.rm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rm-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm-tile { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg); background: #111; color: #fff; isolation: isolate; }
.rm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; opacity: .78; }
.rm-tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .46); z-index: 0; }
.rm-flow .t-on { fill: #fff; }
.rm-tile__txt { position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; gap: 6px; padding: 22px 24px; }
.rm-tile__txt strong { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.15; }
.rm-tile__txt span { color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rm-tile:hover img, .rm-tile:focus-visible img { transform: scale(1.06); opacity: .95; }
[data-motion="off"] .rm-tile img { transition: none; }

/* 금융 데스크 */
.rm-desk__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
.rm-flow svg { width: 100%; height: auto; }
.rm-inds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rm-ind { display: grid; align-content: start; gap: 8px; padding: 18px 18px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-ind__fig { margin: -2px -4px 6px; padding: 10px 8px 4px; border-radius: var(--r-md); background: var(--bg-2); }
.rm-ind__svg { display: block; width: 100%; height: auto; fill: none; }
.rm-ind__kind { color: var(--blue); font-size: 12.5px; font-weight: 600; }
.rm-ind__name { font-size: 19px; letter-spacing: -.02em; }
.rm-ind__name small { color: var(--mute); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.rm-ind p { color: var(--ink-2); font-size: 14px; line-height: 1.65; }
.rm-ind b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.rm-fx { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-fx__t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rm-fx__t th, .rm-fx__t td { padding: 12px; border-bottom: 1px solid var(--line-2); text-align: right; font-size: 14px; white-space: nowrap; }
.rm-fx__t thead th { color: var(--ink); font-weight: 700; }
.rm-fx__t th small { display: block; color: var(--mute); font-size: 11.5px; font-weight: 500; }
.rm-fx__t tbody th { text-align: left; color: var(--ink); font-weight: 700; }
.rm-fx__t td.is-same { background: var(--bg-2); }
.rm-fx__t tr:last-child th, .rm-fx__t tr:last-child td { border-bottom: 0; }
.rm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rm-path { display: grid; gap: 10px; }
.rm-path a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--card); color: var(--ink); border: 1px solid var(--line); transition: border-color .2s; }
.rm-path a:hover { border-color: var(--blue); }
.rm-path__no { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.rm-path strong { font-size: 16px; }
.rm-path span:last-child { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* AI: 연대기(한 줄씩 내려가는 기록) */
.rm-log { display: grid; border-top: 1px solid var(--line); }
.rm-log__row { display: grid; grid-template-columns: 110px 180px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rm-log__when { color: var(--blue); font: 600 14px/1.4 var(--font); font-variant-numeric: tabular-nums; }
.rm-log__title { font-size: 17px; letter-spacing: -.02em; }
.rm-log__desc { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.rm-live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.rm-live__col { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-live__t { margin-bottom: 10px; font-size: 16px; }
.rm-live__list { display: grid; margin-bottom: 12px; counter-reset: rk; }
.rm-live__list li { counter-increment: rk; }
.rm-live__list a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.rm-live__list a::before { content: counter(rk, decimal-leading-zero); color: var(--mute); font: 500 12px/1 var(--font); font-variant-numeric: tabular-nums; }
.rm-live__list a:hover .rm-live__name { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.rm-live__name { min-width: 0; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.45; }
.rm-live__name small { display: block; color: var(--mute); font-size: 12px; }
.rm-live__num { color: var(--ink-2); font: 500 12.5px/1.3 var(--font); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.rm-live__wait { padding: 14px 0; color: var(--mute); font-size: 14px; }
.rm-tools { columns: 3 260px; column-gap: 40px; }
.rm-tools__g { break-inside: avoid; margin-bottom: 28px; }
.rm-tools__t { padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 15px; }
.rm-prompts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rm-prompt { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 20px 20px 62px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-prompt__use { color: var(--blue); font-size: 12.5px; font-weight: 600; }
.rm-prompt h3 { margin-top: 4px; font-size: 17px; }
.rm-prompt__body { margin: 0; padding: 14px; border-radius: var(--r-md); background: var(--bg-2); color: var(--ink-2); font-family: inherit; font-size: 13.5px; line-height: 1.7; letter-spacing: 0; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.rm-copy { position: absolute; right: 20px; bottom: 16px; height: 34px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 600; }
.rm-copy:hover { border-color: var(--ink); }
.rm-copy.is-done { border-color: var(--blue); color: var(--blue); }
.rm-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.rm-term { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rm-term dt { color: var(--blue); font: 600 14px/1.5 var(--font); font-variant-numeric: tabular-nums; }
.rm-term dd { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }

/* 디자인 */
.rm-rams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.rm-rams__i { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.rm-rams__no { grid-row: span 2; color: var(--blue); font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.rm-rams__i h3 { font-size: 19px; letter-spacing: -.02em; }
.rm-rams__i p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.rm-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .9fr); gap: 24px; align-items: start; }
.rm-ba__card { margin: 0; }
.rm-ba__card figcaption { margin-top: 10px; color: var(--mute); font-size: 13px; font-weight: 600; }
.rm-ba__mock { padding: 28px; border-radius: var(--r-lg); background: #fff; color: #1d1d1f; min-height: 300px; border: 1px solid var(--line); }
.rm-ba__card--before .rm-ba__mock { text-align: center; }
.rm-ba__card--before .b1 { color: #e0245e; font-size: 13px; font-weight: 800; }
.rm-ba__card--before .b2 { margin-top: 6px; color: #2b44ff; font-size: 22px; font-weight: 800; }
.rm-ba__card--before .b3 { margin-top: 4px; color: #ff7a00; font-size: 15px; font-weight: 700; }
.rm-ba__card--before .b4 { margin-top: 14px; color: #d00; font-size: 20px; font-weight: 800; }
.rm-ba__card--before .b5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 12px; }
.rm-ba__card--before .b5 span { padding: 8px 10px; border: 2px solid #2b44ff; border-radius: 4px; color: #2b44ff; font-size: 13px; font-weight: 700; }
.rm-ba__card--before .b5 span:first-child { background: #ffde00; border-color: #ffde00; color: #000; }
.rm-ba__card--after .a1 { color: #6e6e73; font-size: 13px; font-weight: 600; }
.rm-ba__card--after .a2 { margin-top: 8px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.rm-ba__card--after .a3 { margin-top: 10px; color: #424245; font-size: 15px; line-height: 1.6; }
.rm-ba__card--after .a4 { margin-top: 24px; font-size: 15px; }
.rm-ba__card--after .a4 b { font-size: 22px; letter-spacing: -.02em; }
.rm-ba__card--after .a4 s { margin-left: 8px; color: #86868b; }
.rm-ba__card--after .a5 { margin-top: 20px; }
.rm-ba__card--after .a5 span { display: inline-flex; height: 42px; align-items: center; padding: 0 22px; border-radius: 999px; background: #0113b5; color: #fff; font-size: 14px; font-weight: 600; }
.rm-ba__notes { display: grid; gap: 14px; }
.rm-ba__notes li { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.rm-ba__notes b { display: block; color: var(--ink); font-size: 16px; }
.rm-lab { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-lab__ctl { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--ink-2); font-size: 14px; }
.rm-lab__ctl label { display: inline-flex; gap: 10px; align-items: center; }
.rm-lab__ctl input { accent-color: var(--blue); width: 160px; }
.rm-lab__ctl output { min-width: 66px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rm-lab__w { display: inline-flex; gap: 4px; }
.rm-lab__w button { height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font-size: 13px; }
.rm-lab__w button.is-on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.rm-lab__spec { margin: 28px 0 12px; font-size: var(--tl-size, 56px); font-weight: var(--tl-w, 700); letter-spacing: var(--tl-track, -.03em); line-height: 1.2; word-break: keep-all; outline: none; overflow-wrap: anywhere; }
.rm-dtl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 0; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.rm-dtl li { display: grid; align-content: start; gap: 6px; padding: 18px 22px 18px 0; border-top: 2px solid var(--line); scroll-snap-align: start; }
.rm-dtl__y { color: var(--blue); font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rm-dtl strong { font-size: 16px; }
.rm-dtl li > span:last-child { color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* 미디어 */
.rm-shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.rm-shot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); background: #16161a; }
.rm-shot__code { margin-top: 12px; color: var(--blue); font: 600 12.5px/1 var(--font); font-variant-numeric: tabular-nums; }
.rm-shot h3 { margin-top: 6px; font-size: 16px; }
.rm-shot p:last-child { margin-top: 4px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.rm-plats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.rm-ost { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; max-height: 560px; overflow: auto; }

/* 교양 */
.rm-daily { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
/* 작품을 둥근 상자에 넣지 않고 벽에 바로 건다(2026-11-23 사용자: 액자 같은 상자가 안 어울린다). 세로 작품 옆에 빈 판이 넓게 남던 것도 없어진다. 가는 테두리는 어두운 작품이 바탕에 묻히지 않게 */
.rm-daily__fig { display: grid; place-items: center; min-height: 320px; }
.rm-daily__fig img { max-width: 100%; max-height: min(620px, 74vh); width: auto; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.rm-daily__title { margin-top: 8px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 650; letter-spacing: -.03em; line-height: 1.3; }
.rm-daily__by { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.rm-daily__src { margin-top: 14px; font-size: 14px; }
.rm-books { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.rm-book a { display: grid; align-content: start; gap: 6px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); color: var(--ink); transition: border-color .2s, transform .3s var(--ease); }
.rm-book a:hover { border-color: var(--ink); transform: translateY(-2px); }
.rm-book__no { color: var(--mute); font: 600 12px/1 var(--font); font-variant-numeric: tabular-nums; }
.rm-book strong { margin-top: 18px; font-size: 21px; letter-spacing: -.03em; }
.rm-book__by { color: var(--blue); font-size: 13.5px; font-weight: 600; }
.rm-book__d { margin-top: 6px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.rm-book small { margin-top: 10px; color: var(--mute); font-size: 12px; }

/* 에세이 */
.rm-drawers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rm-drawer { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-drawer h3 { margin-bottom: 10px; color: var(--blue); font-size: 16px; }
.rm-drawer a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.rm-drawer li:last-child a { border-bottom: 0; }
.rm-drawer a:hover { color: var(--link); }
.rm-writer__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.rm-writer__q { font-size: clamp(28px, 3.6vw, 48px); font-weight: 650; letter-spacing: -.04em; line-height: 1.3; text-wrap: balance; }
.rm-writer__p { margin: 4px 0 22px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }

/* 전체 메뉴: 라이브러리 색인 */
.lp-layer--menu .lp-layer__panel { width: min(1320px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain; }
.rm-menu__intro { max-width: 720px; margin: 4px 0 26px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.rm-menu__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, .7fr) minmax(0, 2.4fr); gap: 36px; }
.rm-menu h2 { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.rm-menu__cats a, .rm-menu__libs a { display: grid; gap: 2px; padding: 9px 0; color: var(--ink); }
.rm-menu__cats a { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 7px 0; }
.rm-menu__cats img { grid-row: span 2; width: 48px; height: 48px; object-fit: cover; border-radius: 12px; background: #111; transition: transform .4s var(--ease); }
.rm-menu__cats a:hover img { transform: scale(1.06); }
.rm-menu__cats .is-sub img { width: 34px; height: 34px; border-radius: 9px; justify-self: end; }
.rm-menu__cats strong, .rm-menu__libs strong { font-size: 16px; letter-spacing: -.02em; }
.rm-menu__cats small, .rm-menu__libs small { color: var(--mute); font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rm-menu__cats .is-sub a { padding-left: 0; }
.rm-menu__cats .is-sub strong { font-size: 14.5px; }
.rm-menu__cats a:hover strong, .rm-menu__libs a:hover strong { color: var(--link); }
.rm-menu__cols { columns: 4 170px; column-gap: 28px; }
.rm-menu__g { break-inside: avoid; margin-bottom: 22px; }
.rm-menu__g h3 { margin-bottom: 6px; color: var(--blue); font-size: 13px; }
.rm-menu__g a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.rm-menu__g a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
	.rm-inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rm-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rm-ba { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-ba__notes { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-menu__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.rm-menu__links { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.rm-shelf, .rm-desk__grid, .rm-split, .rm-live, .rm-terms, .rm-rams, .rm-daily, .rm-writer__in, .rm-ba, .rm-ba__notes { grid-template-columns: minmax(0, 1fr); }
	.rm-shelf ul, .rm-shelf--1 ul { grid-template-columns: minmax(0, 1fr); }
	.rm-tiles, .rm-tiles--4 { grid-template-columns: minmax(0, 1fr); }
	.rm-inds, .rm-prompts, .rm-drawers { grid-template-columns: minmax(0, 1fr); }
	.rm-books, .rm-plats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-ost { grid-template-columns: minmax(0, 1fr) !important; }
	.rm-log__row { grid-template-columns: 84px minmax(0, 1fr); }
	.rm-log__desc { grid-column: 2; }
	.rm-term { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.rm-menu__grid { grid-template-columns: minmax(0, 1fr); }
	.rm-lab__spec { font-size: min(var(--tl-size, 56px), 13vw); }
}

/* ── 1차 묶음(2026-11-22 밤) ── */
/* 영상 구역이 이웃한 검은 구역으로 서서히 이어지게(사용자: AI·테크 첫 화면처럼 곳곳을 그라데이션으로) */
.lp-state__bg { -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .45) 7%, #000 22%, #000 74%, rgba(0, 0, 0, .45) 90%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .45) 7%, #000 22%, #000 74%, rgba(0, 0, 0, .45) 90%, transparent 100%); }
.lp-mhead__bg { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 58%, rgba(0, 0, 0, .6) 78%, rgba(0, 0, 0, .2) 92%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 58%, rgba(0, 0, 0, .6) 78%, rgba(0, 0, 0, .2) 92%, transparent 100%); }
.lp-foot__bg { -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .35) 90px, rgba(0, 0, 0, .8) 200px, #000 300px); mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .35) 90px, rgba(0, 0, 0, .8) 200px, #000 300px); }
/* 시세 띠: 두 장을 이어 왼쪽으로 흐른다 */
.lp-tape2 { overflow: hidden; }
.lp-tape2 .lp-tape2__track { display: flex; width: calc(var(--tape-w) * 2); animation: lp-tape2 74s linear infinite; }
.lp-tape2 .lp-tape2__track iframe { flex: none; width: var(--tape-w); }
.lp-tape2:hover .lp-tape2__track { animation-play-state: paused; }
[data-motion="off"] .lp-tape2 .lp-tape2__track { animation: none; }
@keyframes lp-tape2 { to { transform: translateX(calc(var(--tape-w) * -1)); } }
/* 사이트 아이콘(자료실, 메뉴, 런처) */
.rm-ico { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; object-fit: contain; background: #fff; }
.rm-ico--txt { background: var(--blue); color: var(--on-blue); font-size: 12px; font-weight: 700; }
.rm-shelf a { grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.rm-shelf a .rm-ico { grid-row: span 3; margin-top: 1px; box-shadow: 0 0 0 1px var(--line-2); }
.rm-menu__g a { display: flex; gap: 8px; align-items: center; }
.rm-menu__g .rm-ico { width: 16px; height: 16px; border-radius: 4px; font-size: 9px; }
/* 리소스 런처 */
.rm-launcher { display: grid; gap: 26px; }
.rm-lts { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-lt { height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.rm-lt:hover { color: var(--ink); border-color: var(--ink-2); }
.rm-lt.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg, #000); }
.lp-sec--ink .rm-lt.is-on { background: #f5f5f7; color: #000; }
.rm-launch { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.rm-launch a { display: grid; justify-items: center; gap: 8px; padding: 18px 8px 14px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: var(--ink); text-align: center; transition: transform .35s var(--ease), background .25s, border-color .25s; }
.rm-launch a:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
.rm-launch__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.rm-launch__ico .rm-ico { width: 30px; height: 30px; background: transparent; border-radius: 6px; }
.rm-launch__ico .rm-ico--txt { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); font-size: 22px; }
.rm-launch strong { overflow: hidden; max-width: 100%; font-size: 13px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.rm-launch small { overflow: hidden; max-width: 100%; color: var(--mute); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
[data-motion="off"] .rm-launch a { transition: none; }
/* 카테고리 첫 화면의 작은 갈래 링크(동영상 배너 대신) */
.lp-chero__subs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; font-size: 13px; }
.lp-chero__subs span { opacity: .7; }
.lp-chero__subs a { display: inline-flex; height: 32px; align-items: center; padding: 0 14px; border: 1px solid currentColor; border-radius: 999px; color: inherit; font-weight: 600; }
.lp-chero__subs a:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 1100px) { .rm-launch { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rm-launch { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .rm-launch__ico { width: 48px; height: 48px; border-radius: 14px; } }

/* ── 카테고리 구역 5판(rooms2.py) ── */
.rm-btn { display: inline-flex; height: 40px; align-items: center; padding: 0 18px; border: 0; border-radius: 999px; background: var(--blue); color: var(--on-blue); font-size: 14px; font-weight: 600; }
.rm-btn--ghost { border: 1px solid var(--line-2); background: transparent; color: var(--ink); }
.rm-btn--ghost:hover { border-color: var(--ink); }
.rm-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.rm-seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.rm-seg button.is-on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.rm-code { margin: 0; padding: 14px 16px; border-radius: var(--r-md); background: #0d0d10; color: #e8e8ed; font: 12.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.rm-calc { display: grid; gap: 14px; }
.rm-calc label, .rm-funnel__in label, .rm-serp__in label, .rm-zyear label, .rm-match label, .rm-nether label { display: grid; gap: 6px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.rm-calc input, .rm-calc select, .rm-funnel input, .rm-serp input, .rm-serp textarea, .rm-zyear input, .rm-match select, .rm-nether input, .rm-yt input {
	width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; }
.rm-serp textarea { height: auto; padding: 10px 14px; line-height: 1.6; resize: vertical; }
.rm-calc__out { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--bg-2); }
.rm-calc__out b { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rm-calc__out small { color: var(--mute); font-size: 12.5px; line-height: 1.55; }

/* 디자인: 색 조합 */
.rm-pal__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: clamp(220px, 34vw, 380px); overflow: hidden; border-radius: var(--r-lg); }
.rm-pal__c { position: relative; display: grid; align-content: end; justify-items: center; gap: 10px; padding: 22px 8px; transition: background .5s var(--ease); }
.rm-pal__hex { border: 0; background: transparent; color: inherit; font: 700 clamp(14px, 1.6vw, 20px)/1 var(--font); letter-spacing: .02em; cursor: copy; font-variant-numeric: tabular-nums; }
.rm-pal__lock { height: 30px; padding: 0 12px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font-size: 12px; font-weight: 600; opacity: .7; }
.rm-pal__c.is-lock .rm-pal__lock { opacity: 1; background: rgba(255, 255, 255, .18); }
.rm-pal__bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 18px; }
.rm-pal__tip { color: var(--mute); font-size: 12.5px; }
/* 디자인: 사진에서 색 */
.rm-pick { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.rm-pick__drop { position: relative; display: grid; place-items: center; min-height: 300px; overflow: hidden; border: 2px dashed var(--line-2); border-radius: var(--r-lg); background: var(--bg-2); cursor: pointer; transition: border-color .2s, background .2s; }
.rm-pick__drop.is-over, .rm-pick__drop:hover { border-color: var(--blue); }
.rm-pick__hint { display: grid; gap: 6px; padding: 24px; text-align: center; }
.rm-pick__hint b { font-size: 17px; }
.rm-pick__hint small { color: var(--mute); font-size: 13px; }
.rm-pick__drop img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; }
.rm-pick__sw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.rm-pick__c { width: 100%; height: 92px; border: 0; border-radius: 14px; font: 700 13px/1 var(--font); cursor: copy; font-variant-numeric: tabular-nums; }
.rm-pick__sw:empty { display: none; }
/* 디자인: 가변 글꼴 숨쉬기 */
.rm-lab__ctl input[type="range"] { width: 150px; }
.rm-lab__spec.is-breathe { animation: rm-breathe 3.6s ease-in-out infinite alternate; }
@keyframes rm-breathe { from { font-weight: 120; letter-spacing: .02em; } to { font-weight: 900; letter-spacing: -.05em; } }
[data-motion="off"] .rm-lab__spec.is-breathe { animation: none; }
/* 디자인: 그림자와 모서리 */
.rm-sh { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rm-sh__stage { display: grid; place-items: center; min-height: 360px; border-radius: var(--r-lg); background: var(--bg-2); }
.rm-sh__card { display: grid; gap: 8px; width: min(320px, 80%); padding: 34px 30px; background: var(--card); color: var(--ink); transition: border-radius .2s, box-shadow .2s; }
.rm-sh__card b { font-size: 46px; letter-spacing: -.04em; line-height: 1; }
.rm-sh__card span { color: var(--ink-2); font-size: 14px; }
.rm-sh__ctl { display: grid; gap: 14px; }
.rm-sh__ctl label { display: grid; grid-template-columns: 64px minmax(0, 1fr) 56px; gap: 12px; align-items: center; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.rm-sh__ctl input { accent-color: var(--blue); }
.rm-sh__ctl output { color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }

/* 미디어: 어두운 극장, 필름 */
.rm-cine + .rm-cine { padding-top: 0; }
.rm-film { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 0; overflow-x: auto; padding: 26px 0; border-radius: 10px; background-color: #0b0b0d; scroll-snap-type: x proximity; background-image: radial-gradient(circle, #000 0 4px, transparent 4.5px), radial-gradient(circle, #000 0 4px, transparent 4.5px); background-size: 24px 24px; background-position: 0 4px, 0 calc(100% - 4px); background-repeat: repeat-x; }   /* ai-design-ok: 필름 가장자리 구멍(장식 색 번짐이 아니라 필름 모양) */
.rm-frame { padding: 0 10px 6px; border-right: 1px solid #1d1d22; scroll-snap-align: start; }
.rm-frame__pic { position: relative; display: block; overflow: hidden; border-radius: 4px; }
.rm-frame__pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.92) contrast(1.04); }
.rm-frame__no { display: block; margin-top: 10px; color: #ffb347; font: 600 11px/1 var(--font); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.rm-frame h3 { margin-top: 6px; color: #f5f5f7; font-size: 16px; }
.rm-frame h3 small { margin-left: 4px; color: #8e8e93; font-size: 12px; font-weight: 500; }
.rm-frame p { margin-top: 4px; color: #b9b9be; font-size: 13.5px; line-height: 1.6; }
.rm-cine__cr { margin-top: 14px; }
.rm-theater { display: grid; gap: 16px; justify-items: center; }
.rm-theater__screen { display: grid; place-items: center; width: 100%; height: clamp(260px, 38vw, 480px); border-radius: 12px; background: #050506; }
.rm-theater__frame { --ar: 2.39; height: 100%; max-width: 100%; aspect-ratio: var(--ar); overflow: hidden; transition: aspect-ratio .7s var(--ease); }
.rm-theater__frame img { width: 100%; height: 100%; object-fit: cover; }
[data-motion="off"] .rm-theater__frame { transition: none; }
.rm-seg--dark { background: #1c1c21; }
.rm-seg--dark button { color: #a1a1a6; }
.rm-seg--dark button.is-on { background: #f5f5f7; color: #000; }
.rm-bench { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 20px; }
.rm-bench > div { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-bench__t { margin-bottom: 14px; font-size: 16px; }
.rm-yt__form { display: flex; gap: 8px; }
.rm-yt__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rm-yt__out a { display: grid; gap: 6px; color: var(--ink-2); font-size: 12px; }
.rm-yt__out img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #111; }
.rm-tap { display: grid; gap: 10px; }
.rm-tap__pad { display: grid; place-items: center; gap: 2px; height: 190px; border: 0; border-radius: var(--r-lg); background: #16161a; color: #f5f5f7; transition: transform .08s; }
.rm-tap__pad b { font-size: 56px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.rm-tap__pad span { color: #ffb347; font-size: 13px; font-weight: 700; }
.rm-tap__pad small { color: #8e8e93; font-size: 12px; }
.rm-tap__pad.is-hit { animation: rm-hit .18s ease-out; }
@keyframes rm-hit { 50% { transform: scale(.97); } }
.rm-piano__keys { position: relative; display: flex; height: clamp(160px, 22vw, 240px); margin-bottom: 14px; user-select: none; touch-action: none; }
.rm-piano__keys li.is-white { position: relative; flex: 1; }
.rm-piano__keys li.is-white button { width: 100%; height: 100%; padding-bottom: 12px; border: 1px solid #2a2a30; border-radius: 0 0 10px 10px; background: #f5f5f7; color: #6e6e73; font-size: 11px; font-weight: 600; display: flex; align-items: flex-end; justify-content: center; }
.rm-piano__keys li.is-black { position: relative; width: 0; z-index: 2; }
.rm-piano__keys li.is-black button { position: absolute; left: 0; width: calc(var(--kw, 4.2vw) * .64); max-width: 44px; height: 62%; transform: translateX(-50%); border: 0; border-radius: 0 0 8px 8px; background: #111114; box-shadow: inset 0 -6px 0 #2a2a30; }
.rm-piano__keys button.is-down { background: #ffb347 !important; color: #000; }
/* OTT·미술관·창업 런처(넓은 칸) */
.rm-launch--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm-launch--wide a { justify-items: start; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px; text-align: left; }
.rm-launch--wide .rm-launch__ico { grid-row: span 2; }
.rm-launch--wide small { white-space: normal; line-height: 1.45; }
.lp-sec:not(.lp-sec--ink) .rm-launch a { background: var(--card); border-color: var(--line); }
.lp-sec:not(.lp-sec--ink) .rm-launch a:hover { background: var(--bg-2); border-color: var(--line-2); }
.rm-launch-g + .rm-launch-g { margin-top: 30px; }

/* 교양 */
.rm-quote { padding-block: clamp(96px, 12vw, 160px); }
.rm-quote__fig { max-width: 980px; margin: 0 auto; text-align: center; }
.rm-quote__fig blockquote p { font-size: clamp(28px, 4vw, 52px); font-weight: 650; letter-spacing: -.035em; line-height: 1.35; text-wrap: balance; word-break: keep-all; }
.rm-quote__fig figcaption { display: grid; gap: 4px; margin-top: 28px; }
.rm-quote__fig figcaption b { font-size: 16px; }
.rm-quote__fig figcaption span { color: var(--mute); font-size: 14px; }
.rm-quote__act { margin-top: 26px; text-align: center; }
/* 교양 목록: 전시실 */
.lp-exhibit { display: grid; gap: clamp(56px, 7vw, 96px); }
.lp-ex { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.lp-ex:nth-child(even) .lp-ex__pic { order: 2; }
.lp-ex__pic { display: block; overflow: hidden; border-radius: var(--r-lg); background: #111; }
.lp-ex__pic img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.lp-ex:hover .lp-ex__pic img { transform: scale(1.04); }
.lp-ex__lab { margin-top: 10px; color: var(--mute); font-size: 12.5px; line-height: 1.5; }
.lp-ex__no { color: var(--blue); font: 650 13px/1 var(--font); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.lp-ex__t { margin-top: 12px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.25; }
.lp-ex__t a { color: var(--ink); }
.lp-ex__d { margin-top: 14px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.lp-ex__m { margin-top: 16px; color: var(--mute); font-size: 13px; }
[data-motion="off"] .lp-ex__pic img { transition: none; }

/* 에세이 */
.rm-read__in { max-width: 900px; text-align: center; }
.rm-read__h { color: var(--mute); font-size: 14px; font-weight: 600; }
.rm-read__card { margin-top: 28px; }
.rm-read.is-new .rm-read__card { animation: rm-fadeup .7s var(--ease); }
@keyframes rm-fadeup { from { opacity: 0; transform: translateY(14px); } }
[data-motion="off"] .rm-read.is-new .rm-read__card { animation: none; }
.rm-read__y { color: var(--blue); font: 600 13px/1 var(--font); font-variant-numeric: tabular-nums; }
.rm-read__q { margin-top: 22px; font-size: clamp(24px, 3.4vw, 42px); font-weight: 650; letter-spacing: -.035em; line-height: 1.4; text-wrap: balance; }
.rm-read__q:empty { display: none; }
.rm-read__d { max-width: 680px; margin: 22px auto 0; color: var(--ink-2); font-size: 16px; line-height: 1.85; }
.rm-read__t { margin-top: 22px; font-size: 15px; font-weight: 600; }
.rm-read__t a { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-2); }
.rm-read__act { margin-top: 30px; }
.rm-wall { columns: 3 280px; column-gap: 22px; }
.rm-wall__i { break-inside: avoid; margin-bottom: 22px; }
.rm-wall__i a { display: grid; gap: 14px; padding: 26px 24px; border-radius: var(--r-lg); background: var(--card); color: var(--ink); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .25s; }
.rm-wall__i a:hover { transform: translateY(-3px); border-color: var(--ink-2); }
.rm-wall__i q { quotes: none; font-weight: 600; letter-spacing: -.025em; line-height: 1.5; word-break: keep-all; }
.rm-wall__i--xl q { font-size: 26px; } .rm-wall__i--l q { font-size: 22px; } .rm-wall__i--m q { font-size: 18px; } .rm-wall__i--s q { font-size: 16px; }
.rm-wall__i span { color: var(--mute); font-size: 13px; }

/* 비즈니스 */
.rm-serp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.rm-serp__in { display: grid; gap: 14px; }
.rm-serp__in small { color: var(--mute); font-size: 12px; font-weight: 500; }
.rm-serp__out { padding: 26px 28px; border-radius: var(--r-lg); background: #fff; color: #202124; font-family: Arial, "Apple SD Gothic Neo", sans-serif; box-shadow: 0 1px 6px rgba(32, 33, 36, .18); }
.rm-serp__out.is-m { max-width: 400px; }
.rm-serp__site { display: flex; gap: 10px; align-items: center; }
.rm-serp__fav { width: 28px; height: 28px; border-radius: 50%; background: #e8eaed url("/img/brand/favicon-32.png") center / 18px no-repeat; }
.rm-serp__site b { display: block; font-size: 14px; font-weight: 400; }
.rm-serp__site small { color: #4d5156; font-size: 12px; }
.rm-serp__t { margin-top: 8px; color: #1a0dab; font-size: 20px; line-height: 1.3; }
.rm-serp__out.is-m .rm-serp__t { font-size: 18px; }
.rm-serp__d { margin-top: 6px; color: #4d5156; font-size: 14px; line-height: 1.58; }
.rm-funnel { display: grid; gap: 18px; }
.rm-funnel__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rm-funnel__bars { display: grid; gap: 8px; }
/* 막대 위 글자는 두 벌이다(2026-11-23 사용자: "파란색 배경에 걸릴 때는 텍스트가 하얀색이면 좋을 거 같은데. 수치를 바꾸면 저절로 전환되게").
   어두운 글자 한 벌 위에 흰 글자 한 벌을 겹치고, 흰 글자는 채워진 폭(--w)만큼만 드러낸다. 막대가 늘면 글자색도 그 경계를 따라 바뀐다 */
.rm-funnel__bars li { --w: 0%; position: relative; height: 44px; border-radius: 10px; background: var(--bg-2); overflow: hidden; }
.rm-funnel__bars i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); transition: width .5s var(--ease); }
.rm-funnel__bars span { position: relative; display: flex; height: 100%; align-items: center; padding: 0 14px; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.rm-funnel__bars .rm-funnel__on { position: absolute; inset: 0; color: var(--on-blue); -webkit-clip-path: inset(0 calc(100% - var(--w)) 0 0); clip-path: inset(0 calc(100% - var(--w)) 0 0); transition: clip-path .5s var(--ease), -webkit-clip-path .5s var(--ease); }
[data-motion="off"] .rm-funnel__bars i, [data-motion="off"] .rm-funnel__bars .rm-funnel__on { transition: none; }
/* 둘째·셋째 막대는 끌어서 값을 바꾼다(2026-11-23 사용자: 막대를 끌어 역산으로 값을 바꾸게). 채워진 끝에 손잡이, 끄는 동안에는 미끄러짐을 끈다 */
.rm-funnel__bars li.is-drag { cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.rm-funnel__bars li.is-drag::after { content: ""; position: absolute; top: 9px; bottom: 9px; left: var(--w); z-index: 2; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--bg); transition: left .5s var(--ease); }   /* ai-design-ok: 장식 띠가 아니라 막대를 끄는 손잡이다 */
.rm-funnel__bars li.is-dragging i, .rm-funnel__bars li.is-dragging .rm-funnel__on, .rm-funnel__bars li.is-dragging::after { transition: none; }
.rm-funnel__bars li.is-drag:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* 막대가 글자보다 짧으면 글자를 끌기 손잡이 오른쪽으로 옮기고 흰 글자 한 벌은 감춘다(library.js funnel 의 is-out) */
.rm-funnel__bars li.is-out span { padding-left: calc(var(--w) + 14px); }
.rm-funnel__bars li.is-out .rm-funnel__on { display: none; }
.rm-funnel__hint { margin: -6px 0 0; color: var(--mute); font-size: 13px; }
[data-motion="off"] .rm-funnel__bars li.is-drag::after { transition: none; }
.rm-funnel__sum { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* 라이프 */
.rm-clocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rm-clock { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, #1d2a4a, #0f1626); color: #f5f5f7; }   /* ai-design-ok: 낮 하늘 */
.rm-clock.is-night { background: linear-gradient(160deg, #0b0b14, #05050a); }   /* ai-design-ok: 밤 하늘 */
.rm-clock__n { font-size: 15px; font-weight: 700; }
.rm-clock__t { margin-top: 10px; font-size: clamp(30px, 3vw, 42px); font-weight: 650; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.rm-clock__d { margin-top: 10px; color: #a1a1a6; font-size: 12.5px; line-height: 1.5; }
.rm-clock__w { margin-top: 6px; color: #ffd28a; font-size: 13px; font-weight: 600; min-height: 1.4em; }
.rm-pack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.rm-pack__g { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-pack__g h3 { margin-bottom: 10px; font-size: 15px; }
.rm-pack__g label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; cursor: pointer; }
.rm-pack__g input { margin-top: 2px; accent-color: var(--blue); width: 17px; height: 17px; flex: none; }
.rm-pack__g input:checked + span { color: var(--mute); text-decoration: line-through; }
.rm-pack__act { display: flex; gap: 14px; align-items: center; justify-content: flex-end; margin-top: 18px; color: var(--ink-2); font-size: 14px; }

/* 게임 */
.rm-arcade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rm-nether { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: #141418; }
.rm-nether fieldset { display: flex; gap: 10px; margin: 0; padding: 14px 16px 16px; border: 1px solid #2a2a30; border-radius: 14px; }
.rm-nether legend { padding: 0 6px; color: #f5f5f7; font-size: 13px; font-weight: 700; }
.rm-nether label { width: 120px; color: #a1a1a6; }
.rm-nether input { background: #0b0b0e; border-color: #2a2a30; color: #f5f5f7; }
.rm-nether__arrow { color: #ffb347; font: 700 15px/1 var(--font); font-variant-numeric: tabular-nums; }
.rm-nether .lp-small { flex-basis: 100%; }

/* 사주 */
.rm-match { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.rm-match label { flex: 1; min-width: 150px; }
.rm-match__x { padding-bottom: 12px; color: var(--mute); font-size: 20px; }
.rm-match__out, .rm-zyear__out { display: grid; gap: 8px; flex-basis: 100%; margin-top: 8px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--bg-2); }
.rm-match__out b, .rm-zyear__out b { font-size: 20px; letter-spacing: -.02em; }
.rm-match__out span, .rm-zyear__out span { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.rm-zyear { display: grid; gap: 14px; }

/* 디지털자산 */
.rm-halv { display: grid; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-halv__big b { font-size: clamp(48px, 6vw, 76px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.rm-halv__big span { margin-left: 8px; color: var(--ink-2); font-size: 16px; font-weight: 600; }
.rm-halv__bar { height: 12px; overflow: hidden; border-radius: 999px; background: var(--bg-2); }
.rm-halv__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: #f7931a; transition: width 1.2s var(--ease); }
.rm-halv__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: 14px; }
.rm-halv__meta b { color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
	.rm-bench { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.rm-bench__a { grid-column: 1 / -1; }
	.rm-launch--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-clocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rm-pack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.rm-pal__row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.rm-pal__c { grid-template-columns: 1fr auto; align-items: center; padding: 20px; min-height: 72px; }
	.rm-pick, .rm-sh, .rm-serp, .rm-bench, .rm-arcade, .lp-ex { grid-template-columns: minmax(0, 1fr); }
	.lp-ex:nth-child(even) .lp-ex__pic { order: 0; }
	.rm-launch--wide, .rm-clocks, .rm-pack, .rm-funnel__in { grid-template-columns: minmax(0, 1fr); }
	.rm-yt__form { flex-direction: column; }
	.rm-wall { columns: 1; }
	.rm-piano__keys li.is-white button { font-size: 0; }
}

/* 디지털자산: 파생 시장 데스크(한국 시장 관례대로 롱·상승은 빨강, 숏·하락은 파랑) */
.rm-dd { display: grid; gap: 18px; }
.rm-dd .is-up, .rm-dd [data-up="1"] { color: #ff5a5f; }
.rm-dd .is-down, .rm-dd [data-up="0"] { color: #4c8dff; }
.rm-dd__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rm-dd__kpis li { position: relative; overflow: hidden; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-dd__kpis p { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.rm-dd__kpis b { display: block; margin-top: 10px; color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rm-dd__kpis small { display: block; margin-top: 4px; color: var(--mute); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.rm-dd__kpis svg { position: absolute; top: 16px; right: 14px; width: 104px; height: 34px; }
.rm-dd__kpis svg path { fill: none; stroke: var(--blue); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.rm-dd__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
.rm-dd__grid--3 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); }
.rm-dd__card { min-width: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-dd__card h3 { color: var(--ink); font-size: 16px; }
.rm-dd__card > h3 { margin-bottom: 14px; }
.rm-dd__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rm-dd__head h3 { margin-right: auto; }
.rm-dd__bars { display: grid; gap: 16px; }
.rm-dd__ex { color: var(--ink); font-size: 13.5px; font-weight: 600; }
.rm-dd__nums { display: flex; justify-content: space-between; margin-top: 4px; font-size: 13px; font-variant-numeric: tabular-nums; }
.rm-dd__track { display: flex; gap: 3px; height: 8px; margin-top: 6px; }
.rm-dd__track i { display: block; height: 100%; border-radius: 999px; transition: width .7s var(--ease); }
.rm-dd__track .is-l { background: #ff5a5f; } .rm-dd__track .is-s { background: #4c8dff; }
.rm-dd__lsspark { width: 100%; height: 60px; margin: 18px 0 8px; }
.rm-dd__lsspark path { fill: none; stroke: #ff5a5f; stroke-width: 2; vector-effect: non-scaling-stroke; }
.rm-dd__live { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); font-size: 12.5px; }
.rm-dd__live i { width: 8px; height: 8px; border-radius: 50%; background: #30d158; animation: rm-blink 1.4s ease-in-out infinite; }
@keyframes rm-blink { 50% { opacity: .25; } }
[data-motion="off"] .rm-dd__live i { animation: none; }
.rm-dd__liqsum { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; color: var(--ink-2); font-size: 13px; }
.rm-dd__liqsum b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.rm-dd__liqsum small { color: var(--mute); font-size: 11.5px; }
.rm-dd__liq { display: grid; gap: 4px; max-height: 420px; margin-top: 12px; overflow: hidden; }
.rm-dd__liq li { display: grid; grid-template-columns: 74px 66px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-variant-numeric: tabular-nums; animation: rm-liqin .45s var(--ease); }
.rm-dd__liq li.is-long { background: rgba(255, 90, 95, .1); }
.rm-dd__liq li.is-short { background: rgba(76, 141, 255, .1); }
.rm-dd__liq li.is-long span { color: #ff5a5f; } .rm-dd__liq li.is-short span { color: #4c8dff; }
.rm-dd__liq li.is-big { font-weight: 700; }
.rm-dd__liq li.is-big.is-long { background: rgba(255, 90, 95, .22); } .rm-dd__liq li.is-big.is-short { background: rgba(76, 141, 255, .22); }
.rm-dd__liq b { color: var(--ink); }
.rm-dd__liq em { color: var(--ink); font-style: normal; text-align: right; }
.rm-dd__liq small { color: var(--mute); font-size: 11.5px; }
@keyframes rm-liqin { from { opacity: 0; transform: translateY(-6px); } }
[data-motion="off"] .rm-dd__liq li { animation: none; }
.rm-dd__fund { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rm-dd__fund th, .rm-dd__fund td { padding: 8px 6px; border-bottom: 1px solid var(--line-2); text-align: right; }
.rm-dd__fund th:first-child { text-align: left; color: var(--ink); }
.rm-dd__fund thead th { color: var(--mute); font-size: 12px; font-weight: 600; }
.rm-dd__fund td:last-child { color: var(--ink-2); }
.rm-dd__mov { display: grid; gap: 2px; }
.rm-dd__mov li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 76px; gap: 8px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rm-dd__mov i { color: var(--mute); font-size: 12px; font-style: normal; }
.rm-dd__mov b { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.rm-dd__mov span { color: var(--ink-2); }
.rm-dd__mov em { font-style: normal; font-weight: 700; text-align: right; }
@media (max-width: 1100px) { .rm-dd__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rm-dd__grid, .rm-dd__grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .rm-dd__liq li { grid-template-columns: 60px 56px minmax(0, 1fr); } .rm-dd__liq small { display: none; } }

/* 별의 흐름(캔버스): 영상 위, 글자 아래 */
.rm-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lp-foot .rm-stars { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 260px); mask-image: linear-gradient(to bottom, transparent 0, #000 260px); }
.rm-read { position: relative; overflow: hidden; }
.rm-read .lp-wrap { position: relative; z-index: 1; }
.rm-dd__liq li.rm-live__wait { display: block; padding: 18px 4px; background: none; color: var(--mute); }

/* 글 그림 색: 벽화 안료(오방색)와 흙빛. 교양 글 각색(2026-11-22) */
.lp-fig { --pg-red: #b23a2a; --pg-ochre: #c58f2c; --pg-jade: #237a62; --pg-sky: #2c5f93; --pg-earth: #8c6a48; --pg-paper: #f4ede1; --pg-black: #1d1b19; --pg-white: #ffffff; }
[data-theme="dark"] .lp-fig { --pg-red: #e06a55; --pg-ochre: #e2b257; --pg-jade: #4fc29b; --pg-sky: #6ea6dd; --pg-earth: #c39b74; --pg-paper: #2a2622; --pg-black: #0c0b0a; --pg-white: #ecebe8; }
.lp-fig .f-red { fill: var(--pg-red); } .lp-fig .f-ochre { fill: var(--pg-ochre); } .lp-fig .f-jade { fill: var(--pg-jade); }
.lp-fig .f-sky { fill: var(--pg-sky); } .lp-fig .f-earth { fill: var(--pg-earth); } .lp-fig .f-paper { fill: var(--pg-paper); }
.lp-fig .f-black { fill: var(--pg-black); } .lp-fig .f-white { fill: var(--pg-white); } .lp-fig .f-card { fill: var(--card); }
.lp-fig .s-red { stroke: var(--pg-red); fill: none; } .lp-fig .s-ochre { stroke: var(--pg-ochre); fill: none; } .lp-fig .s-jade { stroke: var(--pg-jade); fill: none; }
.lp-fig .s-sky { stroke: var(--pg-sky); fill: none; } .lp-fig .s-earth { stroke: var(--pg-earth); fill: none; } .lp-fig .s-black { stroke: var(--pg-black); fill: none; }
.lp-fig .t-xs { font-size: 11px; } .lp-fig .t-b { font-weight: 650; } .lp-fig .t-han { font-family: var(--font-han); font-weight: 500; } .lp-fig .t-lg.t-han { font-weight: 600; }
.lp-fig .o-6 { opacity: .6; } .lp-fig .o-3 { opacity: .3; }
.lp-fig--dark { background: #111114; border-color: #26262b; }
.lp-fig--dark figcaption { color: #a1a1a6; } .lp-fig--dark figcaption b { color: #f5f5f7; }
/* 글 속 한 줄 문장(인용이 아닌 글쓴이의 문장) */
.lp-prose .lp-pull { margin-block: 1.8em; font-size: clamp(22px, 2.6vw, 30px); font-weight: 650; line-height: 1.45; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.lp-prose blockquote cite { display: block; margin-top: 12px; color: var(--mute); font-size: 14px; font-style: normal; }
.lp-prose blockquote .lp-han { display: block; margin-bottom: 10px; color: var(--ink-2); font-family: var(--font-han); font-size: 16.5px; line-height: 1.8; letter-spacing: .05em; }
/* 한자(11-26 밤 사용자: "아무리 한자라고 해도 가독성이 좋아야 한다"). 명조 글꼴은 웹폰트로 불러오지 않아 기기의 바탕체로 넘어갔고 획이 가늘어 읽기 어려웠다.
   한자는 고딕으로 쓴다. 빌드(han_pass)가 본문의 한자 덩어리를 .lp-hj 로 감싼다. 굵은 글씨 안에서는 획이 뭉치니 보통 굵기로 낮추고 조금 키운다. 큰 소제목의 한자는 굵기를 그대로 둔다 */
.lp-hj { font-family: var(--font-han); line-height: 1; letter-spacing: .01em; }   /* 줄 높이 1: 기기 글꼴의 위아래 치수가 커서 그대로 두면 그 줄만 내려앉는다 */
:is(th, td, b, strong, dt, figcaption, summary, li, p) > b > .lp-hj, :is(th, b, strong, dt) > .lp-hj { font-weight: 500; font-size: 1.06em; }
.lp-table--wrap th, .lp-table--wrap td { white-space: normal; min-width: 7em; vertical-align: top; line-height: 1.6; }
.lp-table--wrap td:first-child { font-weight: 600; white-space: nowrap; }

/* ───────── 6판(2026-11-23) ───────── */
/* 거시 지표판·수익률 곡선 */
.rm-mc { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.rm-mc__top h3 { font-size: 15px; font-weight: 650; color: var(--ink-2); }
.rm-mc__big { margin-top: 6px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rm-mc__sub { margin-top: 2px; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.rm-mc__svg { width: 100%; height: auto; stroke: none; overflow: visible; }
.rm-mc__grid { stroke: var(--line-2); stroke-width: 1; fill: none; }
.rm-mc__zero { stroke: var(--mute); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
.rm-mc__rec { fill: var(--ink); opacity: .07; }
.rm-mc__ax { fill: var(--mute); font-size: 11px; font-variant-numeric: tabular-nums; }
.rm-mc__val { fill: var(--ink); font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.rm-mc__ln { fill: none; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.rm-mc__ln.is-bold { stroke-width: 3; }
.rm-mc__ln.is-dash { stroke-dasharray: 5 5; }
.c1 { --c: #0113b5; } .c2 { --c: #e8590c; } .c3 { --c: #0ca678; } .c4 { --c: #9a9aa2; } .rec { --c: rgba(29, 29, 31, .16); } .dash { --c: #6e6e73; }
[data-theme="dark"] .c1, .lp-sec--ink .c1 { --c: #4d9fff; } [data-theme="dark"] .c2, .lp-sec--ink .c2 { --c: #ff922b; } [data-theme="dark"] .c3, .lp-sec--ink .c3 { --c: #38d9a9; }
[data-theme="dark"] .rec { --c: rgba(255, 255, 255, .18); }
.rm-mc__ln.c1, .rm-mc__ln.c2, .rm-mc__ln.c3, .rm-mc__ln.c4 { stroke: var(--c); }
.rm-mc__dot { fill: var(--c); stroke: var(--card); stroke-width: 2; }
.rm-mc__key { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-2); font-size: 12.5px; }
.rm-mc__key li { display: inline-flex; align-items: center; gap: 6px; }
.rm-mc__key i { width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
.rm-mc__key i.rec { height: 10px; width: 12px; border-radius: 2px; }
.rm-mc__key i.dash { height: 0; border-top: 2px dashed var(--c); background: none; }
.rm-mc__note { color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.rm-mcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.rm-yc__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rm-mc--big { padding: 26px; }
.rm-col { display: grid; gap: 14px; align-content: start; }
.rm-col p { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.rm-col__kicker { color: var(--blue); font-size: 13px; font-weight: 700; }
.rm-col .rm-col__kicker { color: var(--blue); font-size: 13px; }
.rm-yc__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rm-yc__nums li { padding: 14px 16px; border-radius: var(--r-md); background: var(--bg-2); }
.rm-yc__nums span { display: block; color: var(--mute); font-size: 12.5px; }
.rm-yc__nums b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rm-heat .lp-tv { height: 620px; }
@media (max-width: 1100px) { .rm-mcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rm-yc__grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .rm-mcs { grid-template-columns: 1fr; } .rm-heat .lp-tv { height: 480px; } }

/* 보조지표 색 */
.rm-ind__svg { stroke: none; }
.rm-ind__svg path, .rm-ind__svg circle, .rm-ind__svg rect { vector-effect: non-scaling-stroke; }
.rm-ind__svg .i-px { fill: none; stroke: #b4b4bb; stroke-width: 1; }
.rm-ind__svg .i-ink { fill: none; stroke: #8e8e96; stroke-width: 1.3; }
.rm-ind__svg .i-c1 { fill: none; stroke: #1c64f2; stroke-width: 1.9; }
.rm-ind__svg .i-c2 { fill: none; stroke: #f08c00; stroke-width: 1.9; }
.rm-ind__svg .i-band { fill: #1c64f2; opacity: .1; }
.rm-ind__svg .i-cloud { fill: #12b886; opacity: .16; }
.rm-ind__svg .i-dash { fill: none; stroke: #9a9aa2; stroke-width: 1; stroke-dasharray: 3 3; }
.rm-ind__svg .i-axis { fill: none; stroke: var(--line-2); stroke-width: 1; }
.rm-ind__svg .i-zone { fill: #e0323f; opacity: .07; } .rm-ind__svg .i-zone2 { fill: #2a6fdb; opacity: .07; }
.rm-ind__svg .i-up { fill: #e0323f; } .rm-ind__svg .i-dn { fill: #2a6fdb; }
.rm-ind__key { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; color: var(--mute); font-size: 12px; }
.rm-ind__key li { display: inline-flex; align-items: center; gap: 5px; }
.rm-ind__key i { width: 12px; height: 3px; border-radius: 2px; }
.k-px { background: #b4b4bb; } .k-c1 { background: #1c64f2; } .k-c2 { background: #f08c00; } .k-up { width: 8px !important; height: 8px !important; border-radius: 50% !important; background: #e0323f; }
.k-dn { width: 8px !important; height: 8px !important; border-radius: 50% !important; background: #2a6fdb; } .k-dash { height: 0 !important; border-top: 2px dashed #9a9aa2; }
.k-hist { width: 10px !important; height: 9px !important; border-radius: 1px !important; background: #e0323f; box-shadow: 5px 0 0 #2a6fdb; margin-right: 6px; } .k-cloud { height: 9px !important; background: #12b886; opacity: .45; }

/* 한 달 통화 강도 */
.rm-str { display: grid; gap: 6px; margin-top: 4px; }
.rm-str li { display: grid; grid-template-columns: 132px minmax(0, 1fr) 70px; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 10px; font-size: 14px; }
.rm-str li.is-me { background: var(--bg-2); }
.rm-str__n { display: flex; gap: 8px; align-items: baseline; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-str__n b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.rm-str__bar { position: relative; height: 12px; }
.rm-str__bar::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--line); } /* ai-design-ok: 막대그래프의 0 기준선(장식 띠가 아님) */
.rm-str__bar i { position: absolute; top: 0; height: 100%; width: var(--w, 0); border-radius: 4px; transition: width .8s var(--ease-out); }
.rm-str .is-up .rm-str__bar i { left: 50%; background: var(--up); }
.rm-str .is-down .rm-str__bar i { right: 50%; background: var(--down); }
.rm-str__v { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.rm-str .is-up .rm-str__v { color: var(--up); } .rm-str .is-down .rm-str__v { color: var(--down); }

/* 가속 곡선 실험실 */
.rm-ease { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: center; }
.rm-ease__plot svg { width: 100%; height: auto; stroke: none; touch-action: none; overflow: visible; }
.rm-ease__box { fill: var(--bg-2); }
.rm-ease__grid { stroke: var(--line-2); stroke-width: 1; fill: none; }
.rm-ease__diag { stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 4 5; fill: none; }
.rm-ease__arm { stroke: var(--mute); stroke-width: 1.6; }
.rm-ease__curve { fill: none; stroke: var(--blue); stroke-width: 4.5; stroke-linecap: round; }
.rm-ease__h { fill: var(--bg); stroke: var(--blue); stroke-width: 3.5; cursor: grab; }
.rm-ease__h--2 { stroke: #e8590c; }
.rm-ease__h:active { cursor: grabbing; }
.rm-ease__ax { fill: var(--mute); font-size: 13px; }
.rm-ease__side { display: grid; gap: 18px; }
.rm-ease__lanes { display: grid; gap: 12px; }
.rm-ease__lane, [data-ease-lane-lin] { position: relative; height: 54px; border-radius: 999px; background: var(--bg-2); }
.rm-ease__lane i { position: absolute; top: 9px; left: 9px; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); }
[data-ease-lane-lin] i { background: var(--mute); }
.rm-ease__lane.is-go i { left: calc(100% - 45px); }
.rm-ease__lane small { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--mute); font-size: 12.5px; pointer-events: none; }
.rm-ease__lane.is-go small { right: auto; left: 20px; }
.rm-ease__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; }
.rm-ease__ctl label { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.rm-seg--wrap { flex-wrap: wrap; border-radius: 16px; }
@media (max-width: 860px) { .rm-ease { grid-template-columns: 1fr; gap: 20px; } .rm-ease__plot { max-width: 420px; } }

/* 노트 카드(디자인·미디어) */
.rm-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.rm-note { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); }
.rm-note h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.rm-note p { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.rm-note__fig { margin: -6px -6px 6px; padding: 16px; border-radius: var(--r-md); background: var(--bg-2); }
.rm-note__fig svg { width: 100%; height: auto; stroke: none; }
.rm-note__sq, .rm-note__ci, .rm-note__ci2 { fill: var(--ink); }
.rm-note__ci2 { fill: var(--blue); }
.rm-note__t { fill: var(--mute); font-size: 12px; }
.rm-note__fig--apca { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.rm-note__fig--apca span { padding: 34px 12px; text-align: center; font-size: 17px; font-weight: 600; color: #767676; }
.rm-note__fig--apca .is-light { background: #ffffff; } .rm-note__fig--apca .is-dark { background: #000000; }
.rm-note__fig--opsz { display: grid; gap: 6px; padding: 22px 18px; }
.rm-note__fig--opsz .is-s { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); }
.rm-note__fig--opsz .is-l { font-size: 34px; font-weight: 800; letter-spacing: -.05em; line-height: 1.1; }
.rm-notes--dark .rm-note { background: #121216; border-color: #26262b; }
@media (max-width: 960px) { .rm-notes { grid-template-columns: 1fr; } }

/* 미디어: 플랫폼, 수익 기준, 숏드라마, 편집 문법, 썸네일 */
.rm-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rm-plat a { display: grid; gap: 10px; height: 100%; padding: 24px; border-radius: var(--r-lg); background: #121216; border: 1px solid #26262b; transition: border-color .25s, transform .35s var(--ease-out); }
.rm-plat a:hover { border-color: #55555e; transform: translateY(-3px); }
.rm-plat__ico .rm-ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 6px; }
.rm-plat h3 { font-size: 19px; font-weight: 700; }
.rm-plat p { color: #c7c7cc; font-size: 14.5px; line-height: 1.7; }
.rm-plat small { color: #ffb347; font-size: 13px; font-weight: 600; }
.rm-ypp { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; padding: 28px; border-radius: var(--r-xl); background: #111114; border: 1px solid #26262b; }
.rm-ypp__in { display: grid; gap: 14px; align-content: start; }
.rm-ypp__in label { display: grid; gap: 6px; color: #c7c7cc; font-size: 13.5px; }
.rm-ypp__in input { height: 46px; padding: 0 14px; border: 1px solid #2c2c33; border-radius: 12px; background: #0b0b0e; color: #f5f5f7; font: 600 17px var(--font); font-variant-numeric: tabular-nums; }
.rm-ypp__in small { color: #8e8e93; font-size: 12px; }
.rm-ypp__out { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rm-ypp__tier { display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: #18181d; }
.rm-ypp__tier.is-done { box-shadow: inset 0 0 0 1.5px #38d9a9; }
.rm-ypp__tier h3 { font-size: 17px; font-weight: 700; } .rm-ypp__tier h3 small { display: block; margin-top: 3px; color: #8e8e93; font-size: 12.5px; font-weight: 500; }
.rm-ypp__tier ol { display: grid; gap: 14px; }
.rm-ypp__tier li p { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: #c7c7cc; font-size: 13px; }
.rm-ypp__tier li b { color: #f5f5f7; font-variant-numeric: tabular-nums; }
.rm-ypp__tr { display: block; height: 8px; border-radius: 999px; background: #2a2a31; overflow: hidden; }
.rm-ypp__tr i { display: block; height: 100%; width: var(--p, 0); border-radius: inherit; background: #ff5a5f; transition: width .7s var(--ease-out); }
.rm-ypp__tier li.is-ok .rm-ypp__tr i { background: #38d9a9; }
.rm-ypp__res { color: #f5f5f7; font-size: 14px; font-weight: 600; line-height: 1.6; }
.rm-algo td:first-child { color: #ffb347; }
.rm-drama { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.rm-drama__fig { padding: 24px; border-radius: var(--r-lg); background: #111114; border: 1px solid #26262b; }
.rm-drama__fig svg { width: 100%; height: auto; stroke: none; }
.rm-drama__fig .is-free { fill: #38d9a9; } .rm-drama__fig .is-paid { fill: #3a3a42; }
.rm-drama__cut { stroke: #ffb347; stroke-width: 2; stroke-dasharray: 4 4; fill: none; }
.rm-drama__t { fill: #8e8e93; font-size: 12px; } .rm-drama__t.is-free { fill: #38d9a9; }
.rm-gram { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.rm-gram__fig { padding: 24px; border-radius: var(--r-lg); background: #111114; border: 1px solid #26262b; }
.rm-gram__fig svg { width: 100%; height: auto; stroke: none; }
.rm-gram__fig figcaption { margin-top: 14px; color: #a1a1a6; font-size: 13.5px; line-height: 1.65; } .rm-gram__fig figcaption b { color: #f5f5f7; }
.rm-gram__h { fill: #f5f5f7; font-size: 14px; font-weight: 650; } .rm-gram__k { fill: #8e8e93; font-size: 12px; }
.rm-gram__a { fill: #4c8dff; } .rm-gram__b { fill: #ff922b; } .rm-gram__a.is-snd, .rm-gram__b.is-snd { opacity: .55; }
.rm-gram__subj { fill: #f5f5f7; } .rm-gram__light { fill: #ffd43b; } .rm-gram__light.is-fill { fill: #ffe8a1; } .rm-gram__light.is-back { fill: #a5d8ff; }
.rm-gram__beam { stroke: #ffd43b; stroke-width: 2; stroke-dasharray: 2 6; fill: none; } .rm-gram__beam.is-fill { stroke: #ffe8a1; } .rm-gram__beam.is-back { stroke: #a5d8ff; }
.rm-gram__cam { fill: #5c5c66; } .rm-gram__l { fill: #f5f5f7; font-size: 13px; font-weight: 600; } .rm-gram__s { fill: #8e8e93; font-size: 11px; }
.rm-yt__form { display: flex; gap: 10px; }
.rm-yt__form input { flex: 1; min-width: 0; }
.rm-yt__go { flex: none; height: 46px; padding: 0 22px; white-space: nowrap; }
.rm-yt__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rm-yt__ph { aspect-ratio: 16 / 9; border-radius: 12px; border: 1px dashed #3a3a42; display: grid; place-items: center; text-align: center; }
.rm-yt__ph--big { grid-column: 1 / -1; }
.rm-yt__ph b { display: block; color: #d2d2d7; font-size: 15px; font-variant-numeric: tabular-nums; } .rm-yt__ph small { color: #8e8e93; font-size: 12px; }
.rm-ott__tiles { margin-top: 20px; }
@media (max-width: 960px) { .rm-plats { grid-template-columns: 1fr 1fr; } .rm-ypp, .rm-drama, .rm-gram { grid-template-columns: 1fr; } .rm-ypp__out { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .rm-plats { grid-template-columns: 1fr; } .rm-ypp { padding: 18px; } }

/* 교양: 오늘의 문장 */
.rm-quote__q { font-size: clamp(30px, 4.2vw, 58px); line-height: 1.32; letter-spacing: -.035em; text-wrap: balance; word-break: keep-all; font-weight: 300; }
.rm-quote__w { display: inline-block; font-weight: 300; opacity: .18; transition: font-weight 1.1s var(--ease-out), opacity 1.1s var(--ease-out); transition-delay: calc(var(--k, 0) * 70ms); }
.rm-quote.is-in .rm-quote__w { font-weight: 720; opacity: 1; }
[data-motion="off"] .rm-quote__w { transition: none; font-weight: 700; opacity: 1; }
.rm-quote__fig .rm-quote__by { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; margin-top: 26px; font-size: 16px; }
.rm-quote__fig .rm-quote__by b { font-size: 16px; font-weight: 700; color: var(--ink); }
.rm-quote__fig .rm-quote__by span { color: var(--mute); font-size: 15px; }
.rm-quote__by span::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--line); }
.rm-quote__act { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 34px; }
.rm-quote__next { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 26px 0 8px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 16px; font-weight: 650; transition: transform .35s var(--ease-out), background .25s; }
.rm-quote__next:hover { transform: translateY(-2px); background: var(--blue); }
.rm-quote__ring { width: 44px; height: 44px; transform: rotate(-90deg); stroke: none; }
.rm-quote__ring circle { fill: none; stroke: currentColor; stroke-width: 2.4; opacity: .25; }
.rm-quote__ring .is-run { opacity: 1; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; stroke-linecap: round; }
.rm-quote__arr { width: 18px; height: 18px; }
.rm-quote__count { color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }

/* 교양: 고전 표지 */
.rm-bks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px 22px; }
.rm-bk a { display: grid; gap: 12px; }
.rm-bk__cover { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; overflow: hidden; background: #e9e6df;
	box-shadow: inset 5px 0 0 rgba(0, 0, 0, .16), 0 18px 32px -16px rgba(0, 0, 0, .45); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.rm-bk__cover img { width: 100%; height: 100%; object-fit: cover; }
.rm-bk__band { position: absolute; left: 10px; right: 10px; bottom: 12px; display: grid; gap: 3px; padding: 12px 12px 11px; border-radius: 4px; background: #f6f2ea; color: #1d1d1f; text-align: center; }
.rm-bk__band b { font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; word-break: keep-all; }
.rm-bk__band i { font-style: normal; color: #6e6e73; font-size: 11.5px; }
.rm-bk a:hover .rm-bk__cover { transform: translateY(-6px) rotate(-1deg); box-shadow: inset 5px 0 0 rgba(0, 0, 0, .16), 0 30px 40px -18px rgba(0, 0, 0, .5); }
.rm-bk__meta { display: grid; gap: 2px; }
.rm-bk__meta strong { font-size: 16px; font-weight: 700; } .rm-bk__meta span { color: var(--mute); font-size: 13px; }
.rm-bk__d { color: var(--ink-2); font-size: 14px; line-height: 1.6; }
@media (max-width: 1100px) { .rm-bks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rm-bks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; } }

/* 교양: 세계의 미술관(루브르 배경 영상) */
.rm-mus { position: relative; overflow: hidden; }
.rm-mus__bg { position: absolute; inset: 0; z-index: 0; opacity: .38;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 72%, transparent 100%); } /* ai-design-ok: 배경 영상 위아래를 검은 구역에 녹이는 마스크 */
.rm-mus__bg img, .rm-mus__bg video { width: 100%; height: 100%; object-fit: cover; }
.rm-mus .lp-wrap { position: relative; z-index: 1; }
.rm-mus__list a { background: rgba(18, 18, 22, .72); backdrop-filter: blur(6px); }
.rm-mus__city { grid-column: 2; color: #ffb347; font-size: 12.5px; font-weight: 600; }
.rm-mus__list small { grid-column: 2; font-size: 12.5px; line-height: 1.5; }
.rm-mus__list .rm-launch__ico { grid-row: span 3; align-self: start; }
.rm-mus__cr { margin-top: 18px; }

/* 에세이: 밝아지는 문장, 흐르는 문장, 해마다 쓴 글, 글 곁의 그림 */
.rm-lit { padding-block: clamp(90px, 14vw, 180px); }
.rm-lit__k { margin-bottom: 26px; color: #8e8e93; font-size: 13px; }
.rm-lit__p { max-width: 1040px; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.45; letter-spacing: -.035em; font-weight: 650; word-break: keep-all; }
.rm-lit__p span { color: #3a3a40; transition: color .5s var(--ease); }
.rm-lit__p span.is-lit { color: #f5f5f7; }
.rm-flow2 { overflow: hidden; padding-block: 34px; background: var(--night); border-block: 1px solid #1c1c21; }
.rm-flow2__row { display: flex; gap: 46px; width: max-content; animation: rm-flow 70s linear infinite; }
.rm-flow2__row + .rm-flow2__row { margin-top: 22px; }
.rm-flow2__row.is-rev { animation-direction: reverse; animation-duration: 84s; }
.rm-flow2__row a { color: #8e8e93; font-size: clamp(18px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; transition: color .25s; }
.rm-flow2__row a:hover { color: #f5f5f7; }
.rm-flow2:hover .rm-flow2__row { animation-play-state: paused; }
@keyframes rm-flow { to { transform: translateX(-50%); } }
[data-motion="off"] .rm-flow2__row { animation: none; }
.rm-yrs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; align-items: end; min-height: 380px; }
.rm-yrs__col { display: grid; gap: 10px; align-content: end; }
.rm-yrs__stack { display: grid; gap: 4px; }
.rm-yrs__stack a { display: block; padding: 9px 10px; border-radius: 8px; background: var(--bg-2); color: var(--ink-2); font-size: 12.5px; line-height: 1.35; word-break: keep-all; transition: background .2s, color .2s; }
.rm-yrs__stack a:hover { background: var(--blue); color: var(--on-blue); }
.rm-yrs__y { padding-top: 10px; border-top: 2px solid var(--ink); font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .rm-yrs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; min-height: 0; } }
.rm-strip { overflow: hidden; padding: 4px 0 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); } /* ai-design-ok: 흐르는 띠의 양 끝을 흐리게 */
.rm-strip__track { display: flex; width: max-content; animation: rm-flow 95s linear infinite; }
.rm-strip__track ul { display: flex; gap: 16px; padding-right: 16px; }
.rm-strip:hover .rm-strip__track { animation-play-state: paused; }
[data-motion="off"] .rm-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } [data-motion="off"] .rm-strip__track { animation: none; }
.rm-strip li { flex: 0 0 340px; }
.rm-strip a { display: grid; gap: 10px; }
.rm-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); transition: transform .5s var(--ease-out); }
.rm-strip a:hover img { transform: scale(1.02); }
.rm-strip span { color: #d2d2d7; font-size: 15px; font-weight: 600; }

/* 물타기 평단 시뮬레이터 */
.rm-sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 28px; border-radius: var(--r-xl); background: #111114; border: 1px solid #26262b; }
.rm-sim__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.rm-sim__now { color: #a1a1a6; font-size: 13.5px; } .rm-sim__now b { margin-left: 6px; color: #f5f5f7; font-size: 20px; font-variant-numeric: tabular-nums; } .rm-sim__now small { margin-left: 8px; color: #6e6e73; }
.rm-sim__rows { display: grid; gap: 8px; counter-reset: sim; }
.rm-sim__rows li { display: grid; grid-template-columns: 28px 1fr 1fr auto; gap: 8px; align-items: center; counter-increment: sim; }
.rm-sim__rows li::before { content: counter(sim); color: #6e6e73; font-size: 12px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.rm-sim__rows input { height: 44px; padding: 0 12px; border: 1px solid #2c2c33; border-radius: 10px; background: #0b0b0e; color: #f5f5f7; font: 600 15px var(--font); font-variant-numeric: tabular-nums; min-width: 0; }
.rm-sim__del { height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #6e6e73; font-size: 12.5px; }
.rm-sim__del:hover { color: #f5f5f7; }
.rm-sim__act { display: flex; gap: 8px; margin-top: 12px; }
.rm-sim__fig svg { width: 100%; height: auto; stroke: none; }
.rm-sim__axis { stroke: #3a3a42; stroke-width: 1.5; fill: none; }
.rm-sim__buy { stroke: #2c2c33; stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.rm-sim__dot { fill: #4d9fff; opacity: .85; }
.rm-sim__lb { fill: #a1a1a6; font-size: 12px; font-variant-numeric: tabular-nums; }
.rm-sim__avg { stroke: #ffd43b; stroke-width: 2; fill: none; }
.rm-sim__now.is-up, .rm-sim__now.is-down { stroke-width: 2; fill: none; }
path.rm-sim__now.is-up { stroke: #ff5a5f; } path.rm-sim__now.is-down { stroke: #4c8dff; }
.rm-sim__tag { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; } .rm-sim__tag.is-avg { fill: #ffd43b; } .rm-sim__tag.is-up { fill: #ff5a5f; } .rm-sim__tag.is-down { fill: #4c8dff; }
.rm-sim__gap { stroke: #ffd43b; stroke-width: 6; opacity: .25; fill: none; }
.rm-sim__hint { fill: #6e6e73; font-size: 13px; }
.rm-sim__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.rm-sim__out p { padding: 12px 14px; border-radius: 12px; background: #18181d; }
.rm-sim__out span { display: block; color: #8e8e93; font-size: 12px; } .rm-sim__out b { font-size: 16px; font-variant-numeric: tabular-nums; }
.rm-sim__out b.is-up { color: #ff5a5f; } .rm-sim__out b.is-down { color: #4c8dff; }
@media (max-width: 900px) { .rm-sim { grid-template-columns: 1fr; padding: 18px; } }

/* 전체 메뉴: 평면 아이콘과 소개 */
.rm-mi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(1, 19, 181, .08); color: var(--blue); transition: background .25s, color .25s; flex: none; }
.rm-mi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rm-menu__cats a:hover .rm-mi, .rm-menu__libs a:hover .rm-mi { background: var(--blue); color: var(--on-blue); }
[data-theme="dark"] .rm-mi { background: rgba(143, 176, 255, .14); }
.rm-menu__libs a { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.rm-menu__libs a .rm-mi { grid-row: span 2; }

/* 첫 화면 플레이리스트와 레코드판 */
.lp-vrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.lp-vrow__ol { max-height: 640px; overflow-y: auto; padding-right: 6px; overscroll-behavior: contain; scrollbar-width: thin;
	-webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent); mask-image: linear-gradient(to bottom, #000 88%, transparent); } /* ai-design-ok: 긴 목록 끝을 흐리게 */
.lp-vinyl { position: sticky; top: calc(var(--top-h) + 28px); display: grid; gap: 18px; }
.lp-vinyl__stage { position: relative; aspect-ratio: 1.42 / 1; }
.lp-vinyl__sleeve { position: absolute; left: 0; top: 0; z-index: 2; width: 70.4%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #0b0b0e; cursor: pointer;
	box-shadow: 0 28px 50px -18px rgba(0, 0, 0, .75), 0 2px 0 rgba(255, 255, 255, .06) inset; }
.lp-vinyl__sleeve img { width: 100%; height: 100%; object-fit: cover; }
.lp-vinyl__disc { position: absolute; top: 3%; left: 3%; z-index: 1; width: 64.8%; aspect-ratio: 1; transform: translateX(34%); transition: transform 1.2s var(--ease-out); }
.lp-vinyl.is-playing .lp-vinyl__disc { transform: translateX(50%); }
.lp-vinyl__disc img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-vinyl__spin { animation: lp-spin 1.8s linear infinite; animation-play-state: paused; }
.lp-vinyl.is-playing .lp-vinyl__spin { animation-play-state: running; }
[data-motion="off"] .lp-vinyl__spin { animation: none; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-vinyl__now { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: #121216; border: 1px solid #26262b; }
.lp-vinyl__no { color: #6e6e73; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-vinyl__now p { display: grid; gap: 2px; min-width: 0; }
.lp-vinyl__now strong { overflow: hidden; color: #f5f5f7; font-size: 17px; white-space: nowrap; text-overflow: ellipsis; }
.lp-vinyl__now span { color: #8e8e93; font-size: 13px; }
.lp-vinyl__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #f5f5f7; color: #000; }
.lp-vinyl__btn svg { width: 22px; height: 22px; } .lp-vinyl__btn .is-pause { display: none; }
.lp-vinyl.is-playing .lp-vinyl__btn .is-pause { display: block; } .lp-vinyl.is-playing .lp-vinyl__btn .is-play { display: none; }
.lp-vinyl__cr { color: #6e6e73; }
@media (max-width: 900px) { .lp-vrow { grid-template-columns: 1fr; } .lp-vinyl { position: static; order: -1; } .lp-vrow__ol { max-height: 480px; } }

/* 첫 화면 뮤지엄: 새로고침 없이 다른 작품 */
.lp-again { display: flex; justify-content: center; margin-top: 30px; }
.lp-again__btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 650; transition: border-color .2s, transform .3s var(--ease-out); }
.lp-again__btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.lp-again__btn svg { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.lp-again__btn:hover svg { transform: rotate(180deg); }
.lp-masonry.is-fresh .lp-art { animation: lp-fresh .7s var(--ease-out) both; }
@keyframes lp-fresh { from { opacity: 0; transform: translateY(14px); } }

/* 음악 단추: 새로고침 뒤 이어 듣기를 기다릴 때 */
.lp-dock .is-wait { box-shadow: inset 0 0 0 1.5px var(--blue); }
.lp-dock .is-wait::after { content: "이어 듣기"; margin-left: 6px; color: var(--blue); font-size: 12px; font-weight: 700; }

/* 검색 창 */
.lp-layer--search { align-items: flex-start; background: rgba(8, 8, 12, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lp-layer--search .lp-layer__panel { width: min(840px, calc(100% - 32px)); margin-top: calc(var(--top-h) + 40px); max-height: calc(100svh - var(--top-h) - 80px); padding: 28px 32px 36px; border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); }
.lp-layer--search .lp-layer__head { align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.lp-layer--search .lp-q svg { width: 28px; height: 28px; color: var(--blue); }
.lp-layer--search .lp-q input { height: 60px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 650; letter-spacing: -.03em; }
.lp-layer--search .lp-q input::placeholder { color: var(--mute); opacity: .55; }
.lp-layer--search .lp-q__body { gap: 30px; padding-top: 26px; }
.lp-layer--search .lp-q__label { margin-bottom: 12px; color: var(--ink); font-size: 14px; font-weight: 700; }
.lp-layer--search .lp-q__tags { gap: 8px; }
.lp-layer--search .lp-q__tags a { padding: 9px 16px; border: 0; border-radius: 999px; background: var(--bg-2); font-size: 14.5px; font-weight: 600; transition: background .2s, color .2s; }
.lp-layer--search .lp-q__tags a:hover { background: var(--blue); color: var(--on-blue); }
.lp-layer--search .lp-q__list a { grid-template-columns: minmax(0, 1fr); padding: 16px 12px; border-radius: 14px; transition: background .2s; }
.lp-layer--search .lp-q__list a:hover { background: var(--bg-2); }
.lp-layer--search .lp-q__list strong { font-size: 17px; font-weight: 650; }
@media (max-width: 640px) { .lp-layer--search .lp-layer__panel { margin-top: calc(var(--top-h) + 16px); padding: 20px 18px 26px; border-radius: 20px; } }

.lp-prose .lp-tcap { margin-top: 10px; color: var(--mute); font-size: 14px; line-height: 1.6; }
/* 가로 스크롤바가 생겼다 사라지던 문제(2026-11-23): 별 흐름 캔버스가 창을 줄일 때 이전 폭을 잠깐 붙들어 화면보다 넓어졌다. 캔버스는 늘 부모 폭에 맞추고, 페이지는 가로 넘침을 잘라 낸다 */
.rm-stars { width: 100% !important; height: 100% !important; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* 글 제목 호버: 워드 롤(2026-11-23). 글자 폭을 바꾸지 않아 줄바꿈이 흔들리지 않는다. 처음 호버할 때만 글자를 쪼갠다(검색 로봇에는 원래 글자 그대로) */
.lp-roll__w { display: inline-block; white-space: nowrap; }
.lp-roll__c { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.lp-roll__a, .lp-roll__b { display: block; transition: transform .62s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--i, 0) * 13ms); }
.lp-roll__b { position: absolute; left: 0; top: 0; transform: translateY(105%); }
.is-rolling .lp-roll__a { transform: translateY(-105%); }
.is-rolling .lp-roll__b { transform: translateY(0); }
[data-motion="off"] .lp-roll__a, [data-motion="off"] .lp-roll__b { transition: none; }

/* 전체 메뉴 소개: 리드 어롱(2026-11-23). 남색 하이라이트가 단어를 하나씩 짚고, 읽힌 단어는 진하게 남는다. 글자 폭은 그대로 */
.rm-menu__intro { position: relative; max-width: 760px; margin: 22px 0 30px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.85; font-weight: 550; letter-spacing: -.015em; color: var(--ink); text-wrap: pretty; word-break: keep-all; }
.ra-w { position: relative; z-index: 1; color: var(--line); transition: color .8s var(--ease); }
.ra-w.is-read { color: var(--ink); }
.ra-w.is-key.is-read { color: var(--blue); }
.ra-w.is-now { color: #fff; }
.ra-hl { position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; border-radius: 7px; background: var(--blue); opacity: 0; pointer-events: none;
	transition: transform .7s cubic-bezier(.22, 1, .36, 1), width .7s cubic-bezier(.22, 1, .36, 1), height .5s var(--ease), opacity .6s var(--ease); }
.ra-hl.is-on { opacity: 1; }
[data-motion="off"] .ra-w { color: var(--ink); transition: none; } [data-motion="off"] .ra-w.is-key { color: var(--blue); } [data-motion="off"] .ra-hl { display: none; }
.rm-menu__cats .rm-mi { grid-row: span 2; }
.rm-menu__cats small, .rm-menu__libs small { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* 검색 창·전체 메뉴: 안쪽 스크롤바 숨김(2026-11-23, 페이지 스크롤바와 겹쳐 보이던 것). 휠·터치·키보드 스크롤은 그대로 */
.lp-layer__panel { scrollbar-width: none; -ms-overflow-style: none; }
.lp-layer__panel::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ── 2026-11-23 손질 ── */
/* 그림과 캡션 사이: 본문 규칙(.lp-prose .lp-fig > * + *)이 캡션 위 여백을 0 으로 눌러 붙어 보였다 */
.lp-prose .lp-fig > figcaption, .lp-fig > figcaption { margin-top: clamp(18px, 2vw, 24px); }
.lp-prose .lp-tcap { margin-top: 16px; }
/* 배경이 다른 어두운 구역이 맞닿으면 위 여백을 되살린다(게임 페이지에서 제목이 색 경계에 붙었다) */
.lp-sec--arcade + .lp-sec--ink:not(.lp-sec--arcade), .lp-sec--ink:not(.lp-sec--arcade) + .lp-sec--arcade, .lp-sec--ink + .rm-mus, .rm-mus + .lp-sec--ink { padding-top: clamp(72px, 9vw, 128px); }
/* 넓은 링크 격자(미술관·플랫폼): 글 줄 수와 상관없이 칸 높이를 맞춘다 */
.rm-launch--wide { grid-auto-rows: 1fr; }
.rm-launch--wide > li { display: flex; }
.rm-launch--wide > li > a { flex: 1; align-content: start; }
/* 교양 문장 넘기기: 알약 단추가 USB 단추 같다는 지적. 원형 진행 고리는 살리고 이전·다음 원형 단추와 번호로 */
.rm-quote__act { flex-direction: row; justify-content: center; align-items: center; gap: 20px; }
.rm-quote__nav, .rm-quote__next { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); transition: background .25s, transform .35s var(--ease-out); }
.rm-quote__nav { width: 48px; height: 48px; box-shadow: inset 0 0 0 1px var(--line); }
.rm-quote__nav:hover, .rm-quote__next:hover { transform: none; background: var(--bg-2); }
.rm-quote__nav:active, .rm-quote__next:active { transform: scale(.94); }
.rm-quote__next .rm-quote__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.rm-quote__ring circle { stroke-width: 1.6; }
.rm-quote__nav svg, .rm-quote__next .rm-quote__arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rm-quote__count { min-width: 96px; margin: 0; text-align: center; font-size: 14px; letter-spacing: .02em; }
/* 실시간 청산: 거래소 칸, 화면을 열기 전 기록은 흐리게 */
.rm-dd__liq li { grid-template-columns: minmax(48px, 70px) 58px minmax(0, 1fr) auto auto; }
.rm-dd__ex2 { color: var(--mute); font-size: 11.5px; font-style: normal; }
.rm-dd__liq li.is-past { opacity: .55; animation: none; }
.rm-dd__liqnote { margin-top: 12px; }
/* 다른 주제: 비스듬히 늘어선 표지 서가(참고 useparallel.dev 첫 화면). 표지를 누르면 그 카테고리로 간다 */
.rm-slant { --open: .5; --cw: clamp(150px, 15.5vw, 236px); --ch: calc(var(--cw) * 1.22); --inner: clamp(250px, 24vw, 390px); --step: calc(var(--cw) * .6);
	position: relative; overflow: hidden; color-scheme: dark; background: #0a0a0b; color: #f5f5f7; padding-block: clamp(40px, 5vw, 72px); }
/* ai-design-ok: 양 끝을 바탕색으로 흐리는 마스크(장식 그라데이션 아님) */
.rm-slant__stage { position: relative; height: clamp(440px, 44vw, 640px); perspective: 1100px; perspective-origin: 50% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%); }
.rm-slant__rows { position: absolute; inset: 0; transform-style: preserve-3d; }
.rm-slant__row { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; }
.rm-slant__row--l { --flip: 1; } .rm-slant__row--r { --flip: -1; }
.rm-slant__row li { position: absolute; left: 50%; top: 50%; width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2); transform-style: preserve-3d;
	transform: translateX(calc(var(--flip) * -1 * (var(--inner) + var(--k) * var(--step) + var(--open) * 28px))) rotateY(calc(var(--flip) * (68deg - var(--open) * 20deg)));
	transition: transform 1.3s var(--ease-out), opacity .9s var(--ease); transition-delay: calc(var(--k) * 90ms); animation: rm-slant-float 8s ease-in-out infinite; animation-delay: calc(var(--k) * -1.7s); }
.rm-slant__row li:nth-child(1) { --k: 0; } .rm-slant__row li:nth-child(2) { --k: 1; } .rm-slant__row li:nth-child(3) { --k: 2; } .rm-slant__row li:nth-child(4) { --k: 3; } .rm-slant__row li:nth-child(5) { --k: 4; }
.rm-slant.is-armed:not(.is-in) .rm-slant__row li { opacity: 0; transform: translateX(calc(var(--flip) * -40px)) rotateY(calc(var(--flip) * 90deg)) scale(.62); }
.rm-slant.is-done .rm-slant__row li { transition: transform .3s linear, opacity .3s; transition-delay: 0s; }
@keyframes rm-slant-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.rm-slant__card { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 14px; background: #16161a; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease); }
.rm-slant__card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) saturate(.92); transition: filter .5s var(--ease), transform 1.2s var(--ease); }
.rm-slant__card:hover, .rm-slant__card:focus-visible { transform: rotateY(calc(var(--flip) * -38deg)) translateZ(70px) scale(1.04); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.rm-slant__card:hover img, .rm-slant__card:focus-visible img { filter: none; transform: scale(1.05); }
.rm-slant__name { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 13px; font-weight: 650; line-height: 1.3; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--ease-out); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rm-slant__card:hover .rm-slant__name, .rm-slant__card:focus-visible .rm-slant__name { opacity: 1; transform: none; }
.rm-slant__mark { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 28px; padding-inline: var(--gut); text-align: center; pointer-events: none; }
.rm-slant__mark > * { pointer-events: auto; }
.rm-slant__title { max-width: 10.5em; margin: 0; color: #f5f5f7; font-size: clamp(30px, 3.5vw, 52px); font-weight: 680; letter-spacing: -.035em; line-height: 1.2; text-wrap: balance; word-break: keep-all; }
.rm-slant__btn { height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: #f5f5f7; color: #0a0a0b; font-size: 15px; font-weight: 650; transition: transform .35s var(--ease-out), background .25s; }
.rm-slant__btn:hover { background: #fff; transform: scale(1.04); }
[data-motion="off"] .rm-slant__row li { animation: none; transition: none; }
[data-motion="off"] .rm-slant__card, [data-motion="off"] .rm-slant__card img { transition: none; }
/* 휴대폰(2026-11-23 사용자: "모바일 화면에서는 그냥 네모 그리드야? 뭔가 이상한데?"): 평면 두 줄이던 것을 한 줄 진열대로.
   좌우에 세울 폭이 없으니 문장을 위에 두고, 카드는 한 줄로 이어 넘긴다. 가운데 카드는 정면, 양옆은 비스듬히 물러난다.
   --t(가운데에서 떨어진 거리 -1~1)와 --a(그 크기)는 스크립트(slantFlow)가 넘긴 만큼 준다. 스크립트가 못 돌면 평면 한 줄로 남는다 */
@media (max-width: 760px) {
	.rm-slant { --cw: clamp(148px, 45vw, 224px); --ch: calc(var(--cw) * 1.22); --gap: calc(var(--cw) * .42); --push: calc(var(--cw) * .31); padding-block: 56px 64px; }
	.rm-slant__stage { display: flex; flex-direction: column; align-items: center; height: auto; perspective: none; -webkit-mask-image: none; mask-image: none; }
	.rm-slant__mark { display: contents; }
	.rm-slant__title { order: 0; max-width: 12.5em; padding-inline: var(--gut); }
	.rm-slant__btn { order: 2; }
	/* ai-design-ok: 진열대 양 끝을 바탕색으로 흐리는 마스크(장식 그라데이션 아님) */
	.rm-slant__rows { order: 1; position: relative; inset: auto; display: flex; align-items: center; width: 100%; height: calc(var(--ch) + 84px); margin: 12px 0 4px; padding-inline: calc(50% - var(--gap) / 2); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; transform-style: flat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
	.rm-slant__rows::-webkit-scrollbar { display: none; }
	.rm-slant__row { display: contents; }
	.rm-slant__row li { position: relative; left: auto; top: auto; z-index: calc(20 - var(--z, 0)); flex: 0 0 var(--gap); width: var(--gap); height: var(--ch); margin: 0; transform: none; transform-style: flat; scroll-snap-align: center; }
	.rm-slant:not(.is-flow) .rm-slant__rows { padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
	.rm-slant:not(.is-flow) .rm-slant__row li { flex-basis: calc(var(--cw) + 12px); width: calc(var(--cw) + 12px); scroll-snap-align: start; }
	.rm-slant.is-armed:not(.is-in) .rm-slant__row li { opacity: 0; transform: translateY(30px) scale(.92); }
	.rm-slant .rm-slant__card, .rm-slant .rm-slant__card:hover, .rm-slant .rm-slant__card:focus-visible { position: absolute; left: 50%; top: 0; width: var(--cw); height: var(--ch); margin-left: calc(var(--cw) / -2); transform: perspective(900px) translateX(calc(var(--t, 0) * var(--push))) translateZ(calc(var(--a, 0) * -130px)) rotateY(calc(var(--t, 0) * -52deg)); transition: none; box-shadow: 0 18px 44px rgba(0, 0, 0, .6); }
	.rm-slant .rm-slant__card img, .rm-slant .rm-slant__card:hover img, .rm-slant .rm-slant__card:focus-visible img { filter: none; transform: none; }
	/* 옆으로 물러난 카드는 어둡게 덮어 가운데 카드가 앞으로 나와 보이게 한다 */
	.rm-slant__card::after { content: ""; position: absolute; inset: 0; background: #0a0a0b; opacity: calc(var(--a, 0) * .4); pointer-events: none; }
}

/* 게임: 지금 많이 하는 게임(스팀 동시 접속, 앱스토어 한국 순위), 스팀 상점의 이번 주 */
.rm-gb__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
.rm-gb__col { padding: 22px 22px 14px; border: 1px solid #26262b; border-radius: var(--r-lg); background: #111115; }
.rm-gb__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.rm-gb__head h3 { font-size: 17px; font-weight: 700; }
.rm-gb__src { color: var(--mute); font-size: 12.5px; }
.rm-gb__top, .rm-gb__apps { display: grid; gap: 2px; }
.rm-gb__top a, .rm-gb__apps a { display: grid; grid-template-columns: 26px auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 8px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.rm-gb__apps a { grid-template-columns: 26px 48px minmax(0, 1fr); }
.rm-gb__top a:hover, .rm-gb__apps a:hover { background: rgba(255, 255, 255, .05); }
.rm-gb__rk { color: var(--mute); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.rm-gb__top img { width: 92px; height: 43px; border-radius: 6px; object-fit: cover; background: #1b1b20; }
.rm-gb__apps img { width: 48px; height: 48px; border-radius: 11px; background: #1b1b20; }
.rm-gb__nm { display: grid; gap: 3px; min-width: 0; }
.rm-gb__nm strong { overflow: hidden; font-size: 14.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.rm-gb__nm small { overflow: hidden; color: var(--mute); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.rm-gb__mv { min-width: 40px; font-size: 12.5px; font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.rm-gb__mv.is-up { color: #ff6b6b; } .rm-gb__mv.is-down { color: #6aa8ff; } .rm-gb__mv.is-same { color: var(--mute); } .rm-gb__mv.is-new { color: #ffb347; }
.rm-gb__note { margin-top: 20px; }
.rm-gs__tabs { margin-bottom: 24px; }
.rm-gs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.rm-gs__grid a { display: grid; gap: 10px; align-content: start; color: var(--ink); }
.rm-gs__pic { display: block; overflow: hidden; aspect-ratio: 460 / 215; border-radius: 12px; background: var(--bg-2); }
.rm-gs__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rm-gs__grid a:hover img { transform: scale(1.04); }
.rm-gs__grid strong { display: -webkit-box; overflow: hidden; font-size: 15px; font-weight: 650; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rm-gs__pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.rm-gs__pr b { font-weight: 700; } .rm-gs__pr s { color: var(--mute); font-size: 12.5px; }
.rm-gs__off { padding: 2px 7px; border-radius: 6px; background: #4c6b22; color: #beee11; font-size: 12.5px; font-weight: 700; }
.rm-gs__tag { color: var(--mute); font-size: 13px; font-weight: 600; }
[data-motion="off"] .rm-gs__pic img { transition: none; }
@media (max-width: 1100px) { .rm-gs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .rm-gb__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .rm-gs__grid { grid-template-columns: minmax(0, 1fr); } .rm-gb__top img { width: 72px; height: 34px; } }
/* 글 속 네더 계산기: 밝은 글 화면에 맞춘다 */
.lp-toolbox .rm-nether { background: var(--bg-2); }
.lp-toolbox .rm-nether fieldset { border-color: var(--line); }
.lp-toolbox .rm-nether legend { color: var(--ink); }
.lp-toolbox .rm-nether label { color: var(--ink-2); }
/* 김치 프리미엄 줄: 코인 칸 바로 밑에 3px 로 붙어 답답했다(2026-11-23) */
.lp-kimp { margin-top: 20px; }

/* 곡마다 바뀌는 재킷, 목록 줄의 작은 재킷 */
.lp-vinyl__sleeve img { transition: opacity .45s var(--ease), filter .45s var(--ease); }
.lp-vinyl__sleeve img.is-swap { opacity: .2; filter: blur(6px); }
[data-motion="off"] .lp-vinyl__sleeve img { transition: none; }
.lp-player__jk { flex: none; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }

/* 2026-11-23 사이트 전체 점검(글자와 상자 사이 16px 기준)에서 잡힌 곳 넓히기 */
.lp-faq + .lp-tags, .lp-src + .lp-tags { margin-top: 48px; }
.lp-prose figcaption { margin-top: 14px; }
.lp-tv__credit { margin-top: 14px; }
.lp-ex__lab { margin-top: 14px; }
.lp-prose .lp-fig + h2, .lp-prose figure + h2 { margin-top: 2.4em; }

/* 보조지표 사전: 심화 글로 이어지는 링크 */
.rm-ind { display: flex; flex-direction: column; }
.rm-ind__more { align-self: flex-start; margin-top: auto; padding-top: 18px; color: var(--blue); font-size: 14px; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rm-ind__more:hover { text-decoration-thickness: 2px; }

.lp-toolbox .rm-nether input { border-color: var(--line); background: var(--card); color: var(--ink); }
/* 다른 주제 손질(2026-11-23 사용자 피드백): 호버는 살짝 떠오르기만, 이름 칸 없음, 두 줄 모두 마우스를 받는다, 앞 구역에서 스며드는 이음새 */
.rm-slant__row { pointer-events: none; }
.rm-slant__row li { pointer-events: auto; }
.rm-slant__card:hover, .rm-slant__card:focus-visible { transform: translateY(-12px); box-shadow: 0 34px 70px rgba(0, 0, 0, .65); }
.rm-slant__card:hover img, .rm-slant__card:focus-visible img { filter: none; transform: scale(1.03); }
.rm-slant__name { display: none; }
/* ai-design-ok: 앞 구역 바탕색에서 검정으로 넘어가는 이음새(장식 그라데이션 아님, 첫 화면 영상의 --fade-to 와 같은 쓰임) */
.rm-slant::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 4; height: clamp(90px, 14vh, 170px); background: linear-gradient(to bottom, var(--slant-from, var(--bg)) 0%, rgba(10, 10, 11, 0) 100%); pointer-events: none; }
.rm-slant { padding-top: clamp(80px, 9vw, 130px); }

/* 첫 화면 주제 진열대: 크기가 다른 표지를 가로로 걸고 천천히 넘긴다(피그마 첫 화면의 작품 띠 참고). 이름표는 표지 아래 */
.lp-covs__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; }
.lp-covs__head .lp-head { margin-bottom: 0; }
.lp-covs__ctl { display: flex; gap: 10px; }
.lp-covs__btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, transform .3s var(--ease-out); }
.lp-covs__btn:hover { background: var(--bg-2); }
.lp-covs__btn:active { transform: scale(.94); }
.lp-covs__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-covs__btn .is-play { display: none; fill: currentColor; stroke: none; }
.lp-covs.is-paused .lp-covs__btn .is-pause { display: none; }
.lp-covs.is-paused .lp-covs__btn .is-play { display: block; }
.lp-covs__rail { margin-top: clamp(28px, 3.4vw, 44px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2)); scrollbar-width: none; }
.lp-covs__rail::-webkit-scrollbar { display: none; }
.lp-covs__track { display: flex; align-items: flex-end; gap: 20px; width: max-content; margin: 0; padding: 18px max(var(--gut), calc((100vw - var(--max)) / 2)) 8px; list-style: none; }
.lp-cov { flex: none; scroll-snap-align: start; }
.lp-cov a { display: grid; gap: 14px; color: var(--ink); }
.lp-cov__pic { display: block; overflow: hidden; border-radius: 14px; background: var(--bg-2); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease); }
.lp-cov__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lp-cov--tall .lp-cov__pic { width: clamp(200px, 19vw, 270px); aspect-ratio: 3 / 4; }
.lp-cov--wide .lp-cov__pic { width: clamp(280px, 30vw, 430px); aspect-ratio: 4 / 3; }
.lp-cov--sq .lp-cov__pic { width: clamp(230px, 23vw, 330px); aspect-ratio: 1 / 1; }
.lp-cov a:hover .lp-cov__pic, .lp-cov a:focus-visible .lp-cov__pic { transform: translateY(-8px); box-shadow: 0 24px 46px rgba(0, 0, 0, .18); }
.lp-cov a:hover .lp-cov__pic img { transform: scale(1.04); }
.lp-cov__lab { display: grid; gap: 4px; max-width: 100%; }
.lp-cov__lab strong { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.lp-cov__lab span { display: -webkit-box; overflow: hidden; color: var(--mute); font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lp-cov__lab em { color: var(--blue); font-size: 12.5px; font-style: normal; font-weight: 600; }
.lp-cov--tall .lp-cov__lab { width: clamp(200px, 19vw, 270px); } .lp-cov--wide .lp-cov__lab { width: clamp(280px, 30vw, 430px); } .lp-cov--sq .lp-cov__lab { width: clamp(230px, 23vw, 330px); }
[data-motion="off"] .lp-cov__pic, [data-motion="off"] .lp-cov__pic img { transition: none; }
@media (max-width: 760px) { .lp-covs__ctl { display: none; } .lp-cov--tall .lp-cov__pic, .lp-cov--tall .lp-cov__lab { width: 62vw; } .lp-cov--wide .lp-cov__pic, .lp-cov--wide .lp-cov__lab { width: 80vw; } .lp-cov--sq .lp-cov__pic, .lp-cov--sq .lp-cov__lab { width: 70vw; } }


/* ── 11-23 손질 ── */
/* 소개 글: 두세 문장이면 문장마다 한 덩어리로 묶어 문장 경계에서 줄이 바뀐다(사용자: "이렇게 줄바꿈이 되는 게 더 자연스러운 거 같거든") */
.lp-sent { display: inline-block; max-width: 100%; text-wrap: balance; }
/* 여백: OTT 표와 아래 타일, 고전 표지와 그림 출처 줄 */
.rm-cine .rm-ott__tiles { margin-top: 44px; }
.lp-small.rm-bks__cr { margin-top: 44px; }
.lp-post__credit { margin-top: 14px; }
.lp-table caption { padding-bottom: 12px; }
/* 명언 출처: 겹낫표 대신 작품 이름을 굵기로 가른다. 사람 이름과 작품은 두 줄로 */
.rm-quote__fig .rm-quote__by { flex-direction: column; align-items: center; gap: 8px; }
.rm-quote__by span::before { display: none; }
.rm-quote__fig .rm-quote__by span { font-size: 14px; letter-spacing: .01em; }
.rm-quote__by cite { font-style: normal; font-weight: 650; color: var(--ink-2); }
/* 바닥글 이음새: 앞 구역이 어두우면 그 바탕색에서 바닥글 영상으로 스며든다 */
.lp-foot__bg { z-index: 0; }
/* ai-design-ok: 구역 이음새(앞 구역 바탕색 → 투명), 장식 그라데이션 아님 */
/* 별빛 캔버스(rm-stars)가 배경 위에 그려지므로, 이음새는 바닥글의 마지막 겹(::after, 캔버스 위·글자 아래)에 둔다 */
.lp-foot.is-seam::after { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 0; height: clamp(150px, 24vh, 280px); background: linear-gradient(to bottom, var(--foot-from, #0a0a0b) 0%, rgba(10, 10, 11, .55) 48%, rgba(10, 10, 11, 0) 100%); pointer-events: none; }
/* 다른 글 꺼내기: 문장이 둘레를 도는 원형 단추. 가운데 원은 강조색, 누르면 종이가 뒤집히듯 돈다 */
.rm-read__act { display: flex; justify-content: center; margin-top: 36px; }
/* 가운데는 네 꼭지 별 하나다(2026-11-23 3판). 문서 아이콘(밋밋함), 표지 그림 메달(뜻을 알 수 없음, 명화를 그만 쓰자)을 거쳐 왔다.
   글자 고리가 별 둘레를 돌고, 올리면 원이 채워지며 별이 반 바퀴 돈다. 누르면 별이 한 바퀴 돌며 다음 글이 나온다 */
.rm-draw { position: relative; width: 168px; height: 168px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #f5f5f7; cursor: pointer; }
.rm-draw__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: lp-spin 24s linear infinite; }
.rm-draw__ring text { fill: currentColor; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.rm-draw__core { position: absolute; inset: 44px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); color: #f5f5f7; transition: background .35s var(--ease-out), color .35s var(--ease-out), transform .6s var(--ease-out); }
.rm-draw__core svg { width: 38px; height: 38px; fill: currentColor; stroke: none; transition: transform .8s var(--ease-out); }
.rm-draw:hover .rm-draw__core, .rm-draw:focus-visible .rm-draw__core { background: #f5f5f7; color: #0b0b0e; transform: scale(1.06); }
.rm-draw:hover .rm-draw__core svg, .rm-draw:focus-visible .rm-draw__core svg { transform: rotate(90deg) scale(1.08); }
[data-motion="off"] .rm-draw__core, [data-motion="off"] .rm-draw__core svg { transition: none; }
.rm-draw:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.rm-draw.is-spin .rm-draw__core svg { animation: rm-draw-turn .8s var(--ease-out); }
@keyframes rm-draw-turn { from { transform: rotate(0) scale(.7); } to { transform: rotate(360deg) scale(1); } }
[data-motion="off"] .rm-draw__ring, [data-motion="off"] .rm-draw.is-spin .rm-draw__core svg { animation: none; }
/* 프레임 레이트 비교: 같은 움직임을 24·30·60장으로 끊는다. 흐린 점은 바로 앞 장면들의 위치 */
.rm-fps { display: grid; gap: 16px; }
.rm-fps__lanes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rm-fps__lanes li { display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-lg); background: var(--bg-2); }
.rm-fps__lanes b { grid-row: span 2; font-size: 28px; font-weight: 650; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.rm-fps__lanes b small { margin-left: 3px; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--mute); }
.rm-fps__lanes em { font-size: 12px; font-style: normal; color: var(--mute); margin-top: 6px; }
.rm-fps__track { position: relative; height: 14px; border-radius: 999px; background: var(--line-2); }
.rm-fps__track i { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); opacity: 0; will-change: transform; }
.rm-fps__track i.is-now { opacity: 1; }
.rm-fps__sp { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--mute); }
.rm-fps__sp input { flex: 1; accent-color: var(--blue); }

/* 꺼내 읽기 설명 글의 마지막 줄에 낱말 하나만 남지 않게 */
.rm-read__d { text-wrap: balance; }
/* 작업대: 프레임 레이트 비교는 움직임 폭이 넓어야 끊김 차이가 보여서 아래 줄 전체를 쓴다 */
.rm-bench { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.rm-bench__c { grid-column: 1 / -1; }
.rm-bench__c .rm-fps { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; column-gap: 28px; }
.rm-bench__c .rm-fps__lanes { grid-row: span 2; }
@media (max-width: 1100px) { .rm-bench__b { grid-column: 1 / -1; } .rm-bench__c .rm-fps { grid-template-columns: minmax(0, 1fr); } }

/* ── 크립토 차트와 지표판(11-23). 사용자: "위의 요소들과 구분되고 더 자세히", "너무 심플하게 대충 만들지 말고" ── */
.rm-chart { margin: 18px 0 0; padding: 14px 14px 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.rm-chart__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; font-size: 13px; }
.rm-chart__head > b { color: var(--ink); font-size: 14px; font-weight: 650; }
.rm-chart__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; color: var(--mute); font-size: 12px; }
.rm-chart__key span { display: inline-flex; align-items: center; gap: 6px; }
.rm-chart__key i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; background: currentColor; }
.rm-chart__key .k-a { background: #ff5a5f; } .rm-chart__key .k-b { background: #ffb547; }
.rm-chart__key .k-px, .rm-chart__key .k-pxg { background: #c7c7cc; } .rm-chart__key .k-fg { background: #f3d42f; }
.rm-chart__key .k-h0 { background: #3d8bff; } .rm-chart__key .k-h1 { background: #16c784; } .rm-chart__key .k-h2 { background: #f3d42f; } .rm-chart__key .k-h3 { background: #ff922b; } .rm-chart__key .k-h4 { background: #ea3943; } .rm-chart__key .k-hx { background: #6b6b73; }
.rm-chart__key .k-ma { background: #f5f5f7; } .rm-chart__key .k-pi1 { background: #3d8bff; } .rm-chart__key .k-pi2 { background: #ff922b; } .rm-chart__key .k-mark { width: 2px; height: 12px; background: rgba(255, 255, 255, .5); }
.rm-chart__key .k-mm { background: #f3d42f; } .rm-chart__key .k-lo { height: 10px; background: rgba(61, 139, 255, .35); } .rm-chart__key .k-hi { height: 10px; background: rgba(234, 57, 67, .35); }
.rm-chart__plot { position: relative; }
.rm-chart__plot > svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.rm-chart__tip { position: absolute; top: 6px; left: 50%; z-index: 2; display: grid; gap: 3px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(14, 14, 18, .94); color: var(--ink); font-size: 12px; line-height: 1.35; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.rm-chart__tip[hidden] { display: none; }
.rm-chart__tip b { font-weight: 650; } .rm-chart__tip span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rc-grid path { fill: none; stroke: var(--line-2); stroke-width: 1; }
.rc-grid .rc-vgrid { stroke: rgba(255, 255, 255, .04); }
.rc-axis text { fill: var(--mute); font-size: 11px; font-variant-numeric: tabular-nums; }
.rc-grid .rc-ref { stroke: rgba(255, 255, 255, .38); stroke-dasharray: 4 5; }
.rc-axis .rc-reflab { fill: var(--ink-2); }
.rc-grid .rc-mark { stroke: rgba(255, 255, 255, .34); stroke-dasharray: 2 4; }
.rc-axis .rc-marklab { fill: var(--ink-2); font-size: 10.5px; }
.rc-bands .rc-bandlab { fill: rgba(255, 255, 255, .46); font-size: 11px; font-weight: 600; }
.rc-ser path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
/* 전역 아이콘 규칙(svg:not([fill]) 의 stroke: currentColor)이 차트 안 사각형·글자에 흰 선을 물려주지 않게 끊는다 */
.rm-chart__plot > svg, .rm-fg__gauge, .rm-dom__ring svg, .rm-ct__sp svg, .rm-tb__oi svg { stroke: none; }
.rc-ser .rc-l1 { stroke: #ff5a5f; } .rc-ser .rc-a1 { fill: rgba(255, 90, 95, .08); stroke: none; }
.rc-ser .rc-l2 { stroke: #ffb547; stroke-dasharray: 5 4; }
.rc-ser .rc-px { stroke: rgba(199, 199, 204, .7); stroke-width: 1.4; }
.rc-ser .rc-fg { stroke-width: 2.2; }
.rc-ser .rc-heat { stroke-width: 1.8; } .rc-ser .h0 { stroke: #3d8bff; } .rc-ser .h1 { stroke: #16c784; } .rc-ser .h2 { stroke: #f3d42f; } .rc-ser .h3 { stroke: #ff922b; } .rc-ser .h4 { stroke: #ea3943; } .rc-ser .hx { stroke: #6b6b73; }
.rc-ser .rc-ma { stroke: #f5f5f7; stroke-width: 1.6; } .rc-ser .rc-pxg { stroke: rgba(199, 199, 204, .5); stroke-width: 1.2; }
.rc-ser .rc-pi1 { stroke: #3d8bff; } .rc-ser .rc-pi2 { stroke: #ff922b; } .rc-ser .rc-mm { stroke: #f3d42f; stroke-width: 1.6; }
.rc-bands .rc-b-xf { fill: rgba(234, 57, 67, .13); } .rc-bands .rc-b-f { fill: rgba(255, 138, 31, .07); } .rc-bands .rc-b-n { fill: rgba(255, 255, 255, .025); }
.rc-bands .rc-b-g { fill: rgba(147, 217, 0, .06); } .rc-bands .rc-b-xg { fill: rgba(22, 199, 132, .12); }
.rc-bands .rc-b-lo { fill: rgba(61, 139, 255, .14); } .rc-bands .rc-b-hi { fill: rgba(234, 57, 67, .14); }
.rc-dot { fill: #ff5a5f; stroke: #0e0e12; stroke-width: 2; }
.rc-dot.d2 { fill: #ffb547; } .rc-dot.dfg { fill: #f3d42f; } .rc-dot.dma { fill: #f5f5f7; } .rc-dot.dp1 { fill: #3d8bff; } .rc-dot.dp2 { fill: #ff922b; } .rc-dot.dmm { fill: #f3d42f; }
.rc-cross { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.rc-hdot { fill: #fff; stroke: #0e0e12; stroke-width: 2; }
.rc-hit { fill: transparent; cursor: crosshair; }
/* 롱·숏 카드: 막대 아래 차트가 막대와 붙지 않게 */
.rm-chart--ls { margin-top: 22px; }

/* 공포와 탐욕 */
.rm-fg { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.rm-fg__now { display: grid; align-content: start; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-fg__gauge { display: block; width: 100%; height: auto; overflow: visible; }
.rm-fg__seg { fill: none; stroke-width: 20; opacity: .32; transition: opacity .6s var(--ease); }
.rm-fg__seg.is-on { opacity: 1; }
.rm-fg__seg.s-xf { stroke: #ea3943; } .rm-fg__seg.s-f { stroke: #ff8a1f; } .rm-fg__seg.s-n { stroke: #f3d42f; } .rm-fg__seg.s-g { stroke: #93d900; } .rm-fg__seg.s-xg { stroke: #16c784; }
.rm-fg__lab { fill: var(--mute); font-size: 11px; font-weight: 600; } .rm-fg__lab.is-on { fill: var(--ink); }
.rm-fg__tick { fill: var(--mute); font-size: 10px; }
.rm-fg__mk { fill: #0e0e12; stroke: #fff; stroke-width: 4; }
.rm-fg__val { fill: var(--ink); font-size: 58px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rm-fg__cls { display: grid; justify-items: center; gap: 4px; margin: -4px 0 0; text-align: center; }
.rm-fg__cls b { font-size: 21px; font-weight: 700; }
.rm-fg__cls span { color: var(--mute); font-size: 12.5px; }
.rm-fg[data-zone="xf"] .rm-fg__cls b { color: #ff5a5f; } .rm-fg[data-zone="f"] .rm-fg__cls b { color: #ff9a3c; } .rm-fg[data-zone="n"] .rm-fg__cls b { color: #f3d42f; }
.rm-fg[data-zone="g"] .rm-fg__cls b { color: #a8e22b; } .rm-fg[data-zone="xg"] .rm-fg__cls b { color: #2fd98f; }
.rm-fg__hist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rm-fg__hist li { display: grid; gap: 3px; padding: 10px 6px; border-radius: 12px; background: var(--bg-2); text-align: center; }
.rm-fg__hist span { color: var(--mute); font-size: 11px; }
.rm-fg__hist b { font-size: 21px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rm-fg__hist em { font-size: 11px; font-style: normal; }
.rm-fg__yr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rm-fg__yr > div { display: grid; gap: 3px; padding: 11px 12px; border-radius: 12px; background: var(--bg-2); }
.rm-fg__yr span { color: var(--mute); font-size: 11px; } .rm-fg__yr b { font-size: 14px; font-weight: 650; } .rm-fg__yr small { color: var(--mute); font-size: 11px; }
.rm-fg .z-xf b, .rm-fg .z-xf em { color: #ff5a5f; } .rm-fg .z-f b, .rm-fg .z-f em { color: #ff9a3c; } .rm-fg .z-n b, .rm-fg .z-n em { color: #f3d42f; }
.rm-fg .z-g b, .rm-fg .z-g em { color: #a8e22b; } .rm-fg .z-xg b, .rm-fg .z-xg em { color: #2fd98f; }
.rm-fg__dist p { margin: 0 0 8px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.rm-fg__distbar { display: flex; gap: 2px; height: 12px; overflow: hidden; border-radius: 999px; background: var(--bg-2); }
.rm-fg__distbar i { flex: 0 0 0; min-width: 0; height: 100%; }
.rm-fg i.b-xf { background: #ea3943; } .rm-fg i.b-f { background: #ff8a1f; } .rm-fg i.b-n { background: #f3d42f; } .rm-fg i.b-g { background: #93d900; } .rm-fg i.b-xg { background: #16c784; }
.rm-fg__distkey { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 11.5px; }
.rm-fg__distkey li { display: flex; align-items: center; gap: 6px; } .rm-fg__distkey li i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.rm-chart--fg { display: grid; align-content: start; margin: 0; }
@media (max-width: 1000px) { .rm-fg { grid-template-columns: minmax(0, 1fr); } }

/* 시가총액 지도 */
.rm-split--dom { align-items: stretch; }
.rm-dom { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 20px 24px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-dom__ring { position: relative; }
.rm-dom__ring svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.rm-dom__ring circle { fill: none; stroke-width: 24; }
.rm-dom__ring .rm-dom__bg { stroke: var(--bg-2); }
.rm-dom__c { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; margin: 0; text-align: center; }
.rm-dom__c b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .rm-dom__c span { color: var(--mute); font-size: 11px; }
.rm-dom__list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.rm-dom__list li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rm-dom__list li i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.rm-dom__list li span { overflow: hidden; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; }
.rm-dom__list li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.rm-dom__kpi { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rm-dom__kpi li { display: grid; gap: 3px; padding: 11px 12px; border-radius: 12px; background: var(--bg-2); }
.rm-dom__kpi span { color: var(--mute); font-size: 11px; } .rm-dom__kpi b { font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; } .rm-dom__kpi small { color: var(--mute); font-size: 11px; }
.rm-dom > .lp-small { grid-column: 1 / -1; margin: 0; }
@media (max-width: 620px) { .rm-dom { grid-template-columns: minmax(0, 1fr); } .rm-dom__ring { max-width: 220px; margin-inline: auto; } .rm-dom__kpi { grid-template-columns: 1fr 1fr; } }

/* 비트코인 사이클 지표 */
.rm-cyc { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-cyc__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.rm-cyc__desc { flex: 1 1 340px; margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.rm-chart--cyc { margin-top: 16px; }
.rm-cyc__read { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.rm-cyc__read li { display: grid; align-content: start; gap: 4px; padding: 13px 14px; border-radius: 12px; background: var(--bg-2); }
.rm-cyc__read span { color: var(--mute); font-size: 11.5px; } .rm-cyc__read b { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; } .rm-cyc__read small { color: var(--ink-2); font-size: 12px; line-height: 1.45; }
.rm-cyc__read .is-up b { color: #ff5a5f; } .rm-cyc__read .is-down b { color: #5aa2ff; }
@media (max-width: 900px) { .rm-cyc__read { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 바이낸스 상위 트레이더 포지션(표 틀은 카피 트레이딩 때 만든 .rm-ct__ 를 같이 쓴다) */
.rm-ct__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.rm-ct__ctl small { margin-left: auto; color: var(--mute); font-size: 12px; }
.rm-ct__wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-ct__t { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.rm-ct__t th { padding: 13px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); color: var(--mute); font-size: 12px; font-weight: 600; text-align: right; white-space: nowrap; }
.rm-ct__t th:nth-child(-n+2) { text-align: left; }
.rm-ct__t td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: right; white-space: nowrap; }
.rm-ct__t tbody tr:last-child td { border-bottom: 0; }
.rm-ct__t tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.rm-ct__t td.is-up { color: #ff5a5f; } .rm-ct__t td.is-down { color: #5aa2ff; }
.rm-ct__rk { text-align: left !important; }
.rm-ct__rk i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); font-size: 12px; font-style: normal; font-weight: 650; }
.rm-ct__rk i.r1 { background: #f3ba2f; color: #1a1300; } .rm-ct__rk i.r2 { background: #c9ccd3; color: #15161a; } .rm-ct__rk i.r3 { background: #cf8a56; color: #1a0f05; }
.rm-ct__who { max-width: 260px; overflow: hidden; text-align: left !important; text-overflow: ellipsis; }
.rm-ct__who b { font-weight: 650; }
.rm-ct__av { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; background: #26262d; color: var(--ink); font-size: 12px; font-weight: 650; vertical-align: middle; }
.rm-ct__sp svg { display: inline-block; width: 120px; height: 34px; vertical-align: middle; }
.rm-ct__sp path { fill: none; stroke-width: 1.8; stroke-linejoin: round; }
.rm-ct__sp .z { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; } .rm-ct__sp .up { stroke: #ff5a5f; } .rm-ct__sp .dn { stroke: #5aa2ff; }
.rm-ct__mdd { color: var(--ink-2); } .rm-ct__cp { color: var(--ink-2); }

.rm-tb__t { min-width: 980px; }
.rm-tb__coin b { display: block; font-size: 14px; font-weight: 700; } .rm-tb__coin small { color: var(--mute); font-size: 11px; }
.rm-tb__t td.rm-tb__coin { text-align: left; }
.rm-tb__t th:nth-child(2), .rm-tb__t td.rm-tb__pos { min-width: 200px; text-align: left; }
.rm-tb__nums { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 12px; }
.rm-tb__nums b { font-weight: 650; } .rm-tb__nums .is-up { color: #ff5a5f; } .rm-tb__nums .is-down { color: #5aa2ff; }
.rm-tb__track { display: flex; gap: 2px; height: 6px; overflow: hidden; border-radius: 999px; }
.rm-tb__track i.is-l { background: #ff5a5f; } .rm-tb__track i.is-s { background: #3d8bff; }
.rm-tb__flag { display: block; margin-top: 3px; color: var(--ink-2); font-size: 11px; }
.rm-tb__oi { white-space: nowrap; } .rm-tb__oi span { margin-right: 8px; } .rm-tb__oi em { margin-right: 10px; font-size: 12px; font-style: normal; }
.rm-tb__oi em.is-up { color: #ff5a5f; } .rm-tb__oi em.is-down { color: #5aa2ff; }
.rm-tb__oi svg { display: inline-block; width: 96px; height: 30px; vertical-align: middle; }
.rm-tb__oi path { fill: none; stroke-width: 1.6; } .rm-tb__oi .up { stroke: #ff5a5f; } .rm-tb__oi .dn { stroke: #5aa2ff; }

/* 카테고리 표지와 첫 화면 슬라이드의 소개 글도 문장 단위로 끊고 줄 길이를 맞춘다(11-23) */
.lp-chero__lede, .lp-chero__story, .lp-hero__lede { text-wrap: balance; }

/* 마인크래프트 글의 실제 게임 그림(11-23): 공식 텍스처를 인벤토리 칸에 픽셀 그대로 */
.lp-mc__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 16px 12px; margin: 0; padding: 0; list-style: none; }
.lp-mc__grid li { display: grid; justify-items: center; align-content: start; gap: 5px; text-align: center; }
/* 11-26 사용자: 오른쪽 아래가 밝아서 그림 테두리 음영이 이상하다. 게임 안에서는 칸이 회색 판 위에 있어 흰 모서리가 빛으로 읽히지만
   흰 바탕의 글에서는 흰 모서리가 바탕에 묻혀 테두리가 반만 있는 것처럼 보였다. 네 변을 같은 어두운 색으로 두른다 */
.lp-mc__slot { display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 11px; border-radius: var(--rb); background: #8b8b8b; box-shadow: inset 0 0 0 3px #373737; }
.lp-mc__slot img { width: 56px; height: 56px; image-rendering: pixelated; image-rendering: crisp-edges; }
.lp-mc__grid b { font-size: 13px; font-weight: 650; line-height: 1.35; word-break: keep-all; }
.lp-mc__grid small { color: var(--mute); font-size: 11.5px; line-height: 1.4; word-break: keep-all; }
/* 출처와 고지를 적는 메모(11-26 사용자: "약간 메모 같은 내용이 들어가는 거같은데 … 모서리 라던지 다른 요소와 좀 다르게").
   각진 회색 쪽지의 오른쪽 위 귀를 접은 모양. 다른 상자(그림, 표, 인용)와 한눈에 구분된다 */
.lp-mcnote { position: relative; margin-top: 32px; padding: 16px 46px 17px 18px; border: 0; border-radius: 0; background: var(--bg-2); line-height: 1.65; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.lp-mcnote::after { content: ""; position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: var(--line); clip-path: polygon(0 0, 0 100%, 100% 100%); }

.lp-mc__grid--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lp-mc__grid--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-mc__grid--c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .lp-mc__grid--c6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 620px) {   /* 휴대폰: 칸이 좁아 설명이 겹쳐서 '그림 + 이름·설명' 한 줄 목록으로 */
	.lp-mc__grid, .lp-mc__grid--c3, .lp-mc__grid--c4, .lp-mc__grid--c5, .lp-mc__grid--c6 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.lp-mc__grid li { grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; align-items: center; column-gap: 14px; row-gap: 1px; text-align: left; }
	.lp-mc__slot { grid-row: span 2; width: 54px; height: 54px; margin: 0; } .lp-mc__slot img { width: 38px; height: 38px; }
	.lp-mc__grid b { align-self: end; font-size: 14px; } .lp-mc__grid small { align-self: start; font-size: 12px; }
}

/* 재생 목록이 96곡으로 늘어(11-23) 넓은 목록도 높이를 정하고 안에서 스크롤 */
.lp-player__list--wide { max-height: 560px; overflow: auto; padding-right: 6px; overscroll-behavior: contain; }
@media (max-width: 1000px) { .lp-player__list--wide { max-height: 480px; } }

/* 첫 화면 표지 진열대(11-23 사용자: "썸네일 비율이 다 달라서 약간 별로"): 모든 표지를 4:5 세로로 맞춘다 */
.lp-cov--tall .lp-cov__pic, .lp-cov--wide .lp-cov__pic, .lp-cov--sq .lp-cov__pic { width: clamp(230px, 21vw, 300px); aspect-ratio: 4 / 5; }
.lp-cov--tall .lp-cov__lab, .lp-cov--wide .lp-cov__lab, .lp-cov--sq .lp-cov__lab { width: clamp(230px, 21vw, 300px); }
@media (max-width: 760px) { .lp-cov--tall .lp-cov__pic, .lp-cov--wide .lp-cov__pic, .lp-cov--sq .lp-cov__pic, .lp-cov--tall .lp-cov__lab, .lp-cov--wide .lp-cov__lab, .lp-cov--sq .lp-cov__lab { width: 66vw; } }

/* AI 도구 모음: 도구마다 로고(11-23) */
.rm-tools a { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.rm-tools a > :not(.rm-tools__ico) { grid-column: 2; }
.rm-tools__ico { grid-row: 1 / span 3; padding-top: 2px; }
.rm-tools__ico .rm-ico { display: block; width: 32px; height: 32px; border-radius: 8px; }

/* 이음새의 흐르는 빛(11-23 사용자: "빛이 흐르는 느낌을 애니메이션으로 멋지게"). 그림은 library.js 의 lightFlow 가 WebGL 로 그린다.
   캔버스는 표지 줄 뒤에 깔리고, 빛이 켜지면 예전의 정적인 이음새 그라데이션(::before)은 물러난다 */
.rm-slant__flow { position: absolute; left: 0; right: 0; top: 0; z-index: 0; display: block; width: 100%; height: 380px; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); }
.rm-slant.has-flow .rm-slant__flow { opacity: 1; }
.rm-slant::before { transition: opacity .9s var(--ease); }
.rm-slant.has-flow::before { opacity: 0; }
.rm-slant__stage { z-index: 1; }
@media (max-width: 760px) { .rm-slant.has-flow { padding-top: 168px; } }

/* AI 용어 사전(11-23 사용자: "배경이 그냥 검은색이라 심심하고 디지털 느낌이 덜하다", "용어 앞에 아이콘"): 점 격자 바탕과 용어 아이콘 */
.rm-ai { position: relative; isolation: isolate; }
.rm-term { position: relative; }
.rm-term__ico { display: grid; place-items: center; width: 40px; height: 40px; margin: -9px 0 0; border: 1px solid rgba(140, 175, 255, .28); border-radius: 12px; background: rgba(61, 139, 255, .1); color: #8fb8ff; }
.rm-term__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.rm-term { grid-template-columns: 40px 112px minmax(0, 1fr); align-items: start; }
@media (max-width: 1000px) { .rm-term { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; } .rm-term__ico { grid-row: span 2; margin-top: 0; } .rm-term dd { grid-column: 2; } }

/* 디자인 표지(직접 만든 작업판 장면): 세로로 잘리는 곳에서는 포스터가 가운데 오게 */
.lp-cov__pic img[src*="design-board"], .rm-slant__card img[src*="design-board"] { object-position: 66% 50%; }
/* 디자인 표지(색연필): 색연필이 화면 오른쪽에 있다. 좁은 화면은 가운데만 보여서 색연필이 빠지므로 오른쪽을 보여 준다 */
@media (max-width: 900px) { [data-video*="pencil-tips"] img, [data-video*="pencil-tips"] video { object-position: 76% 50%; } }

/* ── 검은 구역 바탕 꾸밈(11-23 사용자: "검은색 배경이라도 꾸밈을 넣어서 밀도를 올려야 함. 섹션별로 구분이 가거나 흐름이 읽히게")
   구역과 무늬의 짝은 build.py 의 BACKDROP, 무늬 그림은 tools/backdrops.py. 연달은 검은 구역은 바탕색을 조금씩 달리하고 가는 경계선과 여백을 둔다 ── */
.lp-sec--ink.bk-on { position: relative; isolation: isolate; }
.lp-sec--ink.bk-on + .lp-sec--ink.bk-on { padding-top: clamp(64px, 8vw, 112px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.lp-sec--ink.bk-t2 { background-color: #07090e; } .lp-sec--ink.bk-t3 { background-color: #0e0e11; } .lp-sec--ink.bk-t4 { background-color: #050a13; }
.bk { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bk::before, .bk::after { content: ""; position: absolute; inset: 0; }
.bk--grid::before { /* ai-design-ok: 설계도 격자 무늬 */ background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(85% 90% at 88% 0%, #000 0%, transparent 78%); mask-image: radial-gradient(85% 90% at 88% 0%, #000 0%, transparent 78%); }
.bk--dots::before { /* ai-design-ok: 점 격자 무늬 */ background-image: radial-gradient(circle, rgba(140, 175, 255, .24) 1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 75% at 50% 35%, #000 0%, rgba(0, 0, 0, .3) 62%, transparent 100%); mask-image: radial-gradient(70% 75% at 50% 35%, #000 0%, rgba(0, 0, 0, .3) 62%, transparent 100%); }
.bk--lines::before { /* ai-design-ok: 빗금 무늬 */ background-image: repeating-linear-gradient(118deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 28px); -webkit-mask-image: linear-gradient(205deg, #000 0%, transparent 62%); mask-image: linear-gradient(205deg, #000 0%, transparent 62%); }
.bk--scan::before { /* ai-design-ok: 화면 주사선 무늬 */ background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 5px); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 38%, transparent 62%, #000 100%); mask-image: linear-gradient(90deg, #000 0%, transparent 38%, transparent 62%, #000 100%); }
.bk--rings::before { /* ai-design-ok: 렌즈 고리 무늬 */ background-image: repeating-radial-gradient(circle at 86% 30%, transparent 0 63px, rgba(255, 255, 255, .065) 63px 64px); -webkit-mask-image: radial-gradient(58% 95% at 86% 30%, #000 0%, transparent 74%); mask-image: radial-gradient(58% 95% at 86% 30%, #000 0%, transparent 74%); }
.bk--film::before, .bk--film::after { /* ai-design-ok: 필름 구멍 무늬 */ inset: auto 0; height: 12px; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 18px, transparent 18px 44px); }
.bk--film::before { top: 22px; } .bk--film::after { bottom: 22px; }
.bk--candles::before { /* ai-design-ok: 가장자리 흐림 */ background: url("/img/bk/candles.svg") left bottom / auto min(52%, 380px) repeat-x; opacity: .15; -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 100%); mask-image: linear-gradient(to top, #000 15%, transparent 100%); }
.bk--wave::before { /* ai-design-ok: 가장자리 흐림 */ background: url("/img/bk/wave.svg") left bottom 30px / auto 150px repeat-x; opacity: .13; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.bk--shelf::before { /* ai-design-ok: 가장자리 흐림 */ background: url("/img/bk/shelf.svg") left bottom / auto 210px repeat-x; opacity: .11; -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%); mask-image: linear-gradient(to top, #000 30%, transparent 100%); }
.bk--orbit::before { background: url("/img/bk/orbit.svg") right -170px top 50% / auto 135% no-repeat; opacity: .14; }
.bk--hex::before { /* ai-design-ok: 가장자리 흐림 */ background: url("/img/bk/hex.svg") 0 0 / 90px auto repeat; opacity: .13; -webkit-mask-image: radial-gradient(60% 85% at 10% 8%, #000 0%, transparent 76%); mask-image: radial-gradient(60% 85% at 10% 8%, #000 0%, transparent 76%); }
.bk--frames::before { /* ai-design-ok: 가운데 비우기 */ background: url("/img/bk/frames.svg") left 46% / auto min(72%, 420px) repeat-x; opacity: .08; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%); mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%); }
.bk--pixel::before { /* ai-design-ok: 가장자리 흐림 */ background: url("/img/bk/pixel.svg") right top / 640px auto repeat; opacity: .1; -webkit-mask-image: radial-gradient(70% 90% at 92% 6%, #000 0%, transparent 72%); mask-image: radial-gradient(70% 90% at 92% 6%, #000 0%, transparent 72%); }
.bk--circuit::before { /* ai-design-ok: 가장자리 흐림 */ background: url("/img/bk/circuit.svg") right top / auto 400px repeat-x; opacity: .13; -webkit-mask-image: linear-gradient(to bottom, #000 8%, transparent 80%); mask-image: linear-gradient(to bottom, #000 8%, transparent 80%); }
.bk--contour::before { /* ai-design-ok: 가장자리 흐림 */ background: url("/img/bk/contour.svg") center / cover no-repeat; opacity: .11; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 50%, #000 100%); }

/* 디자인 표지(작업판 장면)는 왼쪽이 이미 비어 있어서, 흰 가림막을 글자 쪽에만 두고 포스터 색은 그대로 보이게 한다 */
/* ai-design-ok: 글자 가독성용 가림막 */
.lp-chero--light .lp-chero__bg:has([src*="design-board"])::after, .lp-chero--light .lp-chero__bg:has([poster*="design-board"])::after { background: linear-gradient(90deg, rgba(241, 240, 236, .82) 0%, rgba(241, 240, 236, .5) 34%, rgba(241, 240, 236, 0) 58%); }
.lp-chero--light .lp-chero__bg:has([src*="design-board"]), .lp-chero--light .lp-chero__bg:has([poster*="design-board"]) { background: #f1f0ec; }

@media print { .lp-tape, .lp-top, .lp-dock, .lp-player, .lp-foot, .lp-layer { display: none !important; } }

/* 만 나이 계산기(11-24): 세 나이를 나란히 */
.lp-age, .lp-prose .lp-tool .lp-age { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; }
.lp-age > div { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); }
.lp-age dt { color: var(--mute); font-size: 13px; line-height: 1.4; }
.lp-age dd { margin: 4px 0 0; color: var(--ink); font-size: 24px; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .lp-age { gap: 8px; } .lp-age > div { padding: 12px; } .lp-age dd { font-size: 20px; } }

/* ── 11-26 글 쪽 손질 ── */
/* 함께 읽으면 좋은 글의 썸네일은 글 표지와 같은 둥글기로(사용자: "맨 위의 커버 이미지 정도의 모서리가 둥금이었으면") */
[aria-labelledby="h-rel"] .lp-card__pic { border-radius: var(--r-cover); }
/* 오늘의 라이브러리: '다른 글 보기'를 누르면 카드가 새로 들어온다 */
.lp-today.is-fresh .lp-card { animation: lp-fresh .7s var(--ease-out) both; }
/* 그림을 이미지로 복사하는 단추(사용자: 코드 복사 단추처럼). 사진 위 오른쪽 위에 둔다.
   마우스가 있는 기기에서는 그림에 올렸을 때만 보이고, 손가락으로 쓰는 기기에서는 작은 동그라미로 늘 보인다 */
.lp-shot { position: relative; display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.lp-fig--art .lp-shot { width: 100%; }
.lp-figcopy { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px 0 10px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: rgba(20, 20, 24, .74); color: #fff; font: 500 12.5px/1 var(--font); letter-spacing: -.01em; white-space: nowrap; cursor: pointer; opacity: 0; transition: opacity .2s, background .15s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp-fig .lp-figcopy svg { flex: none; width: 16px; height: 16px; }
.lp-shot:hover .lp-figcopy, .lp-figcopy:focus-visible, .lp-figcopy.is-said { opacity: 1; }
/* 도표(SVG 그림)에도 같은 단추(11-26). 그림 상자의 오른쪽 위에 놓는다. 좁은 화면에서 HTML 판으로 바뀌는 그림(data-fm)은 SVG 가 숨어서 단추를 감춘다 */
.lp-fig--copy { position: relative; }
.lp-fig--copy:hover > .lp-figcopy { opacity: 1; }
@media (max-width: 700px) { .lp-fig--copy[data-fm] > .lp-figcopy { display: none; } }
@media (hover: none) { .lp-prose .lp-fig--copy > figcaption > b { padding-right: 40px; } }
.lp-figcopy:hover { background: rgba(20, 20, 24, .92); }
.lp-figcopy:focus-visible { outline: 2px solid #8ab4ff; outline-offset: 2px; }
.lp-figcopy.is-done { color: #7ee2a8; }
@media (hover: none) {
	.lp-figcopy { opacity: 1; justify-content: center; width: 34px; height: 34px; padding: 0; }
	.lp-figcopy span { display: none; }
	.lp-figcopy.is-said { width: auto; padding: 0 13px 0 10px; }
	.lp-figcopy.is-said span { display: inline; }
}
@media print { .lp-figcopy, .lp-codecopy, .lp-again { display: none !important; } }

/* 도표의 제목은 위, 설명은 아래(11-26 사용자가 실험판에서 고름). 사진과 미술관 그림은 아래 규칙에서 제목을 그림 밑으로 내린다.
   캡션에 제목(<b>)이 있는 그림만 해당한다. 그림 상자를 세로로 쌓고 캡션 상자를 풀어서 제목을 맨 위로 올린다. 코드와 세운 문장은 빼고, 제목 없는 캡션은 예전처럼 아래에 둔다 */
.lp-prose .lp-fig:has(> figcaption > b):not([data-fig="code"], [data-fig="quote"]) { display: flex; flex-direction: column; }
.lp-prose .lp-fig:has(> figcaption > b):not([data-fig="code"], [data-fig="quote"]) > figcaption { display: contents; }
.lp-prose .lp-fig:has(> figcaption > b):not([data-fig="code"], [data-fig="quote"]) > figcaption > b { order: -1; margin-bottom: 18px; color: var(--ink); font-size: 15.5px; font-weight: 650; line-height: 1.45; letter-spacing: -.01em; text-align: left; }
.lp-prose .lp-fig:has(> figcaption > b):not([data-fig="code"], [data-fig="quote"]) > figcaption > .lp-cap__n { margin-top: 16px; color: var(--mute); font-size: 13.5px; line-height: 1.6; text-align: left; }
.lp-prose .lp-fig--ink:has(> figcaption > b) > figcaption > b { color: #f5f5f7; }
/* 사진과 미술관 그림은 제목도 그림 아래에 둔다(11-26 밤 사용자: "지금 보니깐 사진에서는 제목을 아래 내리는 게 낫겠다").
   소제목 바로 밑에 같은 이름의 그림 제목이 또 나오고 그림이 그만큼 밀려 내려갔다. 도표는 제목을 먼저 읽어야 그림이 읽히지만 사진은 그림을 먼저 본다.
   img 가 figure 의 바로 아래 자식인 그림만 해당한다(아이템 칸처럼 목록 안에 든 그림은 도표로 본다). 스크립트가 복사 단추를 달면서 img 를 .lp-shot 으로 감싸니 둘 다 적는다. 제목 한 줄, 그 밑에 설명 한 줄로 쌓는다 */
.lp-prose .lp-fig:has(> img, > .lp-shot):has(> figcaption > b):not([data-fig="code"], [data-fig="quote"]) > figcaption > b { order: 0; margin: 16px 0 0; }
.lp-prose .lp-fig:has(> img, > .lp-shot):has(> figcaption > b):not([data-fig="code"], [data-fig="quote"]) > figcaption > .lp-cap__n { margin-top: 4px; }
.nw { white-space: nowrap; display: contents; }   /* 줄바꿈 없는 공백 대신 낱말 덩어리를 묶는다(build.py nbsp_out, 2026-11-27). display: contents 라서 상자를 만들지 않는다. flex·grid 상자(자주 묻는 질문의 summary, 단추) 안에서 글자가 조각나 흩어지지 않고 줄바꿈 금지만 남는다 */

/* ── parts/about-story.css ── */
/* 소개 쪽 '라이브러리 이야기' 4판(2026-11-23). 짜임은 rooms7/about_story.py, 움직임은 site/parts/js/about-story.js.
   바탕이 번갈아 온다: 성운 영상 → 종이빛 → 검은 하늘 → 흰색 → 검정(자료) → 종이빛 → 별의 궤적 영상 → 흰색 → 회색.
   움직임은 스크립트가 붙인 표시(.is-armed, .is-hold)가 있을 때만 숨겼다가 보인다. 스크립트가 없거나 움직임을 끄면 처음부터 다 보인다 */

/* ── 공통 ── */
.as-sec { padding-block: clamp(96px, 11vw, 168px); background: var(--bg); }
.as-sec--paper { background: var(--paper); }
.as-sec--gray { background: var(--bg-2); }
.as-h2 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.1; letter-spacing: -.045em; font-weight: 650; }
.as-h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.03em; font-weight: 650; }
.as-h3--lg { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.18; letter-spacing: -.04em; }
.as-p { color: var(--ink-2); font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.8; }
.as-head2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px clamp(32px, 5vw, 96px); align-items: start; margin-bottom: clamp(52px, 6vw, 88px); }
.as-head2 .as-p { max-width: 38em; padding-top: .55em; }
.as-ico { flex: none; width: 26px; height: 26px; }
/* 전역 아이콘 규칙(svg 에 선 색)이 도표에 상속되지 않게 */
svg.as-tb__bar, svg.as-clk, svg.as-wk, svg.as-el__bar, .as-tb__k svg { stroke: none; }
.as-gx__hit { stroke: none; }

/* ── 1. 표지 ── */
.as-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100vh - var(--tape-h) - var(--top-h));
	min-height: calc(100svh - var(--tape-h) - var(--top-h)); overflow: hidden; background: #000; color: #fff; color-scheme: dark; }
.as-hero__bg { z-index: -1; }
.as-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.as-hero__in { position: relative; padding-block: clamp(104px, 14vh, 168px) clamp(112px, 17vh, 176px); }
.as-hero .lp-crumb { margin-bottom: clamp(28px, 4.4vh, 48px); opacity: .78; }
.as-hero__t { max-width: 12.5em; font-size: clamp(31px, 7.2vw, 112px); line-height: 1.05; letter-spacing: -.055em; font-weight: 650; }
.as-line { display: inline-block; max-width: 100%; }
.as-hero__d { max-width: 33em; margin-top: clamp(26px, 3.4vw, 44px); color: rgba(255, 255, 255, .84); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.75; }
.as-hero__down { position: absolute; left: 50%; bottom: clamp(20px, 3.4vh, 36px); display: grid; place-items: center; width: 44px; height: 72px; transform: translateX(-50%); border-radius: 22px; }
.as-hero__down svg { width: 14px; height: 60px; overflow: hidden; stroke: none; }
.as-down__l { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.as-down__d { fill: #fff; transform: translateY(22px); }
html:not([data-motion="off"]) .as-down__d { animation: as-drop 2.4s var(--ease) infinite; }
@keyframes as-drop { 0% { transform: translateY(-6px); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(52px); opacity: 0; } }

/* ── 2. 상상이 먼저였다 ── */
.as-imag__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 96px); align-items: start; }
.as-imag__h { position: sticky; top: calc(var(--top-h) + 40px); }
.as-big { display: grid; gap: 1.05em; color: var(--ink); font-size: clamp(22px, 2.35vw, 34px); line-height: 1.62; letter-spacing: -.032em; font-weight: 600; }
.as-big.is-armed .as-w { color: color-mix(in srgb, var(--ink) 24%, var(--paper)); transition: color .45s var(--ease); }
.as-big.is-armed .as-w.is-lit { color: var(--ink); }
/* 별 무대: 같은 별 열 개가 자리를 바꾸며 흩어진 점 → 북두칠성 → 책 → 펜이 된다(rooms7/about_story.py sky_stage, 움직임은 about-story.js 의 [data-as-sk]).
   별은 g 의 transform 만, 선은 dashoffset 과 opacity 만 움직인다(배치를 다시 계산하는 속성은 쓰지 않는다) */
.as-sk { margin-top: clamp(72px, 8vw, 120px); }
.as-sk__stage { position: relative; isolation: isolate; height: clamp(400px, 30vw, 440px); overflow: hidden; border-radius: var(--r-lg); background: #090b13; color: #fff; color-scheme: dark; cursor: pointer; }
[data-theme="dark"] .as-sk__stage { background: #05060a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
svg.as-sk__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; stroke: none; }
.as-sk__dust { fill: #fff; transition: transform 1.2s var(--ease-out); }
.as-sk__dust circle { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease-out), fill .5s; }
.as-sk__dust circle.is-near { fill: #dfe8ff; transform: scale(2.2); }
.as-sk__fg { transition: transform 1.2s var(--ease-out); }
html:not([data-motion="off"]) .as-sk__dust circle:nth-child(3n) { animation: as-tw 3.4s ease-in-out infinite; }
html:not([data-motion="off"]) .as-sk__dust circle:nth-child(3n + 1) { animation: as-tw 5.2s ease-in-out -1.6s infinite; }
html:not([data-motion="off"]) .as-sk__dust circle:nth-child(5n + 2) { animation: as-tw 4.1s ease-in-out -2.8s infinite; }
@keyframes as-tw { 0%, 100% { opacity: .9; } 50% { opacity: .15; } }
/* 별 */
.as-sk__st { transition: transform 1.25s cubic-bezier(.34, 1.36, .5, 1) calc(var(--d, 0) * 55ms), opacity .6s var(--ease); }
.as-sk__hit { fill: transparent; }
.as-sk__core { fill: #fff; transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease-out), fill .4s; }
.as-sk__ring { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 1; transform-box: fill-box; transform-origin: center; transition: stroke .4s, opacity .4s, transform .6s var(--ease-out); }
.as-sk__st.is-dim { opacity: .38; }
.as-sk__st.is-dim .as-sk__core { transform: scale(.62); }
.as-sk__st.is-dim .as-sk__ring { opacity: 0; }
.as-sk__st.is-pole .as-sk__core { fill: #dfe9ff; transform: scale(1.18); }
.as-sk__st.is-pole .as-sk__ring { stroke: #6ea2ff; stroke-width: 1.6; }
/* 선: 별이 자리를 잡으면 한 획씩 그어지고, 다음 모양으로 가기 전에 옅어진다 */
.as-sk__shape { opacity: 0; transition: opacity .45s var(--ease); }
.as-sk__shape.is-on { opacity: 1; transition-duration: .2s; }
.as-sk__ln { fill: none; stroke: rgba(255, 255, 255, .66); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0s .5s; }
.as-sk__shape.is-on .as-sk__ln { stroke-dashoffset: 0; transition: stroke-dashoffset .62s var(--ease-out) calc(var(--lead, 1150ms) + var(--i, 0) * 130ms); }
.as-sk__pt { fill: none; stroke: #6ea2ff; stroke-width: 1.4; stroke-dasharray: 5 6; opacity: 0; transition: opacity .3s; }
.as-sk__lab { fill: #a9c4ff; font-size: 16px; font-weight: 650; letter-spacing: -.01em; opacity: 0; transition: opacity .3s; }
.as-sk__shape.is-on .as-sk__pt, .as-sk__shape.is-on .as-sk__lab { opacity: 1; transition: opacity .8s var(--ease) calc(var(--lead, 1150ms) + 1000ms); }
/* 직접 이어 보기 */
.as-sk.is-draw .as-sk__st { cursor: pointer; }
.as-sk.is-draw .as-sk__ring { stroke: rgba(255, 255, 255, .5); }
.as-sk__st.is-pick .as-sk__ring { stroke: #f3c969; stroke-width: 2; transform: scale(1.35); }
.as-sk__st:focus { outline: none; }
.as-sk__st:focus-visible .as-sk__ring { stroke: #fff; stroke-width: 2.4; transform: scale(1.5); }
.as-sk__mine path { fill: none; stroke: #f3c969; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; }
html:not([data-motion="off"]) .as-sk__mine path { animation: as-ln .45s var(--ease-out) both; }
@keyframes as-ln { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* 이름과 한 줄 */
.as-sk__cap { position: absolute; left: clamp(20px, 2.6vw, 36px); right: clamp(20px, 2.6vw, 36px); bottom: clamp(18px, 2.2vw, 30px); display: grid; pointer-events: none; }
.as-sk__c { grid-area: 1 / 1; align-self: end; max-width: 30em; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease-out), visibility 0s .5s; }
.as-sk__c.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .25s, transform .7s var(--ease-out) .25s, visibility 0s; }
.as-sk__name { font-size: clamp(22px, 2.1vw, 30px); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.as-sk__line { margin-top: 6px; color: rgba(255, 255, 255, .74); font-size: clamp(14.5px, 1.2vw, 16.5px); line-height: 1.6; }
/* 점 단추와 직접 이어 보기 */
.as-sk__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; }
.as-sk__dots { display: flex; gap: 2px; margin-left: -10px; }
.as-sk__dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 22px; background: none; }
.as-sk__dot i { position: relative; display: block; width: 9px; height: 9px; overflow: hidden; border-radius: 5px; background: var(--line); transition: width .35s var(--ease-out), background .3s; }
.as-sk__dot b { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.as-sk__dot:hover i { background: var(--mute); }
.as-sk__dot[aria-pressed="true"] i { width: 30px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
.as-sk__dot[aria-pressed="true"] b { transform: none; }
html:not([data-motion="off"]) .as-sk.is-auto .as-sk__dot[aria-pressed="true"] b { animation: as-fill var(--dur, 4600ms) linear both; }
@keyframes as-fill { from { transform: scaleX(0); } to { transform: none; } }
.as-sk__act { display: flex; gap: 8px; }
.as-sk__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s, background .2s; }
.as-sk__btn .as-ico { width: 18px; height: 18px; }
.as-sk__btn:hover, .as-sk__btn[aria-pressed="true"] { border-color: var(--ink-2); color: var(--ink); }
.as-sk__btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.as-sk__btn[data-sk-clear] { padding: 0 16px; }
/* 스크립트가 처음 자리를 옮길 때와 움직임을 끈 화면에서는 바로 바뀐다 */
.as-sk.is-snap .as-sk__st, .as-sk.is-snap .as-sk__ln, .as-sk.is-snap .as-sk__shape, .as-sk.is-snap .as-sk__c { transition: none; }
html[data-motion="off"] .as-sk__st, html[data-motion="off"] .as-sk__shape, html[data-motion="off"] .as-sk__ln, html[data-motion="off"] .as-sk__pt, html[data-motion="off"] .as-sk__lab,
html[data-motion="off"] .as-sk__c, html[data-motion="off"] .as-sk__dust, html[data-motion="off"] .as-sk__fg { transition: none; }

/* ── 3. 열한 개의 별: 은하와 궤도 ── (rooms7/about_story.py gx_svg, 움직임은 about-story.js 의 [data-as-orbit])
   별은 transform 으로만 옮기고, 지나간 자리의 꼬리는 궤도 길의 dashoffset 으로만 움직인다. 은하 그림은 원반 안에서 transform 회전 */
.as-gxsec { padding-bottom: clamp(64px, 7vw, 104px); }
.as-gx { position: relative; width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: clamp(8px, 2vw, 40px); }
svg.as-gx__svg { display: block; width: 100%; height: auto; overflow: visible; stroke: none; }
svg.as-gx__svg--tall { display: none; max-width: 460px; margin-inline: auto; }
@media (max-width: 899px) {
	svg.as-gx__svg--wide { display: none; }
	svg.as-gx__svg--tall { display: block; }
}
.as-gx__spin { transform-box: view-box; transform-origin: 0 0; animation: as-gxspin 320s linear infinite; animation-play-state: paused; }
.as-gx__svg.is-run .as-gx__spin { animation-play-state: running; }
@keyframes as-gxspin { to { transform: rotate(-360deg); } }
.as-gx__spin image { opacity: .95; }
.as-gx__orb { fill: none; stroke: rgba(255, 255, 255, .17); stroke-width: 1; }
.as-gx__tail { fill: none; stroke: rgba(205, 220, 255, .55); stroke-width: 1.8; stroke-linecap: round; opacity: 0; }
.as-gx__svg.is-js .as-gx__tail { opacity: 1; }
.as-gx__hit { fill: transparent; }
.as-gx__s { cursor: pointer; transition: opacity .3s var(--ease); }
.as-gx__s:focus { outline: none; }
.as-gx__core { fill: #fff; transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out); }
.as-gx__ring { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 1; transform-box: fill-box; transform-origin: center; transition: stroke .25s, transform .35s var(--ease-out); }
.as-gx__t { fill: rgba(245, 245, 247, .92); font-size: 15px; font-weight: 600; letter-spacing: -.02em; paint-order: stroke; stroke: rgba(4, 5, 10, .86); stroke-width: 4px; stroke-linejoin: round; transition: opacity .35s var(--ease), fill .25s; }
.as-gx__s.is-shy .as-gx__t { opacity: 0; }
.as-gx__s:hover .as-gx__ring, .as-gx__s.is-hot .as-gx__ring { stroke: var(--blue); stroke-width: 2; transform: scale(1.35); }
.as-gx__s:hover .as-gx__core, .as-gx__s.is-hot .as-gx__core { transform: scale(1.2); }
.as-gx__s:focus-visible .as-gx__ring { stroke: #fff; stroke-width: 2.4; transform: scale(1.5); }
.as-gx__s.is-hot .as-gx__t { opacity: 1; fill: #fff; }
.as-gx__svg.is-hot .as-gx__s:not(.is-hot) { opacity: .42; }
.as-gx__c1 { fill: #fff; }
.as-gx__c2 { fill: none; stroke: rgba(255, 255, 255, .58); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.as-gx__c3 { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.as-gx__ct { fill: rgba(255, 255, 255, .74); font-size: 13px; font-weight: 600; letter-spacing: .04em; paint-order: stroke; stroke: rgba(4, 5, 10, .86); stroke-width: 4px; stroke-linejoin: round; }
html:not([data-motion="off"]) .as-gx__c2 { animation: as-core 4.8s ease-in-out infinite; }
@keyframes as-core { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.28); opacity: .4; } }
@media (max-width: 1099px) { .as-gx__svg--wide .as-gx__t { font-size: 18px; } .as-gx__svg--wide .as-gx__ct { font-size: 15px; } }
html[data-motion="off"] .as-gx__spin { animation: none; }
.as-sky__cap { min-height: 3.5em; margin-top: clamp(18px, 2.6vw, 32px); color: var(--mute); font-size: 15.5px; line-height: 1.75; text-align: center; text-wrap: balance; }
.as-sky__cap b { color: var(--ink); font-weight: 650; }

/* ── 4. 일곱 해 반의 기록 ── */
.as-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: clamp(80px, 9vw, 132px); border-top: 1px solid var(--line); }
.as-num { min-width: 0; padding: 28px clamp(14px, 2vw, 28px) 4px 0; }
.as-num + .as-num { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line-2); }
.as-num dt { color: var(--mute); font-size: 14.5px; font-weight: 600; }
.as-num__v { display: flex; align-items: baseline; gap: 5px; margin: 16px 0 0; font-size: clamp(38px, 4.5vw, 66px); font-weight: 650; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.as-num__v span { color: var(--ink-2); font-size: .36em; font-weight: 600; letter-spacing: -.02em; }
.as-num__v .as-num__pre { margin-right: 2px; }
.as-num__s { margin: 16px 0 0; color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }
.as-wall { display: grid; grid-template-columns: minmax(0, 264px) minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); align-items: start; }
.as-wall__side { position: sticky; top: calc(var(--top-h) + 36px); }
.as-wall__cap { margin-top: 16px; color: var(--ink-2); font-size: 16px; line-height: 1.78; }
.as-facts { margin-top: 26px; border-top: 1px solid var(--line-2); }
.as-facts > div { padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.as-facts dt { color: var(--mute); font-size: 13.5px; }
.as-facts dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 6px 0 0; }
.as-facts b { font-size: 25px; font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.as-facts dd span { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.as-wall__key { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--mute); font-size: 13.5px; line-height: 1.5; }
.as-key { flex: none; width: 13px; height: 13px; border-radius: 3.5px; box-shadow: inset 0 0 0 2px var(--ink); }
/* 달력 부품(writing-graph)을 이 쪽에 맞춘다: 2019년이 위로 오게 쌓고, 칸 크기는 들어갈 폭에 맞춰 13px 까지 */
.as-wall__wg .wg__graph { display: flex; flex-direction: column-reverse; gap: 20px; }
.as-wall__wg .wg__row + .wg__row { margin-top: 0; }
.as-wall__wg.wg[data-wg-mode="wall"] .wg__row:first-child .wg__mon { display: none; }
.as-wall__wg.wg[data-wg-mode="wall"] .wg__row:nth-last-child(2) .wg__mon { display: grid; }
.as-wall__wg .wg__rowh b { font-size: 19px; }
.as-wall__wg .wg__c.as-streak { box-shadow: 0 0 0 1.5px var(--ink); }
@supports (width: 1cqw) {
	.as-wall__wg .wg__scroll { container-type: inline-size; }
	.as-wall__wg .wg__graph { --g: clamp(1px, .32cqw, 3px); --c: clamp(3px, calc((100cqw - 30px) / 54 - var(--g)), 13px); }
	.as-wall__wg .wg__mon { font-size: clamp(9.5px, 1.5cqw, 12px); }
	@container (max-width: 560px) {
		.as-wall__wg .wg__graph { --c: clamp(3px, calc(100cqw / 54 - var(--g)), 13px); }
		.as-wall__wg .wg__wk { display: none; }
		.as-wall__wg .wg__mon { margin-left: 0; }
		.as-wall__wg .wg__body { gap: 0; }
		.as-wall__wg .wg__c.as-streak { box-shadow: 0 0 0 1px var(--ink); }
	}
}
/* 화면에 들어오면 칸이 왼쪽 주부터, 2019년부터 차례로 나타난다. 부품의 움직임은 브라우저의 '움직임 줄이기'를 따르므로 이 쪽은 사이트의 움직임 단추를 따르게 따로 건다 */
html:not([data-motion="off"]) .as-wall__wg.is-hold:not(.is-seen) .wg__c { opacity: 0; animation: none; }
html:not([data-motion="off"]) .as-wall__wg.is-seen .wg__c { animation: as-cell .55s var(--ease-out) backwards; animation-delay: calc(var(--col, 0) * 8ms + var(--row, 0) * 110ms); }
.as-wall__wg .wg__row:nth-child(8) { --row: 0; } .as-wall__wg .wg__row:nth-child(7) { --row: 1; } .as-wall__wg .wg__row:nth-child(6) { --row: 2; } .as-wall__wg .wg__row:nth-child(5) { --row: 3; }
.as-wall__wg .wg__row:nth-child(4) { --row: 4; } .as-wall__wg .wg__row:nth-child(3) { --row: 5; } .as-wall__wg .wg__row:nth-child(2) { --row: 6; } .as-wall__wg .wg__row:nth-child(1) { --row: 7; }
@keyframes as-cell { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: none; } }
@media (max-width: 1359px) {
	.as-wall { grid-template-columns: minmax(0, 1fr); }
	.as-wall__side { position: static; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(28px, 4vw, 56px); }
	.as-wall__side .as-h3, .as-wall__side .as-wall__cap { grid-column: 1; }
	.as-wall__side .as-facts { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
	.as-wall__side .as-wall__key { grid-column: 1; }
}
@media (max-width: 760px) {
	.as-wall__side { display: block; }
	.as-wall__side .as-facts { margin-top: 24px; }
}

/* ── 해마다 달라진 주제 ── */
.as-data { padding-block: clamp(100px, 10vw, 156px); }
.as-tb__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px clamp(32px, 5vw, 96px); align-items: start; margin-bottom: 34px; }
.as-tb__head .as-p { max-width: 36em; }
.as-tb__keys { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.as-tb__k { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2);
	font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s, background .2s, opacity .2s; }
.as-tb__k svg { width: 10px; height: 10px; }
.as-tb__k span { color: var(--mute); font-weight: 500; font-variant-numeric: tabular-nums; }
.as-tb__k:hover, .as-tb__k.is-on, .as-tb__k[aria-pressed="true"] { border-color: var(--ink-2); background: var(--bg-2); color: var(--ink); }
.as-tb.is-hl .as-tb__k:not(.is-on) { opacity: .5; }
.as-tb__rows { display: grid; gap: 14px; }
.as-tb__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 128px; gap: 18px; align-items: center; }
.as-tb__y { color: var(--ink); font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.as-tb__track { position: relative; height: 30px; }
.as-tb__bar { display: block; width: 100%; height: 30px; overflow: visible; transform-origin: left center; }
.as-tb__bar rect { stroke: #08080a; stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: opacity .25s; }
.as-tb.is-hl .as-tb__bar rect:not(.is-on) { opacity: .13; }
.as-tb__n { display: grid; gap: 1px; min-width: 0; }
.as-tb__n b { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.as-tb__n em { overflow: hidden; color: var(--mute); font-size: 12.5px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
html:not([data-motion="off"]) .as-tb.is-armed .as-tb__bar { transform: scaleX(0); }
html:not([data-motion="off"]) .as-tb.is-armed.is-on .as-tb__bar { transform: none; transition: transform 1.2s var(--ease-out) calc(var(--i, 0) * 90ms); }

/* ── 글이 올라간 시각 ── */
.as-time { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: 36px clamp(28px, 4vw, 64px); align-items: end; margin-top: clamp(96px, 10vw, 148px); padding-top: clamp(52px, 5vw, 76px); border-top: 1px solid var(--line); }
.as-time__head { align-self: start; }
.as-time__head .as-p { margin-top: 16px; }
.as-time figure { min-width: 0; }
.as-time figcaption { margin-top: 16px; color: var(--mute); font-size: 13.5px; line-height: 1.65; }
.as-clk, .as-wk { display: block; width: 100%; height: auto; overflow: visible; }
.as-clk { max-width: 460px; margin-inline: auto; }
.as-clk__base { fill: none; stroke: var(--line); stroke-width: 1; }
.as-clk__g { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: 2 4; }
.as-clk__b { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 13; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke .2s; cursor: default; }
.as-clk__b.is-hot { stroke: var(--blue); }
.as-clk__b:hover, .as-clk__b.is-sel { stroke: #fff; }
.as-clk__l { fill: var(--ink-2); font-size: 19px; font-weight: 600; }
.as-clk__tk { fill: none; stroke: var(--mute); stroke-width: 1.5; }
.as-clk__c1 { fill: var(--ink); font-size: 34px; font-weight: 650; letter-spacing: -.03em; }
.as-clk__c2 { fill: var(--ink-2); font-size: 18px; font-variant-numeric: tabular-nums; }
html:not([data-motion="off"]) .is-armed .as-clk__b { stroke-dashoffset: 1; }
html:not([data-motion="off"]) .is-armed.is-on .as-clk__b { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-out) calc(var(--i, 0) * 40ms), stroke .2s; }
.as-wk__g { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: 2 4; }
.as-wk__gt { fill: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.as-wk__base { fill: none; stroke: var(--line); stroke-width: 1; }
.as-wk__b { fill: rgba(255, 255, 255, .36); transform-box: fill-box; transform-origin: 50% 100%; }
.as-wk__b.is-hot { fill: var(--blue); }
.as-wk__v { fill: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.as-wk__d { fill: var(--mute); font-size: 16px; font-weight: 600; }
.as-wk__v.is-hot, .as-wk__d.is-hot { fill: var(--ink); font-weight: 650; }
html:not([data-motion="off"]) .is-armed .as-wk__b { transform: scaleY(0); }
html:not([data-motion="off"]) .is-armed.is-on .as-wk__b { transform: none; transition: transform .9s var(--ease-out) calc(var(--i, 0) * 70ms); }
.as-note { margin-top: clamp(56px, 6vw, 84px); color: var(--mute); font-size: 13.5px; line-height: 1.7; }
/* 숫자로 보기: 도표의 숫자를 표로(접어 둔다) */
.as-tbl { margin-top: 28px; }
.as-tbl summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; transition: border-color .2s, color .2s; }
.as-tbl summary::-webkit-details-marker { display: none; }
.as-tbl summary:hover, .as-tbl[open] summary { border-color: var(--ink-2); color: var(--ink); }
.as-tbl summary .as-ico { width: 18px; height: 18px; }
.as-tbl__in { margin-top: 18px; padding-bottom: 6px; overflow-x: auto; }
.as-tbl table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.as-tbl th, .as-tbl td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); font-weight: 500; text-align: left; vertical-align: top; }
.as-tbl thead th { color: var(--mute); font-size: 13px; font-weight: 600; }
.as-tbl tbody th { color: var(--ink); font-weight: 650; white-space: nowrap; }
.as-tbl--hours { grid-column: 1 / -1; margin-top: 0; }
.as-tbl__two { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 0 clamp(24px, 4vw, 56px); }
@media (max-width: 560px) { .as-tbl__two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) {
	.as-time { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	.as-time__head, .as-tbl--hours { justify-self: stretch; }
	.as-time__clock { width: 100%; max-width: 520px; }
	.as-time__week { width: 100%; max-width: 480px; }
}
@media (max-width: 700px) {
	.as-time { grid-template-columns: minmax(0, 1fr); }
	.as-tb__row { grid-template-columns: 44px minmax(0, 1fr) 84px; gap: 12px; }
	.as-tb__y { font-size: 15px; }
	.as-tb__n b { font-size: 14.5px; }
	.as-tb__k { min-height: 36px; padding: 0 12px 0 11px; font-size: 13px; }
}

/* ── 5. 이렇게 쓴다 ── */
.as-rules__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 104px); align-items: start; }
.as-rules__art { order: -1; display: grid; gap: clamp(36px, 4vw, 56px); align-self: center; }
.as-rules__art img { width: 100%; height: auto; border-radius: 4px; }
.as-rules__main img { box-shadow: 0 28px 56px -32px rgba(20, 16, 8, .45); }
.as-rules__art figcaption { color: var(--mute); font-size: 13.5px; line-height: 1.65; }
.as-rules__main figcaption { margin-top: 18px; }
.as-rules__det { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 24px; align-items: end; }
.as-rules__det figcaption { max-width: 17em; justify-self: end; text-align: right; }
.as-rules__list { margin-top: clamp(34px, 4vw, 52px); border-top: 1px solid var(--line); }
.as-rule { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.as-rule .as-ico { width: 30px; height: 30px; margin-top: 1px; color: var(--blue); }
.as-rule h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.as-rule p { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 1.78; }
@media (max-width: 1000px) {
	.as-rules__grid { grid-template-columns: minmax(0, 1fr); }
	.as-rules__art { order: 2; }
}
@media (max-width: 560px) {
	.as-rules__det { grid-template-columns: minmax(0, 1fr); }
	.as-rules__det img { max-width: 72%; }
	.as-rules__det figcaption { justify-self: start; text-align: left; order: 2; }
}

/* ── 6. 스타차일드, 별의 아이 ── */
.as-me { position: relative; overflow: hidden; padding-block: clamp(112px, 12vw, 184px); }
.as-me__bg { z-index: -1; }
.as-me__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .64); }
.as-me__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(40px, 6vw, 112px); align-items: center; }
.as-me__text p { margin-top: 22px; color: var(--ink-2); font-size: clamp(17px, 1.45vw, 19px); line-height: 1.85; }
.as-me__text .as-h2 + p { margin-top: 30px; }
.as-me__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.as-me__big b { font-size: clamp(76px, 9vw, 132px); font-weight: 650; letter-spacing: -.06em; line-height: .92; font-variant-numeric: tabular-nums; }
.as-me__pre, .as-me__pct { font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -.03em; }
.as-me__what { flex-basis: 100%; margin-top: 14px; color: var(--ink-2); font-size: 16.5px; font-weight: 600; }
.as-els { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.as-el { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(10, 10, 14, .66); }
.as-el__z { grid-column: 1; grid-row: 1; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.as-el__v { grid-column: 2; grid-row: 1; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.as-el__s { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; font-size: clamp(40px, 4vw, 58px); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; }
.as-el__n { grid-column: 1 / -1; grid-row: 3; margin-top: 2px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.as-el__bar { grid-column: 1 / -1; grid-row: 4; display: block; width: 100%; height: 4px; margin-top: 14px; overflow: visible; }
.as-el__bg { fill: rgba(255, 255, 255, .13); }
.as-el__fg { fill: var(--blue); transform-box: fill-box; transform-origin: left center; }
.as-el__o { grid-column: 1 / -1; grid-row: 5; margin-top: 16px; color: var(--mute); font-size: 12.5px; }
.as-el.is-h { border-style: dashed; border-color: rgba(255, 255, 255, .26); }
.as-el.is-h .as-el__fg { fill: #e6dcc6; }
.as-el--rest { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 18px; padding: 14px 18px; }
.as-el--rest .as-el__n { grid-column: 1; grid-row: 1; margin: 0; }
.as-el--rest .as-el__bar { grid-column: 2; grid-row: 1; margin: 0; }
.as-el--rest .as-el__v { grid-column: 3; grid-row: 1; }
.as-me__cap { margin-top: 18px; color: var(--mute); font-size: 13.5px; line-height: 1.7; }
.as-me__cap a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
html:not([data-motion="off"]) .is-armed .as-el__fg { transform: scaleX(0); }
html:not([data-motion="off"]) .is-armed.is-on .as-el__fg { transform: none; transition: transform 1.2s var(--ease-out) calc(var(--i, 0) * 110ms + 200ms); }
@media (max-width: 1000px) { .as-me__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
	.as-els { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.as-el { padding: 14px 14px 16px; }
}

/* ── 7. 다음 장은 읽는 사람이 쓴다 ── */
.as-band { margin: 0 0 clamp(80px, 9vw, 128px); }
.as-band img { width: 100%; height: clamp(280px, 42vw, 660px); object-fit: cover; object-position: 50% 55%; }
.as-band figcaption { margin-top: 14px; color: var(--mute); font-size: 13.5px; line-height: 1.6; }
.as-go__h { margin-bottom: 28px; }
.as-go { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(26px, 2.6vw, 36px) clamp(14px, 1.6vw, 22px); }
.as-go__i { min-width: 0; }
.as-go__i a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-md); transition: transform .35s var(--ease-out); }
.as-go__i a:hover { transform: translateY(-4px); }
.as-go__pic { display: block; overflow: hidden; aspect-ratio: 280 / 342; border-radius: var(--r-md); background: var(--bg-2); }
.as-go__pic--paper { box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .1); }
/* 어두운 화면에서는 먹색 카드가 바탕에 묻힌다. 가는 테두리로 카드의 모서리를 보이게 한다 */
[data-theme="dark"] .as-go__pic { position: relative; }
[data-theme="dark"] .as-go__pic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); pointer-events: none; }
/* 카드 그림: 코드로 그린 플랫 포스터 한 벌(rooms7/about_cards.py). 색은 첫 화면 주제 벽과 같은 다섯 가지 */
.as-go { --q-blue: #0113b5; --q-ink: #141416; --q-paper: #f6f3ec; --q-red: #ff4b24; --q-yel: #ffc533; }
svg.as-pc { display: block; width: 100%; height: 100%; stroke: none; transition: transform .9s var(--ease-out); }
.as-pc--blue { background: var(--q-blue); } .as-pc--ink { background: var(--q-ink); } .as-pc--paper { background: var(--q-paper); }
.as-pc--red { background: var(--q-red); } .as-pc--yel { background: var(--q-yel); }
.as-pc .pf-blue { fill: var(--q-blue); } .as-pc .pf-ink { fill: var(--q-ink); } .as-pc .pf-paper { fill: var(--q-paper); } .as-pc .pf-red { fill: var(--q-red); } .as-pc .pf-yel { fill: var(--q-yel); }
.as-pc .ps-blue { fill: none; stroke: var(--q-blue); } .as-pc .ps-ink { fill: none; stroke: var(--q-ink); } .as-pc .ps-paper { fill: none; stroke: var(--q-paper); }
.as-pc .ps-red { fill: none; stroke: var(--q-red); } .as-pc .ps-yel { fill: none; stroke: var(--q-yel); }
/* 올리면 도형이 제 성격대로 조금 움직인다 */
/* 움직이는 도형에만 축을 준다. 그림 속 transform 속성(회전한 사슬 고리, 기운 저울대 같은)에는 축을 걸지 않는다(걸면 transform-origin 이 그 회전까지 옮긴다) */
.as-pc [class*="as-"] { transition: transform .7s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.as-go__i a:hover .as-pc, .as-go__i a:focus-visible .as-pc { transform: scale(1.03); }
.as-go__i a:hover .as-up, .as-go__i a:focus-visible .as-up { transform: translateY(-8px); }
.as-go__i a:hover .as-float, .as-go__i a:focus-visible .as-float { transform: translate(7px, -7px); }
.as-go__i a:hover .as-pulse, .as-go__i a:focus-visible .as-pulse { transform: scale(1.22); }
.as-go__i a:hover .as-write, .as-go__i a:focus-visible .as-write { transform: translate(-7px, 5px); }
.as-go__i a:hover .as-shoot, .as-go__i a:focus-visible .as-shoot { transform: translate(5px, -5px); }
.as-go__i a:hover .as-spin, .as-go__i a:focus-visible .as-spin { transform: rotate(48deg); }
.as-go__i a:hover .as-flick, .as-go__i a:focus-visible .as-flick { transform: scale(1.12, 1.2); }
.as-pc .as-flick { transform-origin: 50% 100%; }
.as-go__i a:hover .as-roll1, .as-go__i a:focus-visible .as-roll1 { transform: rotate(-14deg) translateX(-4px); }
.as-go__i a:hover .as-roll2, .as-go__i a:focus-visible .as-roll2 { transform: rotate(18deg) translateY(-6px); }
.as-go__i a:hover .as-slide, .as-go__i a:focus-visible .as-slide { transform: translateX(-16px); }
.as-go__i a:hover .as-ruler, .as-go__i a:focus-visible .as-ruler { transform: translateX(-10px); }
/* 축이 정해진 움직임: 바퀴는 가운데, 부채는 고리, 액자는 못, 기댄 책은 바닥 모서리를 축으로 돈다 */
.as-pc .as-wheel { transform-box: view-box; transform-origin: 146px 174px; }
.as-go__i a:hover .as-wheel, .as-go__i a:focus-visible .as-wheel { transform: rotate(30deg); }
.as-pc .as-fan { transform-box: view-box; transform-origin: 118px 300px; }
.as-go__i a:hover .as-fan1, .as-go__i a:focus-visible .as-fan1 { transform: rotate(-7deg); }
.as-go__i a:hover .as-fan2, .as-go__i a:focus-visible .as-fan2 { transform: rotate(-3deg); }
.as-go__i a:hover .as-fan3, .as-go__i a:focus-visible .as-fan3 { transform: rotate(3deg); }
.as-go__i a:hover .as-fan4, .as-go__i a:focus-visible .as-fan4 { transform: rotate(7deg); }
.as-pc .as-swing { transform-box: view-box; transform-origin: 140px 42px; }
.as-go__i a:hover .as-swing, .as-go__i a:focus-visible .as-swing { transform: rotate(-3deg); }
.as-pc .as-lean { transform-box: view-box; transform-origin: 206px 286px; }
.as-go__i a:hover .as-lean, .as-go__i a:focus-visible .as-lean { transform: rotate(-16deg); }
.as-pc .as-d1 { transition-delay: 0s; } .as-pc .as-d2 { transition-delay: .06s; } .as-pc .as-d3 { transition-delay: .12s; } .as-pc .as-d4 { transition-delay: .18s; }
html[data-motion="off"] .as-pc, html[data-motion="off"] .as-pc * { transition: none; }
.as-go__t { display: grid; gap: 6px; padding: 15px 2px 0; }
.as-go__t strong { font-size: 16.5px; font-weight: 650; letter-spacing: -.02em; }
.as-go__t span { color: var(--mute); font-size: 14px; line-height: 1.55; }
@media (max-width: 1100px) { .as-go { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.as-go { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
	.as-go__i { border-bottom: 1px solid var(--line-2); }
	.as-go__i a { flex-direction: row; align-items: center; gap: 16px; padding: 12px 0; }
	.as-go__i a:hover { transform: none; }
	.as-go__pic { flex: none; width: 76px; aspect-ratio: 1; border-radius: 12px; }
	.as-go__t { gap: 3px; padding: 0; }
}

/* ── 8. 알아 두실 것 ── */
.as-info { padding-block: clamp(64px, 7vw, 100px); }
.as-info__h { margin-bottom: 34px; }
.as-info__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.as-info__c { min-width: 0; }
.as-info__c .as-ico { width: 24px; height: 24px; color: var(--ink-2); }
.as-info__c h3 { margin-top: 14px; font-size: 16px; letter-spacing: -.015em; }
.as-info__c p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.as-info__c a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .as-info__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .as-info__grid { grid-template-columns: minmax(0, 1fr); } }

/* ── 좁은 화면 공통 ── */
@media (max-width: 900px) {
	.as-head2, .as-tb__head, .as-imag__grid { grid-template-columns: minmax(0, 1fr); }
	.as-head2 .as-p { padding-top: 0; }
	.as-imag__h { position: static; }
}
@media (max-width: 760px) {
	.as-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.as-num:nth-child(3) { padding-left: 0; border-left: 0; }
	.as-num:nth-child(n+3) { margin-top: 20px; border-top: 1px solid var(--line-2); }
	.as-num { padding-bottom: 20px; }
}

/* ── parts/ai-log.css ── */
/* AI·테크: AI 연대기 2판(2026-11-23). 위에 해를 늘어놓은 가로 줄, 아래에 고른 해의 글과 자료 한 장, 맨 아래에 접어 둔 한 줄 목록.
   짜임 rooms7/ai_log.py, 조작 parts/js/ai-log.js. 스크립트가 켜지면 .is-js 가 붙어 고른 해만 보인다(꺼져 있으면 모두 펼쳐진 목록) */
.rm-era { --n: 18; --tw: 62px; margin-top: clamp(8px, 1vw, 14px); }
.rm-era__rail { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.rm-era__rail::-webkit-scrollbar { display: none; }
.rm-era__track { min-width: calc(var(--n) * var(--tw)); }
.rm-era__ages, .rm-era__ticks { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.rm-era__age { margin: 0 5px 16px; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 13px; font-weight: 600; white-space: nowrap; }
.rm-era__age--3 { grid-column: span 3; } .rm-era__age--4 { grid-column: span 4; } .rm-era__age--11 { grid-column: span 11; } .rm-era__age--12 { grid-column: span 12; }
.rm-era__age--13 { grid-column: span 13; } .rm-era__age--14 { grid-column: span 14; } .rm-era__age--15 { grid-column: span 15; } .rm-era__age--16 { grid-column: span 16; }
.rm-era--24 { --n: 24; } .rm-era--25 { --n: 25; } .rm-era--26 { --n: 26; } .rm-era--19 { --n: 19; } .rm-era--20 { --n: 20; } .rm-era--21 { --n: 21; } .rm-era--22 { --n: 22; } .rm-era--23 { --n: 23; }   /* 해가 늘면 칸 수도 따라간다(스크립트가 꺼져 있을 때를 위해) */
.rm-era__ticks { position: relative; }
.rm-era__line { position: absolute; top: 7px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; border-radius: 1px; background: var(--line); }
.rm-era__line b { display: block; width: calc(var(--p, 0) * 100%); height: 100%; border-radius: 1px; background: var(--blue); transition: width .6s var(--ease-out); }
.rm-era__tick { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; min-height: 48px; padding: 0 0 6px; border: 0; background: none; color: var(--mute); font-size: 12.5px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; cursor: pointer; transition: color .2s; }
.rm-era__tick i { width: 16px; height: 16px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2px var(--line); transition: background .25s, box-shadow .25s, transform .25s var(--ease-out); }
.rm-era__tick:hover { color: var(--ink); } .rm-era__tick:hover i { box-shadow: inset 0 0 0 2px var(--mute); }
.rm-era__tick.is-past i { background: var(--blue); box-shadow: inset 0 0 0 5px var(--night), inset 0 0 0 16px var(--blue); }
.rm-era__tick.is-on { color: var(--ink); font-weight: 700; }
.rm-era__tick.is-on i { background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 30%, transparent); transform: scale(1.06); }
.rm-era__tick:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.rm-era__stage { margin: clamp(22px, 2.6vw, 38px) 0 0; padding: 0; list-style: none; }
.rm-era__p { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4.4vw, 72px); padding-block: 30px; border-top: 1px solid var(--line-2); }
.rm-era.is-js .rm-era__p { display: none; min-height: 476px; padding-block: 0; border-top: 0; }
.rm-era.is-js .rm-era__p.is-on { display: grid; }
.rm-era__txt { min-width: 0; }
.rm-era__when { margin: 0; font-size: clamp(48px, 6vw, 88px); font-weight: 750; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.rm-era__txt h3 { margin-top: 16px; font-size: clamp(21px, 2vw, 28px); letter-spacing: -.03em; word-break: keep-all; }
.rm-era__txt p:not(.rm-era__when) { max-width: 33em; margin: 14px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.75; word-break: keep-all; text-wrap: pretty; }
.rm-era__fig { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; min-width: 0; margin: 0; }
/* 그림 칸의 높이를 못 박지 않는다. 그림은 400px 까지만 키우고 설명이 바로 아래에 온다. 해마다 높이가 달라도 칸(.rm-era__p)의 최소 높이가 자리를 지킨다 */
.rm-era__pic { display: grid; place-items: center; width: 100%; }
.rm-era__pic img { width: auto; max-width: 100%; height: auto; max-height: 400px; border-radius: 10px; }
.rm-era__pic--paper img { background: #fff; }
.rm-era__pic--screen img { box-shadow: 0 0 0 1px var(--line); }
.rm-era__fig figcaption { max-width: 40em; color: var(--mute); font-size: 13px; line-height: 1.65; text-align: center; word-break: keep-all; text-wrap: balance; }
.rm-era__credit { display: block; margin-top: 2px; }
.rm-era__credit a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.rm-era__credit a:hover { color: var(--ink); }
.rm-era.is-js .rm-era__p.is-on .rm-era__txt > :not(.rm-era__when) { animation: era-in .55s var(--ease-out) both; }
.rm-era.is-js .rm-era__p.is-on .rm-era__txt > p:not(.rm-era__when) { animation-delay: .06s; }
.rm-era.is-js .rm-era__p.is-on .rm-era__fig { animation: era-pic .6s var(--ease-out) both; }
@keyframes era-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes era-pic { from { opacity: 0; transform: scale(.975); } }
.rm-era__nav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.rm-era__btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .2s, opacity .2s, transform .2s var(--ease-out); }
.rm-era__btn:hover { background: var(--bg-2); } .rm-era__btn:active { transform: scale(.94); }
.rm-era__btn:disabled { opacity: .35; cursor: default; }
.rm-era__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rm-era__count { min-width: 4.2em; color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; text-align: center; }
.rm-era:not(.is-js) .rm-era__nav, .rm-era:not(.is-js) .rm-era__all { display: none; }
/* 접어 둔 한 줄 목록. 줄을 누르면 위의 자료가 그해로 바뀐다 */
.rm-era__all { margin-top: 26px; border-block: 1px solid var(--line); }
.rm-era__all summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-size: 15px; font-weight: 650; cursor: pointer; list-style: none; }
.rm-era__all summary::-webkit-details-marker { display: none; }
.rm-era__all summary::after { content: ""; width: 9px; height: 9px; margin-right: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease-out); }
.rm-era__all[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.rm-era__list { margin: 0; padding: 0 0 10px; list-style: none; }
.rm-era__list button { display: grid; grid-template-columns: 84px 200px minmax(0, 1fr); align-items: baseline; gap: 18px; width: 100%; padding: 13px 2px; border: 0; border-top: 1px solid var(--line-2); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rm-era__list button:hover strong { color: var(--link); }
.rm-era__lw { color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }
.rm-era__list strong { font-size: 15.5px; letter-spacing: -.02em; transition: color .2s; }
.rm-era__ld { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; word-break: keep-all; }
/* 자유 라이선스 그림이 없는 해의 작은 도표. 숫자는 rooms7/ai_log.py 의 chart() 와 같게 둔다 */
.rm-ec { width: min(100%, 520px); padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: left; }
.rm-ec__t { margin: 0 0 18px; color: var(--mute); font-size: 13px; font-weight: 600; }
.rm-ec__bars { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rm-ec__bars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 62px; align-items: center; gap: 12px; }
.rm-ec__k { font-size: 14.5px; font-weight: 650; line-height: 1.3; } .rm-ec__k small { display: block; color: var(--mute); font-size: 12px; font-weight: 500; }
.rm-ec__bar { height: 24px; border-radius: 5px; background: var(--line-2); }
.rm-ec__bar i { display: block; min-width: 2px; height: 100%; border-radius: 5px; background: #6e6e76; transform-origin: 0 50%; }
.rm-ec__bars .is-hi .rm-ec__bar i { background: var(--blue); }
.rm-ec__v { font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.rm-ec--gpt3 li:nth-child(1) i { width: .07%; } .rm-ec--gpt3 li:nth-child(2) i { width: .86%; } .rm-ec--gpt3 li:nth-child(3) i { width: 100%; }
.rm-ec--llama li:nth-child(1) i { width: 10%; } .rm-ec--llama li:nth-child(2) i { width: 18.6%; } .rm-ec--llama li:nth-child(3) i { width: 100%; }
.rm-ec--voice li:nth-child(1) i { width: 100%; } .rm-ec--voice li:nth-child(2) i { width: 51.9%; } .rm-ec--voice li:nth-child(3) i { width: 5.9%; }
.rm-ec--o1 li:nth-child(1) i { width: 13%; } .rm-ec--o1 li:nth-child(2) i { width: 83%; }
.rm-era.is-js .rm-era__p.is-on .rm-ec__bar i { animation: ec-grow .8s var(--ease-out) both; }
.rm-era.is-js .rm-era__p.is-on .rm-ec__bars li:nth-child(2) i { animation-delay: .1s; } .rm-era.is-js .rm-era__p.is-on .rm-ec__bars li:nth-child(3) i { animation-delay: .2s; }
@keyframes ec-grow { from { transform: scaleX(0); } }
.rm-ec__cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; font-variant-numeric: tabular-nums; text-align: center; }
.rm-ec__cal li { display: grid; place-items: center; height: 27px; border-radius: 7px; color: var(--ink-2); }
.rm-ec__cal .is-h { height: 22px; color: var(--mute); font-size: 12px; }
.rm-ec__cal .is-on { background: var(--blue); color: var(--on-blue); font-weight: 700; }
.rm-ec__notes { display: grid; gap: 5px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 14px; }
.rm-ec__notes li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; word-break: keep-all; }
.rm-ec__notes b { color: var(--link); font-variant-numeric: tabular-nums; }
.rm-ec--flow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0; }
.rm-ec__col { display: grid; gap: 8px; margin: 0; padding: 0 14px 0 0; border-right: 1.5px solid var(--line); list-style: none; }   /* ai-design-ok: 흐름도에서 다섯 입력을 한 줄로 모으는 세로 이음 선 */
.rm-ec__col--out { padding: 0 0 0 14px; border-right: 0; border-left: 1.5px solid var(--line); }   /* ai-design-ok: 세 크기로 나뉘는 세로 이음 선 */
.rm-ec__col li { padding: 8px 14px; border-radius: 9px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; text-align: center; }
.rm-ec__col--out li { display: grid; gap: 1px; padding: 10px 14px; text-align: left; }
.rm-ec__col--out small, .rm-ec__hub small, .rm-ec__servers small, .rm-ec__host small { color: var(--mute); font-size: 12px; font-weight: 500; }
.rm-ec__hub { position: relative; display: grid; justify-items: center; gap: 3px; margin: 0 22px; padding: 22px 10px; border-radius: 12px; background: var(--blue); color: var(--on-blue); text-align: center; }
.rm-ec__hub b { font-size: 16px; letter-spacing: -.02em; white-space: nowrap; } .rm-ec__hub small { color: inherit; opacity: .8; word-break: keep-all; }
.rm-ec__hub::before, .rm-ec__hub::after { content: ""; position: absolute; top: 50%; width: 22px; height: 1.5px; background: var(--line); }   /* ai-design-ok: 흐름도의 이음 선 */
.rm-ec__hub::before { right: 100%; } .rm-ec__hub::after { left: 100%; }
.rm-ec--mcp { position: relative; }
.rm-ec__hostlab { margin: 0 0 12px; width: 34%; color: var(--mute); font-size: 12px; font-weight: 600; text-align: center; }
.rm-ec__pairs { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rm-ec__pairs::before { content: ""; position: absolute; inset: -34px auto -12px -10px; width: calc(34% + 20px); border: 1px solid var(--line); border-radius: 12px; pointer-events: none; }   /* ai-design-ok: AI 앱(호스트)의 테두리. 클라이언트 셋이 이 안에 있다 */
.rm-ec__pairs li { position: relative; display: grid; grid-template-columns: 34% minmax(40px, 1fr) 46%; align-items: center; }
.rm-ec__cl { padding: 10px 6px; border-radius: 9px; background: var(--blue); color: var(--on-blue); font-size: 13.5px; text-align: center; word-break: keep-all; }
.rm-ec__ln { position: relative; display: grid; place-items: center; height: 24px; }
.rm-ec__ln::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--line); }   /* ai-design-ok: 구성도의 이음 선 */
.rm-ec__ln span { position: relative; padding: 1px 7px; border-radius: 999px; background: var(--card); color: var(--link); font-size: 11.5px; font-weight: 700; font-style: normal; box-shadow: inset 0 0 0 1px var(--line); }
.rm-ec__sv { display: grid; gap: 1px; padding: 9px 12px; border-radius: 9px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.rm-ec__sv small { color: var(--mute); font-size: 12px; font-weight: 500; }
.rm-ec--tty { padding: 0; overflow: hidden; background: #0a0a0d; }
.rm-ec__ttybar { display: flex; gap: 6px; margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.rm-ec__ttybar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a41; }
.rm-ec__tty { display: grid; gap: 7px; margin: 0; padding: 18px 18px 22px; font: 500 13.5px/1.6 "Cascadia Mono", Consolas, var(--font);   /* 영문과 숫자는 고정폭, 한글은 사이트 글꼴(고정폭 한글 글꼴은 거칠어 보인다) */ color: #e8e8ed; word-break: keep-all; }
.rm-ec__ln { display: block; } .rm-ec__ln:nth-child(2) { margin-bottom: 8px; }
.rm-ec__tty .is-dim { color: #8e8e96; } .rm-ec__tty .is-me { color: #fff; font-weight: 700; } .rm-ec__tty .is-dot { color: var(--blue); }
.rm-era.is-js .rm-era__p.is-on .rm-ec__ln { animation: era-in .4s var(--ease-out) both; }
.rm-era.is-js .rm-era__p.is-on .rm-ec__ln:nth-child(2) { animation-delay: .25s; } .rm-era.is-js .rm-era__p.is-on .rm-ec__ln:nth-child(3) { animation-delay: .7s; }
.rm-era.is-js .rm-era__p.is-on .rm-ec__ln:nth-child(4) { animation-delay: 1.05s; } .rm-era.is-js .rm-era__p.is-on .rm-ec__ln:nth-child(5) { animation-delay: 1.4s; } .rm-era.is-js .rm-era__p.is-on .rm-ec__ln:nth-child(6) { animation-delay: 1.75s; }
[data-motion="off"] .rm-era *, [data-motion="off"] .rm-era *::after { animation: none !important; transition: none !important; }
@media (max-width: 900px) {
	.rm-era { --tw: 66px; }
	.rm-era__p { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.rm-era.is-js .rm-era__p { min-height: 0; }
	.rm-era__fig { order: -1; }
	.rm-era__pic img { max-height: 340px; }   /* 칸에 가로세로 비율을 주면 세로로 긴 그림에서 칸이 화면보다 넓어진다(비율이 높이에서 폭으로 옮겨 감). 그림 높이만 누른다 */
	.rm-era__txt { min-height: 15.5em; }
	.rm-era__list button { grid-template-columns: 70px minmax(0, 1fr); gap: 4px 14px; }
	.rm-era__ld { grid-column: 2; }
}
@media (max-width: 520px) {
	.rm-ec__bars li { grid-template-columns: 74px minmax(0, 1fr) 56px; gap: 9px; }
	.rm-ec__hub { margin: 0 12px; padding: 18px 6px; } .rm-ec__hub::before, .rm-ec__hub::after { width: 12px; } .rm-ec__hub b { font-size: 14.5px; }
	.rm-ec__col { padding-right: 10px; } .rm-ec__col--out { padding: 0 0 0 10px; }
	.rm-ec__col li { padding: 7px 10px; font-size: 13px; } .rm-ec__col--out li { padding: 8px 10px; }
	.rm-ec__cl { font-size: 12.5px; } .rm-ec__sv { font-size: 13px; padding: 8px 10px; }
	.rm-ec__tty { padding: 14px 14px 18px; font-size: 12px; }
}
/* 2025년 11월 ~ 2026년 9월 항목의 도표(2026-11-23) */
.rm-ec--mythos li:nth-child(1) i { width: 1.1%; } .rm-ec--mythos li:nth-child(2) i { width: 100%; }
.rm-ec--hf li:nth-child(1) i { width: 49%; } .rm-ec--hf li:nth-child(2) i { width: 15%; } .rm-ec--hf li:nth-child(3) i { width: 100%; } .rm-ec--hf li:nth-child(4) i { width: 51%; } .rm-ec--hf li:nth-child(5) i { width: 15%; }
.rm-ec--ns li:nth-child(1) i { width: 100%; } .rm-ec--ns li:nth-child(2) i { width: 19%; }
.rm-ec--mythos .rm-ec__bars li { grid-template-columns: 122px minmax(0, 1fr) 62px; }
.rm-era.is-js .rm-era__p.is-on .rm-ec__bars li:nth-child(4) i { animation-delay: .3s; } .rm-era.is-js .rm-era__p.is-on .rm-ec__bars li:nth-child(5) i { animation-delay: .4s; }
.rm-ec__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.rm-ec__stats > div { display: grid; gap: 6px; padding: 16px 18px; border-radius: 12px; background: var(--bg-2); }
.rm-ec__stats dt { color: var(--mute); font-size: 13px; font-weight: 600; }
.rm-ec__stats dd { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rm-ec__rows { display: grid; margin: 0; padding: 0; list-style: none; }
.rm-ec__rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line-2); }
.rm-ec__rows li:first-child { border-top: 0; padding-top: 0; }
.rm-ec__rows b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.rm-ec__rows span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 640px) { .rm-ec--mythos .rm-ec__bars li { grid-template-columns: 104px minmax(0, 1fr) 52px; } }

/* ── parts/ai-prompts.css ── */
/* AI: 프롬프트 보관함 2판(2026-11-23). 대괄호 자리를 칩으로, 문장 속 자리는 칸에 써 넣으면 본문이 바뀐다. 쓰임새별로 고르기. 짜임은 rooms.py 의 ai() */
.rm-pf { margin: -8px 0 22px; }
.rm-pf .rm-seg { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.rm-pf .rm-seg button.is-on { background: var(--ink); color: var(--bg); box-shadow: none; }
.rm-prompts .rm-prompt { grid-template-rows: auto minmax(0, 1fr) auto; }
.rm-prompt[hidden] { display: none; }
.rm-prompt__var { padding: 1px 6px; border-radius: 6px; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); font-weight: 650; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rm-prompt__var.is-filled { background: var(--blue); color: var(--on-blue); }
.rm-prompt__var.is-paste { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 45%, transparent); }
.rm-prompt__fill { display: grid; gap: 8px; }
.rm-prompt__fill label { display: grid; grid-template-columns: minmax(64px, auto) minmax(0, 1fr); align-items: center; gap: 10px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.rm-prompt__fill input { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; }
.rm-prompt__fill input:focus-visible { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 1px; }
.rm-prompt__note { color: var(--mute); font-size: 12.5px; line-height: 1.5; }
.rm-prompt__note b { color: var(--blue); font-weight: 650; }
.rm-prompts .rm-prompt { padding-bottom: 66px; }

/* ── parts/business.css ── */
/* 비즈니스·마케팅 7판(2026-11-23): 광고 지표 계산기, 손익분기점, 세금 달력, 시작하는 순서, 마케팅의 틀. 짜임은 rooms7/business.py */
.bz-kpi__in label, .bz-bep__in label, .bz-price__in label { display: grid; gap: 6px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bz-in { position: relative; display: block; }
.bz-in input { width: 100%; height: 46px; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color .2s var(--ease); }
.bz-in input:focus-visible { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 1px; }
.bz-in i { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--mute); font-size: 13px; font-style: normal; font-weight: 500; pointer-events: none; }
.bz-ic { width: 22px; height: 22px; }
.bz-h3 { font-size: 18px; letter-spacing: -.02em; }

/* 값 칸: 이름, 큰 숫자, 공식 */
.bz-tiles, .bz-kpi__out { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bz-tiles li, .bz-kpi__out li { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 18px 18px 16px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.bz-tiles li span, .bz-kpi__out li span { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bz-kpi__out abbr { margin-left: 4px; color: var(--mute); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.bz-tiles li b, .bz-kpi__out li b { overflow: hidden; font-size: clamp(20px, 2vw, 27px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.bz-tiles li small, .bz-kpi__out li small { color: var(--mute); font-size: 12px; line-height: 1.45; }
.bz-tiles li.is-good b, .bz-kpi__out li.is-good b { color: var(--blue); }
.bz-tiles li.is-bad b, .bz-kpi__out li.is-bad b { color: #ff6b57; }
.bz-tiles--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bz-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bz-tiles--3 li b { font-size: clamp(18px, 1.55vw, 22px); }

/* 광고 지표 계산기 */
.bz-kpi { display: grid; gap: 14px; }
.bz-kpi__in { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding: clamp(20px, 2.2vw, 28px); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.bz-kpi__res { display: grid; gap: 14px; }
.bz-kpi__out { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bz-kpi__out li { border-color: rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .035); }
.bz-kpi__gauge { display: grid; gap: 12px; padding: 22px 24px 20px; border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.bz-kpi__verdict { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; line-height: 1.5; letter-spacing: -.02em; word-break: keep-all; text-wrap: balance; }
.bz-kpi__track { position: relative; height: 12px; margin-top: 22px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.bz-kpi__track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--blue); transition: width .6s var(--ease-out), background .3s; }
.bz-kpi__track.is-bad i { background: #ff6b57; }
.bz-kpi__track b { position: absolute; top: -7px; bottom: -7px; left: 50%; width: 2px; margin-left: -1px; background: #f5f5f7; transition: left .6s var(--ease-out); }
.bz-kpi__track b span { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); color: #f5f5f7; font-size: 12px; font-weight: 600; white-space: nowrap; }
.bz-kpi__scale { display: flex; justify-content: space-between; color: var(--mute); font-size: 12px; font-variant-numeric: tabular-nums; }
[data-motion="off"] .bz-kpi__track i, [data-motion="off"] .bz-kpi__track b { transition: none; }

/* 손익분기점 */
.bz-bep { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: 20px clamp(24px, 3.4vw, 48px); align-items: start; }
.bz-bep__in { display: grid; gap: 14px; }
.bz-bep__fig { margin: 0; padding: clamp(16px, 2vw, 24px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.bz-bep__fig svg { display: block; width: 100%; height: clamp(240px, 26vw, 320px); overflow: visible; stroke: none; }
.bz-bep__fig figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--ink-2); font-size: 12.5px; }
.bz-key { display: inline-flex; align-items: center; gap: 7px; }
.bz-key::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--blue); }
.bz-key--cost::before { background: var(--ink); }
.bz-key--bep::before { width: 9px; height: 9px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2.5px var(--ink); }
.bz-key--now::before { height: 12px; width: 2px; background: var(--mute); }
.bz-bep .bz-tiles--6 { grid-column: 1 / -1; }
.bz-c-rev { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; }
.bz-c-cost { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.bz-c-axis { fill: none; stroke: var(--line); stroke-width: 1; }
.bz-c-grid { fill: none; stroke: var(--line-2); stroke-width: 1; }
.bz-c-now { fill: none; stroke: var(--mute); stroke-width: 1.4; stroke-dasharray: 3 5; }
.bz-c-loss { fill: #ff6b57; opacity: .12; } .bz-c-gain { fill: var(--blue); opacity: .12; }
.bz-c-dot { fill: var(--card); stroke: var(--ink); stroke-width: 2.6; }
.bz-c-t { fill: var(--mute); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.bz-c-lab { fill: var(--ink); font-size: 12.5px; font-weight: 650; }
.bz-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.7fr); gap: clamp(18px, 2.4vw, 32px); align-items: center; margin-top: clamp(28px, 3.2vw, 44px); padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--bg-2); }
.bz-price__head p { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.6; word-break: keep-all; }
.bz-price__in { display: grid; gap: 12px; }

/* 세금 달력 */
.bz-tax { display: grid; gap: 14px; }
.bz-tax__top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, auto); gap: 20px clamp(20px, 3vw, 44px); align-items: center; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.bz-tax__next { display: grid; gap: 6px; min-width: 0; }
.bz-tax__next span { color: var(--mute); font-size: 13px; font-weight: 600; }
.bz-tax__next b { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; word-break: keep-all; }
.bz-tax__next p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; word-break: keep-all; }
.bz-tax__d { color: var(--blue); font-size: clamp(40px, 5vw, 68px); font-weight: 750; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bz-tax__side { display: grid; gap: 14px; justify-items: start; }
.bz-tax__every { display: flex; align-items: flex-start; gap: 10px; max-width: 250px; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; word-break: keep-all; }
.bz-tax__every .bz-ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--mute); }
.bz-tax__every b { color: var(--ink); font-weight: 650; }
.bz-tax__year { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bz-tax__m { min-width: 0; padding: 18px 18px 16px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.bz-tax__m.is-now { border-color: var(--ink); }
.bz-tax__m h3 { display: flex; align-items: baseline; gap: 8px; font-size: 16px; letter-spacing: -.02em; }
.bz-tax__m.is-now h3::after { content: "이번 달"; color: var(--mute); font-size: 12px; font-weight: 600; }
.bz-tax__m ul { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.bz-tax__m li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 10px; }
.bz-tax__m li[hidden] { display: none; }
.bz-tax__m time { grid-row: span 2; color: var(--ink-2); font-size: 13.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bz-tax__m strong { font-size: 14.5px; font-weight: 650; line-height: 1.4; word-break: keep-all; }
.bz-tax__m small { color: var(--mute); font-size: 12.5px; line-height: 1.5; word-break: keep-all; }
.bz-tax__m li.is-next time, .bz-tax__m li.is-next strong { color: var(--blue); }
.bz-tax__m .bz-tax__none, .bz-tax__m.is-empty ul::after { display: block; color: var(--mute); font-size: 13px; }
.bz-tax__m.is-empty ul::after { content: "매달 10일 원천세 말고는 큰 신고 기한이 없는 달"; }

/* 사업을 시작하는 순서: 8판부터 단계마다 실사 사진(위)과 글(아래) */
.bz-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.bz-step { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); transition: transform .35s var(--ease-out), border-color .25s; }
.bz-step:hover { transform: translateY(-3px); border-color: var(--ink); }
.bz-step__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.bz-step__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.bz-step:hover .bz-step__pic img { transform: scale(1.04); }
.bz-step__body { position: relative; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(20px, 2.2vw, 28px); }
.bz-step__n { position: absolute; top: clamp(22px, 2.4vw, 30px); right: clamp(20px, 2.2vw, 28px); color: var(--mute); font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bz-step h3 { display: flex; align-items: center; gap: 12px; padding-right: 32px; font-size: 19px; letter-spacing: -.025em; }
.bz-step__ic { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--bg-2); color: var(--ink); }
.bz-step__ic .bz-ic { width: 20px; height: 20px; }
.bz-step p { margin-bottom: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; word-break: keep-all; text-wrap: pretty; }
.bz-step__go { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin-top: auto; padding: 0 14px 0 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13.5px; font-weight: 600; transition: border-color .2s, background .2s; }
.bz-step__go:hover { border-color: var(--ink); background: var(--bg-2); }
.bz-step__go .rm-ico { width: 20px; height: 20px; border-radius: 5px; }
[data-motion="off"] .bz-step, [data-motion="off"] .bz-step__pic img { transition: none; }
[data-motion="off"] .bz-step:hover .bz-step__pic img { transform: none; }

/* 마케팅의 틀 */
.bz-frs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bz-fr { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 22px 22px 20px; border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); transition: background .25s, border-color .25s, transform .35s var(--ease-out); }
.bz-fr:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); transform: translateY(-3px); }
.bz-fr__d { display: block; margin-bottom: 10px; }
.bz-fr__d svg { display: block; width: 72px; height: 44px; color: #f5f5f7; stroke-width: 1.5; }
.bz-fr h3 { font-size: 19px; letter-spacing: -.02em; }
.bz-fr__sub { color: var(--mute); font-size: 12.5px; line-height: 1.5; }
.bz-fr p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; word-break: keep-all; }
.bz-fr .bz-fr__when { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .09); color: var(--mute); font-size: 13px; }
.bz-fr__when::before { content: "쓸 때"; margin-right: 8px; color: #f5f5f7; font-weight: 650; }
[data-motion="off"] .bz-fr { transition: none; }

@media (max-width: 1100px) {
	.bz-kpi__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-tiles--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bz-price .bz-tiles--3 { grid-column: 1 / -1; }
	.bz-tax__year { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-frs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-tax__top { grid-template-columns: minmax(0, 1fr) auto; } .bz-tax__side { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
}
@media (max-width: 760px) {
	.bz-bep { grid-template-columns: minmax(0, 1fr); }
	.bz-kpi__in, .bz-bep__in, .bz-kpi__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-tiles--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-price { grid-template-columns: minmax(0, 1fr); } .bz-price__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-tiles--3 { grid-template-columns: minmax(0, 1fr); }
	.bz-tax__top { grid-template-columns: minmax(0, 1fr); } .bz-tax__side { grid-template-columns: minmax(0, 1fr); }
	.bz-tax__year, .bz-steps, .bz-frs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-step__body, .bz-fr { padding: 18px 16px; }
	.bz-step__n { top: 18px; right: 16px; }
	.bz-tax__m { padding: 16px 14px; }
}
@media (max-width: 480px) { .bz-tax__m li { grid-template-columns: 34px minmax(0, 1fr); } }

/* ── 8판(2026-11-23): 사진 띠, 숫자로 본 창업, 수수료와 과세 유형 표, 매출 100만 원, 열두 달 현금흐름, 창업 전 점검표 ── */

/* 사진 띠: 화면 폭을 다 쓰는 실사 한 장 위에 관점이 있는 한 줄. 들어올 때 사진이 천천히 제자리로 물러난다 */
.bz-shot { position: relative; isolation: isolate; display: grid; min-height: clamp(440px, 46vw, 660px); overflow: hidden; background: #0c0c0e; color: #f5f5f7; }
.bz-shot__pic { position: absolute; inset: 0; z-index: -1; }
.bz-shot__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 2.2s var(--ease-out); }
.bz-shot.is-wait .bz-shot__pic img { transform: scale(1.08); }
.bz-shot__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 6, 8, .86) 0%, rgba(6, 6, 8, .55) 42%, rgba(6, 6, 8, .2) 100%); /* ai-design-ok: 사진 위 글자가 읽히도록 아래쪽을 어둡게 까는 막 */ }
.bz-shot__txt { align-self: end; padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 88px); }
.bz-shot__h { max-width: 16em; font-size: clamp(30px, 4.3vw, 60px); font-weight: 700; line-height: 1.18; letter-spacing: -.04em; word-break: keep-all; text-wrap: balance; }
.bz-shot__p { max-width: 36em; margin-top: 18px; color: rgba(245, 245, 247, .84); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; word-break: keep-all; text-wrap: balance; }
.bz-shot--pack .bz-shot__pic img { object-position: 50% 58%; }
.bz-shot--counter .bz-shot__pic img { object-position: 50% 55%; }
.bz-shot--market .bz-shot__pic img { object-position: 50% 42%; }
.bz-shot :focus-visible { outline-color: #fff; }
[data-motion="off"] .bz-shot__pic img { transform: none; transition: none; }

/* 숫자로 본 창업: 큰 숫자 넷과 생존율 막대 */
.bz-num { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
/* 이름표가 두 줄로 접히는 칸이 있어도 같은 줄의 큰 숫자가 같은 높이에 오게 칸 안 세 줄을 subgrid 로 맞춘다 */
.bz-num__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 14px; margin: 0; padding: 0; list-style: none; }
.bz-num__list li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; align-content: start; min-width: 0; padding: clamp(20px, 2.2vw, 28px); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.bz-num__k { color: var(--ink-2); font-size: 14.5px; font-weight: 600; line-height: 1.45; word-break: keep-all; }
.bz-num__v { display: flex; flex-wrap: wrap; align-items: baseline; align-self: end; gap: 2px 6px; }
.bz-num__v b { font-size: clamp(44px, 4.9vw, 70px); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.bz-num__v span { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; }
.bz-num__list li:nth-child(2) .bz-num__v b { color: var(--blue); }
.bz-num__list small { color: var(--mute); font-size: 12.5px; line-height: 1.5; word-break: keep-all; }
.bz-surv { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: clamp(22px, 2.4vw, 30px); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.bz-surv figcaption p { margin-top: 8px; color: var(--mute); font-size: 13.5px; line-height: 1.6; word-break: keep-all; text-wrap: pretty; }
.bz-surv__bars { display: grid; gap: 13px; margin: auto 0 0; padding: 0; list-style: none; }
.bz-surv__bars li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) 3.6em; align-items: center; gap: 14px; }
.bz-surv__bars span { color: var(--ink-2); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bz-surv__bars svg { display: block; width: 100%; height: 24px; overflow: visible; stroke: none; }
.bz-surv__bg { fill: rgba(255, 255, 255, .06); }
.bz-surv__v { fill: #8e8e96; transform-box: fill-box; transform-origin: 0 50%; transition: transform 1.1s var(--ease-out); }
.bz-surv__bars li.is-key .bz-surv__v { fill: var(--blue); }
.bz-surv__bars line { stroke: rgba(255, 255, 255, .42); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.bz-surv__bars b { font-size: 15px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.bz-surv__bars li.is-key b, .bz-surv__bars li.is-key span { color: var(--blue); }
.bz-surv.is-wait .bz-surv__v { transform: scaleX(0); }
.bz-surv__bars li:nth-child(2) .bz-surv__v { transition-delay: .06s; } .bz-surv__bars li:nth-child(3) .bz-surv__v { transition-delay: .12s; }
.bz-surv__bars li:nth-child(4) .bz-surv__v { transition-delay: .18s; } .bz-surv__bars li:nth-child(5) .bz-surv__v { transition-delay: .24s; }
.bz-surv__bars li:nth-child(6) .bz-surv__v { transition-delay: .3s; } .bz-surv__bars li:nth-child(7) .bz-surv__v { transition-delay: .36s; }
[data-motion="off"] .bz-surv__v { transform: none; transition: none; }

/* 표(수수료, 과세 유형, 달마다 숫자). 좁은 화면에서는 수수료·과세 유형 표가 줄마다 한 장씩 쌓인다 */
.bz-tbl { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.bz-tbl table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.bz-tbl th, .bz-tbl td { padding: 16px 18px; border-top: 1px solid var(--line-2); text-align: left; vertical-align: top; word-break: keep-all; }
.bz-tbl thead th { border-top: 0; background: var(--bg-2); color: var(--ink-2); font-size: 13px; font-weight: 650; white-space: nowrap; }
.bz-tbl tbody th { color: var(--ink); font-weight: 650; }
.bz-tbl td { color: var(--ink-2); }
.bz-tbl--fee tbody th a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.bz-tbl--fee tbody th a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.bz-tbl--fee .rm-ico { flex: none; width: 24px; height: 24px; border-radius: 6px; }
.bz-tbl--fee th:first-child { width: 20%; } .bz-tbl--fee td:nth-child(2) { width: 18%; } .bz-tbl--fee td:nth-child(4) { width: 8%; white-space: nowrap; } .bz-tbl--fee td:nth-child(5) { width: 15%; }
.bz-tbl .bz-tbl__rate { color: var(--ink); }
.bz-tbl__rate b { font-weight: 700; font-variant-numeric: tabular-nums; }
.bz-nw { white-space: nowrap; }
.bz-tbl--vat table { table-layout: fixed; }
.bz-tbl--vat thead th:first-child { width: 13%; }
.bz-tbl--vat thead th { color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.bz-tbl--vat thead th small { display: block; margin-top: 2px; color: var(--mute); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.bz-tbl--vat td { font-size: 14px; text-wrap: pretty; }
.bz-tbl--vat td[colspan] { background: var(--bg-2); }

/* 매출 100만 원이 가는 곳 */
.bz-won { display: grid; gap: 16px; }
.bz-won__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 290px); align-items: end; gap: 20px clamp(24px, 4vw, 56px); padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.bz-won__big > span { color: var(--mute); font-size: 14px; font-weight: 600; }
.bz-won__big b { display: block; margin-top: 8px; color: var(--blue); font-size: clamp(46px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.bz-won__big.is-bad b { color: #e0442f; }
.bz-won__big p { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.6; word-break: keep-all; }
.bz-won__rev { display: grid; gap: 6px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bz-won__bar { display: flex; height: 68px; overflow: hidden; border-radius: 16px; background: var(--card); }
.bz-won__bar i { display: flex; flex: none; align-items: center; justify-content: center; width: var(--w, 0%); min-width: 0; overflow: hidden; background: var(--c); color: var(--t); font-size: 13px; font-style: normal; font-weight: 650; white-space: nowrap; transition: width .5s var(--ease-out); }
.bz-won__bar i span { padding: 0 6px; }
.bz-won__bar i.is-narrow span { display: none; }
.bz-sw--cost { --c: #1d1d1f; --t: #fff; } .bz-sw--rent { --c: #3a3a3f; --t: #fff; } .bz-sw--labor { --c: #5b5b61; --t: #fff; }
.bz-sw--ad { --c: #86868c; --t: #111; } .bz-sw--fee { --c: #ababb0; --t: #111; } .bz-sw--tax { --c: #cdcdd2; --t: #111; } .bz-sw--left { --c: var(--blue); --t: var(--on-blue); }
[data-theme="dark"] .bz-sw--cost { --c: #f5f5f7; --t: #111; } [data-theme="dark"] .bz-sw--rent { --c: #d2d2d7; --t: #111; } [data-theme="dark"] .bz-sw--labor { --c: #a7a7ad; --t: #111; }
[data-theme="dark"] .bz-sw--ad { --c: #7a7a80; --t: #fff; } [data-theme="dark"] .bz-sw--fee { --c: #55555b; --t: #fff; } [data-theme="dark"] .bz-sw--tax { --c: #3b3b41; --t: #fff; }
.bz-won__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bz-won__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lab out" "rng rng" "amt amt"; align-items: center; gap: 10px 12px; min-width: 0; padding: 18px 18px 16px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.bz-won__rows label { grid-area: lab; display: grid; grid-template-columns: 12px minmax(0, 1fr); align-items: center; gap: 2px 10px; min-width: 0; cursor: pointer; }
.bz-sw { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.bz-won__rows strong { font-size: 15px; font-weight: 650; }
.bz-won__rows small { grid-column: 2; color: var(--mute); font-size: 12.5px; line-height: 1.4; word-break: keep-all; }
.bz-won__rows output { grid-area: out; align-self: start; font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bz-won__rows input[type="range"] { grid-area: rng; width: 100%; height: 28px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.bz-won__amt { grid-area: amt; color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
[data-motion="off"] .bz-won__bar i { transition: none; }

/* 열두 달 현금흐름(검정 바탕) */
.bz-cash { display: grid; gap: 14px; }
.bz-cash__in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: clamp(20px, 2.2vw, 28px); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.bz-cash__in label { display: grid; gap: 6px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bz-cash__out { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bz-cash__out li { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 20px 20px 18px; border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.bz-cash__out span { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bz-cash__out b { overflow: hidden; font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.bz-cash__out small { color: var(--mute); font-size: 12.5px; line-height: 1.5; word-break: keep-all; }
.bz-cash__out li.is-good b { color: var(--blue); }
.bz-cash__out li.is-bad b { color: #ff6b57; }
.bz-cash__fig { margin: 0; padding: clamp(18px, 2.2vw, 28px); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.bz-cash__read { min-height: 3.2em; margin-bottom: 14px; color: #f5f5f7; font-size: clamp(15px, 1.4vw, 17px); font-weight: 600; line-height: 1.6; letter-spacing: -.01em; word-break: keep-all; font-variant-numeric: tabular-nums; }
.bz-cash__fig svg { display: block; width: 100%; height: clamp(320px, 30vw, 400px); overflow: visible; stroke: none; touch-action: pan-y; cursor: crosshair; }
.bz-cash__fig figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px; color: var(--ink-2); font-size: 12.5px; }
.bz-key--bal::before { height: 3px; background: #f5f5f7; }
.bz-key--in::before { width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }
.bz-key--out::before { width: 10px; height: 10px; border-radius: 2px; background: #6b6b72; }
.bz-cash__be { margin-left: auto; color: var(--mute); font-variant-numeric: tabular-nums; }
.bz-cf-grid { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.bz-cf-axis { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.bz-cf-zero { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1; stroke-dasharray: 3 5; }
.bz-cf-bal { fill: none; stroke: #f5f5f7; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s; }
.bz-cf-dot { fill: #000; stroke: #f5f5f7; stroke-width: 2; transition: opacity .4s .9s; }
.bz-cf-dot.is-neg { stroke: #ff6b57; }
.bz-cf-bar { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .9s var(--ease-out); }
.bz-cf-in { fill: var(--blue); }
.bz-cf-out { fill: #6b6b72; }
.bz-cf-hot { fill: rgba(255, 255, 255, .055); }
.bz-cf-guide { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.bz-cf-t { fill: var(--mute); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.bz-cf-lab { fill: var(--ink-2); font-size: 12.5px; font-weight: 650; }
.bz-cash.is-wait .bz-cf-bal, .bz-cash.is-wait .bz-cf-dot { opacity: 0; }
.bz-cash.is-wait .bz-cf-bar { transform: scaleY(0); }
[data-motion="off"] .bz-cf-bar, [data-motion="off"] .bz-cf-dot, [data-motion="off"] .bz-cf-bal { transition: none; }
.bz-cash__tbl { border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.bz-cash__tbl summary { padding: 16px 20px; color: var(--ink); font-size: 14px; font-weight: 650; cursor: pointer; }
.bz-cash__tbl[open] { padding-bottom: 18px; }
.bz-cash__tbl:not([open]) .bz-tbl { display: none; }   /* 닫힌 details 안의 표가 상자로 잡혀 아래 사진 띠 글자와 붙은 것으로 재였다 */
.bz-cash__tbl .bz-tbl { margin: 0 18px; overflow-x: auto; border-color: rgba(255, 255, 255, .09); background: transparent; }
@media (max-width: 560px) { .bz-cash__tbl .bz-tbl { margin: 0 12px; } .bz-cash__tbl th, .bz-cash__tbl td { padding: 9px 10px; font-size: 13px; } }
.bz-cash__tbl .bz-tbl thead th { background: rgba(255, 255, 255, .05); }
.bz-cash__tbl th, .bz-cash__tbl td { padding: 10px 14px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bz-cash__tbl th:first-child { text-align: left; }
.bz-cash__tbl .is-neg { color: #ff6b57; }

/* 창업 전 점검표 */
.bz-ck { display: grid; gap: 16px; }
.bz-ck__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.bz-ck__ring { position: relative; width: 88px; height: 88px; }
.bz-ck__ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.bz-ck__track { fill: none; stroke: var(--line-2); stroke-width: 6; }
.bz-ck__fill { fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 169.65; stroke-dashoffset: 169.65; transition: stroke-dashoffset .7s var(--ease-out); }
.bz-ck__ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bz-ck__sum b { display: block; font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.025em; }
.bz-ck__sum span { display: block; margin-top: 6px; color: var(--mute); font-size: 14.5px; line-height: 1.5; word-break: keep-all; }
.bz-ck__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bz-ck__list li { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; padding: 18px 18px 16px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); transition: border-color .25s, background .25s; }
.bz-ck__list li.is-done { border-color: var(--blue); }
.bz-ck__list label { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 12px; cursor: pointer; }
.bz-ck__list input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.bz-ck__box { display: grid; place-items: center; width: 26px; height: 26px; border: 1.6px solid var(--line); border-radius: 8px; background: var(--card); transition: background .2s, border-color .2s; }
.bz-ck__box svg { width: 16px; height: 16px; fill: none; stroke: var(--on-blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .3s var(--ease-out); }
.bz-ck__list input:checked + .bz-ck__box { border-color: var(--blue); background: var(--blue); }
.bz-ck__list input:checked + .bz-ck__box svg { stroke-dashoffset: 0; }
.bz-ck__list input:focus-visible + .bz-ck__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.bz-ck__t strong { display: block; color: var(--ink); font-size: 15.5px; font-weight: 650; line-height: 1.4; word-break: keep-all; transition: color .2s; }
.bz-ck__t small { display: block; margin-top: 4px; color: var(--mute); font-size: 13px; line-height: 1.5; word-break: keep-all; }
.bz-ck__list input:checked ~ .bz-ck__t strong { color: var(--mute); }
.bz-ck__go { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; height: 34px; margin-left: 38px; padding: 0 13px 0 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 13px; font-weight: 600; transition: border-color .2s, background .2s; }
.bz-ck__go:hover { border-color: var(--ink); background: var(--bg-2); color: var(--ink); }
.bz-ck__go .bz-ic, .bz-ck__go .rm-ico { flex: none; width: 18px; height: 18px; border-radius: 4px; }
[data-motion="off"] .bz-ck__fill, [data-motion="off"] .bz-ck__box svg { transition: none; }

/* 사진 출처 한 줄(자료실 끝) */
.bz-credit { margin-top: clamp(28px, 3vw, 40px); }
.bz-credit a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

@media (max-width: 1100px) {
	.bz-num { grid-template-columns: minmax(0, 1fr); }
	.bz-won__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-cash__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-cash__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-ck__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-tbl--fee th:first-child { width: 24%; }
}
@media (max-width: 760px) {
	.bz-shot { min-height: 480px; }
	.bz-shot__h { font-size: clamp(28px, 7.4vw, 36px); }
	.bz-num__list li { padding: 18px 16px; }
	.bz-num__v b { font-size: clamp(32px, 9vw, 44px); }
	.bz-num__v span { font-size: 15px; }
	.bz-won__top { grid-template-columns: minmax(0, 1fr); }
	.bz-won__bar { height: 52px; }
	.bz-cash__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-cash__in label:last-child { grid-column: 1 / -1; }
	.bz-cash__out li { padding: 16px; }
	.bz-cash__be { margin-left: 0; }
	.bz-ck__head { grid-template-columns: auto minmax(0, 1fr); }
	.bz-ck__head .rm-btn { grid-column: 1 / -1; justify-self: start; }
	/* 수수료와 과세 유형 표: 줄마다 한 장씩, 칸 이름을 앞에 */
	.bz-tbl--fee, .bz-tbl--vat { overflow: visible; border: 0; background: transparent; }
	.bz-tbl--fee table, .bz-tbl--vat table, .bz-tbl--fee tbody, .bz-tbl--vat tbody, .bz-tbl--fee tr, .bz-tbl--vat tr { display: block; width: auto; }
	.bz-tbl--fee th, .bz-tbl--vat th, .bz-tbl--fee td, .bz-tbl--vat td { display: block; width: auto; }
	.bz-tbl--fee th:first-child, .bz-tbl--fee td:nth-child(n) { width: auto; }
	.bz-tbl--fee thead, .bz-tbl--vat thead { display: none; }
	.bz-tbl--fee tr, .bz-tbl--vat tr { margin-bottom: 12px; padding: 18px 16px 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
	.bz-tbl--fee th, .bz-tbl--vat th { padding: 0 0 14px; border: 0; font-size: 16px; }
	.bz-tbl--fee td, .bz-tbl--vat td, .bz-tbl--vat td[colspan] { padding: 10px 0; border-top: 1px solid var(--line-2); background: transparent; text-align: left; white-space: normal; }
	.bz-tbl--fee td::before, .bz-tbl--vat td::before { content: attr(data-h); display: block; margin-bottom: 2px; color: var(--mute); font-size: 12px; font-weight: 600; }
	/* 수수료 카드는 짧게: 무엇에는 이름 밑 한 줄, 부가세와 기준은 나란히 */
	.bz-tbl--fee tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 16px; }
	.bz-tbl--fee th, .bz-tbl--fee td:nth-child(2), .bz-tbl--fee td:nth-child(3) { grid-column: 1 / -1; }
	.bz-tbl--fee td:nth-child(2) { padding: 0 0 10px; border-top: 0; color: var(--mute); font-size: 13px; }
	.bz-tbl--fee td:nth-child(2)::before { content: none; }
	.bz-tbl--fee th { padding-bottom: 4px; }
}
@media (max-width: 560px) {
	.bz-won__rows, .bz-ck__list { grid-template-columns: minmax(0, 1fr); }
	.bz-won__rows li { padding: 14px 16px 12px; }
	.bz-won__rows small { display: none; }
	.bz-ck__ring { width: 72px; height: 72px; }
	/* 점검표: 한 줄에 체크와 할 일, 오른쪽에 아이콘 단추 하나(이름은 화면 읽기용으로 남긴다) */
	.bz-ck__list { gap: 8px; }
	.bz-ck__list li { flex-direction: row; align-items: center; gap: 12px; padding: 14px 12px 14px 14px; }
	.bz-ck__list label { flex: 1; min-width: 0; }
	.bz-ck__go { flex: none; justify-content: center; width: 40px; height: 40px; margin-left: 0; padding: 0; }
	.bz-ck__go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.bz-ck__go .bz-ic, .bz-ck__go .rm-ico { width: 20px; height: 20px; }
	/* 사업을 시작하는 순서: 휴대폰에서는 옆으로 넘기는 카드(다음 카드 끝이 보이게) */
	.bz-steps { grid-template-columns: none; grid-auto-columns: 84%; grid-auto-flow: column; gap: 12px; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
	.bz-steps::-webkit-scrollbar { display: none; }
	.bz-step { scroll-snap-align: start; }
	.bz-step:hover { transform: none; }
}

/* ── parts/crypto-halving.css ── */
/* 디지털자산 쪽 '다음 반감기까지' 아래(2026-11-23 사용자: "다음 반감기까지 아래에 뭔가 더 요소가 추가되면 좋을 거 같음. 이 섹션 마음에 드는데 요소가 적어서 아쉽군").
   반감기 카드 밑에 보상이 줄어 온 계단을 두어 왼쪽 시가총액 지도와 높이를 맞추고, 두 칸 아래에 발행 현황 네 칸을 더한다. 값은 library.js 의 halving 이 블록 높이에서 계산한다. 짜임 rooms3.py */
.rm-halvcol { display: flex; flex-direction: column; }
.rm-halvcol > .rm-halv { flex: none; }
/* 보상 계단: 한 단이 앞 단의 절반 높이다. 지난 단은 회색, 지금 단은 비트코인 주황, 다음 단은 점선 */
.rm-hvs { display: flex; flex: 1; flex-direction: column; gap: 14px; margin-top: 16px; padding: 22px 26px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-hvs__h { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.rm-hvs ol { display: grid; flex: 1; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 10px; min-height: 124px; }
.rm-hvs li { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 3px; height: 100%; text-align: center; }
.rm-hvs li i { align-self: end; display: block; width: 100%; min-height: 4px; border-radius: 6px 6px 2px 2px; background: #3a3a41; transition: height .9s var(--ease), background .3s; }
.rm-hvs li:nth-child(1) i { height: 100%; }
.rm-hvs li:nth-child(2) i { height: 50%; }
.rm-hvs li:nth-child(3) i { height: 25%; }
.rm-hvs li:nth-child(4) i { height: 12.5%; }
.rm-hvs li:nth-child(5) i { height: 6.25%; }
.rm-hvs li:nth-child(6) i { height: 3.125%; }
.rm-hvs li b { margin-top: 6px; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.rm-hvs li span { color: var(--mute); font-size: 12px; white-space: nowrap; }
.rm-hvs li.is-now i { background: #f7931a; }
.rm-hvs li.is-now b { color: #f7931a; }
.rm-hvs li.is-next i { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.rm-hvs li.is-next b, .rm-hvs li.is-next span { color: var(--ink-2); }
.rm-hvs .lp-small { margin: 0; }
/* 발행 현황 네 칸 */
.rm-btcnet__wrap { margin-top: clamp(20px, 2.4vw, 32px); }
.rm-btcnet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rm-btcnet > div { display: grid; align-content: start; gap: 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-btcnet dt { color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.rm-btcnet__n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0; }
.rm-btcnet__n b { font-size: clamp(24px, 2.5vw, 34px); font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1.1; }
.rm-btcnet__n span { color: var(--mute); font-size: 13px; font-weight: 600; }
.rm-btcnet__s { margin: 0; color: var(--mute); font-size: 13px; line-height: 1.55; word-break: keep-all; }
.rm-btcnet__bar { display: block; height: 6px; margin-bottom: 9px; overflow: hidden; border-radius: 999px; background: #2a2a30; }
.rm-btcnet__bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: #f7931a; transition: width 1.2s var(--ease); }
.rm-btcnet__wrap .lp-small { margin-top: 14px; }
[data-motion="off"] .rm-hvs li i, [data-motion="off"] .rm-btcnet__bar i { transition: none; }
/* 두 칸으로 나란할 때: 왼쪽 시가총액 지도 카드가 오른쪽(반감기 + 계단)과 같은 높이까지 내려오고, 도넛과 숫자를 그만큼 키운다 */
@media (min-width: 1001px) {
	.rm-split--dom > div:first-child { display: flex; flex-direction: column; }
	.rm-split--dom > div:first-child > .rm-dom { flex: 1; grid-template-columns: 232px minmax(0, 1fr); align-content: space-between; row-gap: 26px; padding: 30px; }
	.rm-split--dom .rm-dom__c b { font-size: 32px; }
	.rm-split--dom .rm-dom__c span { font-size: 12.5px; }
	.rm-split--dom .rm-dom__list { gap: 15px 18px; font-size: 13.5px; }
	.rm-split--dom .rm-dom__kpi { gap: 10px; }
	.rm-split--dom .rm-dom__kpi li { gap: 5px; padding: 16px 14px; }
	.rm-split--dom .rm-dom__kpi b { font-size: 18px; }
}
@media (max-width: 980px) { .rm-btcnet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.rm-hvs { padding: 18px 16px 16px; }
	.rm-hvs ol { gap: 6px; min-height: 130px; }
	.rm-hvs li b { font-size: 13px; }
	.rm-hvs li span { font-size: 10.5px; letter-spacing: -.03em; }
	.rm-btcnet { gap: 10px; }
	.rm-btcnet > div { padding: 16px 14px; }
}

/* ── parts/culture-books.css ── */
/* 교양: 원문으로 읽는 고전 3판(2026-11-23). 천 장정 표지와 책마다의 쪽. 짜임 rooms7/culture_books.py
   명조: Noto Serif KR(SIL OFL)에서 쓰는 글자만 추린 것. 제목용 700, 인용문용 500(tools/font_subset.py) */
@font-face { font-family: "LP Serif"; src: url("/fonts/serif-kr-title.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "LP Serif"; src: url("/fonts/serif-kr-text.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
.bk-sec, .bk-page { --serif: "LP Serif", "Noto Serif KR", "Nanum Myeongjo", "Batang", serif; --foil: #f1e6cc; }

/* 표지: 장정 색 하나, 위에 그림 판, 아래에 제목. --cloth 는 책마다 다르다 */
.bk-cover { --cloth: #1d1d20; position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); aspect-ratio: 2 / 3; padding: 8% 8% 0; border-radius: 3px 9px 9px 3px; background: var(--cloth); color: var(--foil);
	box-shadow: inset 6px 0 0 rgba(0, 0, 0, .22), inset 7px 0 0 rgba(255, 255, 255, .06), 0 16px 30px -14px rgba(0, 0, 0, .45); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease); }
.bk-cover--navy { --cloth: #1b2a4a; } .bk-cover--green { --cloth: #1f3a2d; } .bk-cover--wine { --cloth: #5b1f29; } .bk-cover--brown { --cloth: #4a3323; } .bk-cover--teal { --cloth: #2b4753; } .bk-cover--ochre { --cloth: #7a5a2a; }
.bk-cover::after { content: ""; position: absolute; inset: 3.4% 3.4% 3.4% 5.4%; border: 1px solid color-mix(in srgb, var(--foil) 34%, transparent); border-radius: 2px; pointer-events: none; }   /* ai-design-ok: 표지 가장자리의 박 테두리(책 장정) */
.bk-cover__plate { position: relative; display: block; aspect-ratio: 1 / 1.06; overflow: hidden; box-shadow: 0 0 0 1px color-mix(in srgb, var(--foil) 70%, transparent), 0 0 0 4px var(--cloth), 0 0 0 5px color-mix(in srgb, var(--foil) 38%, transparent); }
.bk-cover__plate img { width: 100%; height: 100%; object-fit: cover; }
.bk-cover__ttl { display: grid; align-content: center; justify-items: center; gap: 7px; padding: 6% 0 8%; text-align: center; }
.bk-cover__ttl b { font-family: var(--serif); font-size: clamp(15px, 1.5vw, 21px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; word-break: keep-all; text-wrap: balance; }
.bk-cover__ttl i { font-style: normal; font-size: clamp(10px, .82vw, 11.5px); letter-spacing: .01em; opacity: .76; word-break: keep-all; }
.bk-cover--lg .bk-cover__ttl b { font-size: clamp(22px, 2.3vw, 32px); } .bk-cover--lg .bk-cover__ttl i { font-size: 14px; }
.bk-cover--sm { width: 92px; } .bk-cover--sm .bk-cover__ttl b { font-size: 11px; } .bk-cover--sm .bk-cover__ttl i { display: none; }

/* 교양 쪽의 책장: 다섯 권씩 네 줄 */
.bk-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 46px) clamp(16px, 2vw, 26px); margin: 0; padding: 0; list-style: none; }
.bk-item a { display: grid; gap: 4px; }
.bk-item a:hover .bk-cover, .bk-item a:focus-visible .bk-cover { transform: translateY(-7px) rotate(-1deg); box-shadow: inset 6px 0 0 rgba(0, 0, 0, .22), inset 7px 0 0 rgba(255, 255, 255, .06), 0 30px 40px -18px rgba(0, 0, 0, .5); }
.bk-item__y { margin-top: 12px; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.bk-item__d { color: var(--ink-2); font-size: 14px; line-height: 1.6; word-break: keep-all; }
.bk-sec__cr { margin-top: 40px; }
[data-motion="off"] .bk-cover { transition: none; }
@media (max-width: 1100px) { .bk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .bk-cover__ttl b { font-size: 17px; } .bk-cover__ttl i { font-size: 11px; } }

/* 책 한 권의 쪽 */
.bk-head { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px); background: var(--bg-2); }
.bk-head__in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.bk-head__cover .bk-cover { width: 100%; }
.bk-head__title { margin-top: 18px; font-family: var(--serif); font-size: clamp(38px, 5vw, 68px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; word-break: keep-all; }
.bk-head__by { margin-top: 12px; color: var(--mute); font-size: 16px; }
.bk-head__gist { max-width: 26em; margin-top: 26px; font-family: var(--serif); font-size: clamp(19px, 1.9vw, 25px); font-weight: 500; line-height: 1.6; word-break: keep-all; text-wrap: pretty; }
.bk-read { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bk-read--head { margin-top: 30px; grid-template-columns: repeat(auto-fit, minmax(210px, max-content)); }
.bk-read a { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; height: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .2s, transform .2s var(--ease-out); }
.bk-read a:hover { border-color: var(--ink); transform: translateY(-2px); }
.bk-read .rm-ico { width: 28px; height: 28px; border-radius: 7px; }
.bk-read span { display: grid; gap: 1px; min-width: 0; }
.bk-read b { font-size: 15px; letter-spacing: -.01em; } .bk-read i { font-style: normal; color: var(--mute); font-size: 13px; } .bk-read small { color: var(--mute); font-size: 12.5px; line-height: 1.5; word-break: keep-all; }
.bk-read__how { max-width: 44em; margin: 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.75; word-break: keep-all; margin-top: 18px; }
.bk-qs { display: grid; gap: clamp(36px, 5vw, 64px); max-width: 860px; margin: clamp(26px, 3vw, 40px) 0 28px; padding: 0; list-style: none; }
.bk-q blockquote { margin: 0; }
.bk-q__ko { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.1vw, 28px); font-weight: 500; line-height: 1.68; letter-spacing: -.005em; word-break: keep-all; text-wrap: pretty; }
.bk-q__orig { margin: 16px 0 0; color: var(--mute); font-family: var(--serif); font-size: 15.5px; font-weight: 500; line-height: 1.75; }
.bk-q__orig:lang(zh-Hant) { font-size: 18px; letter-spacing: .04em; line-break: strict; }
.bk-q__where { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; }
/* 넓은 화면: 어디에 나오는 문장인지를 왼쪽 칸에 두고 문장을 오른쪽에 놓는다(오른쪽 절반이 비지 않게) */
@media (min-width: 861px) {
	.bk-qs { max-width: none; }
	.bk-q { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 880px); align-items: start; gap: clamp(20px, 3.4vw, 56px); }
	.bk-q__where { order: -1; margin: 8px 0 0; line-height: 1.6; word-break: keep-all; }
}
.bk-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.bk-facts { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.bk-facts li { padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; line-height: 1.75; word-break: keep-all; }
.bk-toc { columns: 2; column-gap: 28px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.6; }
.bk-toc--short { columns: 1; }
.bk-toc li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); word-break: keep-all; }
.bk-toc__more { margin-top: 22px; border-block: 1px solid var(--line); }
.bk-toc__more summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; font-size: 15px; font-weight: 650; cursor: pointer; list-style: none; }
.bk-toc__more summary::-webkit-details-marker { display: none; }
.bk-toc__more summary::after { content: ""; width: 8px; height: 8px; margin-right: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.bk-toc__more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.bk-toc__more .bk-toc { margin: 0 0 12px; }
.bk-credit { margin-top: 26px; } .bk-credit a { text-decoration: underline; text-underline-offset: 3px; }
.bk-next { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.bk-next__a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 14px; }
.bk-next__a .bk-cover { grid-row: 1 / 3; }
.bk-next__a small { align-self: end; color: var(--mute); font-size: 12.5px; } .bk-next__a b { align-self: start; font-size: 16px; }
.bk-next__all { margin-left: auto; padding: 0 18px; height: 42px; display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.bk-next__all:hover { box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 860px) {
	.bk-head__in { grid-template-columns: minmax(0, 1fr); }
	.bk-head__cover { width: min(64%, 240px); }
	.bk-about { grid-template-columns: minmax(0, 1fr); }
	.bk-toc { columns: 1; }
	.bk-next__all { margin-left: 0; }
}
/* 휴대폰: 책 이름 길이에 따라 줄이 달라지던 것(이름이 길면 앞의 책 혼자 윗줄, 다음 책은 단추와 아랫줄. 파우스트 쪽에서 찾음).
   두 권을 같은 폭으로 나란히 세우고 이름은 표지 아래에, 단추는 그 밑에 한 줄로 둔다 */
@media (max-width: 560px) {
	.bk-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px 16px; }
	.bk-next__a { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; justify-items: start; row-gap: 2px; }
	.bk-next__a .bk-cover { grid-row: auto; margin-bottom: 10px; }
	.bk-next__a small, .bk-next__a b { align-self: auto; }
	.bk-next__all { grid-column: 1 / -1; justify-self: start; }
}

/* ── parts/culture-read.css ── */
/* 고전 전문 읽기 쪽(2026-11-23, 사용자: "책을 하나하나 다 읽어볼 수 있도록. 요즘은 온라인으로 읽으니깐 나도 읽게").
   종이빛 바탕에 명조 한 단. 장마다 번역이 먼저, 그 아래에 원문. 짜임 rooms7/culture_books.py 의 read_page, 이어 읽기와 원문 켜고 끄기는 site/parts/js/culture-read.js.
   명조는 이 쪽에서 쓰는 글자만 추린 것(tools/font_subset.py → /fonts/serif-kr-read.woff2, 굵기 하나) */
@font-face { font-family: "LP Serif Read"; src: url("/fonts/serif-kr-read.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
.bk-rd { --serif: "LP Serif Read", "LP Serif", "Noto Serif KR", "Nanum Myeongjo", "Batang", serif; background: var(--paper); }
[data-theme="dark"] .bk-rd { background: var(--bg); }
/* 머리, 장 찾기, 본문, 옮기며가 모두 같은 읽기 단(800px)에 놓인다 */
.bk-rd .lp-wrap { max-width: calc(800px + var(--gut) * 2); }
.bk-rd__head { padding-block: clamp(56px, 7vw, 104px) clamp(30px, 3.6vw, 48px); }
.bk-rd__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 22px; font-family: var(--serif); font-size: clamp(44px, 6.4vw, 92px); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.bk-rd__title small { color: var(--mute); font-family: var(--font); font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; letter-spacing: 0; }
.bk-rd__by { margin-top: 16px; color: var(--ink-2); font-size: 15.5px; }
.bk-rd__lede { max-width: 34em; margin-top: 22px; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; line-height: 1.85; word-break: keep-all; text-wrap: pretty; }
.bk-rd__tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bk-rd__tg, .bk-rd__resume { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.bk-rd__tg:hover, .bk-rd__resume:hover { border-color: var(--ink); }
.bk-rd__tg::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--mute); }
.bk-rd__tg[aria-pressed="true"]::before { background: var(--blue); box-shadow: none; }
.bk-rd__resume { border-color: var(--ink); background: var(--ink); color: var(--bg); }
/* 장 찾기: 도경과 덕경, 번호를 누르면 그 장으로 */
.bk-rd__idx { padding-block: clamp(22px, 2.6vw, 32px); border-block: 1px solid var(--line); }
.bk-rd__idx .lp-wrap { display: grid; gap: 18px; }
.bk-rd__part { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 8px 18px; }
.bk-rd__part h3 { padding-top: 8px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.bk-rd__part ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bk-rd__part a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
/* 지금 읽는 장 하나만 테두리로 알린다. 올리면 먹색 바탕에 흰 글자(2026-11-23 사용자: 올리면 검은 바탕에 숫자가 안 보인다. 읽은 장을 모두 파랗게 칠하던 것이 올린 글자색을 덮었다) */
.bk-rd__part a.is-here { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-weight: 700; }
.bk-rd__part a:hover, .bk-rd__part a:focus-visible, .bk-rd__part a.is-here:hover { background: var(--ink); color: var(--bg); box-shadow: none; }
/* 본문 */
.bk-rd__body { padding-top: clamp(40px, 5vw, 72px); }
.bk-rd__part-h { margin: clamp(56px, 7vw, 96px) 0 clamp(26px, 3vw, 40px); padding-bottom: 16px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.01em; }
.bk-rd__part-h:first-child { margin-top: 0; }
.bk-rd__ch { padding-block: clamp(26px, 3vw, 38px); border-bottom: 1px solid var(--line-2); scroll-margin-top: calc(var(--top-h) + 18px); }
.bk-rd__no { display: flex; align-items: baseline; gap: 3px; margin-bottom: 14px; color: var(--mute); font-size: 14px; font-weight: 600; }
.bk-rd__no span { color: var(--ink); font-family: var(--serif); font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bk-rd__ko { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.55vw, 21px); font-weight: 500; line-height: 2; word-break: keep-all; text-wrap: pretty; }
.bk-rd__zh { margin: 16px 0 0; color: var(--mute); font-family: var(--serif); font-size: clamp(16px, 1.3vw, 18px); font-weight: 500; line-height: 1.9; letter-spacing: .05em; line-break: strict; }
.bk-rd.is-plain .bk-rd__zh { display: none; }
.bk-rd__note p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; word-break: keep-all; }
.bk-rd__note p a:not(.lp-more) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bk-rd__other { display: grid; gap: 8px; margin: 14px 0 22px; padding: 0; list-style: none; }
.bk-rd__other a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 15px; font-weight: 650; transition: border-color .2s; }
.bk-rd__other a:hover { border-color: var(--ink); }
.bk-rd__other small { color: var(--mute); font-size: 13px; font-weight: 400; line-height: 1.5; }
.bk-read__own { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); color: var(--bg); font-size: 13px; }
@media (max-width: 640px) {
	.bk-rd__part { grid-template-columns: minmax(0, 1fr); }
	.bk-rd__part h3 { padding-top: 0; }
	.bk-rd__part a { width: 40px; height: 40px; }
	.bk-rd__ko { line-height: 1.95; }
}

/* ── parts/culture-ring.css ── */
/* 교양: 둥근 전시실(2026-11-23). 그림 열두 점을 둥근 벽 안쪽에 걸고, 보는 사람은 방 한가운데에 선다. 짜임은 rooms7/culture_ring.py, 조작은 parts/js/culture-ring.js
   --fw 는 액자 폭, --r 은 방의 반지름, --rot 은 벽이 돈 각도(스크립트가 준다) */
.rm-ring { --fw: clamp(132px, 17vw, 236px); --fh: calc(var(--fw) * 1.3); --r: calc(var(--fw) * 2.42); --step: 30deg; }
.rm-ring__stage { position: relative; display: grid; place-items: center; height: calc(var(--fh) * 1.62); overflow: hidden; perspective: calc(var(--fw) * 4.4); perspective-origin: 50% 46%; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.rm-ring__stage.is-drag { cursor: grabbing; }
.rm-ring__wheel { position: relative; width: var(--fw); height: var(--fh); margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; transform: rotateY(var(--rot, 0deg)); transition: transform .8s var(--ease-out); }
.rm-ring__stage.is-drag .rm-ring__wheel, .rm-ring__wheel.is-free { transition: none; }
.rm-ring__it { position: absolute; inset: 0; transform: rotateY(calc(var(--i, 0) * var(--step))) translateZ(calc(var(--r) * -1)); -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: opacity .4s var(--ease); }
.rm-ring__it.is-far { opacity: 0; pointer-events: none; }
.rm-ring__it:nth-child(1) { --i: 0; } .rm-ring__it:nth-child(2) { --i: 1; } .rm-ring__it:nth-child(3) { --i: 2; } .rm-ring__it:nth-child(4) { --i: 3; }
.rm-ring__it:nth-child(5) { --i: 4; } .rm-ring__it:nth-child(6) { --i: 5; } .rm-ring__it:nth-child(7) { --i: 6; } .rm-ring__it:nth-child(8) { --i: 7; }
.rm-ring__it:nth-child(9) { --i: 8; } .rm-ring__it:nth-child(10) { --i: 9; } .rm-ring__it:nth-child(11) { --i: 10; } .rm-ring__it:nth-child(12) { --i: 11; }
/* 바퀴(ul)는 방 한가운데(z 0)에 놓인 빈 상자이고 그림은 그 뒤(z -r)에 걸려 있다. 빈 상자가 가운데 그림을 통째로 가려
   가운데 그림은 눌러도 바퀴만 눌렸다(2026-11-24 크게 보기 창을 달며 찾음). 바퀴는 누름을 받지 않게 하고 그림만 받게 한다 */
.rm-ring__wheel { pointer-events: none; }
.rm-ring__it { pointer-events: auto; }
.rm-ring__it a { display: block; height: 100%; -webkit-user-drag: none; cursor: zoom-in; }
.rm-ring__stage.is-drag .rm-ring__it a { cursor: grabbing; }
.rm-ring__frame { display: block; height: 100%; padding: calc(var(--fw) * .05); background: #fdfcf8; box-shadow: 0 0 0 calc(var(--fw) * .034) #2b2622, 0 0 0 calc(var(--fw) * .034 + 1px) rgba(0, 0, 0, .5), 0 calc(var(--fw) * .1) calc(var(--fw) * .16) rgba(30, 24, 18, .28); }
.rm-ring__frame img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rm-ring__foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 6px; }
.rm-ring__info { display: grid; justify-items: center; gap: 4px; text-align: center; }
.rm-ring__t { font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; letter-spacing: -.025em; word-break: keep-all; text-wrap: balance; }
.rm-ring__m { color: var(--mute); font-size: 14px; }
.rm-ring__go { margin-top: 10px; }
.rm-ring__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, transform .2s var(--ease-out); }
.rm-ring__btn:hover { background: var(--bg); } .rm-ring__btn:active { transform: scale(.94); }
.rm-ring__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[data-motion="off"] .rm-ring__wheel, [data-motion="off"] .rm-ring__it { transition: none; }
/* 휴대폰: 가운데 그림을 크게 두고 양옆 그림은 화면 밖으로 반쯤 나가게 한다. 보이는 것이 석 점뿐이라 무대 높이도 줄인다 */
@media (max-width: 640px) { .rm-ring { --fw: 60vw; --r: calc(var(--fw) * 2.2); } .rm-ring__stage { height: calc(var(--fh) * .94); perspective: calc(var(--fw) * 3.6); } .rm-ring__btn { width: 42px; height: 42px; } .rm-ring__foot { gap: 10px; margin-top: 2px; } }

/* ── parts/design-palprev.css ── */
/* 디자인: 색 조합을 실제 화면에 입혀 보기(2026-11-23). 사용자: "색 조합 구역에 실제 화면 미리보기". 색은 스크립트가 --pv-* 로 준다(site/parts/js/design-palprev.js) */
.rm-pv { --pv-bg: #f4f1ea; --pv-surface: #e2ddd0; --pv-ink: #1b1a18; --pv-accent: #2d55c9; --pv-pop: #c9643f; --pv-on: #fff; --pv-1: #1b1a18; --pv-2: #55514a; --pv-3: #2d55c9; --pv-4: #e2ddd0; --pv-5: #f4f1ea;
	/* 보조 글자: 글자색을 바탕(또는 면)에 섞는다. 조합의 색을 그대로 글자에 쓰면 대비가 모자랄 때가 많다 */
	--pv-sub: color-mix(in srgb, var(--pv-ink) 74%, var(--pv-bg)); --pv-sub2: color-mix(in srgb, var(--pv-ink) 74%, var(--pv-surface));
	display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .72fr) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(26px, 3vw, 40px); }
.rm-pv__f { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; min-width: 0; margin: 0; }
.rm-pv__f figcaption { color: var(--mute); font-size: 13px; font-weight: 600; }
.rm-pv__page, .rm-pv__dev, .rm-pv__chart { overflow: hidden; border-radius: 16px; background: var(--pv-bg); color: var(--pv-ink); transition: background .5s var(--ease), color .5s var(--ease); }
.rm-pv__page { display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 12px; padding: 0 0 26px; }
.rm-pv__page > p { margin: 0; padding-inline: clamp(18px, 2vw, 28px); }
.rm-pv__chrome { display: flex; align-items: center; gap: 6px; padding-block: 11px; background: var(--pv-surface); transition: background .5s var(--ease); }
.rm-pv__chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--pv-sub2); opacity: .45; }
.rm-pv__chrome span { margin-left: 10px; color: var(--pv-sub2); font-size: 11.5px; }
.rm-pv__nav { display: flex; align-items: center; gap: 16px; margin-top: 4px !important; color: var(--pv-sub); font-size: 12.5px; font-weight: 600; }
.rm-pv__nav b { width: 22px; height: 22px; margin-right: auto; border-radius: 7px; background: var(--pv-accent); transition: background .5s var(--ease); }
/* 글과 그림을 나란히. 그림은 조합의 색으로 만든 평면 도형(면, 단추색, 그림색, 글자색이 모두 들어간다) */
.rm-pv__hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(14px, 2vw, 30px); padding-inline: clamp(18px, 2vw, 28px); }
.rm-pv__copy { display: grid; gap: 12px; min-width: 0; }
.rm-pv__copy > p { margin: 0; }
.rm-pv__h { font-size: clamp(19px, 1.9vw, 27px); font-weight: 750; line-height: 1.28; letter-spacing: -.035em; word-break: keep-all; text-wrap: balance; }
.rm-pv__p { color: var(--pv-sub); font-size: 13.5px; line-height: 1.6; word-break: keep-all; text-wrap: pretty; }
.rm-pv__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px !important; }
.rm-pv__vis { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: var(--pv-pop); transition: background .5s var(--ease); }
.rm-pv__vis i { position: absolute; transition: background .5s var(--ease); }
.rm-pv__vis i:nth-child(1) { left: -18%; bottom: -26%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--pv-surface); }
.rm-pv__vis i:nth-child(2) { top: 0; right: 0; width: 46%; aspect-ratio: 1; border-radius: 0 0 0 100%; background: var(--pv-accent); }
.rm-pv__vis i:nth-child(3) { right: 13%; bottom: 13%; width: 21%; aspect-ratio: 1; border-radius: 5px; background: var(--pv-ink); }
.rm-pv__btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--pv-accent); color: var(--pv-on); font-size: 13px; font-weight: 650; transition: background .5s var(--ease), color .5s var(--ease); }
.rm-pv__btn--ghost { background: transparent; color: var(--pv-ink); box-shadow: inset 0 0 0 1.5px var(--pv-ink); }
.rm-pv__dev { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; padding: 16px 14px 12px; border: 5px solid #26262b; border-radius: 28px; }
.rm-pv__bar { display: flex; align-items: center; justify-content: space-between; margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -.03em; }
.rm-pv__bar b { width: 26px; height: 26px; border-radius: 50%; background: var(--pv-accent); transition: background .5s var(--ease); }
.rm-pv__dev ul { display: grid; align-content: start; gap: 7px; margin: 0; padding: 0; list-style: none; }
.rm-pv__dev li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 12px; background: var(--pv-surface); transition: background .5s var(--ease); }
.rm-pv__dev li i { width: 28px; height: 28px; border-radius: 9px; background: var(--pv-accent); transition: background .5s var(--ease); }
.rm-pv__dev li:nth-child(2) i { background: var(--pv-bg); } .rm-pv__dev li:nth-child(3) i { background: var(--pv-pop); }
.rm-pv__dev li span { display: grid; min-width: 0; }
.rm-pv__dev li b { overflow: hidden; font-size: 12.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.rm-pv__dev li small { color: var(--pv-sub2); font-size: 11px; }
.rm-pv__dev li em { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--pv-sub2); }
.rm-pv__dev li:first-child em { background: var(--pv-ink); box-shadow: none; }
.rm-pv__tabs { display: flex; justify-content: space-around; margin: 2px 0 0; padding-top: 10px; border-top: 1px solid var(--pv-surface); }
.rm-pv__tabs i { width: 18px; height: 18px; border-radius: 6px; background: var(--pv-sub); opacity: .35; }
.rm-pv__tabs i.is-on { background: var(--pv-accent); opacity: 1; }
.rm-pv__chart { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; padding: clamp(16px, 1.8vw, 22px); }
.rm-pv__bars { display: flex; align-items: flex-end; gap: 8px; min-height: 110px; }
.rm-pv__bars i { flex: 1; border-radius: 7px 7px 2px 2px; background: var(--pv-1); transition: background .5s var(--ease); height: 58%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pv-ink) 14%, transparent); }
.rm-pv__bars i:nth-child(2) { background: var(--pv-2); height: 82%; } .rm-pv__bars i:nth-child(3) { background: var(--pv-3); height: 100%; }
.rm-pv__bars i:nth-child(4) { background: var(--pv-4); height: 70%; } .rm-pv__bars i:nth-child(5) { background: var(--pv-5); height: 44%; }
.rm-pv__cr { display: grid; gap: 0; margin: 0; }
.rm-pv__cr > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--pv-ink) 16%, transparent); }
.rm-pv__cr dt { color: var(--pv-sub); font-size: 12px; }
.rm-pv__cr dd { margin: 0; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
[data-motion="off"] .rm-pv * { transition: none !important; }
@media (max-width: 980px) { .rm-pv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rm-pv__web { grid-column: 1 / -1; } }
@media (max-width: 560px) { .rm-pv { grid-template-columns: minmax(0, 1fr); } .rm-pv__phone { max-width: 260px; } .rm-pv__hero { grid-template-columns: minmax(0, 1fr); } .rm-pv__vis { aspect-ratio: 5 / 2; } }

/* ── parts/essay-strip.css ── */
/* 에세이 '행간에 걸어 둔 그림' 두 줄(2026-11-23 사용자: "두 줄로 해주고 두번째 줄은 반대 방향으로 흐르게 하면 더 재밌을 거 같다").
   그림을 번갈아 두 줄에 나누고 둘째 줄은 거꾸로 흐른다. 줄마다 빠르기를 조금 달리해 같은 박자로 움직이지 않게 한다. 짜임은 rooms3.py 의 strip_rows */
.rm-strips { display: grid; gap: 6px; }
.rm-strips .rm-strip { padding-bottom: 14px; }
.rm-strips .rm-strip__track { animation-duration: 64s; }
.rm-strips .rm-strip--rev .rm-strip__track { animation-direction: reverse; animation-duration: 76s; }
.rm-strips .rm-strip li { flex-basis: 300px; }
@media (max-width: 640px) {
	.rm-strips .rm-strip li { flex-basis: 220px; }
	.rm-strips .rm-strip span { font-size: 13.5px; }
}

/* ── parts/essay-wall.css ── */
/* 에세이: 원고지로 쓴 문장의 벽(2026-11-23). 12칸 5줄 원고지 아홉 장. 짜임은 rooms7/essay_wall.py */
.rm-wg { --wg: #b9523f; --wg-paper: #fffdf8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px) clamp(18px, 2.2vw, 30px); margin: 0; padding: 0; list-style: none; }
[data-theme="dark"] .rm-wg { --wg: #d98f7f; --wg-paper: #191612; }
.rm-wg__i { min-width: 0; }
.rm-wg__i a { display: grid; gap: 14px; color: var(--ink); }
.rm-wg__sheet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 8px; padding: 14px 14px 16px; border: 1.5px solid var(--wg); border-radius: 3px; background: var(--wg-paper); box-shadow: 0 0 0 4px var(--wg-paper), 0 0 0 5px color-mix(in srgb, var(--wg) 70%, transparent), 0 14px 30px rgba(60, 30, 20, .08); transition: transform .4s var(--ease-out), box-shadow .3s var(--ease); }
.rm-wg__sheet i { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--wg) 55%, transparent); border-left-width: 0; color: var(--ink); font-size: clamp(13px, 1.22vw, 18px); font-style: normal; font-weight: 500; line-height: 1; }
.rm-wg__sheet i:nth-child(12n + 1) { border-left-width: 1px; }
.rm-wg__sheet i.is-pt { place-items: end start; padding: 0 0 14% 16%; }
.rm-wg__sheet i b { position: absolute; right: 6%; bottom: 8%; font-weight: 500; }
.rm-wg__i a:hover .rm-wg__sheet, .rm-wg__i a:focus-visible .rm-wg__sheet { transform: translateY(-4px); box-shadow: 0 0 0 4px var(--wg-paper), 0 0 0 5px var(--wg), 0 20px 36px rgba(60, 30, 20, .13); }
.rm-wg__t { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-inline: 2px; }
.rm-wg__t strong { overflow: hidden; font-size: 15px; font-weight: 650; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.rm-wg__t time { flex: none; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.rm-wg__i a:hover .rm-wg__t strong { text-decoration: underline; text-underline-offset: 3px; }
/* 글자가 한 칸씩 놓인다. 숨김은 스크립트가 붙인 표시(is-wait)로만 건다 */
[data-motion="on"] .rm-wg.is-wait .rm-wg__sheet i { color: transparent; }
.rm-wg__sheet i { transition: color .5s var(--ease); }
[data-motion="on"] .rm-wg.is-wait .rm-wg__sheet i.is-in { color: var(--ink); }
[data-motion="off"] .rm-wg__sheet, [data-motion="off"] .rm-wg__sheet i { transition: none; }
@media (max-width: 1000px) { .rm-wg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rm-wg__i:nth-child(9) { display: none; } .rm-wg__sheet i { font-size: clamp(13px, 2.1vw, 18px); } }
/* 휴대폰: 옆으로 넘기는 한 줄 */
@media (max-width: 640px) {
	.rm-wg { display: flex; gap: 14px; margin-inline: calc(var(--gut) * -1); padding: 6px var(--gut) 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.rm-wg::-webkit-scrollbar { display: none; }
	.rm-wg__i, .rm-wg__i:nth-child(9) { display: block; flex: 0 0 84%; scroll-snap-align: center; }
	.rm-wg__sheet { padding: 12px; row-gap: 7px; }
	.rm-wg__sheet i { font-size: 15px; }
}

/* ── parts/essay-years.css ── */
/* 에세이: 해마다 쓴 글 3판(2026-11-23). 날마다 한 칸인 달력은 writing-graph.css, 여기는 달력 아래에 놓이는 그해의 제목. 짜임은 rooms7/essay_years.py */
.rm-yg__posts { grid-column: 1 / -1; }
.rm-yg__set h3 { margin-bottom: 12px; color: var(--ink-2); font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.rm-yi__t { display: flex; flex-wrap: wrap; gap: 7px 8px; margin: 0; padding: 0; list-style: none; }
.rm-yi__t a { display: inline-block; max-width: 100%; padding: 8px 14px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 13.5px; line-height: 1.35; word-break: keep-all; transition: background .2s, color .2s; }
.rm-yi__t a:hover, .rm-yi__t a:focus-visible { background: var(--blue); color: var(--on-blue); }
.rm-yg__note { margin-top: 18px; }
@media (max-width: 640px) { .rm-yi__t a { padding: 10px 14px; } }

/* ── parts/flow.css ── */
/* 다른 주제 이음새의 흐르는 빛 보정(2026-11-23). 사용자: "검은색 섹션에서 넘어가는 경계는 부자연스럽거든" */
/* 이음새 바로 앞의 검은 구역: 바탕 무늬가 경계선까지 닿으면 선이 생겨 검정이 흘러내리는 느낌이 끊긴다. 아래 180px 에서 무늬를 서서히 지운다 */
.lp-sec--ink.bk-on:has(+ .rm-slant) > .bk { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 200px), rgba(0, 0, 0, .5) calc(100% - 110px), transparent calc(100% - 24px)); mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 200px), rgba(0, 0, 0, .5) calc(100% - 110px), transparent calc(100% - 24px)); }
/* 휴대폰: 빛이 흘러내릴 자리를 넉넉히 둔다(좁으면 가는 띠처럼 보인다) */
@media (max-width: 760px) { .rm-slant.has-flow { padding-top: 224px; } }

/* ── parts/foot-tall.css ── */
/* 휴대폰 바닥글의 배경 영상(2026-11-23 사용자: "모바일에서 푸터 배경영상 화질이 너무 떨어진다. PC는 그럴듯해서 괜찮은데").
   휴대폰 바닥글은 세로로 2,000px 을 넘는다. 가로 영상(높이 540)을 그 상자에 덮어 씌워 네 배로 늘어나 있었다.
   세로로 자른 영상(nebula-tall, 406x720)을 위쪽 한 화면에만 깔아 거의 제 크기로 보이게 하고, 아래는 바닥글의 검정으로 잇는다 */
@media (max-width: 640px) {
	/* ai-design-ok: 영상 위아래를 바탕의 검정으로 흐리는 마스크(장식 그라데이션 아님) */
	.lp-foot__bg { bottom: auto; height: min(100%, 840px); -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .5) 64px, #000 190px, #000 calc(100% - 320px), rgba(0, 0, 0, .5) calc(100% - 150px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .5) 64px, #000 190px, #000 calc(100% - 320px), rgba(0, 0, 0, .5) calc(100% - 150px), transparent 100%); }
}

/* ── parts/home-quilt.css ── */
/* 첫 화면 주제 벽(2026-11-23). 아홉 주제를 다섯 색의 색면으로 붙인 한 장의 포스터. 그림은 home_quilt.py */
.lp-quilt, .rm-deck { --q-blue: #0113b5; --q-ink: #141416; --q-paper: #f6f3ec; --q-red: #ff4b24; --q-yel: #ffc533; }
.lp-quilt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(30px, 3.6vw, 48px) 0 0; padding: 0; overflow: hidden; border-radius: clamp(18px, 2vw, 28px); list-style: none; background: transparent; }
/* 바탕을 먹색으로 깔아 두면 칸 폭이 소수점으로 떨어지는 화면에서 오른쪽 끝에 먹색이 가는 선으로 비친다(2026-11-23 사용자: 게임 칸 오른쪽에만 검은 외곽선). 바탕은 비워 둔다 */
.lp-quilt > .lp-qt { position: relative; display: block; min-width: 0; margin: 0; padding: 0; box-shadow: inset 0 0 0 .5px rgba(20, 20, 22, .16); }
.lp-qt a { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 4 / 3; color: var(--q-ink); isolation: isolate; }
.lp-qt--paper a { background: var(--q-paper); }
.lp-qt--ink a { background: var(--q-ink); color: var(--q-paper); }
.lp-qt--blue a { background: var(--q-blue); color: var(--q-paper); }
.lp-qt--red a { background: var(--q-red); color: var(--q-paper); }
.lp-qt--yel a { background: var(--q-yel); }
.lp-qt__art { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; stroke: none; transition: transform .9s var(--ease-out); transform-origin: 72% 46%; }
.lp-qt__art .qf-blue { fill: var(--q-blue); } .lp-qt__art .qf-ink { fill: var(--q-ink); } .lp-qt__art .qf-paper { fill: var(--q-paper); }
.lp-qt__art .qf-red { fill: var(--q-red); } .lp-qt__art .qf-yel { fill: var(--q-yel); }
.lp-qt__art .qs-paper { fill: none; stroke: var(--q-paper); } .lp-qt__art .qs-ink { fill: none; stroke: var(--q-ink); }
.lp-qt__art .qs-red { fill: none; stroke: var(--q-red); } .lp-qt__art .qs-yel { fill: none; stroke: var(--q-yel); }
/* 먹 바탕 위의 먹, 파랑 바탕 위의 파랑처럼 바탕에 묻히는 색은 칸마다 바꿔 준다 */
.lp-qt--blue .qf-ink { fill: var(--q-ink); } .lp-qt--ink .q-ring { opacity: .5; }
.lp-qt__lab { position: absolute; left: clamp(18px, 2vw, 28px); bottom: clamp(16px, 1.9vw, 26px); display: grid; gap: 6px; width: min(46%, 220px); }
.lp-qt__lab strong { font-size: clamp(19px, 1.9vw, 26px); font-weight: 750; line-height: 1.2; letter-spacing: -.03em; word-break: keep-all; }
.lp-qt__lab span { font-size: 13.5px; line-height: 1.5; opacity: .78; word-break: keep-all; text-wrap: balance; }
/* 마우스를 올리면 그림이 한 발 다가오고, 도형이 제 성격대로 조금 움직인다 */
.lp-qt__art * { transition: transform .7s var(--ease-out), opacity .7s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.lp-qt a:hover .lp-qt__art, .lp-qt a:focus-visible .lp-qt__art { transform: scale(1.045); }
.lp-qt a:hover .q-up, .lp-qt a:focus-visible .q-up { transform: translateY(-9px); }
.lp-qt a:hover .q-grow, .lp-qt a:focus-visible .q-grow { transform: scaleY(1.07); }
.lp-qt__art .q-grow { transform-origin: bottom; }
.lp-qt a:hover .q-float, .lp-qt a:focus-visible .q-float { transform: translate(8px, -8px); }
.lp-qt a:hover .q-right, .lp-qt a:focus-visible .q-right { transform: translateX(9px); }
.lp-qt a:hover .q-wave, .lp-qt a:focus-visible .q-wave { transform: translateX(8px); }
.lp-qt a:hover .q-tilt, .lp-qt a:focus-visible .q-tilt { transform: rotate(-5deg); }
.lp-qt a:hover .q-fly, .lp-qt a:focus-visible .q-fly { transform: translate(10px, -9px); }
.lp-qt a:hover .q-pulse, .lp-qt a:focus-visible .q-pulse { transform: scale(1.28); }
.lp-qt a:hover .q-pins, .lp-qt a:focus-visible .q-pins { transform: scale(1.05); }
.lp-qt__art .q-d1 { transition-delay: 0s; } .lp-qt__art .q-d2 { transition-delay: .06s; } .lp-qt__art .q-d3 { transition-delay: .12s; } .lp-qt__art .q-d4 { transition-delay: .18s; }
.lp-qt a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
/* 들어올 때: 칸이 아래에서 위로 차례로 열린다. 숨김은 스크립트가 붙인 표시(is-wait)로만 건다 */
[data-motion="on"] .lp-quilt.is-wait .lp-qt a { clip-path: inset(100% 0 0 0); }
[data-motion="on"] .lp-quilt.is-wait .lp-qt__art { transform: translateY(26px) scale(1.06); }
.lp-quilt .lp-qt a { clip-path: inset(0); transition: clip-path .9s var(--ease-out); }
.lp-quilt .lp-qt:nth-child(3n + 2) a { transition-delay: .08s; } .lp-quilt .lp-qt:nth-child(3n) a { transition-delay: .16s; }
.lp-quilt .lp-qt:nth-child(n + 4) a { transition-delay: .2s; } .lp-quilt .lp-qt:nth-child(n + 4):nth-child(3n + 2) a { transition-delay: .28s; } .lp-quilt .lp-qt:nth-child(n + 4):nth-child(3n) a { transition-delay: .36s; }
.lp-quilt .lp-qt:nth-child(n + 7) a { transition-delay: .4s; } .lp-quilt .lp-qt:nth-child(n + 7):nth-child(3n + 2) a { transition-delay: .48s; } .lp-quilt .lp-qt:nth-child(n + 7):nth-child(3n) a { transition-delay: .56s; }
[data-motion="off"] .lp-quilt .lp-qt a, [data-motion="off"] .lp-qt__art, [data-motion="off"] .lp-qt__art * { transition: none; }
@media (max-width: 980px) { .lp-qt__lab span { display: none; } .lp-qt__lab { width: min(52%, 200px); } }
/* 휴대폰: 넓은 칸 하나 + 두 칸씩 네 줄. 이름만 남기고, 넓은 칸의 그림은 줄여서 통째로 보이게 한다 */
@media (max-width: 640px) {
	.lp-quilt { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
	.lp-quilt > .lp-qt:first-child { grid-column: 1 / -1; }
	.lp-qt:first-child a { aspect-ratio: 5 / 2; }
	.lp-qt a { aspect-ratio: 1 / 1; }
	/* 두 칸 격자에서 위아래로 맞닿는 칸의 색이 같아지지 않게 휴대폰에서만 바꾸는 바탕(home_quilt.py 의 TONE_M) */
	.lp-quilt > .lp-qt--m-yel a { background: var(--q-yel); color: var(--q-ink); }
	.lp-qt__lab { left: 14px; bottom: 13px; width: 62%; }
	.lp-qt__lab strong { font-size: 16.5px; }
	.lp-qt:first-child .lp-qt__lab strong { font-size: 20px; }
	.lp-qt__art { transform-origin: 100% 0; transform: translate(4%, -3%) scale(.94); }
	.lp-qt:first-child .lp-qt__art { inset: -10% 0 auto auto; width: auto; height: 128%; aspect-ratio: 4 / 3; transform-origin: 100% 50%; transform: translateX(-2%); }
	.lp-qt a:hover .lp-qt__art, .lp-qt a:focus-visible .lp-qt__art { transform: translate(4%, -3%) scale(.97); }
	.lp-qt:first-child a:hover .lp-qt__art, .lp-qt:first-child a:focus-visible .lp-qt__art { transform: translateX(-2%) scale(1.04); }
	[data-motion="on"] .lp-quilt.is-wait .lp-qt:first-child .lp-qt__art { transform: translate(-2%, 8%); }
	[data-motion="on"] .lp-quilt.is-wait .lp-qt__art { transform: translate(4%, 6%) scale(.94); }
}

/* ── parts/markets-hub.css ── */
/* 라이브 마켓 4판(2026-11-23). 짜임은 rooms7/markets_hub.py, 동작은 site/parts/js/markets-hub.js.
   검은 구역이 길게 이어지므로 구역마다 모양을 바꾼다: 시계(띠), 지표(카드 격자), 시세(표와 순위), 심리(게이지·막대), 네트워크(블록 줄과 큰 숫자),
   지수·지도(위젯), 금리(곡선과 표, 흰 바탕), 체온계(작은 차트 카드, 회색 바탕), 환율(표), 원자재(줄과 선), 보조지표(네 칸), 일정(회색 바탕).
   선 색: --s1 파랑, --s2 주황, --s3 청록. 값이 오르면 빨강(--up), 내리면 파랑(--down). 숫자는 모두 tabular-nums. */
.mh-sec { --s1: #4d9fff; --s2: #ff922b; --s3: #38d9a9; --z0: #2a6fdb; --z1: #6aa5ff; --z2: #8e8e96; --z3: #ff8a6b; --z4: #e0323f; scroll-margin-top: calc(var(--top-h) + 58px); }
.mh-light { --s1: #0b63d8; --s2: #d4580f; --s3: #0b8f6c; }
[data-theme="dark"] .mh-light { --s1: #4d9fff; --s2: #ff922b; --s3: #38d9a9; }
.mh-sec [hidden] { display: none !important; }
.mh-sub { font-size: 17px; font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
.mh-sub--lg { font-size: clamp(19px, 1.7vw, 22px); }
.mh-note { max-width: 1000px; margin-top: clamp(32px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--line-2); }
.mh-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.mh-card__lede { margin-top: 8px; color: var(--mute); font-size: 13.5px; line-height: 1.6; }
.mh-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px; }
.mh-big b { font-size: clamp(30px, 3.1vw, 42px); font-weight: 650; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mh-big span { color: var(--mute); font-size: 13.5px; font-weight: 600; }
.mh-cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.mh-cmp dt { color: var(--mute); font-size: 12px; }
.mh-cmp dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; word-break: keep-all; }
.mh-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 8px; color: var(--mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.mh-wait { padding: 14px 0; color: var(--mute); font-size: 14px; }
/* 바깥 자료를 못 받았을 때: 큰 숫자 자리라도 작은 회색 글씨로 */
.mh-sec .is-fail, .lp-kpis.mh-kpis dd.is-fail { color: var(--mute) !important; font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0 !important; white-space: normal !important; }
.mh-scroll { overflow-x: auto; }
/* 표 */
.mh-t { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.mh-t th, .mh-t td { padding: 12px 10px; border-bottom: 1px solid var(--line-2); text-align: right; white-space: nowrap; }
.mh-t thead th { color: var(--mute); font-size: 12.5px; font-weight: 600; border-bottom-color: var(--line); }
.mh-t th[scope="row"], .mh-t thead th:first-child { padding-left: 0; text-align: left; }
.mh-t th[scope="row"] b { font-weight: 650; }
.mh-t th[scope="row"] small, .mh-t th[scope="row"] span { margin-left: 8px; color: var(--mute); font-size: 12.5px; font-weight: 400; }
/* 작은 선과 비중 막대 */
.mh-spark { display: block; width: 100%; height: 34px; overflow: visible; color: var(--mute); stroke: none; }
.mh-spark__l { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mh-spark__a { fill: currentColor; stroke: none; opacity: .1; }
.mh-bit { stroke: none; }
.mh-bit.g-btc, .mh-stack .g-btc, .mh-legend .g-btc { fill: #f7931a; background: #f7931a; }
.mh-bit.g-eth, .mh-stack .g-eth, .mh-legend .g-eth { fill: #7b8fe8; background: #7b8fe8; }
.mh-bit.g-st, .mh-stack .g-st, .mh-legend .g-st { fill: #26a17b; background: #26a17b; }
.mh-bit.g-etc, .mh-stack .g-etc, .mh-legend .g-etc { fill: #5b5b63; background: #5b5b63; }
.mh-bit.g-track { fill: var(--line-2); } .mh-bit.g-mid { fill: var(--mute); } .mh-bit.g-up { fill: var(--up); } .mh-bit.g-down { fill: var(--down); }
/* 차트 틀 안 선 색(plotChart) */
.mh-sec .rc-ser .mh-s1 { stroke: var(--s1); } .mh-sec .rc-ser .mh-s2 { stroke: var(--s2); } .mh-sec .rc-ser .mh-s3 { stroke: var(--s3); }
.mh-sec .rc-ser .mh-a1 { fill: var(--s1); fill-opacity: .1; stroke: none; } .mh-sec .rc-ser .mh-a2 { fill: var(--s2); fill-opacity: .1; stroke: none; }
.mh-sec .rc-dot.mh-d1 { fill: var(--s1); } .mh-sec .rc-dot.mh-d2 { fill: var(--s2); } .mh-sec .rc-dot.mh-d3 { fill: var(--s3); }
.mh-sec .rc-grid .mh-hot { stroke: var(--up); stroke-opacity: .7; }
.mh-sec .rc-grid .mh-zero { stroke: var(--mute); stroke-dasharray: 5 4; }
.mh-chart { margin-top: 16px; }
/* plotChart 는 마우스를 올리기 전 점을 그림 밖(-99, -99)에 둔다. 그림 틀이 겹치지 않는 이 쪽에서는 옆 카드에 점으로 보여서 숨긴다 */
.mh-sec .rc-hdot[cx="-99"] { visibility: hidden; }
.mh-chart .rm-chart__key i.mh-k1, .mh-chips .c-now { background: var(--s1); }
.mh-chart .rm-chart__key i.mh-k2, .mh-chips .c-y1 { background: var(--s2); }
.mh-chips .c-m1 { background: var(--s3); }
.mh-chart .rm-chart__key i.mh-kref, .mh-chips .c-zero, .rm-chart__key .c-zero { background: var(--mute); }
.rm-chart__key .c-now { background: var(--s1); } .rm-chart__key .c-m1 { background: var(--s3); }
.mh-chips { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; color: var(--mute); font-size: 12.5px; }
.mh-chips > span { display: inline-flex; align-items: center; gap: 6px; }
.mh-chips i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; }
.mh-tp__plot, .mh-cmd__plot { position: relative; min-width: 0; }
.mh-tp__plot > svg, .mh-cmd__plot > svg { display: block; width: 100%; height: auto; overflow: visible; stroke: none; touch-action: pan-y; }
/* 밝은 구역(금리, 체온계, 일정)의 차트 */
:root:not([data-theme="dark"]) .mh-light .rc-grid .rc-vgrid { stroke: rgba(0, 0, 0, .05); }
:root:not([data-theme="dark"]) .mh-light .rc-grid .rc-ref { stroke: rgba(0, 0, 0, .35); }
:root:not([data-theme="dark"]) .mh-light .rc-grid .rc-mark { stroke: rgba(0, 0, 0, .3); }
:root:not([data-theme="dark"]) .mh-light .rc-cross { stroke: rgba(0, 0, 0, .38); }
:root:not([data-theme="dark"]) .mh-light .rc-dot { stroke: #fff; }
:root:not([data-theme="dark"]) .mh-light .rc-hdot { fill: #1d1d1f; stroke: #fff; }
:root:not([data-theme="dark"]) .mh-light .rm-chart__tip { background: rgba(255, 255, 255, .97); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
:root:not([data-theme="dark"]) .mh-light .rm-chart { background: var(--bg-2); }
:root:not([data-theme="dark"]) .lp-sec--gray.mh-light .rm-chart { background: var(--card); }

/* ── 구역 줄 ── */
.mh-nav { position: sticky; top: var(--top-h); z-index: 20; color-scheme: dark; border-bottom: 1px solid rgba(255, 255, 255, .1); background: rgba(6, 6, 8, .97); color: #f5f5f7; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.mh-nav { background: rgba(6, 6, 8, .9); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
}
.mh-nav ul { display: flex; gap: 4px; margin-inline: calc(var(--gut) * -1); padding: 10px var(--gut); overflow-x: auto; scrollbar-width: none; }
.mh-nav ul::-webkit-scrollbar { display: none; }
.mh-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; color: #a1a1a6; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.mh-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mh-nav a[aria-current="true"] { background: #f5f5f7; color: #000; }

/* ── 시장 시계 ── */
.mh-ck { display: grid; gap: 26px; }
.mh-ck__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.mh-ck__now b { display: block; font-size: clamp(46px, 6.2vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.mh-ck__now span { display: block; margin-top: 12px; color: var(--mute); font-size: 14px; }
.mh-ck__sum { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 12px 32px; }
.mh-ck__sum li { display: grid; gap: 3px; min-width: 0; }
.mh-ck__sum span { color: var(--mute); font-size: 12.5px; }
.mh-ck__sum b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mh-ck__board { --nw: 168px; --sw: 286px; --g: 22px; --px: 24px; position: relative; padding: 20px var(--px) 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
/* 지금 시각 세로선: 넓은 화면은 판 전체를 꿰는 한 줄, 좁은 화면은 띠마다 짧은 선(.mh-ck__pin) */
.mh-ck__needle { position: absolute; top: 46px; bottom: 10px; left: calc(var(--px) + var(--nw) + var(--g) + (100% - 2 * var(--px) - var(--nw) - var(--sw) - 2 * var(--g)) * var(--now, 0)); z-index: 2; width: 2px; margin-left: -1px; border-radius: 1px; background: #f5f5f7; pointer-events: none; }
.mh-ck__needle::before { /* ai-design-ok: 지금 시각 세로선 머리의 둥근 점(시계 바늘 끝) */ content: ""; position: absolute; top: -5px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: #f5f5f7; }
.mh-ck__axis, .mh-ck__row { display: grid; grid-template-columns: var(--nw) minmax(0, 1fr) var(--sw); column-gap: var(--g); align-items: center; }
.mh-ck__axis { padding-bottom: 10px; border-bottom: 1px solid var(--line-2); color: var(--mute); font-size: 12px; }
.mh-ck__ticks { position: relative; height: 16px; font-variant-numeric: tabular-nums; }
.mh-ck__ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.mh-ck__ticks span:nth-child(1) { left: 0; transform: none; } .mh-ck__ticks span:nth-child(2) { left: 12.5%; } .mh-ck__ticks span:nth-child(3) { left: 25%; }
.mh-ck__ticks span:nth-child(4) { left: 37.5%; } .mh-ck__ticks span:nth-child(5) { left: 50%; } .mh-ck__ticks span:nth-child(6) { left: 62.5%; }
.mh-ck__ticks span:nth-child(7) { left: 75%; } .mh-ck__ticks span:nth-child(8) { left: 87.5%; } .mh-ck__ticks span:nth-child(9) { left: 100%; transform: translateX(-100%); }
.mh-ck__row { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.mh-ck__row:last-child { border-bottom: 0; }
.mh-ck__name b { display: block; font-size: 16px; font-weight: 650; }
.mh-ck__name small { display: block; margin-top: 2px; color: var(--mute); font-size: 12.5px; }
.mh-ck__band { /* ai-design-ok: 3시간마다 세로 눈금선 */ position: relative; height: 28px; border-radius: 6px; background-color: rgba(255, 255, 255, .035); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 12.5%); }
.mh-ck__bar { position: absolute; top: 5px; bottom: 5px; left: calc(var(--l, 0) * 100%); width: calc(var(--w, 0) * 100%); border-radius: 4px; background: rgba(255, 255, 255, .24); }
.mh-ck__bar.is-on { background: var(--live); }
.mh-ck__bar.is-all { background: rgba(34, 197, 94, .42); }
.mh-ck__pin { position: absolute; top: -4px; bottom: -4px; left: calc(var(--now, 0) * 100%); z-index: 2; display: none; width: 2px; margin-left: -1px; border-radius: 1px; background: #f5f5f7; }
.mh-ck__st { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; font-variant-numeric: tabular-nums; }
.mh-ck__st .mh-ck__kst { flex-basis: 100%; }
.mh-ck__st em { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-style: normal; font-weight: 650; }
.mh-ck__st em::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mute); }
.mh-ck__st em.is-open::before { background: var(--live); }
.mh-ck__st em.is-lunch::before { background: #f3b93f; }
.mh-ck__st small { color: var(--ink-2); font-size: 13px; }
.mh-ck__st small.mh-ck__kst { color: var(--mute); font-size: 12px; }

/* ── 핵심 지표 16칸 ── */
.lp-kpis.mh-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-kpis.mh-kpis > div { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 16px; }
.lp-kpis.mh-kpis dt { display: flex; align-items: center; gap: 11px; color: var(--ink-2); font-size: 14px; font-weight: 600; line-height: 1.3; }
.lp-kpis.mh-kpis dt small { display: block; margin-top: 2px; color: var(--mute); font-size: 12px; font-weight: 400; }
.mh-ico { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: var(--ink); }
.mh-ico svg { width: 18px; height: 18px; }
.mh-light .mh-ico { background: var(--bg-2); }
.lp-kpis.mh-kpis dd { margin: 6px 0 0; font-size: 13px; font-weight: 400; letter-spacing: 0; white-space: normal; }
.lp-kpis.mh-kpis dd.mh-kpi__v { margin-top: 16px; font-size: clamp(22px, 2.05vw, 29px); font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.lp-kpis.mh-kpis dd.mh-kpi__c { min-height: 1.6em; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.lp-kpis.mh-kpis dd.mh-kpi__sp { margin-top: auto; padding-top: 14px; }
.lp-kpis.mh-kpis dd.mh-kpi__src { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line-2); color: var(--mute); font-size: 11.5px; }
.mh-kpi__c .z0 { color: var(--z0); } .mh-kpi__c .z1 { color: var(--z1); } .mh-kpi__c .z2 { color: var(--ink-2); } .mh-kpi__c .z3 { color: var(--z3); } .mh-kpi__c .z4 { color: var(--z4); }

/* ── 디지털자산 시세판과 업비트 전체 ── */
.mh-mtwrap { margin-top: 0; }
.mh-up { margin-top: clamp(44px, 5vw, 68px); }
.mh-up__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.mh-up__sum { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.mh-up__breadth { display: flex; gap: 2px; height: 10px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: var(--line-2); }
.mh-up__breadth i { flex: var(--w, 1) 1 0; min-width: 0; }
.mh-up__breadth .is-r { background: var(--up); } .mh-up__breadth .is-e { background: #6b6b73; } .mh-up__breadth .is-f { background: var(--down); }
.mh-up__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.mh-up__col { min-width: 0; padding: 18px 18px 6px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.mh-up__list { margin-top: 10px; }
.mh-up__list li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 70px; align-items: center; gap: 10px; min-height: 46px; padding: 6px 0; border-top: 1px solid var(--line-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.mh-up__list[data-up="vol"] li { grid-template-columns: 20px minmax(0, 1fr) auto 70px; }
.mh-up__rk { color: var(--mute); font-size: 12.5px; text-align: right; }
.mh-up__nm { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.mh-up__nm b { flex: none; font-weight: 650; }
.mh-up__nm small { overflow: hidden; color: var(--mute); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.mh-up__warn { flex: none; padding: 0 5px; border: 1px solid rgba(224, 50, 63, .55); border-radius: 4px; color: #ff6b75; font-size: 11px; font-style: normal; line-height: 1.5; }
.mh-up__p, .mh-up__v { color: var(--ink-2); text-align: right; }
.mh-up__c { font-weight: 600; text-align: right; }
.mh-up__bar { position: absolute; left: 30px; bottom: -1px; width: calc((100% - 30px) * var(--w, 0)); height: 2px; background: var(--s1); opacity: .4; }
.mh-up__list[data-up="rise"] .mh-up__bar { background: var(--up); } .mh-up__list[data-up="fall"] .mh-up__bar { background: var(--down); }
.mh-up__list li:empty::after { content: ""; grid-column: 1 / -1; height: 10px; border-radius: 4px; background: var(--line-2); }
.mh-up__list li.mh-up__fail { display: block; padding: 14px 0; color: var(--mute); }
.mh-up__list li.mh-up__fail::after { display: none; }
.mh-chartbox { margin-top: clamp(44px, 5vw, 68px); }
.mh-chartbox__lede { margin-top: 6px; color: var(--mute); font-size: 14px; }
.mh-chartbox .lp-tvbox { margin-top: 16px; }

/* ── 코인 심리와 파생 ── */
.mh-sent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mh-sent > .mh-card { display: flex; flex-direction: column; }
.mh-big .z0 { color: var(--z0); } .mh-big .z1 { color: var(--z1); } .mh-big .z2 { color: var(--ink-2); } .mh-big .z3 { color: var(--z3); } .mh-big .z4 { color: var(--z4); }
.mh-fg__scale { position: relative; display: flex; gap: 3px; height: 10px; margin: 34px 0 8px; }
.mh-fg__scale i { border-radius: 3px; }
.mh-fg__scale .z0 { flex: 25 1 0; background: var(--z0); } .mh-fg__scale .z1 { flex: 21 1 0; background: var(--z1); } .mh-fg__scale .z2 { flex: 8 1 0; background: var(--z2); }
.mh-fg__scale .z3 { flex: 21 1 0; background: var(--z3); } .mh-fg__scale .z4 { flex: 25 1 0; background: var(--z4); }
.mh-fg__scale b { position: absolute; bottom: calc(100% + 6px); left: calc(var(--x, -1) * 100%); padding: 1px 7px; border-radius: 6px; background: #f5f5f7; color: #000; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
.mh-fg__scale b:empty { display: none; }
.mh-fg__scale b::after { /* ai-design-ok: 숫자 꼬리표에서 눈금 막대의 지금 값 자리로 내려오는 지시선 */ content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 14px; margin-left: -1px; background: #f5f5f7; }
.mh-fg__key { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--mute); font-size: 11.5px; }
.mh-fg__key li { display: inline-flex; align-items: center; gap: 5px; }
.mh-fg__key i { width: 8px; height: 8px; border-radius: 2px; }
.mh-fg__key .z0 { background: var(--z0); } .mh-fg__key .z1 { background: var(--z1); } .mh-fg__key .z2 { background: var(--z2); } .mh-fg__key .z3 { background: var(--z3); } .mh-fg__key .z4 { background: var(--z4); }
.mh-cmp dd.z0 { color: var(--z0); } .mh-cmp dd.z1 { color: var(--z1); } .mh-cmp dd.z3 { color: var(--z3); } .mh-cmp dd.z4 { color: var(--z4); }
.mh-fg__bars { position: relative; display: flex; flex: 1 1 auto; align-items: flex-end; gap: 3px; min-height: 96px; margin-top: 22px; border-bottom: 1px solid var(--line); }
.mh-fg__bars::before { /* ai-design-ok: 막대 그림의 50(중립) 기준선 */ content: ""; position: absolute; left: 0; right: 0; bottom: 50%; border-top: 1px dashed rgba(255, 255, 255, .22); pointer-events: none; }
.mh-fg__bars i { flex: 1 1 0; min-width: 0; height: calc(var(--h, 0) * 100%); border-radius: 2px 2px 0 0; }
.mh-fg__bars .z0 { background: var(--z0); } .mh-fg__bars .z1 { background: var(--z1); } .mh-fg__bars .z2 { background: var(--z2); } .mh-fg__bars .z3 { background: var(--z3); } .mh-fg__bars .z4 { background: var(--z4); }
.mh-stack { display: flex; gap: 2px; height: 16px; margin-top: 20px; overflow: hidden; border-radius: 4px; background: var(--line-2); }
.mh-stack i { flex: var(--w, 0) 1 0; min-width: 0; }
.mh-legend { display: grid; gap: 8px; margin-top: 16px; }
.mh-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; }
.mh-legend i { width: 10px; height: 10px; border-radius: 3px; }
.mh-legend b { font-weight: 600; font-variant-numeric: tabular-nums; }
.mh-dom .mh-cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: auto; }
.mh-dom .mh-legend { margin-bottom: 18px; }
.mh-ls .mh-chart { margin-top: auto; }
.mh-ls .mh-big { margin-bottom: 16px; }
.mh-frwrap { margin-top: clamp(40px, 5vw, 60px); }
.mh-frwrap .mh-scroll { margin-top: 12px; }
.mh-fr__sp { width: 150px; }
.mh-fr__sp .mh-spark { width: 130px; margin-left: auto; }

/* ── 비트코인 네트워크 ── */
.mh-net__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.mh-net__tip { color: var(--mute); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.mh-blks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.mh-blk { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 150px; padding: 14px 13px 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-variant-numeric: tabular-nums; }
.mh-blk:first-child { border-color: rgba(255, 146, 43, .6); }
.mh-blk:empty { background: var(--card); }
.mh-blk b { font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.mh-blk span { color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.mh-blk .mh-blk__fee { color: var(--s2); font-size: 13.5px; font-weight: 600; }
.mh-blk small { color: var(--mute); font-size: 11.5px; line-height: 1.4; }
.mh-blk__fill { position: relative; display: block; height: 4px; margin-top: auto; border-radius: 999px; background: var(--line-2); }
.mh-blk__fill::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--f, 0) * 100%); border-radius: inherit; background: var(--s2); }
@media (prefers-reduced-motion: no-preference) {
	html:not([data-motion="off"]) .mh-blk.is-new { animation: mh-blk-in .9s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes mh-blk-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.mh-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mh-nums > div { min-width: 0; padding: 20px 0 20px 22px; border-left: 1px solid var(--line-2); }
.mh-nums > div:first-child { padding-left: 0; border-left: 0; }
.mh-nums dt { color: var(--mute); font-size: 13px; }
.mh-nums dd { margin: 6px 0 0; font-size: clamp(22px, 2.5vw, 34px); font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mh-net__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.mh-net__grid .mh-card { display: flex; flex-direction: column; }
.mh-fee__list { display: grid; gap: 12px; margin-top: 18px; }
.mh-fee__list li { display: grid; grid-template-columns: 78px minmax(0, 1fr) 88px 76px; align-items: center; gap: 12px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.mh-fee__list span { color: var(--ink-2); }
.mh-fee__list b { font-weight: 650; text-align: right; }
.mh-fee__list small { color: var(--mute); font-size: 12.5px; text-align: right; }
.mh-fee__bar { height: 10px; border-radius: 999px; background: var(--line-2); }
.mh-fee__bar i { display: block; width: calc(var(--w, 0) * 100%); height: 100%; border-radius: inherit; background: var(--s2); }
.mh-prog { height: 10px; margin-top: 18px; border-radius: 999px; background: var(--line-2); }
.mh-prog i { display: block; width: calc(var(--p, 0) * 100%); height: 100%; border-radius: inherit; background: var(--s1); }
.mh-diff .mh-cmp { margin-top: auto; }
.mh-hash .mh-chart, .mh-feeline .mh-chart { margin-top: 0; }
.mh-net__grid .rm-chart { border: 0; padding: 0; background: none; }

/* ── 세계 시장 ── */
.mh-tape { margin-top: 0; }
.mh-world { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.mh-world__col { min-width: 0; }
.mh-world .lp-tvbox, .mh-fx .lp-tvbox, .mh-cmd .lp-tvbox, .mh-ta .lp-tvbox { margin-top: 12px; }

/* ── 시장 지도 ── */
.mh-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 100%; padding: 4px; border-radius: 999px; background: var(--bg-2); }
.mh-tab { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.mh-tab:hover { color: var(--ink); }
.lp-sec--ink .mh-tab.is-on { background: #f5f5f7; color: #000; }
.mh-map__desc { margin-top: 16px; color: var(--mute); font-size: 14px; }
.mh-map .lp-tvbox { margin-top: 12px; }

/* ── 금리와 채권 ── */
.mh-unums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.mh-unums > div { min-width: 0; padding: 18px 0 18px 20px; border-left: 1px solid var(--line-2); }
.mh-unums > div:first-child { padding-left: 0; border-left: 0; }
.mh-unums dt { color: var(--mute); font-size: 13px; }
.mh-unums dd { margin: 6px 0 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mh-unums dd.mh-u__c { margin-top: 2px; color: var(--mute); font-size: 12.5px; font-weight: 400; letter-spacing: 0; }
.mh-ust__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 18px; }
.mh-ust__grid .mh-chart { margin-top: 0; }
.mh-ust__tab { padding: 6px 18px 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.mh-ust__t th, .mh-ust__t td { padding: 8.5px 8px; font-size: 14px; }
.mh-ust__t tbody th { font-weight: 600; }
.mh-cb { margin-top: clamp(52px, 6vw, 84px); }
.mh-cb__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.mh-cb__head p { color: var(--mute); font-size: 14px; }
.mh-cb__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.mh-cb__card { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.mh-cb__who b { display: block; font-size: 15px; font-weight: 650; }
.mh-cb__who small { display: block; color: var(--mute); font-size: 12px; }
.mh-cb__v { margin-top: 8px; font-size: 26px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mh-cb__chg { min-height: 1.5em; font-size: 12.5px; }
.mh-cb__card .mh-spark { height: 40px; margin-top: auto; padding-top: 8px; color: var(--s1); }
.mh-cb__d { color: var(--mute); font-size: 11.5px; }

/* ── 시장 체온계 ── */
.mh-temp__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.mh-temp__as { color: var(--mute); font-size: 13px; }
.mh-seg button { height: 38px; }
.lp-sec--gray .mh-seg { border: 1px solid var(--line); background: var(--card); }
.lp-sec--gray .mh-seg button.is-on { background: var(--ink); color: var(--bg); box-shadow: none; }
.mh-temp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mh-tp { display: flex; flex-direction: column; min-width: 0; padding: 18px 18px 16px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.mh-tp__name b { display: block; font-size: 15.5px; font-weight: 650; }
.mh-tp__name small { display: block; margin-top: 2px; color: var(--mute); font-size: 12px; }
.mh-tp__v { margin-top: 12px; }
.mh-tp__v b { display: block; font-size: 28px; font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.mh-tp__v > span { display: block; min-height: 3em; margin-top: 2px; color: var(--mute); font-size: 12.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.mh-tp__plot { margin-top: 6px; }
.mh-range { position: relative; height: 6px; margin-top: 14px; border-radius: 999px; background: var(--line); }
.mh-range i { position: absolute; top: 50%; left: calc(var(--x, -1) * 100%); width: 12px; height: 12px; border: 2px solid var(--card); border-radius: 50%; background: var(--s1); transform: translate(-50%, -50%); }
.mh-tp__rng { margin-top: 8px; color: var(--mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.mh-tp__rng span { display: block; }
.mh-tp__read { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.mh-tp__rng + .mh-tp__read { margin-top: 14px; }
.mh-tp > .mh-tp__read { margin-top: auto; }

/* ── 환율 ── */
.mh-fx { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.mh-fx__main, .mh-fx__side { min-width: 0; }
.mh-fx__side { display: grid; gap: 14px; }
.mh-fxt__sp { width: 140px; }
.mh-fxt__sp .mh-spark { width: 120px; margin-left: auto; }
.mh-dxy .rm-chart { margin-top: 20px; }

/* ── 원자재 ── */
.mh-cmd { display: grid; gap: clamp(36px, 4vw, 52px); }
.mh-cmd__live, .mh-cmd__hist { min-width: 0; }
.mh-cmd__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; margin-top: 12px; }
.mh-cmd__row:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line-2); }
.mh-cmd__row { display: grid; grid-template-columns: minmax(0, 1.15fr) 104px 68px minmax(0, 1.5fr); align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.mh-cmd__name { min-width: 0; }
.mh-cmd__name b { display: block; font-size: 15px; font-weight: 650; }
.mh-cmd__name small { display: block; margin-top: 2px; color: var(--mute); font-size: 11.5px; line-height: 1.45; }
.mh-cmd__v { text-align: right; font-variant-numeric: tabular-nums; }
.mh-cmd__v b { display: block; font-size: 17px; font-weight: 650; }
.mh-cmd__v small { display: block; color: var(--mute); font-size: 11.5px; }
.mh-cmd__c { font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }

/* ── 보조지표 ── */
.mh-ta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mh-ta__cell { min-width: 0; }

/* ── 경제 일정 ── */
.mh-sec--cal .lp-tvbox { margin-top: 0; }

/* ── 넓이에 따라 ── */
@media (max-width: 1180px) {
	.mh-cb__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mh-ta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-temp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-blks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mh-sent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-sent > .mh-ls { grid-column: 1 / -1; }
	.mh-ck__board { --nw: 128px; --sw: 270px; --g: 16px; }
}
@media (max-width: 960px) {
	.lp-kpis.mh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-up__grid { grid-template-columns: minmax(0, 1fr); }
	.mh-world, .mh-fx, .mh-ust__grid, .mh-cmd__rows { grid-template-columns: minmax(0, 1fr); }
	.mh-cmd__row:nth-last-child(2) { border-bottom: 0; }
	.mh-cb__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mh-net__grid { grid-template-columns: minmax(0, 1fr); }
	.mh-unums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mh-unums > div:nth-child(4) { padding-left: 0; border-left: 0; }
	.mh-unums > div:nth-child(n + 4) { border-top: 1px solid var(--line-2); }
	.mh-ck__sum { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.mh-nav a { height: 40px; }
	.mh-sent { grid-template-columns: minmax(0, 1fr); }
	.mh-ck__board { --nw: 88px; --px: 14px; padding: 16px var(--px) 4px; }
	.mh-ck__name b { font-size: 14.5px; letter-spacing: -.02em; white-space: nowrap; }
	.mh-ck__axis { grid-template-columns: var(--nw) minmax(0, 1fr); column-gap: 12px; }
	.mh-ck__axis > span:last-child { display: none; }
	.mh-ck__axname { font-size: 11px; }
	.mh-ck__row { grid-template-columns: var(--nw) minmax(0, 1fr); column-gap: 12px; row-gap: 8px; padding: 12px 0; }
	.mh-ck__name small { display: none; }
	.mh-ck__st { grid-column: 2; }
	.mh-ck__pin { display: block; }
	.mh-ck__needle { display: none; }
	.mh-ck__ticks span:nth-child(even) { display: none; }
	.mh-blks { grid-auto-columns: 138px; grid-auto-flow: column; grid-template-columns: none; margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 6px; overflow-x: auto; scrollbar-width: thin; }
	.mh-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-nums > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.mh-nums > div:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
	.mh-fee__list li { grid-template-columns: 64px minmax(0, 1fr) 80px; }
	.mh-fee__list small { grid-column: 3; margin-top: -8px; }
	.mh-temp__grid { grid-template-columns: minmax(0, 1fr); }
	.mh-cb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-ta { grid-template-columns: minmax(0, 1fr); }
	.mh-unums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-unums > div:nth-child(n) { padding-left: 16px; border-left: 1px solid var(--line-2); }
	.mh-unums > div:nth-child(odd) { padding-left: 0; border-left: 0; }
	.mh-unums > div:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
	.mh-unums > div:last-child { grid-column: 1 / -1; }
	.mh-cmd__row { grid-template-columns: minmax(0, 1fr) auto 64px; row-gap: 6px; }
	.mh-cmd__plot { grid-column: 1 / -1; }
	.mh-cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-fg .mh-cmp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mh-card { padding: 18px 16px; }
	.mh-up__col { padding: 16px 14px 4px; }
	.mh-ust__tab { padding: 4px 12px 8px; }
	.mh-tvmap .lp-tv iframe { height: 500px !important; }
	.mh-tvq .lp-tv iframe { height: 620px !important; }
	.mh-tvcmd .lp-tv iframe { height: 570px !important; }
	.mh-tvta .lp-tv iframe { height: 420px !important; }
	.mh-tvchart .lp-tv iframe { height: 460px !important; }
	.mh-tvev .lp-tv iframe { height: 600px !important; }
	/* 시세판: 김프까지 한 화면에. 달러 가격과 자산 이름은 넓은 화면에서만 */
	.mh-mt th:nth-child(4), .mh-mt td[data-usd] { display: none; }
	.mh-mt th[scope="row"] span { display: none; }
	.mh-mt th, .mh-mt td { padding-inline: 8px; font-size: 14px; }
	/* 휴대폰 표: 가로로 밀지 않아도 핵심 칸이 보이게 덜 중요한 칸을 뺀다 */
	.mh-t th, .mh-t td { padding-inline: 6px; }
	.mh-t th[scope="row"] small, .mh-t th[scope="row"] span { display: none; }
	.mh-fr th:nth-child(4), .mh-fr td[data-f="apr"], .mh-fr th:nth-child(5), .mh-fr td[data-f="next"], .mh-fr th:nth-child(7), .mh-fr td.mh-fr__sp { display: none; }
	.mh-fxt th:nth-child(4), .mh-fxt td[data-x="w1"] { display: none; }
	.mh-fxt__sp { width: 88px; }
	.mh-fxt__sp .mh-spark { width: 80px; }}
@media (max-width: 480px) {
	.lp-kpis.mh-kpis { gap: 8px; }
	.lp-kpis.mh-kpis > div { padding: 14px 13px 12px; }
	.lp-kpis.mh-kpis dt { gap: 8px; font-size: 13px; }
	.mh-ico { width: 28px; height: 28px; border-radius: 8px; }
	.mh-ico svg { width: 15px; height: 15px; }
	.lp-kpis.mh-kpis dd.mh-kpi__v { margin-top: 12px; font-size: 18px; }
	.lp-kpis.mh-kpis dd.mh-kpi__c { font-size: 12px; }
	.mh-cb__grid { gap: 8px; }
	.mh-cb__card { padding: 13px 12px 12px; }
	.mh-cb__v { font-size: 22px; }
	.mh-tabs { display: flex; }
	.mh-tab { flex: 1 1 auto; padding: 0 12px; }
}

/* ── 여백 다듬기(sweep 에서 글과 상자 사이가 6~12px 로 붙어 보이던 곳) ── */
.mh-fg__scale { margin-bottom: 14px; }
.mh-chart .rm-chart__head { margin-bottom: 16px; }
.mh-chart .rm-chart__key { margin-top: 14px; }
.mh-frwrap .mh-scroll { margin-top: 18px; }
.mh-blk small { margin-bottom: 14px; }
.mh-world .lp-tvbox, .mh-fx .lp-tvbox, .mh-cmd .lp-tvbox, .mh-ta .lp-tvbox { margin-top: 16px; }
.mh-map .lp-tvbox { margin-top: 18px; }
.mh-cb__card .mh-spark { margin: 12px 0 10px; padding-top: 0; }
.mh-tp__plot { margin-top: 14px; }
.mh-tp__rng { margin-top: 14px; }
.mh-dxy .mh-card__lede { margin-top: 16px; }
.mh-ls .mh-big { margin-bottom: 20px; }
@media (max-width: 760px) {
	.mh-ck__row { row-gap: 14px; }
	.mh-cmd__plot { margin-top: 8px; }
	.mh-cmd__row { row-gap: 10px; padding: 14px 0; }
}

/* ── parts/media-spec.css ── */
/* 미디어: 숏폼 규격표의 휴대폰 목업(2026-11-23). 영상 장면 위에 단추와 글자가 덮는 곳(검붉은 면)과 안전 영역(점선)을 겹쳐 보여 준다.
   --t --b --l --r 는 위·아래·왼쪽·오른쪽에서 비울 비율, --r2 는 화면 아래쪽 구간의 오른쪽(틱톡의 단추 줄). 수치는 rooms7/media_spec.py 와 같게 둔다.
   넓은 화면에서는 휴대폰 세 대와 아래 표의 세로줄이 맞는다(첫 칸 --c0 + 플랫폼 세 칸). 휴대폰 아래 이름이 표의 머리글 노릇을 해서 표의 머리글 줄은 화면에서만 감춘다 */
.rm-szw, .rm-sz__table { --c0: 17%; }
.rm-szw { display: grid; grid-template-columns: var(--c0) minmax(0, 1fr); align-items: start; margin-bottom: 26px; }
.rm-sz__key { display: grid; gap: 12px; margin: 0; padding: 4px 18px 0 12px; list-style: none; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; word-break: keep-all; }
.rm-sz__key li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.rm-sz__k { width: 18px; height: 18px; margin-top: 1px; border-radius: 4px; }
.rm-sz__k--zone { background: #8f2a17; }
.rm-sz__k--safe { border: 1.5px dashed #fff; }
.rm-szs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.rm-sz { --t: 15%; --b: 35%; --l: 4.44%; --r: 17.78%; --r2: var(--r); min-width: 0; padding-inline: 12px; }
.rm-sz--ig { --t: 14%; --b: 35%; --l: 6%; --r: 6%; }
.rm-sz--tt { --t: 12.5%; --b: 34.38%; --l: 11.11%; --r: 11.11%; --r2: 27.78%; }
.rm-sz__fig { display: grid; justify-items: start; gap: 20px; margin: 0; }
.rm-sz__dev { position: relative; width: min(100%, 280px); aspect-ratio: 9 / 16; overflow: hidden; border: 6px solid #26262b; border-radius: 32px; background: #0d0f14; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 28px 60px rgba(0, 0, 0, .55); }
.rm-sz__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.84); }
.rm-sz--yt .rm-sz__vid { object-position: 51% 50%; } .rm-sz--ig .rm-sz__vid { object-position: 62% 50%; } .rm-sz--tt .rm-sz__vid { object-position: 84% 50%; }
.rm-sz__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rm-sz__zone { fill: rgba(128, 26, 8, .68); stroke: none; }
.rm-sz__line { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linecap: butt; vector-effect: non-scaling-stroke; }
.rm-sz__n { position: absolute; left: 0; right: 0; color: #fff; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.rm-sz__n--t { top: calc(var(--t) * .5 + 1px); } .rm-sz__n--b { bottom: calc(var(--b) - 30px); }
.rm-sz__safe { position: absolute; top: var(--t); bottom: var(--b); left: var(--l); right: var(--r); display: grid; place-items: center; }
.rm-sz--tt .rm-sz__safe { bottom: 56.25%; }   /* 계단 위쪽 넓은 칸의 가운데 */
.rm-sz__safe b { padding: 6px 12px; border-radius: 999px; background: #f5f5f7; color: #111114; font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.rm-sz__sub { position: absolute; left: var(--l); right: var(--r2); bottom: calc(var(--b) + 3%); display: grid; justify-items: center; }
.rm-sz__sub b { padding: 4px 9px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
/* 화면을 덮는 것들을 흐린 모양으로: 위쪽 탭, 오른쪽 단추 줄, 아래쪽 계정과 설명 */
.rm-sz__ui { position: absolute; display: flex; gap: 6px; }
.rm-sz__ui i { display: block; background: rgba(255, 255, 255, .5); }
.rm-sz__ui--tabs { top: 3.2%; left: 0; right: 0; justify-content: center; }
.rm-sz__ui--tabs i { width: 28px; height: 5px; border-radius: 3px; } .rm-sz__ui--tabs i:nth-child(2) { background: rgba(255, 255, 255, .92); }
.rm-sz__ui--acts { right: 4%; bottom: 12%; flex-direction: column; gap: 10px; }
.rm-sz__ui--acts i { width: 22px; height: 22px; border-radius: 50%; }
.rm-sz--ig .rm-sz__ui--acts { bottom: 5%; gap: 8px; } .rm-sz--ig .rm-sz__ui--acts i { width: 18px; height: 18px; } .rm-sz--ig .rm-sz__ui--acts i:nth-child(5) { display: none; }
.rm-sz--tt .rm-sz__ui--acts { right: 6%; bottom: 9%; } .rm-sz--tt .rm-sz__ui--acts i { width: 24px; height: 24px; }
.rm-sz__ui--cap { left: 6%; bottom: 4.5%; flex-direction: column; align-items: flex-start; gap: 6px; width: 56%; }
.rm-sz--tt .rm-sz__ui--cap { left: 12%; width: 48%; }
.rm-sz__ui--cap i { height: 6px; border-radius: 3px; } .rm-sz__ui--cap i:nth-child(1) { width: 44%; background: rgba(255, 255, 255, .92); } .rm-sz__ui--cap i:nth-child(2) { width: 100%; } .rm-sz__ui--cap i:nth-child(3) { width: 70%; }
.rm-sz__fig figcaption { display: grid; justify-items: start; gap: 7px; }
.rm-sz__name { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; letter-spacing: -.02em; }
.rm-sz__name .rm-ico { width: 22px; height: 22px; border-radius: 6px; }
.rm-sz__src { color: var(--mute); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.rm-sz__src:hover { color: var(--ink); }
.rm-sz__table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rm-sz__c0 { width: var(--c0); }
.rm-sz__table tbody th { font-weight: 600; white-space: normal; word-break: keep-all; vertical-align: top; }
.rm-sz__table tbody tr:first-child > * { border-top: 1px solid var(--line); }
@media (min-width: 761px) { .rm-sz__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
@media (max-width: 1000px) { .rm-szw, .rm-sz__table { --c0: 22%; } .rm-sz__key { padding-right: 12px; } }
@media (max-width: 760px) {
	.rm-szw { display: block; margin-bottom: 18px; }
	.rm-sz__key { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 0 16px; }
	.rm-sz__key li { display: flex; align-items: center; gap: 8px; }
	.rm-sz__k { margin-top: 0; }
	.rm-szs { display: flex; gap: 16px; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.rm-szs::-webkit-scrollbar { display: none; }
	.rm-sz { flex: 0 0 72%; padding-inline: 0; scroll-snap-align: center; }
	.rm-sz__fig, .rm-sz__fig figcaption { justify-items: center; }
	.rm-sz__dev { width: 100%; }
	/* 표는 줄마다 세 칸을 아래로 쌓는다. 칸 앞에 플랫폼 이름(data-th)을 붙인다 */
	.rm-sz__table table, .rm-sz__table tbody, .rm-sz__table tr, .rm-sz__table tbody th, .rm-sz__table td { display: block; }
	.rm-sz__table thead, .rm-sz__table colgroup { display: none; }
	.rm-sz__table tr { padding: 14px 0 12px; border-top: 1px solid var(--line); }
	.rm-sz__table tbody tr:first-child > * { border-top: 0; }
	.rm-sz__table tbody th { padding: 0 0 6px; border: 0; font-size: 15px; }
	.rm-sz__table td { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 10px; min-width: 0; padding: 3px 0; border: 0; font-size: 14.5px; }
	.rm-sz__table td::before { content: attr(data-th); color: var(--mute); font-size: 13px; }
}

/* ── parts/menu-deck.css ── */
/* 전체 메뉴 소개(2026-11-23 3판): 문장마다 한 줄, 낱말을 따라 잉크가 번지는 물결, 오른쪽에 궤도 그림(11-26, 그 전에는 넘어가는 주제 카드). 동작은 library.js 의 readAlong·orbitOf */
.rm-menu__top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 33vw, 470px); gap: clamp(24px, 4vw, 72px); align-items: center; margin: 26px 0 38px; }
.rm-menu__top .rm-menu__intro { max-width: 660px; margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.75; }
.rm-menu__intro .lp-sent { display: block; }
.rm-menu__intro .lp-sent + .lp-sent { margin-top: 2px; }
/* 물결: 지금 읽는 낱말은 파랗게 살짝 떠오르고, 지나간 낱말은 먹색으로 가라앉는다 */
.rm-menu__intro .ra-w { display: inline-block; color: var(--line); transition: color .9s var(--ease), transform .55s var(--ease-out); }
.rm-menu__intro .ra-w.is-now { color: var(--blue); transform: translateY(-2px); transition-duration: .18s, .18s; }
.rm-menu__intro .ra-w.is-read { color: var(--ink); }
.rm-menu__intro .ra-w.is-key.is-read { color: var(--blue); }
[data-motion="off"] .rm-menu__intro .ra-w { color: var(--ink); transition: none; transform: none; }
[data-motion="off"] .rm-menu__intro .ra-w.is-key { color: var(--blue); }
/* 궤도 그림(2026-11-26): 점과 선, 옅은 면 하나. 주제마다 행성 하나가 궤도를 천천히 돈다. 색은 글자색 하나와 지금 있는 주제의 파랑 */
.rm-orb { display: block; width: 100%; height: auto; overflow: visible; color: var(--ink); }
.rm-orb__l { fill: none; stroke: currentColor; stroke-width: 1; opacity: .3; vector-effect: non-scaling-stroke; }
.rm-orb__l--dot { stroke-dasharray: 1 7; stroke-linecap: round; stroke-width: 1.4; opacity: .5; }
.rm-orb__band { fill: currentColor; opacity: .035; }
.rm-orb__x { fill: none; stroke: currentColor; stroke-width: 1; opacity: .55; vector-effect: non-scaling-stroke; }
.rm-orb__p circle { fill: currentColor; opacity: .55; transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out), opacity .25s, fill .25s; }
.rm-orb__p.is-here circle { fill: var(--blue); opacity: 1; }
.rm-orb__p.is-on circle { fill: var(--blue); opacity: 1; transform: scale(1.9); }
@media (max-width: 900px) {
	/* 휴대폰: 소개 글이 카테고리를 밀어내지 않게 문장을 이어 쓰고 작게(11-26 사용자: "너무 화면 칸을 차지해. 카테고리를 가려면 아래로 많이 내려야") */
	.rm-menu__top { grid-template-columns: minmax(0, 1fr); margin: 14px 0 20px; }
	.rm-menu__top .rm-menu__intro { font-size: 14.5px; line-height: 1.62; font-weight: 500; }
	.rm-menu__intro .lp-sent { display: inline; }
	.rm-orb { display: none; }
}

/* ── parts/museum-hub.css ── */
/* 퍼블릭 뮤지엄 6판(rooms7/museum_hub.py, 2026-11-23). 첫 쪽 일곱 구역, 전시실·모아 보기의 거름 줄과 그림 벽, 교양 쪽 오늘의 작품 날짜.
   구역마다 바탕을 바꾼다: 머리(종이) → 전시실(흰) → 연대기(먹, 가로 넘김) → 화가(회색) → 사전(흰) → 색(먹) → 오늘 걸린 작품(회색) → 참고한 자료(흰) */

/* ── 머리 ── */
.mu-head .lp-mus__txt { min-width: 0; }
.mu-head__rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mu-head__rooms a { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s; }
.mu-head__rooms a:hover { border-color: var(--ink); }
.mu-head__act { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 4px; }
.mu-head__pic { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mu-head__pic img { width: auto; max-width: 100%; max-height: min(640px, 76vh); margin-inline: auto; border-radius: 6px; }
.mu-head__hero .lp-mus__cap { margin-top: 18px; text-wrap: balance; }
.mu-fig figcaption, .lp-masonry .lp-art figcaption { margin-top: 16px; }
.lp-art.mu-fig figcaption strong { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; }   /* 뮤지엄 벽은 제목을 자르지 않는다 */

/* ── 전시실 여덟: 4·4 ── */
.mu-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 34px 20px; }
.mu-room a { display: flex; flex-direction: column; height: 100%; }
.mu-room__pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 5 / 4; background: var(--line-2); }
.mu-room__pics img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .9s var(--ease-out); }
.mu-room__pics img:first-child { grid-row: span 2; }
.mu-room a:hover .mu-room__pics img { transform: scale(1.04); }
.mu-room__txt { display: flex; flex-direction: column; gap: 6px; flex: 1; padding-top: 16px; }
.mu-room__txt strong { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.mu-room__txt span { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.mu-room__txt small { margin-top: auto; padding-top: 8px; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }

/* ── 그림으로 걷는 미술사(먹 바탕, 가로 넘김) ── */
.mu-tl { overflow: hidden; }
.mu-tl__axis { margin-top: -6px; }
.mu-tl__axis ol { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 0; padding-top: 2px; }
.mu-tl__axis li { position: relative; }
.mu-tl__axis li::before { /* ai-design-ok: 시대 줄의 가로선(칸마다 이어 그려 한 줄이 된다) */ content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: rgba(255, 255, 255, .16); }
.mu-tl__axis li:last-child::before { right: auto; width: 12px; }
.mu-tl__axis a { position: relative; display: grid; justify-items: start; gap: 6px; padding: 0 6px 6px 0; color: var(--mute); transition: color .2s; }
.mu-tl__axis a:hover, .mu-tl__axis a.is-on { color: #fff; }
.mu-tl__axis b { font-size: 13.5px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; }
.mu-tl__axis small { font-size: 11.5px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mu-tl__dot { width: 11px; height: 11px; margin-top: 4px; border: 2px solid var(--night); border-radius: 50%; background: #6e6e73; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); transition: transform .3s var(--ease-out); }
.mu-tl__dot--유럽 { background: #6f9bff; }
.mu-tl__dot--중국 { background: #e8735e; }
.mu-tl__dot--한국 { background: #4fb7a8; }
.mu-tl__dot--일본 { background: #e3b04b; }
.mu-tl__dot--지중해 { background: #c39a6b; }
.mu-tl__axis a.is-on .mu-tl__dot { transform: scale(1.35); box-shadow: 0 0 0 1px #fff; }
.mu-tl__view { position: relative; margin-top: 30px; }
.mu-tl__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 84vw); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gut), calc((100% - var(--max)) / 2));
	padding: 4px max(var(--gut), calc((100% - var(--max)) / 2)) 22px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .22) transparent; }
.mu-tl__track:focus-visible { outline-offset: -2px; border-radius: 0; }
.mu-tl__card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); background: #111115; transition: border-color .35s var(--ease), background-color .35s var(--ease); }
/* 시대 줄에서 고른 카드(스크립트가 is-cur 를 붙인다). 줄 끝의 카드는 왼쪽에 댈 수 없어서 어느 카드를 골랐는지 테두리로 알려 준다 */
.mu-tl__card.is-cur { border-color: rgba(255, 255, 255, .34); background: #15151b; }
.mu-tl__when { display: flex; align-items: center; gap: 10px; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.mu-tl__when span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #e8e8ed; font-size: 12.5px; font-weight: 600; }
.mu-tl__name { font-size: 23px; line-height: 1.3; letter-spacing: -.03em; color: #fff; }
.mu-tl__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mu-tl__pic { display: block; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #1c1c21; aspect-ratio: 1; cursor: zoom-in; }
.mu-tl__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.mu-tl__pic:hover img { transform: scale(1.05); }
.mu-tl__text { color: #d2d2d7; font-size: 15px; line-height: 1.75; }
.mu-tl__text cite, .mu-term__def cite { font-style: normal; font-weight: 650; }
.mu-tl__names { display: flex; flex-wrap: wrap; gap: 4px 8px; color: #e8e8ed; font-size: 13.5px; line-height: 1.6; }
.mu-tl__names span { color: var(--mute); }
.mu-tl__more { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s; }
.mu-tl__more:hover { background: #fff; color: #000; border-color: #fff; }
.mu-tl__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.mu-tl__foot .lp-small { margin-top: 0; max-width: 640px; }
.mu-tl__ctl { flex: none; display: flex; gap: 10px; }
.mu-tl__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: transparent; color: #fff; transition: background .2s, border-color .2s, opacity .2s; }
.mu-tl__btn svg { width: 20px; height: 20px; }
.mu-tl__btn:hover:not(:disabled) { background: #fff; color: #000; border-color: #fff; }
.mu-tl__btn:disabled { opacity: .3; cursor: default; }

/* ── 화가로 보기: 6·6·6·6 ── */
.mu-artists { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 28px 18px; }
.mu-artist a { display: flex; flex-direction: column; height: 100%; }
.mu-artist__pic { display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 5; background: var(--line-2); }
.mu-artist__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.mu-artist a:hover .mu-artist__pic img { transform: scale(1.05); }
.mu-artist__txt { display: flex; flex-direction: column; gap: 3px; flex: 1; padding-top: 16px; }
.mu-artist__txt strong { font-size: 16px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.mu-artist__en { color: var(--mute); font-size: 12.5px; line-height: 1.4; }
.mu-artist__txt small { color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mu-artist__txt em { margin-top: auto; padding-top: 6px; font-style: normal; color: var(--blue); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.mu-artists-sec .lp-small { margin-top: 26px; }

/* ── 재료와 기법 사전 ── */
/* 넓은 화면: 위에 갈래 다섯 칸의 낱말 목록, 아래에 고른 낱말의 그림과 뜻풀이 */
.mu-dict__index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 18px; padding-bottom: 26px; margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line-2); }
.mu-dict__grp { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mu-dict__cat { margin: 0 0 8px 10px; color: var(--mute); font-size: 12.5px; font-weight: 600; }
.mu-dict__tab { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 5px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 500; text-align: left; transition: background .2s, color .2s; }
.mu-dict__tab:hover { background: var(--bg-2); color: var(--ink); }
.mu-dict__tab.is-on, .mu-dict__tab.is-on:hover { background: var(--ink); color: var(--bg); font-weight: 650; }
.mu-dict__ico { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.mu-term { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.mu-dict:not(.is-js) .mu-term + .mu-term { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line-2); }
.mu-term__main { display: grid; place-items: center; width: 100%; height: clamp(300px, 34vw, 480px); padding: 22px; border: 0; border-radius: var(--r-lg); background: var(--bg-2); cursor: zoom-in; }
.mu-term__main img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-height: 0; object-fit: contain; border-radius: 4px; }
.mu-term__cap { margin-top: 16px; color: var(--mute); font-size: 12.5px; line-height: 1.5; }
.mu-term__cat { color: var(--mute); font-size: 13px; font-weight: 600; }
.mu-term__name { margin-top: 6px; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.mu-term__name span { display: block; margin-top: 8px; color: var(--mute); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.mu-term__def { margin-top: 18px; color: var(--ink-2); font-size: 17px; line-height: 1.8; }
.mu-term__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; max-width: 360px; }
.mu-dict__more { display: block; padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--bg-2); cursor: zoom-in; }
.mu-dict__more img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mu-dict__more:hover img { transform: scale(1.06); }
.mu-term__act { margin-top: 24px; }
[data-motion="on"] .mu-dict.is-js .mu-term.is-on { animation: mu-in .5s var(--ease-out) both; }

/* ── 색으로 걷기(먹 바탕) ── */
.mu-colorgrid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 16px; }
.mu-color a { display: flex; flex-direction: column; gap: 12px; }
.mu-color__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; overflow: hidden; border-radius: 14px; aspect-ratio: 1; background: #1c1c21; }
.mu-color__pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.mu-color a:hover .mu-color__pics img { transform: scale(1.06); }
.mu-color__txt { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 8px; }
.mu-color__txt strong { font-size: 15px; font-weight: 650; color: #fff; }
.mu-color__txt small { grid-column: 2; color: var(--mute); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mu-colors .lp-small { margin-top: 26px; }
.mu-dot { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.mu-dot--red { background: #c8312b; } .mu-dot--orange { background: #d9782b; } .mu-dot--yellow { background: #d8b23a; } .mu-dot--green { background: #4e8a4f; }
.mu-dot--teal { background: #2f8c88; } .mu-dot--blue { background: #2f5fae; } .mu-dot--pink { background: #d97aa0; } .mu-dot--brown { background: #8a5a36; }
.mu-dot--neutral { background: linear-gradient(90deg, #1d1d1f 50%, #f5f5f7 50%); } /* ai-design-ok: 먹과 흰색 두 색 반반 */

/* ── 그림 벽(전시실, 모아 보기, 오늘 걸린 작품) ── */
.mu-wall { --cols: 4; columns: 4 240px; column-gap: 18px; }
.mu-wall > .lp-art { break-inside: avoid; }
.mu-wall.is-cols { display: flex; align-items: flex-start; gap: 18px; columns: auto; }
.mu-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.mu-col > .lp-art { margin: 0; }
[data-motion="on"] .mu-fig.is-new { animation: mu-in .6s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes mu-in { from { opacity: 0; transform: translateY(14px); } }
.mu-today__date { margin: calc(clamp(28px, 4vw, 48px) * -1 + 10px) 0 26px; color: var(--mute); font-size: 14px; }
.mu-today__date time { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }

/* ── 거름 줄 ── */
.mu-bar { display: grid; gap: 12px; margin-bottom: 30px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card); }
.mu-bar__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 4px; }
.mu-find { position: relative; flex: 1 1 280px; max-width: 440px; }
.mu-find svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.mu-find input { width: 100%; height: 44px; padding: 0 16px 0 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 15px; }
.mu-find input:focus { border-color: var(--ink); outline: none; }
.mu-find input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mu-sorts { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.mu-sort { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s; }
.mu-sort.is-on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.mu-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: 10px; }
.mu-row__label { padding-top: 8px; color: var(--mute); font-size: 13px; font-weight: 600; }
.mu-row__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mu-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.mu-chip:hover { border-color: var(--ink); }
.mu-chip.is-on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.mu-chip .mu-dot { width: 10px; height: 10px; }
.mu-bar__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.mu-status { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.mu-active { color: var(--ink); font-size: 14px; font-weight: 600; }
.mu-reset { margin-left: auto; padding: 4px 2px; border: 0; background: none; color: var(--link); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mu-empty { padding: 48px 0; color: var(--mute); text-align: center; }
.mu-more { display: flex; justify-content: center; margin-top: 34px; }
.mu-more svg { transition: transform .4s var(--ease-out); }
.mu-more .lp-again__btn:hover svg { transform: rotate(90deg); }

/* ── 전시실 머리 ── */
.mu-rhead__facts { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 16px; color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }
.mu-rhead__facts span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-weight: 600; }
.mu-roomnav .is-all { border-color: var(--ink); }
.mu-wallsec { padding-top: clamp(36px, 4vw, 56px); }

/* ── 참고한 자료 ── */
.mu-src__h { font-size: 22px; letter-spacing: -.02em; }
.mu-src__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 24px; margin-top: 26px; }
.mu-src__g h3 { font-size: 14px; font-weight: 650; }
.mu-src__g ul { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 10px; }
.mu-src__g a { color: var(--mute); font-size: 13px; line-height: 1.5; }
.mu-src__g a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── 교양 쪽 오늘의 작품: 날짜와 원제 ── */
.rm-daily__date { margin-top: 6px; color: var(--mute); font-size: 14px; }
.rm-daily__date time { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.rm-daily__orig { margin-top: 6px; color: var(--mute); font-size: 14px; line-height: 1.5; }

/* ── 좁은 화면 ── */
@media (max-width: 1180px) {
	.mu-tl__axis ol { overflow-x: auto; display: flex; padding-bottom: 6px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
	.mu-tl__axis ol::-webkit-scrollbar { display: none; }
	.mu-tl__axis li { flex: none; padding-right: 26px; }
}
@media (max-width: 1100px) {
	.mu-artists { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mu-colorgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
	.mu-wall { --cols: 3; }
	.mu-src__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.mu-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mu-dict__index { display: flex; overflow-x: auto; gap: 6px; padding: 0 var(--gut) 8px; margin-inline: calc(var(--gut) * -1); margin-bottom: 22px; border-bottom: 0; scrollbar-width: none; }
	.mu-dict__index::-webkit-scrollbar { display: none; }
	.mu-dict__grp { display: contents; }
	.mu-dict__cat { display: none; }
	.mu-dict__tab { flex: none; width: auto; min-height: 44px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; }
	.mu-dict__tab.is-on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
	.mu-dict__ico { width: 32px; height: 32px; }
	.mu-term { grid-template-columns: minmax(0, 1fr); }
	.mu-term__main { height: clamp(260px, 70vw, 420px); }
}
@media (max-width: 760px) {
	.mu-wall { --cols: 2; columns: 2 140px; column-gap: 12px; }
	.mu-wall.is-cols { gap: 12px; }
	.mu-col { gap: 16px; }
	.mu-bar { padding: 14px; gap: 10px; border-radius: var(--r-md); }
	.mu-bar__top { flex-direction: column; align-items: stretch; }
	.mu-find { max-width: none; flex-basis: auto; }
	.mu-sorts { align-self: flex-start; }
	.mu-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.mu-row__label { padding-top: 0; }
	.mu-row__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 0 14px 4px; scrollbar-width: none; }
	.mu-row__chips::-webkit-scrollbar { display: none; }
	.mu-chip { height: 36px; }
	.mu-tl__foot { flex-direction: column; align-items: flex-start; }
	.mu-tl__track { align-items: start; }
	.mu-today__date { margin-top: 0; }
	.mu-tl__card { padding: 18px 18px 20px; }
	.mu-tl__name { font-size: 21px; }
	.mu-src__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.mu-artists { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 10px; }
	.mu-artist a { flex-direction: row; align-items: center; gap: 14px; }
	.mu-artist__pic { flex: none; width: 72px; aspect-ratio: 4 / 5; border-radius: 10px; }
	.mu-artist__txt { padding-top: 0; }
	.mu-artist__txt em { margin-top: 2px; padding-top: 0; }
	.mu-rooms { gap: 26px 14px; }
	.mu-room__txt strong { font-size: 17px; }
	.mu-room__txt span { font-size: 13.5px; }
	.mu-colorgrid { gap: 18px 10px; }
	.mu-color__txt strong { font-size: 14px; }
	.mu-term__row { max-width: none; }
}

/* ── parts/post-figs-mobile.css ── */
/* 휴대폰에서 읽히는 글 속 그림과 표(2026-11-24). build.py 의 fig_pass 가 만든 HTML 판(.lp-fm), 옆으로 밀어 보는 그림(.lp-fig__pan), 카드로 쌓는 비교표(.lp-table--cards).
   가로 720 단위로 그린 SVG 가 휴대폰 폭에서 0.43배로 줄어 글자가 5~6px 이 되던 것을 고친다. 넓은 화면에서는 SVG 를 그대로 보인다. */
/* 본문 목록 규칙(.lp-prose ol, .lp-prose ul { display: grid })이 이기지 않게 .lp-fig 를 붙여 명시도를 올린다(11-24 넓은 화면에 휴대폰용 목록이 함께 보였다) */
.lp-fig .lp-fm, .lp-fig .lp-fig__hint { display: none; }
.lp-fig .lp-fig__wide, .lp-fig .lp-fig__pan { display: block; }

@media (max-width: 700px) {
  .lp-fig { padding: 16px; }
  .lp-fig[data-fm] .lp-fig__wide { display: none; }
  .lp-fig[data-fm] .lp-fm { display: block; }
  .lp-fig[data-fm] .lp-fm--steps, .lp-fig[data-fm] .lp-fm--bars, .lp-fig[data-fm] .lp-fm--stats { display: grid; }

  /* 순서: 번호 원과 이름, 설명을 카드로 쌓는다(넓은 화면의 순서 그림과 같은 색) */
  .lp-fig .lp-fm--steps { gap: 10px; margin: 0; padding: 0; list-style: none; }
  .lp-fig .lp-fm--steps > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--rb); background: var(--card); }
  .lp-fig .lp-fm--steps > li::marker { content: none; }
  .lp-fig .lp-fm__n { grid-row: 1 / span 2; align-self: start; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 650; line-height: 1; }
  .lp-fig .lp-fm--steps b { align-self: center; min-height: 28px; display: flex; align-items: center; color: var(--ink); font-size: 16px; font-weight: 650; line-height: 1.45; }
  .lp-fig .lp-fm__d { color: var(--mute); font-size: 15px; line-height: 1.6; }

  /* 숫자 칸: 두 칸씩, 홀수 개면 첫 칸을 한 줄 전체로 */
  .lp-fig .lp-fm--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
  .lp-fig .lp-fm--stats > div { margin: 0; padding: 16px; border-radius: var(--rb); background: var(--bg-2); }
  .lp-fig .lp-fm--stats > div:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .lp-fig .lp-fm--stats dt { margin: 0; color: var(--blue); font-size: 24px; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; word-break: keep-all; }
  .lp-fig .lp-fm--stats dd { margin: 6px 0 0; padding: 0; color: var(--mute); font-size: 14.5px; line-height: 1.55; }

  /* 막대: 이름과 값을 한 줄에, 막대는 그 아래 */
  .lp-fig .lp-fm--bars { gap: 22px; margin: 0; padding: 0; list-style: none; }
  .lp-fig .lp-fm--bars > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px 12px; margin: 0; padding: 0; }
  .lp-fig .lp-fm--bars > li::marker { content: none; }
  .lp-fig .lp-fm__l { color: var(--ink); font-size: 15px; line-height: 1.45; }
  .lp-fig .lp-fm__v { color: var(--ink); font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .lp-fig .lp-fm--bars svg { grid-column: 1 / -1; display: block; width: 100%; height: 12px; overflow: hidden; }

  /* 순환: 고리의 마디를 위에서 아래로, 마지막에 처음 마디로 돌아간다는 표시 */
  .lp-fig .lp-fm--cycle .lp-fm__c { margin: 0 0 14px; color: var(--ink); font-size: 16px; font-weight: 650; line-height: 1.45; text-align: center; }
  .lp-fig .lp-fm--cycle ol { display: grid; justify-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
  .lp-fig .lp-fm--cycle li { position: relative; max-width: 100%; margin: 0; padding: 9px 18px; border: 1.6px solid var(--blue); border-radius: var(--rb); background: var(--card); color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.4; text-align: center; }
  .lp-fig .lp-fm--cycle li::marker { content: none; }
  .lp-fig .lp-fm--cycle li + li::before { content: ""; position: absolute; top: -16px; left: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--blue); border-bottom: 1.6px solid var(--blue); transform: translateX(-50%) rotate(45deg); } /* ai-design-ok: 마디 사이의 아래 방향 꺾쇠(장식 띠가 아니다) */
  .lp-fig .lp-fm--cycle .lp-fm__again { display: inline-flex; align-items: center; gap: 6px; border-style: dashed; color: var(--mute); font-weight: 600; }
  .lp-fig .lp-fm__again svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* 네 칸(2×2): 칸마다 세로·가로 이름을 작게 달고 두 칸씩 */
  .lp-fig[data-fm] .lp-fm--matrix { display: grid; }
  .lp-fig .lp-fm--matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lp-fig .lp-fm--matrix > div { display: grid; align-content: start; gap: 6px; padding: 14px; border-radius: var(--rb); background: var(--bg-2); }
  .lp-fig .lp-fm--matrix > div.is-hi { background: var(--blue); }
  .lp-fig .lp-fm--matrix small { color: var(--mute); font-size: 12.5px; line-height: 1.4; }
  .lp-fig .lp-fm--matrix span { color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.45; word-break: keep-all; }
  .lp-fig .lp-fm--matrix .is-hi small, .lp-fig .lp-fm--matrix .is-hi span { color: #fff; }

  /* 그 밖의 그림: 넓게 두고 옆으로 밀어 본다(글자가 10px 아래로 줄지 않게) */
  .lp-fig__pan { overflow-x: auto; overscroll-behavior-x: contain; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: thin; }
  .lp-fig__pan > svg { width: 620px; max-width: none; }
  .lp-fig .lp-fig__hint { display: block; margin-top: 12px; color: var(--mute); font-size: 12.5px; line-height: 1.5; }
  .lp-prose .lp-table--cards tbody tr:first-child { padding-top: 4px; }

  /* 두 칸 표는 카드로 바꾸지 않으니 첫 칸도 줄을 바꿔 오른쪽 칸이 잘리지 않게(11-24 작업자 보고: td:first-child nowrap) */
  .lp-prose .lp-table--wrap td:first-child { min-width: 6em; white-space: normal; }

  /* 세 칸 넘는 비교표: 줄마다 카드로 쌓고 칸 이름을 값 위에 작게 */
  .lp-prose .lp-table--cards { overflow: visible; }
  .lp-prose .lp-table--cards table, .lp-prose .lp-table--cards tbody, .lp-prose .lp-table--cards tr, .lp-prose .lp-table--cards td, .lp-prose .lp-table--cards tbody th { display: block; width: 100%; }
  .lp-prose .lp-table--cards caption { display: block; }
  .lp-prose .lp-table--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lp-prose .lp-table--cards tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .lp-prose .lp-table--cards td { min-width: 0; padding: 3px 0; border: 0; white-space: normal; line-height: 1.6; }
  .lp-prose .lp-table--cards td[data-th]::before { content: attr(data-th); display: block; color: var(--mute); font-size: 13px; font-weight: 500; line-height: 1.5; }
  .lp-prose .lp-table--cards tbody tr > :first-child { min-width: 0; padding: 3px 0 6px; border: 0; color: var(--ink); font-size: 16px; font-weight: 650; text-align: left; white-space: normal; }
  .lp-prose .lp-table--cards tbody tr > :first-child::before { display: none; }
}

/* ── parts/res-shelf.css ── */
/* 서재 무늬를 구역 머리로(2026-11-23, 사용자: "도서관 서재 모양은 진짜 마음에 드는데 그라데이션 이음새 부분, 경계 부분이라. 다른 곳에 넣어줄 수 있을까").
   첫 화면 리소스 라이브러리의 책등 무늬는 구역 바닥에 깔려 카드 셋째 줄과 겹쳤고, 바닥글로 넘어가는 경계에 굵은 가로선을 그었다.
   무늬를 구역 머리로 올린다. 제목 줄 밑에 가는 선을 긋고 책이 그 선 위에 선다. 구역 바닥은 비워서 바닥글 영상으로 번지는 이음새만 남긴다.
   구역 바탕 무늬는 build.py BACKDROP 의 h-res 를 비워서 뺐다. 책 그림은 tools/backdrops.py 의 shelf(큰 것), shelf_s(낮게 까는 것). */
.rm-res .lp-head { position: relative; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
/* 소개 두 문장을 늘 두 줄로 둔다. 한 줄로 펴지면 머리가 낮아져 책이 제목 위로 솟고, 문장 끝이 책 줄과 겹친다 */
.rm-res .lp-lede { max-width: 24em; }
/* 책 높이는 머리 높이를 따른다(위로 20px 더). 왼쪽은 소개 글, 오른쪽은 단추 앞에서 흐려진다 */
.rm-res .lp-head::before { /* ai-design-ok: 책 줄의 양 끝 흐림 */ content: ""; position: absolute; z-index: -1; top: -20px; right: 172px; bottom: 0; left: clamp(380px, 40%, 540px); background: url("/img/bk/shelf.svg") left 18px bottom -2px / auto calc(100% + 2px) repeat-x; opacity: .24; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 84px, #000 calc(100% - 84px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 84px, #000 calc(100% - 84px), transparent 100%); pointer-events: none; }
@media (max-width: 960px) {
	/* 가운데 자리가 좁아지면 머리 아래에 낮은 책 한 줄을 따로 둔다 */
	.rm-res .lp-head { padding-bottom: 112px; }
	.rm-res .lp-head::before { /* ai-design-ok: 책 줄의 오른쪽 끝 흐림 */ top: auto; right: 0; left: 0; height: 88px; background: url("/img/bk/shelf-s.svg") left bottom / auto 88px repeat-x; opacity: .3; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 64px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 64px), transparent 100%); }
}
/* 구역이 화면에 들어올 때 책이 왼쪽부터 한 번 꽂힌다. 스크롤 연동을 모르는 브라우저와 움직임 끔에서는 처음부터 다 보인다 */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		html:not([data-motion="off"]) .rm-res .lp-head::before { animation: res-shelf-in linear both; animation-timeline: view(); animation-range: entry 70% cover 40%; }
	}
}
@keyframes res-shelf-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* 휴대폰 두 칸 목록: 이름이 한 줄인 카드와 두 줄인 카드의 높이를 줄마다 맞춘다 */
@media (max-width: 640px) {
	.rm-launch:not(.rm-launch--wide) > li { display: grid; }
	.rm-launch:not(.rm-launch--wide) > li > a { align-content: center; }
}

/* ── parts/resources-hub.css ── */
/* 리소스 라이브러리 쪽(2026-11-23). 짜임은 rooms7/resources_hub.py, 찾기와 서가 표시는 site/parts/js/resources-hub.js.
   머리는 검은 띠. 제목 줄 밑에 가는 선을 긋고 그 선 위에 책이 선다(첫 화면 리소스 구역 머리와 같은 서재 그림, res-shelf.css).
   본문은 밝은 바탕. 서가 아홉 곳, 서가마다 묶음, 묶음마다 아이콘이 달린 링크 줄을 네 칸으로 놓는다(묶음의 링크 수는 네 개 단위). */
.rs [hidden] { display: none !important; }
.rs-head { padding-block: clamp(52px, 6.4vw, 88px) clamp(26px, 3.2vw, 40px); background: #000; }
.rs-head__row { position: relative; display: flex; align-items: flex-end; min-height: clamp(214px, 21vw, 272px); margin-top: 20px; padding-bottom: clamp(26px, 3vw, 38px); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.rs-head__copy { position: relative; z-index: 1; max-width: min(640px, 47%); }
.rs-head__title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.08; letter-spacing: -.045em; }
.rs-head__lede { margin-top: 18px; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; text-wrap: balance; }
.rs-head__books { /* ai-design-ok: 책 줄의 왼쪽 끝 흐림 */ position: absolute; right: 0; bottom: 0; width: min(50%, 700px); height: min(100%, 248px); background: url("/img/bk/shelf.svg") right bottom -2px / auto calc(100% + 2px) repeat-x; opacity: .28; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 130px); mask-image: linear-gradient(90deg, transparent 0, #000 130px); pointer-events: none; }
/* 쪽을 열면 책이 왼쪽부터 한 번 꽂힌다 */
@media (prefers-reduced-motion: no-preference) {
	html:not([data-motion="off"]) .rs-head__books { animation: res-shelf-in 1.5s cubic-bezier(.22, .7, .2, 1) .15s both; }
}
/* 찾기 칸 */
.rs-find { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: clamp(20px, 2.4vw, 28px); }
.rs-find__box { display: flex; flex: 0 1 440px; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 12px; background: rgba(255, 255, 255, .06); transition: border-color .2s, background .2s; }
.rs-find__box:focus-within { border-color: #f5f5f7; background: rgba(255, 255, 255, .1); }
.rs-find__box svg { flex: none; width: 18px; height: 18px; color: var(--mute); }
.rs-find__box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; }
.rs-find__box input::placeholder { color: var(--mute); }
.rs-find__box input::-webkit-search-cancel-button { filter: invert(1); opacity: .7; cursor: pointer; }
.rs-find__status { min-height: 1.5em; color: var(--ink-2); font-size: 14.5px; }
/* 서가 줄: 머리말 아래에 붙어 다닌다. 지금 보는 서가가 채워진다 */
.rs-nav { position: sticky; top: var(--top-h); z-index: 20; border-bottom: 1px solid var(--line-2); background: var(--bg); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.rs-nav { background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); }
}
.rs-nav ul { display: flex; gap: 4px; margin-inline: calc(var(--gut) * -1); padding: 10px var(--gut); overflow-x: auto; scrollbar-width: none; }
.rs-nav ul::-webkit-scrollbar { display: none; }
.rs-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.rs-nav a:hover { background: var(--bg-2); color: var(--ink); }
.rs-nav a[aria-current="true"] { background: var(--ink); color: var(--bg); }
/* 서가 */
.rs-body { padding-top: clamp(40px, 4.8vw, 68px); }
.rs-aisle { scroll-margin-top: calc(var(--top-h) + 80px); }
.rs-aisle + .rs-aisle { margin-top: clamp(72px, 8.6vw, 124px); }
.rs-aisle__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.rs-aisle__head h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.15; letter-spacing: -.04em; }
.rs-aisle__head p { margin-top: 10px; color: var(--mute); font-size: clamp(15px, 1.25vw, 16.5px); line-height: 1.6; }
.rs-aisle__jump { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; max-width: 560px; padding-bottom: 3px; }
.rs-aisle__jump a { color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.rs-aisle__jump a:hover { color: var(--blue); text-decoration-color: currentColor; }
/* 찾는 동안에는 서가 머리의 묶음 이름을 숨긴다(걸러진 묶음까지 적혀 있어서) */
.rs.is-finding .rs-aisle__jump { display: none; }
/* 묶음 */
.rs-group { scroll-margin-top: calc(var(--top-h) + 76px); }
.rs-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 0 10px; list-style: none; cursor: pointer; }
.rs-group > summary::-webkit-details-marker { display: none; }
.rs-group h3 { font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.025em; }
.rs-group > summary i { flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 1.6px solid var(--mute); border-bottom: 1.6px solid var(--mute); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s; }
.rs-group[open] > summary i { transform: rotate(225deg) translate(-2px, -2px); }
.rs-group > summary:hover h3 { color: var(--blue); }
.rs-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line-2); }
.rs-list > li { display: grid; border-bottom: 1px solid var(--line-2); }
.rs-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 12px; padding: 15px 0; }
.rs-ico { display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .09); }
.rs-ico .rm-ico { width: 26px; height: 26px; border-radius: 6px; background: transparent; }
.rs-tx { display: grid; gap: 2px; min-width: 0; }
.rs-tx strong { font-size: 15px; font-weight: 600; line-height: 1.36; word-break: keep-all; overflow-wrap: anywhere; transition: color .2s; }
.rs-tx > span { color: var(--mute); font-size: 13px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.rs-tx small { overflow: hidden; margin-top: 2px; color: var(--mute); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; opacity: .82; }
.rs-list a:hover strong { color: var(--blue); }
.rs-none { padding: 46px 0 8px; color: var(--ink-2); font-size: 17px; }
.rs-note { margin-top: clamp(56px, 6.5vw, 88px); padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--mute); font-size: 13.5px; line-height: 1.65; }
.rs-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
/* 어두운 화면: 아이콘 타일은 흰 바탕을 지킨다(로고가 흰 바탕 기준으로 그려져 있다) */
[data-theme="dark"] .rs-head { border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 1180px) { .rs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	/* 머리: 글 아래에 낮은 책 한 줄 */
	.rs-head__row { display: block; min-height: 0; padding-bottom: 0; }
	.rs-head__copy { max-width: none; }
	.rs-head__books { /* ai-design-ok: 책 줄의 오른쪽 끝 흐림 */ position: static; display: block; width: 100%; height: 88px; margin-top: 26px; background: url("/img/bk/shelf-s.svg") left bottom / auto 88px repeat-x; opacity: .32; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 64px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 64px), transparent 100%); }
	.rs-aisle__jump { justify-content: flex-start; max-width: none; }
}
@media (max-width: 760px) {
	.rs-find__box { flex-basis: 100%; }
	.rs-list { grid-template-columns: minmax(0, 1fr); }
	.rs-list a { padding: 13px 0; }
	.rs-group > summary { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
	.rs-group[open] > summary { border-bottom-color: transparent; }
	.rs-list { border-top: 0; }
	.rs-aisle__head { padding-bottom: 18px; }
	/* 묶음이 접혀 이름이 바로 아래에 줄지어 있으니 머리의 묶음 이름은 뺀다 */
	.rs-aisle__jump { display: none; }
	.rs-tx > span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}
/* 첫 화면 리소스 구역: 서가 탭 아래의 '묶음별 전체 목록' 줄 */
.rm-lpanel { display: grid; gap: 22px; }
.rm-lmore { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--mute); font-size: 13.5px; }
.rm-lmore span { color: var(--mute); }
.rm-lmore a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.rm-lmore a:hover { color: #fff; text-decoration-color: currentColor; }

/* ── parts/saju-gapja.css ── */
/* 사주: 육십갑자 표(2026-11-23). 예순 칸 격자와 오른쪽 설명 카드. 글자 색은 천간의 오행(오방색) */
.rm-gj { --gj-mok: #1f7a5c; --gj-hwa: #c23a2b; --gj-to: #a8761f; --gj-geum: #6b7280; --gj-su: #1d4f91;
	display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 340px); gap: clamp(20px, 2.4vw, 36px); align-items: start; margin-top: clamp(28px, 3.2vw, 44px); }
[data-theme="dark"] .rm-gj { --gj-mok: #4fc29b; --gj-hwa: #ee6b57; --gj-to: #e0b257; --gj-geum: #b5bac4; --gj-su: #6ea6dd; }
.rm-gj__grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.rm-gj__c { display: grid; justify-items: center; gap: 2px; min-width: 0; padding: 12px 2px 10px; border: 0; border-radius: var(--r-md); background: var(--bg-2); color: var(--ink); font: inherit; cursor: pointer; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease-out); }
.rm-gj__c b { font-family: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 1.2; }
.rm-gj__c span { font-size: 13px; font-weight: 600; }
.rm-gj__c small { color: var(--mute); font-size: 11px; white-space: nowrap; }
.rm-gj__c--mok b, .rm-gj__key .rm-gj__c--mok { color: var(--gj-mok); } .rm-gj__c--hwa b, .rm-gj__key .rm-gj__c--hwa { color: var(--gj-hwa); }
.rm-gj__c--to b, .rm-gj__key .rm-gj__c--to { color: var(--gj-to); } .rm-gj__c--geum b, .rm-gj__key .rm-gj__c--geum { color: var(--gj-geum); }
.rm-gj__c--su b, .rm-gj__key .rm-gj__c--su { color: var(--gj-su); }
.rm-gj__c:hover { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.rm-gj__c:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.rm-gj__c[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.rm-gj__c[aria-pressed="true"] b { color: var(--bg); } .rm-gj__c[aria-pressed="true"] small { color: var(--bg); opacity: .7; }
.rm-gj__c.is-now:not([aria-pressed="true"]) { box-shadow: inset 0 0 0 1.5px var(--blue); }
.rm-gj__card { position: sticky; top: 96px; padding: clamp(22px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.rm-gj__han { font-family: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif; font-size: clamp(54px, 5.4vw, 76px); font-weight: 600; line-height: 1.05; letter-spacing: .04em; }
.rm-gj__ko { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 10px; }
.rm-gj__ko b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.rm-gj__ko span { color: var(--blue); font-size: 13.5px; font-weight: 600; }
.rm-gj__dl { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
.rm-gj__dl > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.rm-gj__dl dt { color: var(--mute); font-size: 13.5px; }
.rm-gj__dl dd { margin: 0; font-size: 15px; line-height: 1.55; font-variant-numeric: tabular-nums; word-break: keep-all; }
.rm-gj__key { display: flex; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; }
.rm-gj + .lp-small { margin-top: 22px; }
[data-motion="off"] .rm-gj__c { transition: none; }
@media (max-width: 1040px) { .rm-gj { grid-template-columns: minmax(0, 1fr); } .rm-gj__card { position: static; order: -1; } }
@media (max-width: 640px) {
	.rm-gj__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
	.rm-gj__c { padding: 11px 2px 9px; }
	.rm-gj__han { font-size: 52px; }
}

/* ── parts/shelf.css ── */
/* 자료실 쌓기 모양(2026-11-23). 묶음마다 링크 수가 다르면 둘씩 나란히 놓지 않고, 묶음을 한 줄씩 쌓아 링크를 네 칸으로 놓는다. 짜임은 rooms.py 의 shelf() */
.rm-shelf--stack { --cols: 1; gap: clamp(30px, 3.4vw, 46px); }
.rm-shelf--stack ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 24px; }
@media (max-width: 1100px) { .rm-shelf--stack ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rm-shelf--stack ul { grid-template-columns: minmax(0, 1fr); } }

/* ── parts/writing-graph.css ── */
/* 글을 쓴 날의 달력(2026-11-23, 사용자: "해마다 쓴 글에 월도 추가해서 다채롭게 해줘. 마치 깃허브 기여 데이터처럼").
   한 주가 한 열(일요일이 맨 위), 칸의 진하기는 그날 올린 글 수. 그리는 일은 site/parts/js/writing-graph.js, 자료는 tools/writing_days.py.
   에세이 쪽 '해마다 쓴 글'(해 하나 + 해 단추)과 소개 쪽(모든 해를 쌓은 벽)이 같이 쓴다. 칸 색은 --wg-ink 하나에서 다섯 단계를 만든다 */
.wg { --c: 15px; --g: 4px; --wg-ink: var(--blue); --wg-0: var(--bg-2); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px clamp(18px, 2.4vw, 32px); align-items: start; }
.wg__main { min-width: 0; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.wg__sum { margin: 0 0 16px; font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.wg__scroll { overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.wg__graph { position: relative; width: max-content; min-width: 100%; }
.wg__mon { display: grid; grid-template-columns: repeat(54, calc(var(--c) + var(--g))); height: 20px; margin-left: 30px; color: var(--mute); font-size: 12px; }
.wg__mon span { grid-row: 1; white-space: nowrap; }
.wg__body { display: flex; gap: 6px; }
.wg__wk { display: grid; grid-template-rows: repeat(7, var(--c)); gap: var(--g); width: 24px; color: var(--mute); font-size: 11.5px; line-height: var(--c); }
.wg__grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, var(--c)); grid-auto-columns: var(--c); gap: var(--g); }
.wg__c, .wg__x { width: var(--c); height: var(--c); border-radius: 3.5px; }
.wg__c { background: var(--wg-0); }
.wg__c.g1 { background: color-mix(in srgb, var(--wg-ink) 26%, var(--wg-0)); }
.wg__c.g2 { background: color-mix(in srgb, var(--wg-ink) 50%, var(--wg-0)); }
.wg__c.g3 { background: color-mix(in srgb, var(--wg-ink) 76%, var(--wg-0)); }
.wg__c.g4 { background: var(--wg-ink); }
.wg__c.is-out { background: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.wg__c:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
.wg__tip { position: absolute; top: 0; left: 0; z-index: 2; margin: 0; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 600; white-space: nowrap; pointer-events: none; transform: translate(var(--x, 0), var(--y, 0)); }
.wg__legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 14px 0 0; color: var(--mute); font-size: 12px; }
.wg__legend i { width: 13px; height: 13px; border-radius: 3px; background: var(--wg-0); }
.wg__legend i:nth-of-type(2) { background: color-mix(in srgb, var(--wg-ink) 26%, var(--wg-0)); }
.wg__legend i:nth-of-type(3) { background: color-mix(in srgb, var(--wg-ink) 50%, var(--wg-0)); }
.wg__legend i:nth-of-type(4) { background: color-mix(in srgb, var(--wg-ink) 76%, var(--wg-0)); }
.wg__legend i:nth-of-type(5) { background: var(--wg-ink); }
.wg__legend i:first-of-type { margin-left: 6px; }
.wg__legend i:last-of-type { margin-right: 6px; }
/* 해 단추(깃허브의 오른쪽 해 목록) */
.wg__years { display: grid; gap: 3px; width: 92px; }
.wg__yb { height: 31px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.wg__yb:hover { background: var(--bg-2); color: var(--ink); }
.wg__yb[aria-pressed="true"] { background: var(--wg-ink); color: var(--on-blue); }
/* 해가 바뀌면 칸이 왼쪽 주부터 차례로 나타난다 */
@media (prefers-reduced-motion: no-preference) {
	html:not([data-motion="off"]) .wg__graph.is-in .wg__c { animation: wg-in .5s var(--ease-out) backwards; animation-delay: calc(var(--col, 0) * 9ms); }
}
@keyframes wg-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
/* 스크립트가 돌기 전(또는 꺼져 있을 때)에는 해마다의 요약 글만 보인다 */
.wg:not(.is-js) .wg__legend { display: none; }
.wg__plain { margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.wg.is-js .wg__plain { display: none; }
/* 모든 해를 쌓은 벽(소개 쪽) */
.wg[data-wg-mode="wall"] { grid-template-columns: minmax(0, 1fr); }
.wg__row + .wg__row { margin-top: 22px; }
.wg__rowh { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.wg__rowh b { font-size: 22px; font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.wg__rowh span { color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.wg[data-wg-mode="wall"] .wg__row:not(:first-child) .wg__mon { display: none; }
[data-theme="dark"] .wg { --wg-ink: #5aa2ff; --wg-0: #23232a; }
@media (max-width: 1180px) { .wg { --c: 13px; --g: 3px; } }
@media (max-width: 900px) {
	.wg { grid-template-columns: minmax(0, 1fr); }
	.wg__years { order: -1; display: flex; flex-wrap: nowrap; width: auto; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut); overflow-x: auto; scrollbar-width: none; }
	.wg__years::-webkit-scrollbar { display: none; }
	.wg__yb { flex: none; height: 40px; border: 1px solid var(--line); border-radius: 999px; text-align: center; }
	.wg__yb[aria-pressed="true"] { border-color: var(--wg-ink); }
	.wg__main { padding: 16px 14px; }
}

/* ── parts/zz-audit-css.css ── */
/* 점검(2026-11-23, _research/audit) 가운데 스타일만으로 풀리는 것을 고친 규칙. 이름이 zz- 라 library.css 맨 끝에 붙어 앞의 규칙을 덮어쓴다.
   줄 앞의 이름은 점검 기록의 번호다. 디자인은 그대로 두고 고장과 흠만 고친다 */

/* ── 색과 대비 ── */

/* a11y-08 프롬프트 결과 상자 윗막대: 검은 바탕에 밝은 화면의 먹색 글자가 놓여 1.01:1 이었다 */
.lp-promptout__bar { color: var(--night-ink); }
/* tools-resources-03 결과 상자의 한국어가 낱말 가운데에서 끊기고 고정폭 대체 글꼴로 넓게 그려졌다. 한글은 본문 글꼴로 받는다 */
.lp-promptout__txt { word-break: keep-all; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, var(--font); }

/* tools-resources-09 도구 쪽의 밝은 네더 상자에서 주황 화살표가 1.6:1 이었다. 어두운 화면은 --blue 가 #3d8bff 라 그대로 읽힌다 */
.lp-toolbox .rm-nether__arrow { color: var(--blue); }

/* a11y-11 어두운 바탕에서 상승 빨강 4.18:1, 하락 파랑 3.91:1 이었다. #121216 위에서 각각 6.1:1, 5.8:1 이 되게 밝힌다 */
[data-theme="dark"], .lp-sec--ink, .lp-tape { --up: #ff5a66; --down: #4d8dff; }

/* about-pages-03 검은 구역 그림 설명의 출처 링크가 남색(#0113b5)으로 남아 1.7:1 이었다 */

/* a11y-10·home-17 주제 벽 주홍 칸: 종이색 소개 글이 2.3:1 이었다. 주홍 칸의 글자를 먹색(5.5:1)으로 바꾸고 흐림을 뺀다 */
.lp-qt--red a { color: var(--q-ink); }
.lp-qt--red .lp-qt__lab span { opacity: 1; }
/* a11y-10 파랑 칸에서 남색 초점 테두리가 보이지 않았다. 흰 선 안쪽에 먹색 선 한 겹을 더해 어느 바탕에서도 보이게 */
.lp-qt a:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: inset 0 0 0 3px #141416; }
/* home-17 어두운 화면에서 먹색 칸이 쪽 바탕에 묻혀 주제 벽의 둥근 모서리가 사라졌다 */
[data-theme="dark"] .lp-quilt { box-shadow: 0 0 0 1px rgba(246, 243, 236, .12); }

/* a11y-18·design-07 색 조합 '고정' 단추: 글자색은 스크립트가 칸마다 대비가 큰 쪽(흰색·먹색)으로 고른다. 여기서는 흐림(.7)을 빼고 13px 로 키운다 */
.rm-pal__lock { opacity: 1; font-size: 13px; }

/* design-08 어두운 화면의 그림자 무대: 카드와 무대 바탕이 같은 검정이라 그림자가 보이지 않았다. 무대만 밝은 바탕으로 둔다 */
[data-theme="dark"] .rm-sh__stage { background: #e9e9ee; }
[data-theme="dark"] .rm-sh__card { background: #fff; color: #1d1d1f; }
[data-theme="dark"] .rm-sh__card span { color: #424245; }
/* design-19 어두운 화면에서 코드 상자 바탕이 구역 바탕과 같아 테두리가 사라졌다 */
[data-theme="dark"] .rm-code { background: #1a1a20; box-shadow: inset 0 0 0 1px #2a2a31; }

/* finance-01 MACD 막대와 교차 점에 전역 아이콘 규칙(svg:not([fill]))의 검은 테두리가 입혀져 막대가 검게 보였다 */
svg.rm-ind__svg .i-up, svg.rm-ind__svg .i-dn { stroke: none; }

/* crypto-12 공포·탐욕 게이지의 단계 경계마다 둥근 끝이 겹쳐 밝은 점이 생겼다 */
svg .rm-fg__seg { stroke-linecap: butt; }

/* media-07 회로 무늬가 제목과 표 글자 위를 지나갔다. 흐리게 하고 가운데를 비운다. 규격표의 필름 틀 무늬도 표 첫 열 뒤에서 뺀다 */
.bk--circuit::before { /* ai-design-ok: 가장자리 흐림 */ opacity: .08; -webkit-mask-image: radial-gradient(55% 60% at 100% 0%, #000 0%, transparent 100%); mask-image: radial-gradient(55% 60% at 100% 0%, #000 0%, transparent 100%); }
.bk--frames::before { /* ai-design-ok: 가운데 비우기 */ -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 78%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, transparent 78%, #000 100%); }

/* home-10 첫 화면 마지막 구역의 책등 무늬가 바닥에서 가로선으로 뚝 끊겼다. 11-23 사용자 요청으로 무늬를 구역 머리로 옮겼다(res-shelf.css). 바닥에는 무늬가 없다 */

/* life-game-14·ai-17·about-pages-20 어두운 화면에서 흰 구역·회색 구역·먹색 구역이 모두 거의 같은 검정이 되어 구역 경계가 사라졌다.
   밝은 화면의 '흰·회·먹' 순서를 어두운 단계 셋(#131317, #1a1a1f, #000)으로 옮긴다 */
[data-theme="dark"] .lp-sec:not(.lp-sec--ink):not(.lp-sec--gray):not(.lp-sec--paper) { --bg: #131317; background: var(--bg); }
[data-theme="dark"] .lp-sec--gray { background: #1b1b20; }
[data-theme="dark"] .lp-sec--paper { background: #18181c; }

/* ── 정렬과 여백 ── */

/* about-pages-02 원소 범례 '그 밖' 줄은 기호가 없어 퍼센트가 이름 옆으로 당겨졌다. 퍼센트를 넷째 칸에 고정한다 */

/* about-pages-01 별자리 선이 별에 닿지 않았다. '.lp-fig svg { height: auto }' 가 이겨 선 그림이 구역보다 1.19배 높게 그려졌다 */
/* about-pages-01·10 오른쪽 세 별(미디어·교양·사주)은 direction: rtl 때문에 점이 기준점에서 100~210px 밀려났고, 설명이 좁은 칸에 갇혀 여섯 줄로 쪼개졌다.
   기준점을 오른쪽에서 잡아 점이 꼭짓점에 앉게 하고, 이름과 설명은 점 왼쪽으로 펼친다 */

/* home-02 주제 벽 이름표의 높이가 소개 줄 수에 따라 20px 씩 어긋났다. 소개 칸을 두 줄 높이로 맞춘다 */
@media (min-width: 981px) { .lp-qt__lab span { min-height: 3em; } }

/* finance-02 보조지표 카드의 범례·영문 부제 줄 수가 달라 제목과 본문 높이가 카드마다 어긋났다 */
.rm-ind__key { min-height: calc(3.2em + 4px); align-content: flex-start; }
.rm-ind__name small { display: block; overflow: hidden; margin-top: 2px; text-overflow: ellipsis; white-space: nowrap; }

/* business-17 마케팅의 틀: 설명 줄 수가 달라 같은 줄 카드의 '쓸 때' 구분선 높이가 어긋났다 */
.bz-fr { display: flex; flex-direction: column; }
.bz-fr .bz-fr__when { margin-top: auto; }
.bz-fr p:not(.bz-fr__when) { margin-bottom: 6px; }

/* media-05 썸네일 결과 네 장이 3열에 놓여 마지막 줄에 한 장만 남았다. 두 칸으로 놓고, 장 수가 홀수면 첫 장을 넓게 */
.rm-yt__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rm-yt__out > :first-child:nth-last-child(odd):not(:only-child) { grid-column: 1 / -1; }
/* 빈 상태 자리 네 칸도 결과와 같은 2·2 로(큰 칸이 한 줄을 차지하면 1·2·1 로 한 칸이 남았다) */
.rm-yt__out > .rm-yt__ph--big:nth-last-child(even) { grid-column: auto; }

/* design-17 그림자 구역의 'CSS 복사' 단추만 오른쪽 칸 폭 전체로 늘어났다 */
.rm-sh__ctl > button { justify-self: start; }

/* life-game-20 스팀·앱스토어 두 머리줄 높이가 달라 1위 줄부터 서로 어긋났다 */
.rm-gb__head { min-height: 40px; }

/* life-game-19 스팀 상점 카드 그림과 게임 이름 사이가 11px 로 좁았다 */
.rm-gs__grid a { gap: 16px; }
/* culture-saju-27 글 목록 그림과 설명, 고전 표지와 저자 줄 사이가 14~15px 로 좁았다 */
.lp-ex__lab { margin-top: 18px; }
.rm-bk__meta { margin-top: 4px; }

/* design-18 쪽 끝까지 내리면 바닥글 맨 아래 메일 주소가 오른쪽 아래 설정 막대 뒤에 가려졌다 */
.lp-foot { padding-bottom: 96px; }

/* business-02 마케팅 퍼널: 이름표가 채움 막대 끝을 가로질러 한 줄 글자가 두 바탕에 나뉘었다. 가는 띠로 바꿨다가 11-23 사용자 요청으로 굵은 막대로 되돌리고,
   글자를 두 벌로 겹쳐 파란 바탕 위에서는 흰색으로 저절로 바뀌게 했다(library.css 의 .rm-funnel__bars, library.js 의 funnel) */

/* ── 겹침과 넘침 ── */

/* js-1-08 검색 칸에 브라우저 기본 지우기 단추(파란 X)가 닫기 단추 옆에 하나 더 나왔다 */
.lp-q input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }

/* js-1-19 겹치는 창(전체 메뉴, 검색, 작품 크게 보기)을 열어도 뒤의 쪽이 스크롤됐다. html 에 잠금을 건다 */
html:has(.lp-layer:not([hidden])), html:has(.lp-lightbox:not([hidden])) { overflow: hidden; }
html { scrollbar-gutter: stable; }
.lp-layer__panel, .lp-lightbox, .lp-q__body { overscroll-behavior: contain; }

/* design-05·design-15 휴대폰 견본 글자가 13vw 상한에 막혀 슬라이더를 움직여도 바뀌지 않았다. 상한을 빼고 줄바꿈되게 둔다 */
@media (max-width: 1100px) { .rm-lab__spec { font-size: var(--tl-size, 56px); text-wrap: balance; } }

/* essay-12 움직임을 끄면 흐르기용으로 복제한 그림 26점이 넘김 띠 끝에 한 번 더 나왔다 */
[data-motion="off"] .rm-strip__track ul[aria-hidden] { display: none; }

/* home-24 금융·경제 목록 제목이 뜻 덩어리 가운데에서 끊겼다 */
.lp-rows h3 { text-wrap: balance; }

/* ai-10 허깅페이스 상자에서 출처 줄 아래가 90px 비었다. 출처 줄을 상자 맨 아래로 */
.rm-live__col { display: flex; flex-direction: column; }
.rm-live__col > .lp-small:last-child { margin-top: auto; padding-top: 14px; }

/* crypto-04 청산 목록 마지막 줄이 위쪽 몇 px 만 잘려 보였다. 줄 높이(37) + 간격(4)의 배수로 자른다 */
.rm-dd__liq { max-height: calc(41px * 10 - 4px); }

/* perf-09 늦게 도착하는 목록과 차트가 한 줄에서 여러 줄로 늘며 아래 구역을 밀었다. 최종 높이를 미리 잡는다 */
.rm-dd__liq { min-height: calc(41px * 8 - 4px); }
.rm-dom__list { min-height: calc(5 * 1.6em + 4 * 7px); align-content: start; }   /* 상위 8개 + 그 밖 = 9줄, 두 칸이라 다섯 줄 *//* 사이클 차트는 스크립트가 실제 폭으로 viewBox 를 잡는다(넓은 화면 720x260, 휴대폰 약 358x230). 그리기 전에만 그 비율로 자리를 잡아 둔다 */
svg[data-cyc-svg]:not([viewBox]) { width: 100%; height: auto; aspect-ratio: 720 / 260; }
@media (max-width: 760px) { svg[data-cyc-svg]:not([viewBox]) { aspect-ratio: 358 / 230; } }

/* js-3-11 휴대폰에서 차트를 옆으로 끌면 브라우저가 스크롤로 가져가 말풍선이 닫혔다. 세로 스크롤만 브라우저에 맡긴다 */
.rc-hit { touch-action: pan-y; }

/* markets-11 휴대폰에서 7일 칸은 숨는데 머리 칸 '7일'만 남았다 */
@media (max-width: 640px) { .lp-mt thead th:last-child:not(:first-child) { display: none; } }

/* markets-14·finance-05 휴대폰에서 경제 일정 위젯의 오른쪽 값이 잘렸다. 상자 안 여백과 테두리를 빼 위젯 폭을 넓힌다 */
@media (max-width: 640px) { .lp-tvbox { padding: 0; border: 0; border-radius: 0; background: none; } }

/* ── 손가락으로 누르는 곳(휴대폰) ── */

/* a11y-14·culture-saju-26·media-15 이동 경로 '처음' 링크가 23x22px 였다. 겉모습은 그대로 두고 누르는 영역만 넓힌다 */
.lp-crumb a { display: inline-block; padding-block: 11px; margin-block: -11px; }
/* a11y-14 도구 쪽 분야 칩('게임' 22x15px) */
.lp-toolsec__cat a { display: inline-block; padding-block: 12px; margin-block: -12px; }
/* a11y-14 시세 띠 링크 높이 20px → 띠 높이 전체 */
.lp-tick { align-self: stretch; align-items: center; }
/* a11y-14·home-19 바닥글 메일 주소(153x15)와 바닥글 링크 */
.lp-foot__mail a { display: inline-block; padding-block: 12px; margin-block: -12px; }
@media (max-width: 640px) {
	.lp-foot__col a { padding-block: 10px; }
	.lp-logo { min-height: 44px; }
	/* home-19 첫 화면 멈춤 단추(34px)와 화면 설정 단추(36px) */
	.lp-hero__pause { width: 40px; height: 40px; }
	.lp-dock button { height: 40px; }
}
/* essay-14 걸러 보기 칩 38px → 40px, 한 편 꺼내 읽기 제목 링크 18px */
.lp-chip, .lp-chips button { height: 40px; }
.rm-read__t a { display: inline-block; padding-block: 11px; margin-block: -11px; }
/* museum-18 전시실 이동 칩 36px */
.lp-roomnav a { height: 40px; }
@media (max-width: 760px) {
	/* crypto-18·life-game-17·media-15·business-14 단추 묶음 34px → 40px */
	.rm-seg button { height: 40px; }
	/* business-14 단계별 창구 단추 36px */
	.bz-step__go { height: 40px; }
	/* ai-13 프롬프트 복사 단추 34px, 실시간 출처 링크 15px */
	.rm-copy { height: 40px; }
	.rm-live__col .lp-small a { display: inline-block; padding-block: 12px; margin-block: -12px; }
	/* life-game-18 짐 체크리스트 줄 36px, 상자 17px */
	.rm-pack__g label { min-height: 44px; align-items: center; padding-block: 6px; }
	.rm-pack__g input { width: 20px; height: 20px; margin-top: 0; }
	/* home-19 리소스 분야 탭 36px */
	.rm-lt { height: 40px; }
}
/* about-pages-11 별자리 링크가 24px 높이였다. 설명이 숨는 폭에서 누르는 영역을 44px 로 넓히고 별 위치는 그대로 둔다 */
@media (max-width: 1180px) {
}
@media (max-width: 640px) {
}

/* ── 휴대폰에서 잘리거나 지나치게 길어지는 것 ── */

/* a11y-14·design-06·tools-resources-07 팬톤 띠: 휴대폰에서 띠 하나가 8~10px 이라 누르기 어렵고 펼친 칸의 이름·번호가 잘렸다.
   두 칸 색 목록으로 바꿔 해·이름·번호를 모두 보인다 */
@media (max-width: 640px) {
	.lp-pts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; height: auto; }
	.lp-pt { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; gap: 0 10px; min-height: 56px; padding: 8px 12px; }
	.lp-pt:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.lp-pt__y, .lp-pt__n, .lp-pt__c { position: relative; left: auto; right: auto; bottom: auto; opacity: 1; }
	.lp-pt__y { grid-row: span 2; align-self: center; font-size: 15px; }
	.lp-pt__n { font-size: 13.5px; line-height: 1.3; white-space: normal; }
	.lp-pt__c { font-size: 11.5px; line-height: 1.3; }
}

/* crypto-15·js-3-18 상위 트레이더 표: 휴대폰에서 옆으로 밀면 코인 이름 열도 같이 사라지고, 밀 수 있다는 표시가 없었다 */
.rm-tb__t td.rm-tb__coin, .rm-tb__t thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
.rm-tb__t thead th:first-child { background: var(--bg-2); }
/* finance-11 환율 교차표의 첫 열 */
.rm-fx__t tbody th, .rm-fx__t thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
/* markets-05 시세판의 자산 칸 */
.lp-mt th[scope="row"], .lp-mt thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); }
.lp-sec--gray .lp-mt th[scope="row"], .lp-sec--gray .lp-mt thead th:first-child { background: var(--bg-2); }
.lp-sec--ink .lp-mt th[scope="row"], .lp-sec--ink .lp-mt thead th:first-child { background: var(--night); }
.lp-sec--ink.bk-t2 .lp-mt th[scope="row"], .lp-sec--ink.bk-t2 .lp-mt thead th:first-child { background: #07090e; }
.lp-sec--ink.bk-t3 .lp-mt th[scope="row"], .lp-sec--ink.bk-t3 .lp-mt thead th:first-child { background: #0e0e11; }
.lp-sec--ink.bk-t4 .lp-mt th[scope="row"], .lp-sec--ink.bk-t4 .lp-mt thead th:first-child { background: #050a13; }
/* 넘치는 표 상자의 오른쪽 끝에 '더 있음' 그림자. 끝까지 밀면 덮개가 따라와 그림자를 가린다 */
.rm-ct__wrap, .rm-fx { /* ai-design-ok: 가로 넘침 표시 그림자, 장식 그라데이션 아님 */
	background: linear-gradient(to left, var(--card) 40%, rgba(0, 0, 0, 0)) right / 32px 100% no-repeat local, linear-gradient(to left, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0)) right / 14px 100% no-repeat scroll, var(--card); }
@media (max-width: 640px) {
	/* markets-05 거래대금 칸은 휴대폰에서 숨겨 김프까지 한 화면에 들어오게 한다 */
	.lp-mt th:nth-child(6), .lp-mt td[data-vol] { display: none; }
	.lp-mt th, .lp-mt td { padding-inline: 9px; }
}

/* business-13 휴대폰 세금 달력: 두 칸 안의 글 칸이 100px 안팎이라 설명이 네 줄로 부서졌다. 한 칸으로 */
@media (max-width: 560px) { .bz-tax__year { grid-template-columns: minmax(0, 1fr); } }

/* essay-05 해마다 쓴 글: 두 칸 격자의 마지막 줄에 한 해만 남아 오른쪽이 비었다 */
@media (max-width: 860px) { .rm-yrs__col:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* museum-10 전시실 다섯 칸이 3+2, 2+2+1 로 놓여 마지막 줄이 비었다. 첫 칸을 넓혀 3+3·2+2+2 로 맞춘다 */
@media (max-width: 1180px) { .lp-rooms > :first-child { grid-column: span 2; } .lp-rooms > :first-child .lp-room__pics { aspect-ratio: 8 / 5; } }
@media (max-width: 640px) { .lp-rooms > :first-child { grid-column: 1 / -1; } }

/* markets-19 휴대폰 핵심 지표가 한 칸씩 쌓여 600px 을 차지했다. 2·2 로 */
@media (max-width: 640px) {
	.lp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.lp-kpis > div { padding: 16px 14px; }
	.lp-kpis dd { font-size: 20px; }
	.lp-kpis p { font-size: 12px; }
}

/* home-15 휴대폰 리소스 링크 이름이 말줄임으로 잘렸다. 두 칸, 이름 두 줄까지. 분야 탭은 한 줄 가로 넘김 */
@media (max-width: 640px) {
	.rm-launch:not(.rm-launch--wide) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.rm-launch:not(.rm-launch--wide) a { grid-template-columns: 40px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 10px; row-gap: 2px; padding: 12px 10px; text-align: left; }
	.rm-launch:not(.rm-launch--wide) .rm-launch__ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; }
	.rm-launch:not(.rm-launch--wide) .rm-launch__ico .rm-ico { width: 24px; height: 24px; }
	.rm-launch:not(.rm-launch--wide) .rm-launch__ico .rm-ico--txt { width: 40px; height: 40px; border-radius: 11px; font-size: 17px; }
	.rm-launch:not(.rm-launch--wide) strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
	/* 첫 단추가 화면 왼쪽 끝에 붙던 것(2026-11-24 사용자: "왼쪽 라인에 딱 맞게"). 넘기다 멈추는 곳을 여백만큼 안으로 들인다 */
	.rm-lts { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut); scroll-padding-inline: var(--gut); scroll-snap-type: x proximity; scrollbar-width: none; }
	.rm-lts::-webkit-scrollbar { display: none; }
	.rm-lt { flex: none; scroll-snap-align: start; }
}

/* culture-saju-12 휴대폰 미술관 카드 마흔 장이 한 줄씩 쌓여 5,000px 을 넘었다. 두 칸 작은 카드로 */
@media (max-width: 640px) {
	.rm-mus__list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
	.rm-mus__list a { grid-template-columns: minmax(0, 1fr); padding: 14px 12px; row-gap: 4px; }
	.rm-mus__list .rm-launch__ico { grid-row: auto; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 4px; }
	.rm-mus__list a > * { grid-column: 1; text-align: left; }
	.rm-mus__list strong { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.35; }
	.rm-mus__list small { grid-column: 1; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 12px; }
	.rm-mus__list strong { font-size: 14px; }
}

/* life-game-11 휴대폰 시계 12장(2,000px)과 스팀 상점 8장(2,100px)이 한 줄씩 쌓였다. 두 칸으로 */
@media (max-width: 760px) {
	.rm-clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.rm-clock { padding: 16px 14px; }
	.rm-clock__t { font-size: 26px; }
}
@media (max-width: 560px) {
	.rm-gs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.rm-gs__grid strong { font-size: 14px; }
	.rm-gs__pr { font-size: 13px; }
}

/* design-13·crypto-19·life-game-11·ai-12 휴대폰 자료실 링크가 한 줄에 하나씩 쌓여 화면 네~아홉 장을 차지했다.
   두 칸으로 놓고 설명은 두 줄까지 보인다 */
@media (max-width: 760px) {
	.rm-shelf ul, .rm-shelf--1 ul, .rm-shelf--stack ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
	.rm-shelf a { grid-template-columns: 20px minmax(0, 1fr); column-gap: 8px; padding: 11px 0; }
	.rm-shelf a .rm-ico { width: 20px; height: 20px; }
	.rm-shelf a strong { font-size: 14px; line-height: 1.35; }
	.rm-shelf a span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12.5px; }
	.rm-shelf a small { overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
}

/* ── 그림 속 글자(휴대폰에서 viewBox 비율만큼 작아지던 것) ── */

/* about-pages-12 해마다 쓴 글 막대그림의 숫자(6.6px)와 연도(5.7px) */
/* finance-04 거시 지표판과 수익률 곡선의 축 글자(5~7px) */
.rm-mcs .rm-mc__ax { font-size: 14px; }
@media (max-width: 600px) {
	.rm-mcs .rm-mc__ax { font-size: 18px; }
	.rm-mc__svg--curve .rm-mc__ax { font-size: 17px; }
	.rm-mc__svg--curve .rm-mc__val { font-size: 22px; }
}
/* crypto-22 공포·탐욕 게이지 눈금과 단계 이름(8~9px) */
@media (max-width: 760px) { .rm-fg__tick { font-size: 12.5px; } .rm-fg__lab { font-size: 12.5px; } }
/* media-10 J·L 컷과 3점 조명 그림의 이름표(7~9.5px) */
@media (max-width: 600px) {
	.rm-gram__fig { padding: 16px 12px; }
	.rm-gram__h { font-size: 19px; } .rm-gram__k { font-size: 17px; }
	.rm-gram__l { font-size: 18px; } .rm-gram__s { font-size: 15px; }
}

/* media-19 휴대폰 표지에서 슬레이트가 왼쪽 끝에 잘렸다 */
@media (max-width: 760px) { [data-video*="studio-light"] img, [data-video*="studio-light"] video { object-position: 4% 50%; } }

/* 줄바꿈 점검(2026-11-24 사용자: "줄바꿈도 신경 꼭 써주고 … 다른 섹션 요소들도. 다른 모든").
   마지막 줄에 낱말 하나만 남던 짧은 글 덩어리(카드 요약, 작은 안내, 표 캡션, 용어 풀이, 자주 묻는 질문 제목)는 줄을 고르게 나눈다.
   문장 단위 줄바꿈은 build.py 의 lede_lines·sent_pass 가 문장마다 .lp-sent 로 묶어서 한다. 점검은 ~/.claude/tools/site_qa/linebreaks.py */
.lp-card__sum, .lp-row__sum, .lp-small, .lp-tcap, .lp-ex__d, .bk-item__d, .mh-card__lede, .mh-tp__read, .mh-map__desc, .rm-mc__note, .lp-toolsec__d, .lp-toolbox__d,
.lp-prose p, .lp-prose li, .lp-prose figcaption, .lp-faq summary, .lp-post__lede, main dd, main small, main figcaption { text-wrap: pretty; }
/* 두세 줄짜리 쪽 머리 소개 글은 줄 길이를 비슷하게(구역 소개 .lp-lede 와 같은 기준) */
.lp-shead__lede, .lp-mhead__lede, .lp-mus__lede { text-wrap: balance; }
.lp-sent { text-wrap: balance; }

/* ── parts/zz-audit-js.css ── */
/* 점검(2026-11-23, _research/audit) 가운데 스크립트를 고치며 함께 필요한 규칙. 줄 앞의 이름은 점검 기록의 번호다 */

/* js-1-19 겹치는 창(메뉴, 검색, 작품 크게 보기)을 연 동안 뒤 화면이 구르지 않게. html 에 overflow-x: clip 이 있어 body 만 막아서는 안 됐다.
   스크롤 막대가 사라지며 쪽이 옆으로 밀리지 않게 그 자리를 남겨 둔다 */
html.is-locked { overflow: hidden; scrollbar-gutter: stable; }

/* a11y-05 음악 단추는 이제 aria-pressed 대신 aria-expanded 로 창을 알린다. 재생 중 파란 글자는 클래스로 */
.lp-dock [data-music-btn].is-playing { color: var(--blue); }

/* markets-04 7일 선의 색은 7일 흐름(처음과 끝)으로. 줄·카드의 24시간 색보다 앞선다 */
.lp-mt__spark path[data-spark].is-up, .lp-coin .lp-coin__spark path[data-spark].is-up { stroke: var(--up); }
.lp-mt__spark path[data-spark].is-down, .lp-coin .lp-coin__spark path[data-spark].is-down { stroke: var(--down); }
.lp-coin .lp-coin__spark path[data-spark]:not(.is-up):not(.is-down) { stroke: var(--mute); }

/* design-12·js-2-16 가속 곡선 조절점: 손가락으로 잡는 투명한 큰 원, 키보드 초점 표시 */
.rm-ease__hit { fill: transparent; stroke: none; pointer-events: all; cursor: grab; }
.rm-ease__hit:active { cursor: grabbing; }
.rm-ease__h:focus { outline: none; }
.rm-ease__h:focus-visible { stroke-width: 6; }

/* js-3-11 휴대폰에서 차트를 옆으로 끌면 날짜를 훑고, 위아래로는 쪽이 구른다 */
.rc-hit { touch-action: pan-y; }
.rc-empty { fill: currentColor; font-size: 13px; opacity: .7; }

/* js-2-14·media-13 수익 창출 기준: 시청 시간과 쇼츠 조회수 사이의 '또는' */
.rm-ypp__or { color: #8e8e93; font-size: 12px; font-weight: 600; text-align: center; letter-spacing: .02em; }

/* finance-10 거의 움직이지 않은 통화와 기준 통화(미국 달러)는 색 없이 */
.rm-str .is-flat .rm-str__bar i { left: 50%; background: var(--mute); }
.rm-str .is-flat .rm-str__v { color: var(--ink-2); }

/* business-05 범례 칸은 display 가 정해져 있어 hidden 만으로는 숨지 않는다 */
.bz-key[hidden] { display: none; }

/* tools-resources-05 색 코드가 틀리면 미리보기를 흐린다 */
[data-c-prev].is-bad { opacity: .35; }

/* markets-06 시세판 머리 칸의 정렬 단추. 글자 모양은 머리 칸 그대로, 고른 칸에만 작은 방향 표시 */
.lp-mt__sort { all: unset; cursor: pointer; border-radius: 4px; }
.lp-mt__sort:hover { color: var(--ink); }
.lp-mt__sort:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.lp-mt th[aria-sort] .lp-mt__sort { color: var(--ink); font-weight: 650; }
.lp-mt th[aria-sort="descending"] .lp-mt__sort::after { content: " ▼"; font-size: .75em; }
.lp-mt th[aria-sort="ascending"] .lp-mt__sort::after { content: " ▲"; font-size: .75em; }

/* ── parts/zz-audit-py.css ── */
/* 점검(2026-11-23, _research/audit) 가운데 빌드·내용을 고치며 함께 바꾼 스타일. 이름순으로 library.css 끝에 붙는다. */

/* essay-13 움직임을 끈 사람에게 '스크롤을 내리면 문장이 밝아집니다' 안내가 맞지 않았다 */
[data-motion="off"] .rm-lit__k { display: none; }

/* markets-20 핵심 지표의 보조 줄을 p 에서 dd 로 바꿨다(dl 안 div 에는 dt·dd 만). 예전 p 모양을 그대로 잇는다 */
.lp-kpis dd.lp-kpis__sub { margin: 6px 0 0; color: var(--mute); font-size: 13px; font-weight: 400; letter-spacing: 0; white-space: normal; }
@media (max-width: 640px) { .lp-kpis dd.lp-kpis__sub { font-size: 12px; } }

/* museum-19 제목이 100자를 넘는 작품은 목록 캡션이 5~6줄로 늘었다. 목록에서는 두 줄까지, 전체 제목은 크게 보기에서 */
.lp-art figcaption strong { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── parts/zz-audit.css ── */
/* 점검(2026-11-23, _research/audit)에서 나온 것들을 고친 규칙. 파일 이름이 zz- 라 맨 끝에 붙어 앞의 규칙을 덮어쓴다.
   줄 앞의 이름은 점검 기록의 번호다 */

/* a11y-02 검은 틀 안의 초점 테두리. 밝은 화면용 남색(#0113b5)은 검은 바탕에서 대비 1.76:1 로 보이지 않았다 */
.lp-tape :focus-visible, .lp-hero :focus-visible, .lp-chero :focus-visible, .lp-mhead :focus-visible, .lp-state :focus-visible, .lp-foot :focus-visible, .rm-slant :focus-visible { outline-color: #fff; }

/* a11y-03·home-05 첫 화면 넘김 줄이 오른쪽 아래 화면 설정 막대 밑에 깔려 멈춤 단추를 누를 수 없었다. 막대 폭만큼 오른쪽을 비운다.
   968px - 50vw: 본문 폭(1280)이 가운데 놓일 때 막대 왼쪽 끝까지 남는 거리. 화면이 1850px 을 넘으면 원래 여백으로 돌아간다 */
@media (min-width: 641px) { .lp-hero__tabs { padding-right: max(var(--gut), min(284px, 968px - 50vw)); } }
/* 휴대폰은 넘김 줄을 막대 위로 올린다. 처음 화면에서 표지의 아래 끝이 화면 아래 끝보다 시세 띠 높이(34px)만큼 내려가 있어 그만큼 더 올린다 */
@media (max-width: 640px) { .lp-hero { min-height: 620px; } .lp-hero__copy { padding-bottom: 240px; } .lp-hero__tabs { bottom: 100px; } }

/* essay-01·a11y-09 밝아지는 문장: 움직임을 끄면 스크립트와 상관없이 모두 밝게. 켜 둔 때에도 아직 안 밝아진 낱말이 읽히게 조금 올린다 */
[data-motion="off"] .rm-lit__p span { color: #f5f5f7; }
.rm-lit__p span { color: #55555c; }

/* business-01·home-01·life-game-03·04·media-04 글 수가 격자에 딱 떨어지지 않으면 빈칸이 생겼다. 칸 수를 글 수에 맞춘다(글이 늘면 저절로 원래 격자로 돌아간다) */
@media (min-width: 1001px) {
	.lp-grid4:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lp-grid4:has(> :nth-child(2):last-child), .lp-grid3:has(> :nth-child(2):last-child), .lp-scrs:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-grid3:has(> :nth-child(4):last-child), .lp-scrs:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	/* 두 칸 잡지 격자에 글이 홀수면 첫 글을 가로로 넓게 놓는다 */
	.lp-mag > .lp-card:first-child:nth-last-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
	.lp-mag > .lp-card:first-child:nth-last-child(odd) .lp-card__pic { aspect-ratio: 16 / 10; }
	.lp-mag > .lp-card:first-child:nth-last-child(odd) .lp-card__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; }
}

/* crypto-14·js-3-12 단추 묶음의 글자가 두 줄로 접혀 단추 밖으로 나왔다 */
.rm-seg button { white-space: nowrap; }
@media (max-width: 560px) {
	.rm-cyc__top .rm-seg { display: flex; width: 100%; }
	.rm-cyc__top .rm-seg button { flex: 1; padding: 0 6px; font-size: 12.5px; }
}
/* crypto-13 휴대폰에서 미결제약정 카드의 작은 추이 선이 제목 글자 위를 지나갔다. 숫자 아래로 내린다 */
@media (max-width: 600px) { .rm-dd__kpis svg { position: static; display: block; width: 100%; height: 28px; margin-top: 10px; } }

/* life-game-02 휴대폰에서 스팀 순위 줄의 이름과 숫자가 말줄임으로 잘렸다. 그림을 줄이고 두 줄까지 보인다 */
@media (max-width: 560px) {
	.rm-gb__top a, .rm-gb__apps a { grid-template-columns: 20px auto minmax(0, 1fr) auto; gap: 10px; }
	.rm-gb__top img { width: 56px; height: 26px; }
	.rm-gb__nm strong, .rm-gb__nm small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
}

/* media-01 화면비 극장: 휴대폰에서 1.85:1, 2.39:1, 16:9 가 모두 같은 모양이었다. 액자의 폭을 '화면 높이 x 비율'과 화면 폭 가운데 작은 쪽으로 잡는다 */
.rm-theater__screen { --sh: clamp(260px, 38vw, 480px); height: var(--sh); }
.rm-theater__frame { width: min(100%, calc(var(--sh) * var(--ar))); height: auto; max-width: 100%; aspect-ratio: var(--ar); }

/* media-02 휴대폰에서 주소 입력 칸이 20px 로 납작해졌다 */
.rm-yt__form input { min-height: 46px; }
@media (max-width: 760px) { .rm-yt__form input { flex: none; width: 100%; } }

/* media-03 숏드라마 그림의 이름표를 그림 밖 글자로(휴대폰에서 5px 로 줄어 읽을 수 없었다) */
.rm-drama__leg { display: flex; justify-content: space-between; gap: 14px; margin: 12px 0 0; color: #8e8e93; font-size: 13px; line-height: 1.5; word-break: keep-all; }
.rm-drama__leg .is-free { color: #38d9a9; font-weight: 600; }
