:root {
  --bg: #f6f3ee;
  --surface: #fffdf9;
  --text: #1f1c18;
  --muted: #6b645b;
  --line: #ddd6ca;
  --accent: #c8442b;
  --accent-ink: #fff;
  --live: #2f7d4f;
  --soon: #9a7a1f;
  --focus: #1a5fd0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161412;
    --surface: #1f1c19;
    --text: #efeae2;
    --muted: #a39b8f;
    --line: #35302a;
    --accent: #e8664c;
    --accent-ink: #1a0e0a;
    --live: #5fc088;
    --soon: #d9b650;
    --focus: #7aa8ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--text); color: var(--bg);
  padding: .5rem .9rem; border-radius: 6px; z-index: 10;
}
.skip:focus { top: 1rem; }
.site-header, main, .site-footer {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.site-header { padding-top: clamp(3rem, 10vw, 6rem); padding-bottom: 2rem; }
.eyebrow {
  margin: 0 0 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85rem;
  color: var(--accent);
  letter-spacing: .04em;
}
.eyebrow::before { content: "● "; }
h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
}
.lede { margin: 1.25rem 0 0; max-width: 34rem; color: var(--muted); }
main { flex: 1; padding-bottom: 3rem; }
.section-title {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
  margin: 1.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--text);
}
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.note { margin: 0; color: var(--muted); }
.note.error { color: var(--accent); }
.card {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
a.card:hover { transform: translateY(-2px); border-color: var(--accent); }
a.card:focus-visible, .skip:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card h3 { margin: 0; font-size: 1.2rem; overflow-wrap: anywhere; }
.status {
  font-size: .75rem; font-weight: 600; white-space: nowrap;
  padding: .1rem .55rem; border-radius: 999px;
  border: 1px solid currentColor;
}
.status.live { color: var(--live); }
.status.soon { color: var(--soon); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li {
  font-size: .75rem; color: var(--muted);
  padding: .05rem .5rem; border-radius: 4px; background: var(--bg);
}
.go { margin-top: auto; font-weight: 600; color: var(--accent); font-size: .9rem; }
.site-footer { padding-top: 1.5rem; padding-bottom: 2rem; color: var(--muted); font-size: .85rem; }
.site-footer p { padding-top: 1rem; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } a.card:hover { transform: none; } }
