/* nb-skin.css — NB Career Tools (nb19.mhna98.com) 사이트 전용 스킨. 생성: _shared/skins/make_skins.py — 직접 고치지 말고 생성기를 고친다 */
/* 콘셉트: 이력서 — 벤토 그리드 + 굵은 테두리 카드 | hero=bento card=brutal sect=thick win=page motif=grid */
:root { --sk-head: "IBM Plex Sans KR", Pretendard, "Malgun Gothic", sans-serif; --sk-r: 16px; }
html:not([data-theme="light"]) { --dark: #09090a; }
.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: linear-gradient(color-mix(in srgb, var(--text), transparent 94%) 1px, transparent 1px) 0 0/34px 34px, linear-gradient(90deg, color-mix(in srgb, var(--text), transparent 94%) 1px, transparent 1px) 0 0/34px 34px, 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: linear-gradient(color-mix(in srgb, var(--text), transparent 94%) 1px, transparent 1px) 0 0/34px 34px, linear-gradient(90deg, color-mix(in srgb, var(--text), transparent 94%) 1px, transparent 1px) 0 0/34px 34px, 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 { 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; }

/* 벤토: 제목 타일 + 미리보기 타일 + 숫자 타일 4칸 */
body .hero .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
body .hero .hero-copy { display: contents; }
body .hero .hero-grid::before {
  content: ""; grid-column: 1 / 8; grid-row: 1 / 5; z-index: 0;
  border: 1px solid var(--line); border-radius: calc(var(--sk-r) + 8px);
  background: color-mix(in srgb, var(--dark, #070b12), #fff 5%);
}
html[data-theme="light"] body .hero .hero-grid::before { background: rgba(255, 255, 255, 0.8); }
body .hero .hero-copy > * { grid-column: 1 / 8; position: relative; z-index: 1; padding-left: clamp(20px, 2.6vw, 34px); padding-right: clamp(20px, 2.6vw, 34px); }
body .hero .hero-copy > .eyebrow { grid-row: 1; padding-top: clamp(20px, 2.6vw, 32px); margin: 0; }
body .hero .hero-grid h1 { grid-row: 2; margin: 10px 0 8px; }
body .hero .hero-copy > p:not(.eyebrow) { grid-row: 3; margin: 0; }
body .hero .hero-actions { grid-row: 4; margin: 0; padding-top: 18px; padding-bottom: clamp(20px, 2.6vw, 32px); }
body .hero .hero-art { grid-column: 8 / 13; grid-row: 1 / 5; min-height: 320px; }
body .hero .hero-stats {
  grid-column: 1 / 13; grid-row: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin: 0; padding: 0 !important; border: 0;
}
body .hero .hero-stats > div {
  padding: 16px 20px; border: 1px solid var(--line); border-radius: calc(var(--sk-r) + 4px);
  background: color-mix(in srgb, var(--dark, #070b12), #fff 5%);
}
html[data-theme="light"] body .hero .hero-stats > div { background: rgba(255, 255, 255, 0.8); }
@media (max-width: 860px) {
  body .hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
  body .hero .hero-grid::before, body .hero .hero-copy > * { grid-column: 1 / -1; }
  body .hero .hero-art { grid-column: 1 / -1; grid-row: 6; }
  body .hero .hero-stats { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
/* 브루탈: 굵은 테두리 + 단단한 그림자 */
body .tool-grid > .tool-card {
  border: 2px solid color-mix(in srgb, var(--text), transparent 25%) !important;
  box-shadow: 5px 5px 0 var(--brand) !important; background: var(--panel-2) !important;
}
body .tool-grid > .tool-card:hover { transform: translate(-2px, -2px) !important; box-shadow: 8px 8px 0 var(--brand) !important; }
body .tool-grid > .tool-card.is-active { background: color-mix(in srgb, var(--brand), transparent 80%) !important; }
@media (max-width: 640px) { body .tool-grid > .tool-card { box-shadow: 3px 3px 0 var(--brand) !important; } }
/* 굵은 테두리 섹션 + 단단한 그림자 */
body:has(.site-header) :is(.latest-posts, .channel-hub, .tools-section, .affiliate-deals) {
  border: 2px solid color-mix(in srgb, var(--text), transparent 72%) !important;
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--brand), transparent 55%) !important;
}
body:has(.site-header) .tools-section::before { display: none !important; }
@media (max-width: 640px) { body:has(.site-header) :is(.latest-posts, .channel-hub, .tools-section, .affiliate-deals) { box-shadow: 4px 4px 0 color-mix(in srgb, var(--brand), transparent 55%) !important; } }
/* 종이 한 장: 밝은 지면 + 줄 */
.nbp-art .art-card.one { background: #fbfaf7 !important; border-color: transparent !important; color: #17181b; }
.nbp-art .art-card.one .nbp-win b { color: #17181b !important; }
.nbp-art .art-card.one .nbp-win > i { display: none; }
.nbp-art .art-card.one .nbp-win b { margin-left: 0; }
.nbp-art .art-card.one .nbp-rows span { background: #dedbd2 !important; height: 6px; }
.nbp-art .art-card.one .nbp-rows span:first-child { background: color-mix(in srgb, var(--brand), #fff 35%) !important; }
.nbp-art .art-card.one .nbp-bars span { opacity: 0.35; background: #cfcabd !important; box-shadow: none !important; }
.nbp-art .art-card.one .nbp-bars span:nth-child(4) { opacity: 1; background: var(--brand) !important; }
.nbp-art .art-card.one .nbp-bars { border-bottom-color: #e4e0d6; }
.hero .eyebrow::before { width: 12px; height: 12px; border-radius: 3px; background: var(--brand); }
@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; }
