:root {
  --bg: #0d0a17;
  --bg-card: #1a1230;
  --border: #2a1f4a;
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --accent: #8b5cf6;
  --gold: #fbbf24;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--bg); color: var(--text); font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.5; min-height: 100vh; }
body { max-width: 480px; margin: 0 auto; padding-bottom: 30px; }
.header { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; z-index: 10; }
.header h1 { font-size: 16px; font-weight: 600; }
.header .sub { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.header .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 600; cursor: pointer; text-decoration: none; }
.content { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.card-title { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.metric-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.metric-value { font-size: 26px; font-weight: 600; color: var(--text); margin-top: 4px; }
.metric-value.accent { color: var(--accent); }
.metric-value.gold { color: var(--gold); }
.player-row { padding: 10px 8px; background: var(--bg); border-radius: 10px; margin-bottom: 6px; }
.player-row:last-child { margin-bottom: 0; }
.player-name { font-size: 13px; color: var(--text); font-weight: 500; }
.player-meta { font-size: 11px; color: var(--text-dim); }
.login-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; gap: 24px; }
.login-logo { font-size: 32px; font-weight: 700; background: linear-gradient(135deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -1px; }
.login-sub { color: var(--text-dim); font-size: 13px; text-align: center; }
.login-form { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 12px; }
.input { width: 100%; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; color: var(--text); font-size: 15px; outline: none; }
.input:focus { border-color: var(--accent); }
.btn { background: var(--accent); border: none; color: white; padding: 14px 16px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn:active { opacity: 0.8; }
.flash { background: #ef4444; color: #fff; padding: 12px 16px; text-align: center; font-size: 13px; }
