:root {
  --bg: #f5f6f8; --card: #ffffff; --text: #1f2328; --muted: #656d76; --line: #d8dee4;
  --accent: #c0392b; --accent-text: #ffffff; --link: #0b62c4; --warn-bg: #fff8e1; --error: #b42318;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a; --card: #1e2125; --text: #e6e8eb; --muted: #9aa3ad; --line: #343a40;
    --accent: #e0574a; --accent-text: #ffffff; --link: #6cb0ff; --warn-bg: #3a3220; --error: #ff8a80;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 "Malgun Gothic", "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo { background: var(--accent); color: var(--accent-text); font-size: 11px; padding: 2px 6px; border-radius: 4px; letter-spacing: .5px; }
.who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; margin: 20px 0; }
.narrow { max-width: 560px; margin: 48px auto; }
h1 { margin: 0 0 8px; font-size: 26px; }
h2 { margin: 0 0 12px; font-size: 19px; }
h3 { margin: 0 0 4px; font-size: 16px; }
.lead { font-size: 17px; margin: 0 0 12px; }
.version { margin: 0 0 12px; }
.hint { color: var(--muted); font-size: 14px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-block; padding: 9px 18px; border-radius: 6px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); text-decoration: none; font: inherit; cursor: pointer; }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
.link-button { background: none; border: 0; padding: 0; color: var(--link); font: inherit; cursor: pointer; text-decoration: underline; }
.link-button.danger { color: var(--error); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.features p { margin: 0; color: var(--muted); font-size: 14px; }
.list { width: 100%; border-collapse: collapse; font-size: 14px; }
.list th, .list td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.release { border-top: 1px solid var(--line); padding: 12px 0; }
.release:first-of-type { border-top: 0; }
.release header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.release .date { color: var(--muted); }
.release .files { margin-left: auto; font-size: 14px; }
.sha { color: var(--muted); font-family: Consolas, monospace; font-size: 12px; margin-left: 8px; }
.notes ul { margin: 6px 0; padding-left: 22px; }
.facts { border-collapse: collapse; margin: 12px 0; }
.facts th { text-align: left; color: var(--muted); font-weight: normal; padding: 4px 16px 4px 0; }
.code { font-family: Consolas, monospace; font-size: 20px; letter-spacing: 2px; font-weight: 700; }
.warn { background: var(--warn-bg); padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.error { color: var(--error); }
.warn-box { background: var(--warn-bg); border-radius: 6px; padding: 8px 12px; margin-top: 12px; font-size: 14px; }
.warn-box summary { cursor: pointer; font-weight: 600; }
.warn-box ol { margin: 6px 0 4px; padding-left: 22px; }
code { font-family: Consolas, monospace; font-size: 13px; }
.sha-full { word-break: break-all; }
.foot { color: var(--muted); font-size: 13px; padding-bottom: 32px; }
@media (max-width: 600px) {
  .card { padding: 16px; }
  .list th:nth-child(2), .list td:nth-child(2), .list th:nth-child(3), .list td:nth-child(3) { display: none; }
}
