/* nb-skin.css — NB Design Tools (nb11.mhna98.com) 사이트 전용 스킨. 생성: _shared/skins/make_skins.py — 직접 고치지 말고 생성기를 고친다 */
/* 콘셉트: 무드보드 — 가운데 정렬 + 컬러 팔레트 창 + 큰 타일 | hero=center card=big sect=panel win=palette motif=none */
:root { --sk-head: "Hahmlet", Pretendard, "Malgun Gothic", sans-serif; --sk-r: 28px; }
html:not([data-theme="light"]) { --dark: #0b0a08; }
.hero h1, .tools-head h2, .channel-hub > h2, .ws-head h3, .site-blueprint h2, .brand strong, .ft-brand strong, main.latest-posts > article > h1, main.latest-posts > article h2, .affiliate-deals .section-head > span, .latest-posts > .section-head > span, .blog-thumb strong, .nbp-win b { font-family: var(--sk-head) !important; }
html:not([data-theme="light"]) body { background: radial-gradient(1100px 520px at 85% -5%, color-mix(in srgb, var(--brand), transparent 80%), transparent 60%), var(--dark) !important; }
html[data-theme="light"] body { background: radial-gradient(1100px 520px at 85% -5%, color-mix(in srgb, var(--brand), transparent 86%), transparent 60%), #f5f6f9 !important; }
body:has(.site-header) :is(.latest-posts, .channel-hub, .tools-section, .affiliate-deals) { border-radius: calc(var(--sk-r) + 6px) !important; }
body .tool-grid > .tool-card, body .blog-mini, body .workspace-panel { border-radius: var(--sk-r) !important; }
body .hero .hero-grid { grid-template-columns: minmax(0, 1fr) !important; text-align: center; gap: 30px; }
body .hero .hero-copy { max-width: 820px; margin: 0 auto; }
body .hero .hero-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
body .hero .hero-actions, body .hero .hero-stats { justify-content: center; }
body .hero .hero-art { width: min(100%, 980px); margin: 0 auto; min-height: 330px; }
/* 큰 타일: 아이콘 위, 이름 아래 (PC 3열) */
@media (min-width: 641px) {
  body .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
  body .tool-grid > .tool-card { flex-direction: column; align-items: flex-start; min-height: 168px; padding: 22px !important; gap: 16px; }
  body .tool-grid > .tool-card .t-ico { width: 58px; height: 58px; border-radius: calc(var(--sk-r) - 4px); }
  body .tool-grid > .tool-card .t-ico svg { width: 28px; height: 28px; }
  body .tool-grid > .tool-card strong { font-size: 16.5px; }
}
/* 팔레트: 막대 → 색 견본 */
.nbp-art .nbp-bars span { height: 100% !important; opacity: 1 !important; border-radius: 14px !important; box-shadow: none !important;
  background: color-mix(in srgb, var(--brand), #fff calc(var(--i) * 13%)) !important; }
.nbp-art .nbp-bars span:nth-child(odd) { background: color-mix(in srgb, var(--accent), #fff calc(var(--i) * 10%)) !important; }
.nbp-art .nbp-bars { border-bottom: 0; }
body .tool-grid > .tool-card .t-ico { border-radius: 40% 60% 55% 45% / 55% 45% 60% 40% !important; }
.blog-mini > .blog-thumb { background: linear-gradient(135deg, var(--brand), var(--accent)) !important; }
@media (prefers-reduced-motion: reduce) { .nbp-art .nbp-rows::before, .hero .eyebrow::before { animation: none !important; } }
html.perf-lite .nbp-art .nbp-rows::before, html.perf-lite .hero .eyebrow::before { animation: none !important; }
