:root {
  --bg: #f6f7f9; --card: #ffffff; --text: #111827; --muted: #6b7280; --line: #e5e7eb;
  --accent: #2563eb; --accent-text: #ffffff; --off: #9ca3af;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115; --card: #181b21; --text: #e5e7eb; --muted: #9ca3af; --line: #272b33;
    --accent: #3b82f6; --accent-text: #ffffff; --off: #4b5563;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.bar, main { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.bar { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 8px; }
h1 { font-size: 22px; margin: 0; }
.muted { color: var(--muted); }
button { font: inherit; cursor: pointer; }
.link { background: none; border: 0; color: var(--accent); padding: 8px 0; }
.primary, .install {
  display: inline-block; background: var(--accent); color: var(--accent-text); border: 0; border-radius: 999px;
  padding: 10px 20px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.code { font-size: 32px; font-weight: 700; letter-spacing: 0.15em; margin: 0; font-variant-numeric: tabular-nums; }
.apps { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.app {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
}
.app img, .app .letter { width: 56px; height: 56px; border-radius: 14px; }
.app .letter { display: grid; place-items: center; background: var(--line); font-size: 24px; font-weight: 700; }
.app .meta { min-width: 0; }
.app .title { font-weight: 600; margin: 0; }
.app .desc { margin: 2px 0; color: var(--muted); font-size: 14px; }
.app .ver { margin: 0; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.app.off { opacity: 0.6; }
.app.off .ver { color: var(--off); }
