:root { --bg: #fff; --text: #203139; --muted: #5b6777; --line: #e4e7ec; --brand: #245b58; --soft: #eef3ef; --warn: #8a5a00; --warn-bg: #fdf1d8; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #142025; --text: #e6ebf2; --muted: #9aa7b8; --line: #2b3a50; --brand: #a3d4c5; --soft: #24383d; --warn: #f0c46a; --warn-bg: #3a2e12; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--brand); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); max-width: 960px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand img { border-radius: 6px; }
.open { font-size: 14px; font-weight: 600; text-decoration: none; }
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }
h1 { font-size: 24px; line-height: 1.4; margin: 8px 0 14px; }
h1 small { display: block; font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 4px; }
h2 { font-size: 18px; margin: 28px 0 10px; }
.crumb { font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); }
.lead { color: var(--muted); }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.facts th, .facts td { border-bottom: 1px solid var(--line); padding: 9px 6px; text-align: left; vertical-align: top; }
.facts th { width: 30%; color: var(--muted); font-weight: 600; }
.cta { display: block; text-align: center; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 16px; border-radius: 12px; margin: 16px 0; }
@media (prefers-color-scheme: dark) { .cta { color: #121821; } }
.closed { background: var(--warn-bg); color: var(--warn); padding: 10px 12px; border-radius: 10px; }
.note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 24px; }
.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); padding: 12px 2px; }
.list li a { font-weight: 600; text-decoration: none; color: var(--text); }
.list li span { display: block; font-size: 13px; color: var(--muted); }
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.grid li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; }
.grid li a { text-decoration: none; font-weight: 600; }
.grid li span { color: var(--muted); font-size: 13px; white-space: nowrap; }
footer { border-top: 1px solid var(--line); padding: 20px 16px 32px; text-align: center; font-size: 12px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 8px; }
footer a { color: var(--muted); text-decoration: none; }
footer p { margin: 2px 0; }

.grid li a { display: inline-flex; align-items: center; gap: 7px; }
.grid li .ico { color: var(--brand); flex: none; }
.ico { display: inline-block; vertical-align: -0.2em; }
h1.with-ico .ico { width: 28px; height: 28px; margin-right: 8px; color: var(--brand); vertical-align: -4px; }
