/* nb-skin.css — NB Life Tools (nb15.mhna98.com) 사이트 전용 스킨. 생성: _shared/skins/make_skins.py — 직접 고치지 말고 생성기를 고친다 */
/* 콘셉트: 생활 체크리스트 — 밝은 크림 바탕 + 반전 배치 + 손글씨 느낌 명조 | hero=reverse card=tile sect=band win=mac motif=dots */
:root { --sk-head: "Gowun Batang", Pretendard, "Malgun Gothic", sans-serif; --sk-r: 22px; }
:root { --sk-on: #c2410c; --sk-onA: #655644; --sk-txd: #de987c; --sk-txl: #973309; } /* 대비 안전 색(흰 글자 면·다크/라이트 글자) — 생성기가 브랜드색에서 계산 */
html:not([data-theme="light"]) { --dark: #0b0806; }
.hero h1, .tools-head h2, .channel-hub > h2, .nb-channel-intro h2, .deals-head 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(color-mix(in srgb, var(--text), transparent 88%) 1.1px, transparent 1.5px) 0 0/22px 22px, 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(color-mix(in srgb, var(--text), transparent 88%) 1.1px, transparent 1.5px) 0 0/22px 22px, radial-gradient(1100px 520px at 85% -5%, color-mix(in srgb, var(--brand), transparent 86%), transparent 60%), #fbf6ef !important; }
html[data-theme="light"] .hero-art .art-card { background: #fff; }
html[data-theme="light"] :is(.latest-posts, .channel-hub, .tools-section, .affiliate-deals) { background: rgba(255, 255, 255, 0.72); }
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 { text-align: left; }
body .hero .hero-copy { max-width: none; margin: 0; }
body .hero .hero-copy > p:not(.eyebrow) { margin-left: 0; margin-right: 0; }
body .hero .hero-actions, body .hero .hero-stats { justify-content: flex-start; }

/* 반전 배치: 미리보기가 왼쪽, 제목이 오른쪽 (모바일은 제목 먼저) */
@media (min-width: 861px) {
  body .hero .hero-grid { grid-template-columns: minmax(340px, 1fr) minmax(0, 0.95fr); }
  body .hero .hero-art { order: -1; }
}
/* 틴트 띠: 섹션마다 액센트 옅은 바탕 */
body:has(main#home) :is(.latest-posts, .channel-hub, .tools-section, .affiliate-deals) {
  background: color-mix(in srgb, var(--brand), transparent 91%) !important;
  border-color: color-mix(in srgb, var(--brand), transparent 72%) !important;
}
.hero .eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--brand); background: linear-gradient(135deg, transparent 45%, var(--brand) 45% 60%, transparent 60%); }
@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; }
