/* Neutral home picker. Platform pages load only their own /skins/<id>.css. */
:root {
  --bg: #0f0f14;
  --surface: #1a1a22;
  --text: #f3f2f7;
  --muted: #a9a7b8;
  --accent: #ff5c8a;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans", sans-serif;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

main { max-width: 1120px; margin: 0 auto; padding: 16px; }

.site-header, .site-footer { max-width: 1120px; margin: 0 auto; padding: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-weight: 700; font-size: 15px; line-height: 1.6; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.site-footer { color: var(--muted); font-size: 14px; margin-top: 48px; padding-top: 24px; padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--text); }

.intro { max-width: 640px; margin: 0 auto; }
.intro h1 { font-size: 28px; line-height: 1.25; margin: 8px 0; }
.intro p { color: var(--muted); margin: 0 0 20px; }

/* One app per row, a wide neutral button with the app icon and name. */
.platform-picker { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.platform-tile { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius); text-decoration: none;
  background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.08); transition: background-color 0.15s ease, border-color 0.15s ease; }
.platform-tile:hover { background: #22222c; border-color: rgba(255, 255, 255, 0.2); }
.tile-logo { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: cover; }
.tile-logo-empty { background: rgba(255, 255, 255, 0.08); }
.tile-name { flex: 1; min-width: 0; font-size: 18px; font-weight: 700; }
.tile-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.tile-arrow { font-size: 22px; line-height: 1; color: var(--muted); }

@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; z-index: 10; padding-top: 14px; padding-bottom: 14px;
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
  .intro { padding: 24px 0 8px; }
  .intro h1 { font-size: 34px; }
  .intro p { font-size: 17px; }
}
