:root {
  color-scheme: light dark;
  --bg: #0f1115;
  --panel: #171a21;
  --border: #2a2f3a;
  --text: #e8eaed;
  --muted: #9aa2b1;
  --accent: #4f7cff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.auth {
  max-width: 360px;
  margin: 10vh auto;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.auth h1 {
  font-size: 20px;
  margin: 0 0 4px;
}

.auth .sub {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
}

.auth form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.auth input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0c0e12;
  color: var(--text);
  font-size: 14px;
}

.auth button,
.btn {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 14px;
  cursor: pointer;
  margin-top: 12px;
  text-decoration: none;
  display: inline-block;
}

.error {
  color: #ff6b6b;
  font-size: 13px;
}

.releases {
  max-width: 960px;
  margin: 48px auto;
  padding: 0 20px;
}

.releases header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.latest {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.latest strong {
  font-size: 15px;
}

.latest .hint {
  margin: 4px 0 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

th {
  color: var(--muted);
  font-weight: 600;
}

.btn {
  margin: 0;
  padding: 8px 12px;
}

.link {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}

.hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
}

.empty {
  color: var(--muted);
}
