:root {
  --bg: #0b0f14;
  --panel: #121924;
  --panel-hover: #17202e;
  --border: #1f2b3d;
  --text: #e6edf6;
  --muted: #8a97a8;
  --accent: #4aa3ff;
  --accent-soft: #26456b;
  --danger: #ff6b6b;
  --ok: #58d08b;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: 0.2px; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.brand .accent { color: var(--accent); }

.user { font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.user .email { color: var(--text); }
.user button { background: transparent; color: var(--muted); border: 1px solid var(--border); padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 12px; }
.user button:hover { color: var(--text); border-color: var(--accent-soft); }

main { flex: 1; padding: 48px 32px; max-width: 1200px; width: 100%; margin: 0 auto; }

.gate { text-align: center; padding-top: 80px; }
.gate h1 { font-size: 34px; font-weight: 600; margin-bottom: 8px; }
.gate .muted { color: var(--muted); margin-bottom: 28px; }
.gate .g_id_signin { display: inline-block; }
.gate .denied { color: var(--danger); margin-top: 20px; font-size: 14px; }

section#hub h1 { font-size: 28px; font-weight: 600; margin-bottom: 6px; }
section#hub .muted { color: var(--muted); margin-bottom: 28px; font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: background 120ms, border-color 120ms, transform 120ms;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.tile:hover { background: var(--panel-hover); border-color: var(--accent-soft); transform: translateY(-1px); text-decoration: none; }
.tile .row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.tile h3 { margin: 0; font-size: 16px; font-weight: 600; }
.tile .badge {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.tile .badge.soon { background: #2d2416; color: #d0b778; }
.tile .badge.native { background: #1b2d1d; color: #7dcc8f; }
.tile p { color: var(--muted); font-size: 13px; margin: 6px 0 0; line-height: 1.5; }
.tile.disabled { pointer-events: none; opacity: 0.55; }

.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin: 24px 0 10px; }

footer { padding: 18px 32px; text-align: center; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border); }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
