/* Togeppi theme — 모노톤(로고의 검은 달걀) + 노른자 포인트. 기본은 다크, 사용자가 고르면 라이트(data-theme="light"). */

:root {
	--bg: #0f0f10;
	--bg-soft: #161618;
	--fg: #ededea;
	--fg-soft: #c3c3bf;
	--muted: #8d8d89;
	--line: #26262a;
	--accent: #f2b705;
	--accent-ink: #141414;
	--card: #161618;
	--shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
	--radius: 14px;
	--wrap: 1080px;
	--narrow: 720px;
	--font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color-scheme: dark;
}
:root[data-theme="light"] {
	--bg: #ffffff;
	--bg-soft: #f6f6f4;
	--fg: #141414;
	--fg-soft: #4a4a4a;
	--muted: #7a7a7a;
	--line: #e7e7e4;
	--card: #ffffff;
	--shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
	color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
img, video, iframe { max-width: 100%; height: auto; }
svg { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: .5em 1em; background: var(--fg); color: var(--bg); border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(var(--narrow), 100% - 32px); }

.egg { width: 1em; height: 1.25em; vertical-align: -.25em; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .22em; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand__egg { font-size: 22px; }
.brand__name { padding-top: 2px; }

.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; font-size: 22px; }
.nav-toggle:hover { background: var(--bg-soft); }

.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	display: inline-block; padding: 6px 11px; border-radius: 999px;
	font-size: 14px; font-weight: 600; color: var(--fg-soft);
}
.site-nav__list a:hover { color: var(--fg); background: var(--bg-soft); text-decoration: none; }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { color: var(--fg); background: var(--bg-soft); }

.search { display: flex; align-items: center; margin-left: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 0 4px 0 12px; height: 36px; background: var(--bg); }
.search input { width: 0; border: 0; background: none; outline: none; transition: width .25s ease; }
.search:focus-within input, .search input:not(:placeholder-shown) { width: 160px; }
.search button { width: 28px; height: 28px; border-radius: 50%; font-size: 16px; display: grid; place-items: center; color: var(--muted); }
.search button:hover { color: var(--fg); }

.theme-toggle { width: 36px; height: 36px; border-radius: 50%; font-size: 18px; display: grid; place-items: center; color: var(--fg-soft); }
.theme-toggle:hover { background: var(--bg-soft); color: var(--fg); }
/* 다크(기본)에서는 달 아이콘, 라이트에서는 해 아이콘 */
.theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: block; }
:root[data-theme="light"] .theme-toggle__moon { display: none; }

@media (max-width: 760px) {
	.nav-toggle { display: grid; place-items: center; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 10px;
		padding: 12px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-wrap: wrap; gap: 4px; }
	.search { margin: 0; }
	.search input, .search:focus-within input { width: 100%; }
	.search { padding-left: 14px; }
	.theme-toggle { align-self: flex-end; }
}

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.hero__in { display: flex; align-items: center; gap: 28px; padding: 44px 0 40px; }
.hero__egg { font-size: 84px; flex: none; color: var(--fg); filter: drop-shadow(0 10px 18px rgba(0,0,0,.12)); }
.hero__title { margin: 0 0 8px; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hero__desc { margin: 0 0 14px; color: var(--fg-soft); font-size: 16px; }
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--fg-soft); background: var(--bg); }
.social a:hover { color: var(--fg); border-color: var(--fg); text-decoration: none; }
.social svg { font-size: 16px; }
@media (max-width: 560px) {
	.hero__in { gap: 18px; padding: 32px 0 28px; }
	.hero__egg { font-size: 56px; }
}

/* ---------- sections / cards ---------- */
.section { padding: 36px 0 8px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.section__count { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--muted); vertical-align: .15em; }
.section__more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.section__more:hover { color: var(--fg); }
.section__more svg { transition: transform .2s; }
.section__more:hover svg { transform: translateX(3px); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 22px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.card:hover .card__img { transform: scale(1.03); }
.card__img--empty { display: grid; place-items: center; color: var(--line); font-size: 64px; }
.card__body { padding: 12px 2px 0; }
.card__title { margin: 6px 0 0; font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
.card__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__excerpt { margin: 8px 0 0; color: var(--fg-soft); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--lg { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.card--lg .card__media { aspect-ratio: 16 / 9; }
.card--lg .card__title { font-size: 24px; }
.card--lg .card__body { padding: 0; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.meta__cat { font-weight: 700; color: var(--fg-soft); }
.meta__cat:hover { color: var(--fg); }
.meta > * + *::before { content: "·"; margin-right: 8px; color: var(--line); }

@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.cards { grid-template-columns: 1fr; gap: 22px; }
	.card--lg { grid-template-columns: 1fr; gap: 12px; }
	.card--lg .card__title { font-size: 20px; }
}

.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- page head / chips ---------- */
.page-head { padding: 40px 0 24px; }
.page-head__kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-block; }
.page-head__title { margin: 0; font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.page-head__desc { margin: 10px 0 0; color: var(--fg-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--fg-soft); }
.chips a span { color: var(--muted); font-weight: 500; }
.chips a:hover, .chips .is-current a { color: var(--bg); background: var(--fg); border-color: var(--fg); text-decoration: none; }
.chips .is-current a span, .chips a:hover span { color: inherit; opacity: .7; }

/* ---------- single ---------- */
.post__head { padding: 44px 0 20px; text-align: center; }
.post__title { margin: 6px 0 14px; font-size: clamp(26px, 4.2vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.3; }
.post__head .meta { justify-content: center; }
.post__cover { margin: 8px auto 28px; }
.post__cover img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }

.entry { font-size: 17px; line-height: 1.85; color: var(--fg); }
.entry > * { margin-top: 0; margin-bottom: 1.15em; }
.entry > *:last-child { margin-bottom: 0; }
.entry h2 { margin-top: 2.2em; font-size: 1.45em; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.entry h3 { margin-top: 1.8em; font-size: 1.2em; font-weight: 700; }
.entry h2 strong, .entry h3 strong { font-weight: inherit; }
.entry h2:first-child, .entry h3:first-child { margin-top: 0; }
.entry a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; text-decoration-thickness: 2px; }
.entry a:hover { text-decoration-color: var(--accent); }
.entry blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--accent); color: var(--fg-soft); }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li { margin: .25em 0; }
.entry code { font-family: var(--mono); font-size: .9em; padding: .15em .4em; background: var(--bg-soft); border-radius: 6px; }
.entry pre { padding: 1em 1.2em; overflow: auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; font-size: .9em; line-height: 1.6; }
.entry pre code { padding: 0; background: none; }
.entry table { width: 100%; border-collapse: collapse; font-size: .95em; }
.entry th, .entry td { padding: .5em .7em; border-bottom: 1px solid var(--line); text-align: left; }
.entry hr, .entry .wp-block-separator { margin: 2.4em auto; width: 72px; border: 0; border-top: 2px solid var(--line); }
.entry figure { margin: 1.6em 0; }
.entry figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.entry figcaption, .entry .wp-element-caption { margin-top: .55em; font-size: .85em; color: var(--muted); text-align: center; }
.entry .wp-block-image a img { transition: opacity .2s; }
.entry .wp-block-image a:hover img { opacity: .92; }
.entry .wp-block-video video { width: 100%; border-radius: 12px; background: #000; }
.entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.entry .wp-block-button__link, .button {
	display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 18px;
	background: var(--fg); color: var(--bg); border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
}
.entry .wp-block-button__link:hover, .button:hover { background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.entry .wp-block-embed iframe, .entry iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 12px; }

/* 쿠팡 파트너스 위젯(120×240)과 지도 */
.tg-embed--coupang { display: flex; justify-content: center; margin: 1.4em 0; }
.tg-embed--coupang iframe { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.tg-embed--map { margin: 1.6em 0; }
.tg-embed--map iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; filter: invert(.9) hue-rotate(180deg) saturate(.7); }
:root[data-theme="light"] .tg-embed--map iframe { filter: none; }

.page-links { margin-top: 2em; }

.post__foot { padding: 36px 0 8px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.post-nav__item { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); min-width: 0; }
.post-nav__item:hover { border-color: var(--fg); text-decoration: none; }
.post-nav__item--next { text-align: right; }
.post-nav__label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.post-nav__title { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav__item--next { text-align: left; } }

/* ---------- comments ---------- */
.comments { padding: 36px 0 40px; border-top: 1px solid var(--line); margin-top: 32px; }
.comments__title, .comment-reply-title { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 24px; }
.comment-list .comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.comment-author .fn { font-weight: 700; color: var(--fg); font-style: normal; }
.comment-content p { margin: 0 0 .6em; }
.reply a { font-size: 13px; font-weight: 600; color: var(--muted); }
.comment-form { display: grid; gap: 12px; margin-top: 16px; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; color: var(--fg-soft); margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); outline: none;
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--fg); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.comment-form .comment-form-cookies-consent label { margin: 0; }
.comment-form .form-submit { margin: 4px 0 0; }
.comment-form .button { border: 0; }
.comment-navigation, .comments-pagination { margin: 16px 0; font-size: 14px; }
.logged-in-as, .comment-notes { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 36px 0 20px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--fg-soft); }
.pagination .page-numbers:hover { border-color: var(--fg); color: var(--fg); text-decoration: none; }
.pagination .page-numbers.current { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pagination .page-numbers.dots { border: 0; }

/* ---------- works ---------- */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); transition: transform .2s, box-shadow .2s, border-color .2s; }
.work:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--fg); }
.work__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.work__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.work__name { font-weight: 800; display: flex; align-items: center; gap: 6px; }
.work__name svg { font-size: 14px; color: var(--muted); }
.work__desc { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .works { grid-template-columns: 1fr; } }
.entry--wide { max-width: var(--narrow); margin-bottom: 8px; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 72px 0 80px; }
.not-found__egg { font-size: 72px; color: var(--line); margin-bottom: 12px; }
.not-found p { color: var(--fg-soft); }

/* ---------- footer ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: 13px; color: var(--muted); }
.site-footer__in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 72px; padding: 16px 0; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fg-soft); }
.site-footer__egg { font-size: 16px; }
.site-footer .social { margin-left: auto; }
.site-footer .social a { height: 30px; padding: 0 9px; font-size: 15px; }
.site-footer__links { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.site-footer__links a { color: var(--muted); font-weight: 600; }
.site-footer__links a:hover { color: var(--fg); }
@media (max-width: 560px) { .site-footer .social { margin-left: 0; } }

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

/* ---------- works: 포트폴리오 ---------- */
.section__desc { margin: 0; font-size: 14px; color: var(--muted); }
.work__role { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.work__note { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--muted); }
.work__media--empty { display: grid; place-items: center; color: var(--line); font-size: 56px; }

/* ---------- SNS 통계 ---------- */
:root {
	/* 계정 색(고정 순서: Margot·윤서하·Odile·Walt·Felix). dataviz 기본 팔레트, 다크 표면 검증 통과 */
	--series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500; --series-5: #d55181;
	--good: #0ca30c; --bad: #e66767;
}
:root[data-theme="light"] {
	--series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100; --series-5: #e87ba4;
	--good: #008300; --bad: #e34948;
}
.stats-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 18px; font-size: 13px; color: var(--muted); }
.stats-notes { margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--fg-soft); list-style: none; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); min-width: 0; }
.tile__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile__value { margin-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile__delta { margin-top: 8px; font-size: 14px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; }
.tile__sub { font-size: 12px; font-weight: 500; color: var(--muted); }
.tile__note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.is-up { color: var(--good); } .is-down { color: var(--bad); } .is-flat, .is-none { color: var(--muted); }
.delta { font-size: 13px; font-weight: 700; white-space: nowrap; }
.delta--sm { font-size: 11px; display: block; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile__value { font-size: 26px; } }

.acct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.acct { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 14px 16px 12px; border-top: 3px solid var(--c); }
.acct__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.acct__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.acct__name { margin: 0; font-size: 16px; font-weight: 800; flex: 1; min-width: 0; }
.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge--watch { border-color: var(--accent); color: var(--accent); }
.badge--due { border-color: var(--bad); color: var(--bad); }
.acct__nums { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.acct__nums > div { min-width: 0; }
.acct__nums dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.acct__nums dd { margin: 2px 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.acct__nums dd b { font-size: 18px; font-weight: 800; }
.spark { display: block; margin-top: 4px; }
.acct__foot { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.acct__none { margin: 0; font-size: 13px; color: var(--muted); }

.chart .section__head { align-items: center; }
.chart__toggle { font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.chart__toggle:hover { color: var(--fg); border-color: var(--fg); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0 0 8px; padding: 0; font-size: 13px; color: var(--fg-soft); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend__swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.chart__plot { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 8px 6px 4px; }
.linechart { display: block; width: 100%; height: auto; }
.linechart .grid { stroke: var(--line); stroke-width: 1; }
.linechart .tick { font-size: 11px; fill: var(--muted); font-family: var(--font); }
.linechart .label { font-size: 12px; font-weight: 700; font-family: var(--font); }
.linechart .pt { opacity: 0; transition: opacity .12s; }
.linechart .pt.is-active { opacity: 1; r: 4.5; }
.chart__tip { position: absolute; top: 12px; pointer-events: none; padding: 8px 10px; border-radius: 10px; background: var(--fg); color: var(--bg); font-size: 12px; line-height: 1.6; box-shadow: var(--shadow); white-space: nowrap; z-index: 2; }
.chart__tip-date { font-weight: 700; margin-bottom: 2px; opacity: .8; }
.chart__tip b { font-variant-numeric: tabular-nums; }
.chart__table { margin-top: 10px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-wrap th, .table-wrap td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; vertical-align: top; }
.table-wrap th { font-size: 12px; color: var(--muted); font-weight: 700; }
.table-wrap td.num, .table-wrap th.num { text-align: right; font-variant-numeric: tabular-nums; }
.posts td.title { white-space: normal; min-width: 220px; }
.posts tr.is-watching td { color: var(--fg-soft); }
.toplist { margin: 0; padding-left: 1.3em; }
.toplist li { margin: 6px 0; }
.toplist__meta { margin-left: 8px; font-size: 12px; color: var(--muted); }
.reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.reports a { font-weight: 700; }
.reports span { margin-left: 8px; color: var(--muted); font-size: 13px; }
.report h2 { font-size: 1.3em; }
.report h3 { font-size: 1.1em; }

/* ---------- 홈 다시 짜기 (2026-11-18): 소개 히어로 · Works 띠 · 카테고리 열 ---------- */
.hero { border-bottom: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 64px 0 48px; }
.hero__kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__title { margin: 0 0 16px; font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.hero__desc { margin: 0 0 22px; max-width: 34em; font-size: 17px; line-height: 1.75; color: var(--fg-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero__actions .social { margin-left: 6px; }
.hero__actions .social a { padding: 0 9px; }
.button--ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.button--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.facts { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0 0; }
.facts dt { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.facts dd { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero__art { position: relative; display: grid; place-items: center; min-height: 240px; }
.hero__glow { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent 72%); filter: blur(6px); }
.hero__egg { position: relative; font-size: clamp(140px, 18vw, 220px); color: var(--fg); filter: drop-shadow(0 24px 36px rgba(0,0,0,.28)); }
@media (max-width: 760px) {
	.hero__in { grid-template-columns: 1fr; gap: 10px; padding: 40px 0 32px; }
	.hero__art { order: -1; min-height: 0; justify-content: start; }
	.hero__egg { font-size: 72px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.25)); }
	.hero__glow { display: none; }
	.hero__title { font-size: clamp(30px, 9vw, 40px); }
	.hero__desc { font-size: 16px; }
	.facts { gap: 0 20px; }
	.facts dd { font-size: 20px; }
}

.section__kicker { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.section--works { padding-top: 40px; }
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mini { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mini__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); }
.mini__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .35s ease; }
.mini:hover { text-decoration: none; }
.mini:hover .mini__media img { transform: scale(1.04); }
.mini__name { font-weight: 800; font-size: 14px; line-height: 1.3; }
.mini__role { font-size: 12px; color: var(--muted); line-height: 1.3; }
@media (max-width: 900px) {
	.strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
	.strip::-webkit-scrollbar { display: none; }
	.mini { flex: 0 0 min(62vw, 240px); scroll-snap-align: start; }
}
.band { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s, transform .2s; }
.band:hover { text-decoration: none; border-color: var(--fg); transform: translateY(-1px); }
.band__mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 20px; }
.band__mark .egg path:last-child { stroke: var(--accent); }
.band__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.band__text strong { font-size: 15px; }
.band__text span { font-size: 13px; color: var(--muted); }
.band__arrow { color: var(--muted); font-size: 18px; transition: transform .2s; }
.band:hover .band__arrow { transform: translateX(3px); color: var(--fg); }

.catcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.catcol { border-top: 2px solid var(--fg); padding-top: 12px; min-width: 0; }
.catcol__title { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.catcol__desc { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.catcol__list { list-style: none; margin: 0; padding: 0; }
.catcol__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.catcol__list a { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catcol__list time { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .catcols { grid-template-columns: 1fr; } }
.chips--inline { margin: 0; }
.section__head > div { min-width: 0; }

/* 계정 카드: 플랫폼 바로가기 */
.acct__links { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: -2px 0 12px; padding: 0; }
.plat { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--fg-soft); background: var(--bg); }
.plat svg { font-size: 14px; }
a.plat:hover { text-decoration: none; color: var(--bg); background: var(--fg); border-color: var(--fg); }
.plat--soon { color: var(--muted); border-style: dashed; cursor: default; opacity: .7; }

/* 지켜보는 중: 글자 배지 대신 점이 천천히 깜빡인다 */
.acct__dot.is-live, .dot.is-live { position: relative; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.acct__dot.is-live::after, .dot.is-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; color: var(--c, var(--accent)); opacity: 0; animation: tg-pulse 2.2s ease-out infinite; }
.acct__dot.is-live { animation: tg-blink 2.2s ease-in-out infinite; }
@keyframes tg-pulse { 0% { transform: scale(.6); opacity: .8; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
@keyframes tg-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .acct__dot.is-live::after, .dot.is-live::after { animation: none; opacity: .5; transform: none; } .acct__dot.is-live { animation: none; } }

/* 관리자용 표시·가린 자리 */
.badge--admin { margin-left: 8px; font-size: 11px; vertical-align: middle; border-color: var(--accent); color: var(--accent); }
.acct__nums dt small, .posts th small { font-size: 10px; font-weight: 700; color: var(--accent); margin-left: 4px; }
.locked { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.locked__icon { font-size: 20px; flex: none; opacity: .7; }
.locked__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 14px; }
.locked__text span { font-size: 13px; color: var(--muted); }
.locked__login { flex: none; font-size: 13px; font-weight: 700; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.locked__login:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); text-decoration: none; }
.muted { color: var(--muted); }

/* 블로그 허브의 주제 칩 */
.chips--lg a { height: 38px; padding: 0 16px; font-size: 14px; }

/* 홈: AI 인플루언서 카드 */
.section__head--sub { margin-top: 34px; }
.people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.person { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); border-top: 3px solid var(--c); min-width: 0; }
.person__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; }
.person__avatar--initial { background: color-mix(in srgb, var(--c) 22%, var(--card)); color: var(--c); font-weight: 800; font-size: 20px; }
.person__name { margin: 4px 0 0; font-size: 15px; font-weight: 800; line-height: 1.3; }
.person__tag { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.person__links { display: flex; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.person__links a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: var(--fg-soft); font-size: 15px; }
.person__links a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (max-width: 900px) {
	.people { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
	.people::-webkit-scrollbar { display: none; }
	.person { flex: 0 0 min(64vw, 220px); scroll-snap-align: start; }
}

/* 홈 AI 카드: 숫자 줄 */
.person__stats { margin: 2px 0 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.person__stats div { min-width: 0; }
.person__stats dt { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.person__stats dd { margin: 1px 0 0; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.person__stats .delta--sm { font-size: 10px; font-weight: 700; display: block; }

/* 프로필 사진 */
.person__avatar { width: 72px; height: 72px; border-radius: 18px; border: 2px solid var(--c); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.acct__avatar { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; border: 1.5px solid var(--c); margin-right: 2px; }

/* SNS 계정 카드: 큰 사진 왼쪽, 이름·링크 오른쪽 */
.acct__head--photo { align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.acct__head--photo .acct__avatar { width: 76px; height: 76px; border-radius: 18px; border: 2px solid var(--c); margin: 0; flex: none; object-fit: cover; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.acct__avatar--initial { display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, var(--card)); color: var(--c); font-weight: 800; font-size: 26px; }
.acct__id { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.acct__namerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acct__head--photo .acct__links { margin: 0; }
/* SNS 계정 카드: 링크 3개는 아이콘만(한 줄에 맞게) */
.acct__head--photo .plat { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; }
.acct__head--photo .plat span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.acct__head--photo .plat svg { font-size: 16px; }
/* 홈 AI 카드: 가운데 정렬 (2026-11-18 사용자) */
.person { align-items: center; text-align: center; }
.person__name, .person__tag { width: 100%; }
.person__links { justify-content: center; }
.person__stats div { text-align: center; }

/* 히어로 마스코트(모찌) */
.hero__mascot { position: relative; display: block; width: clamp(200px, 24vw, 320px); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.28)); background: transparent; }
.hero__glow { width: 70%; }
@media (max-width: 760px) {
	.hero__mascot { width: 128px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.25)); }
}

/* 모바일 히어로: 마스코트를 가운데 크게, 글도 가운데 (2026-11-18 사용자 — 왼쪽 위 작은 배치가 어색) */
@media (max-width: 760px) {
	.hero__in { justify-items: center; text-align: center; gap: 6px; padding: 28px 0 30px; }
	.hero__art { order: -1; justify-content: center; width: 100%; min-height: 0; margin-bottom: 4px; }
	.hero__mascot { width: 168px; }
	.hero__glow { display: block; width: 150px; height: 150px; }
	.hero__text { width: 100%; }
	.hero__desc { margin-inline: auto; }
	.hero__actions { justify-content: center; }
	.hero__actions .social { margin-left: 0; }
	.facts { justify-content: center; gap: 0 22px; }
	.facts div { text-align: center; }
}
