:root {
  --bg: #ffffff;
  --fg: #1f2328;
  --muted: #59636e;
  --line: #d1d9e0;
  --accent: #0969da;
  --panel: #f6f8fa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --fg: #e6edf3;
    --muted: #9198a1;
    --line: #3d444d;
    --accent: #4493f8;
    --panel: #151b23;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 20px;
}

header {
  text-align: center;
}

h1 {
  margin: 8px 0 4px;
  font-size: 2rem;
}

h2 {
  margin-top: 56px;
  font-size: 1.35rem;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

a {
  color: var(--accent);
}

code {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--panel);
  font-size: 0.9em;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.stores a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
}

.stores a:hover,
.stores a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

figure {
  margin: 24px 0;
}

/* 캡처는 BOJ 밝은 화면이라 어두운 페이지에서도 흰 배경 그대로 두고 테두리만 맞춘다 */
figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.releases details {
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.releases summary {
  cursor: pointer;
}

.releases time {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.9em;
}

.releases h4 {
  margin: 12px 0 4px;
}

.releases ul {
  margin: 0;
  padding-left: 20px;
}

#release-status {
  color: var(--muted);
}

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

header img {
  border-radius: 14px;
}
