/* nb-skin.css — NB SNS Tools (nb7.mhna98.com) 사이트 전용 스킨. 생성: _shared/skins/make_skins.py — 직접 고치지 말고 생성기를 고친다 */
/* 콘셉트: 스토리 피드 — 가운데 정렬 + 휴대폰 화면 + 틴트 띠 섹션 | hero=center card=big sect=band win=phone motif=dots */
:root { --sk-head: "Do Hyeon", Pretendard, "Malgun Gothic", sans-serif; --sk-r: 26px; }
html:not([data-theme="light"]) { --dark: #0d070b; }
.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; }
.hero h1, .tools-head h2, .channel-hub > h2, main.latest-posts > article > h1, .blog-thumb strong { font-weight: 400 !important; letter-spacing: -0.01em !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%), #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; }
}
/* 틴트 띠: 섹션마다 액센트 옅은 바탕 */
body:has(.site-header) :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;
}
/* 휴대폰 화면 */
@media (min-width: 641px) {
  .nbp-art .art-card.one { inset: 22px 30% 22px 30% !important; border-radius: 34px !important; padding-top: 34px !important; }
  .nbp-art .art-card.one::before { content: ""; position: absolute; top: 12px; left: 50%; width: 70px; height: 8px; margin-left: -35px; border-radius: 99px; background: color-mix(in srgb, var(--text), transparent 80%); }
  .nbp-art .nbp-win > i { display: none; }
  .nbp-art .nbp-win b { margin-left: 0; padding-right: 0; }
  .nbp-art .art-card.two { right: 18px !important; left: auto !important; bottom: 40px !important; flex-direction: column; }
  .nbp-art .art-card.three { left: 18px !important; bottom: auto !important; top: 40px; width: 26% !important; flex-direction: column; text-align: center; }
}
.blog-mini > .blog-thumb { border-radius: 22px !important; }
body .tool-grid > .tool-card .t-ico { border-radius: 50% !important; box-shadow: 0 0 0 3px var(--dark, #000), 0 0 0 5px var(--brand) !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; }
