:root {
  --bg: #0E0F14;
  --panel: #171922;
  --line: #2A2D3A;
  --text: #F2F3F7;
  --muted: #9EA3B5;
  --brand: #4FD1C5;
  --brand2: #7C9CFF;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  padding-bottom: 72px;
}
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(14,15,20,.92);
  backdrop-filter: blur(8px); z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.brand::first-letter { color: var(--brand); }
nav { display: flex; gap: 16px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a[aria-current="page"], nav a:hover { color: var(--text); }

.hero { padding: 40px 0 16px; }
.hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; }
.hero h1::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; margin-top: 14px;
  background: linear-gradient(90deg, var(--a, var(--brand)), var(--brand2)); }
.hero p { color: var(--muted); max-width: 640px; margin: 0; }
h2 { font-size: 22px; margin: 32px 0 4px; }
.sub { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--a); }
.shot { display: block; width: calc(100% + 36px); margin: -18px -18px 4px; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0; background: #0b0c10; }
.shot.story { object-position: center 30%; }
.banner { margin: -18px -18px 4px; aspect-ratio: 2 / 1; border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--a) 55%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--a2) 35%, #0b0c10), #0b0c10); }
.banner span { font-size: clamp(26px, 7vw, 34px); font-weight: 900; letter-spacing: -.02em; line-height: 1;
  color: #fff; text-transform: uppercase; overflow-wrap: anywhere; }
.banner small { color: color-mix(in srgb, var(--a) 70%, #fff); font-weight: 600; margin-top: 6px; letter-spacing: .08em; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.who { font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; line-height: 1.3; }
.who:hover { color: var(--a); }
.badge { font-size: 12px; padding: 3px 8px; border-radius: 99px; white-space: nowrap; border: 1px solid var(--line); color: var(--muted); }
.badge.open { color: #0E0F14; background: var(--a); border-color: var(--a); }
.kind { margin: 0; color: var(--muted); font-size: 14px; }
dl { margin: 0; display: grid; gap: 8px; }
dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
dd { margin: 0; font-weight: 600; }
dd.local, dd.left { font-weight: 400; font-size: 14px; color: var(--muted); }
dd.left span { color: var(--a); font-weight: 600; }

.cta { display: inline-block; text-align: center; background: var(--brand); color: #0E0F14; font-weight: 700;
  text-decoration: none; padding: 11px 16px; border-radius: 10px; margin-top: auto; }
.card .cta { margin-top: 4px; background: transparent; color: var(--text); border: 1px solid var(--a); }
.card .cta:hover { background: var(--a); color: #0E0F14; }
.cta.small { padding: 8px 14px; }
.cta.sticky { position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 6; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
@media (min-width: 760px) { .cta.sticky { display: none; } body { padding-bottom: 0; } }

.groups { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.groups a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px;
  color: var(--muted); text-decoration: none; font-size: 14px; }
.groups a.live { color: var(--text); border-color: var(--a); }
.groups a:hover { color: var(--text); border-color: var(--a); }

.prose { max-width: 720px; padding: 32px 0; }
.prose h1 { font-size: clamp(28px, 6vw, 40px); margin: 0 0 8px; }
.prose h2 { font-size: 20px; margin-top: 28px; }
.prose p { color: #D5D8E2; }

.guide-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.guide-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.guide-list a:hover { border-color: var(--brand); }
.guide-list span { color: var(--muted); font-size: 14px; }
.prose ul, .prose ol { color: #D5D8E2; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose th { color: var(--muted); font-weight: 600; }
.cta-box { margin-top: 28px; }
.cta-box p { margin: 0 0 10px; }
.cta.ghost { background: transparent; color: var(--text); border: 1px solid var(--brand); margin-left: 6px; }
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; padding-bottom: 24px; color: var(--muted); font-size: 13px; }
