:root {
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: #edf2f7;
  background: #070b11;
  --panel: #111823;
  --panel-2: #151e2b;
  --border: #273548;
  --muted: #8293aa;
  --accent: #ff5f7e;
  --accent-dark: #573044;
  --red: #ff7278;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0, #30243e 0, transparent 35%), #070b11;
}
button, input, select { font: inherit; }
button, .button {
  border: 1px solid var(--border); border-radius: 8px; background: #172131;
  color: #edf2f7; padding: 10px 14px; cursor: pointer; text-decoration: none;
}
button:hover, .button:hover { border-color: #5e7894; }
.hidden { display: none !important; }
.login-card {
  width: min(420px, calc(100% - 32px)); margin: 13vh auto; padding: 38px 36px;
  text-align: center; background: rgba(17,24,35,.96); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: 0 24px 90px #000b;
}
.wordmark { font-weight: 900; letter-spacing: -1.5px; font-style: italic; font-size: 32px; color: #f4f7fa; }
.wordmark b { color: var(--accent); }
.login-caption { margin-top: 7px; color: var(--accent); font-size: 10px; letter-spacing: 1.8px; font-weight: 700; }
.login-card h1 { margin: 28px 0 8px; font-size: 22px; }
.login-card p, .toolbar p { color: var(--muted); font-size: 13px; }
.login-card form { display: grid; gap: 12px; margin-top: 24px; }
.login-card input { padding: 13px; border-radius: 8px; border: 1px solid var(--border); background: #0b111a; color: #fff; }
.primary { background: var(--accent); border-color: var(--accent); color: #ffffff; font-weight: 800; }
.error { color: var(--red); min-height: 18px; font-size: 13px; }
.shell { max-width: 1500px; margin: 0 auto; padding: 26px 28px 60px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-square { width: 45px; height: 45px; display: grid; place-content: center; line-height: 15px; background: var(--accent); color: #fff6f8; border-radius: 12px; font-weight: 950; font-style: italic; font-size: 12px; }
.brand-square b { color: #ffffff; font-size: 16px; }
.brand strong { display: block; font-size: 18px; }
.brand span { display: block; margin-top: 3px; color: var(--accent); font-size: 9px; letter-spacing: 1.3px; }
.actions { display: flex; align-items: center; gap: 9px; }
.status-dot { color: var(--accent); font-size: 12px; }
.error-status { color: var(--red); }
.secondary { background: #151e2c; }
.tabs { display: flex; gap: 10px; margin: 28px 0 20px; }
.tabs button.active { background: #45273a; border-color: #ff6f8b; color: #ffd5de; }
.tab-count { display: inline-block; margin-left: 5px; padding: 2px 6px; border-radius: 10px; background: #26344a; color: #afbdd0; font-size: 10px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cards > div { padding: 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.cards span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.cards b { font-size: 23px; }
.table-card { margin-top: 20px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 20px; border-bottom: 1px solid var(--border); }
h2 { margin: 0 0 5px; font-size: 18px; }
.toolbar-actions { display: flex; gap: 8px; }
.toolbar input, .toolbar select { width: 270px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #0e141e; color: #fff; }
.toolbar select { width: 140px; }
.favorite-filter { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 1200px; }
th, td { padding: 14px 12px; border-bottom: 1px solid #233044; text-align: right; white-space: nowrap; font-size: 12px; }
th { color: #a9bad0; font-weight: 600; background: #111823; }
th:first-child, td:first-child, th:nth-child(2), td:nth-child(2) { text-align: left; }
.player { display: flex; align-items: center; gap: 9px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #26344a; }
.name { font-weight: 700; }.sub { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.fav { font-size: 18px; color: #74869c; background: transparent; border: 0; padding: 0; }.fav.on { color: var(--accent); }
.positive { color: var(--accent); }.negative { color: #bba8c7; }.avatar-link { color: var(--accent); text-decoration: none; }.muted { color: var(--muted); }
@media (max-width: 900px) { .shell { padding: 18px 12px; }.cards { grid-template-columns: repeat(2, 1fr); } .topbar, .toolbar { align-items: flex-start; flex-direction: column; } .toolbar-actions { width: 100%; } .toolbar input, .toolbar select { width: 100%; } }



