:root {
  --bg: #0b0c0f; --panel: #14161b; --panel-2: #1b1e25; --border: #262a33; --text: #e8eaf0; --muted: #9aa0ad;
  --accent: #7b8cff; --accent-text: #ffffff; --warn: #e0a030; --warn-bg: #2a2214;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f7fb; --panel: #ffffff; --panel-2: #f0f2f7; --border: #dde0e8; --text: #15171c; --muted: #5a6070; --accent: #4757e6; --warn: #8a5a00; --warn-bg: #fff5e0; }
}
* { 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, sans-serif; }
a { color: var(--accent); }
header.top { border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
header.top .brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
header.top .brand::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--accent)); }
header.top nav { display: flex; gap: 16px; font-size: 15px; flex-wrap: wrap; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--text); }
.wrap { max-width: 900px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { padding-top: 40px; padding-bottom: 56px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 44px 0 12px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 28px; max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 16px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 6px 16px; border-radius: 7px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--panel-2); color: var(--text); }
.tabs button:disabled { opacity: 0.45; cursor: default; }
.oses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.os { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.os.yours { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.os h3 { margin: 0; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.os h3 .tag { font-size: 12px; font-weight: 600; color: var(--accent); }
a.button { display: block; text-align: center; background: var(--accent); color: var(--accent-text); text-decoration: none; padding: 10px 14px; border-radius: 9px; font-weight: 600; font-size: 15px; }
a.button.quiet { background: transparent; color: var(--accent); border: 1px solid var(--border); font-weight: 500; }
a.button .size { font-weight: 400; opacity: 0.8; font-size: 13px; }
.release-meta { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.notice { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--warn-bg); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); font-size: 14px; }
.notice strong { color: var(--warn); }
ul.features { padding-left: 20px; }
ul.features li { margin: 4px 0; }
article h2 { margin-top: 36px; }
article p, article li { max-width: 72ch; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; position: sticky; top: 0; background: var(--bg); }
td.license { white-space: nowrap; }
input.filter { font: inherit; width: 100%; max-width: 360px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); color: var(--text); margin: 8px 0 12px; }
footer.bottom { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer.bottom .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer.bottom a { color: var(--muted); }
@media (max-width: 600px) {
  th:nth-child(4), td:nth-child(4) { display: none; }
  table { table-layout: fixed; }
  th:nth-child(1) { width: 45%; } th:nth-child(2) { width: 20%; }
  td { overflow-wrap: anywhere; }
  td.license { white-space: normal; }
}
.os h3 .os-name { display: flex; align-items: center; gap: 10px; }
.os-logo { width: 22px; height: 22px; fill: currentColor; flex: none; }
