/* Night Terminal — 야간월급 유튜브 채널과 같은 디자인 시스템 (~/business/shared/design-social-content/DESIGN.md) */
:root {
  --canvas: #0B0D10;
  --grid: #171C22;
  --surface: #14181D;
  --text: #E6E9EC;
  --muted: #8A95A0;
  --amber: #FFB23F;
}
* { box-sizing: border-box; border-radius: 0; }
body {
  margin: 0;
  background-color: var(--canvas);
  background-image:
    linear-gradient(var(--grid) 2px, transparent 2px),
    linear-gradient(90deg, var(--grid) 2px, transparent 2px);
  background-size: 97px 97px;
  color: var(--text);
  font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 500;
  line-height: 1.6;
}
main { max-width: 760px; margin: 0 auto; padding: 48px 16px 96px; }
.prompt { font-family: "D2Coding", ui-monospace, Menlo, monospace; color: var(--muted); font-size: 15px; }
.prompt .dots { letter-spacing: 4px; margin-right: 10px; }
.prompt .sigil { color: var(--amber); }
.tag {
  display: inline-block; margin: 20px 0 8px; padding: 4px 10px;
  border: 3px solid var(--amber); color: var(--amber);
  font-family: "D2Coding", ui-monospace, Menlo, monospace; font-weight: 700; font-size: 14px;
}
h1 { font-size: clamp(36px, 8vw, 56px); font-weight: 900; line-height: 1.18; letter-spacing: -0.03em; margin: 8px 0 16px; }
h1 .cursor { display: inline-block; width: 0.43em; height: 0.82em; background: var(--amber); vertical-align: -0.08em; margin-left: 6px; }
h2 { font-size: 22px; font-weight: 900; margin: 40px 0 8px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
.panel { background: var(--surface); border: 2px solid var(--grid); padding: 20px 24px; margin: 24px 0; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
footer { margin-top: 56px; font-family: "D2Coding", ui-monospace, Menlo, monospace; color: var(--muted); font-size: 14px; }

/* cozvix.app 메인 — 프로젝트 카드·업데이트 로그 */
.section { margin-top: 64px; }
.section .prompt { margin-bottom: 4px; }
.section h2 { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
a.card {
  display: block; background: var(--surface); border: 2px solid var(--grid);
  color: var(--text); text-decoration: none;
}
a.card:hover, a.card:focus-visible { border-color: var(--muted); }
.titlebar {
  padding: 8px 14px; border-bottom: 2px solid var(--grid);
  font-family: "D2Coding", ui-monospace, Menlo, monospace; color: var(--muted); font-size: 13px;
}
.titlebar .dots { letter-spacing: 3px; margin-right: 8px; }
.card-body { padding: 16px 18px 18px; }
.card-body h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; letter-spacing: -0.02em; }
.card-body p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.card-body .open { font-family: "D2Coding", ui-monospace, Menlo, monospace; font-size: 14px; }
.log { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.log li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 15px; }
.log time { font-family: "D2Coding", ui-monospace, Menlo, monospace; color: var(--muted); }
.log strong { font-weight: 700; }
@media (max-width: 480px) { .log li { grid-template-columns: 1fr; gap: 0; } }

/* work.html — 프로젝트 소개 화면 스크린샷 */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.shots img { width: 100%; height: auto; display: block; border: 2px solid var(--grid); }
@media (max-width: 480px) { .shots { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; } .shots img { scroll-snap-align: start; } }
