:root {
  --glow: #2e90fa;              /* the blue glow at the top (same as the app) */
  --accent: #ff3b6b;            /* Starlog pink/red accent */
  --text: #f1f2f6;
  --muted: #a3a7b8;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: #000; color: var(--text); font-family: var(--font);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100%; padding: 24px 16px 64px;
}
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }

.card {
  position: relative; z-index: 1; text-align: center;
  width: min(100%, 520px); padding: 40px 28px 34px;
  background: rgba(8, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.mark { image-rendering: pixelated; width: 96px; height: 96px; filter: brightness(0) invert(1); }
h1 { margin: 12px 0 6px; font-size: clamp(36px, 8vw, 52px); letter-spacing: 0.01em; }
.tag { margin: 0 0 10px; font-size: clamp(17px, 3.6vw, 21px); font-weight: 600; }
.blurb { margin: 0 auto 28px; max-width: 40ch; color: var(--muted); line-height: 1.5; font-size: 15px; }

.actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dl { display: inline-block; line-height: 0; }
.dl img { height: 64px; width: auto; }
.dl .plain-text { display: none; }
.dl.plain {                                  /* shown only while assets/download-badge.png is missing */
  line-height: 1.2; padding: 14px 26px; border-radius: 12px; background: var(--accent);
  color: #fff; font-weight: 700; font-size: 17px; text-decoration: none;
}
.dl.plain .plain-text { display: inline; }
.dl.soon { opacity: 0.5; cursor: default; }
.ver { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--text); }
.note { margin: 0 0 6px; max-width: 36ch; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.note:empty, .ver:empty { display: none; }
.web {
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}
.web:hover, .web:focus-visible { background: rgba(255,255,255,.14); outline: none; }
.dl:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

footer {
  position: fixed; z-index: 1; bottom: 14px; left: 0; right: 0; text-align: center;
  color: var(--muted); font-size: 12.5px;
}
footer a { color: var(--muted); }
footer span { margin: 0 6px; }

