/* Tanki Online — shared styles */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f1114;
  color: #e8ecef;
  min-height: 100vh;
}
a { color: #ef9f27; text-decoration: none; }
a:hover { text-decoration: underline; }
button {
  font: inherit;
  background: #2a2e34;
  color: #e8ecef;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s;
}
button:hover:not(:disabled) { background: #3a3e44; border-color: rgba(255,255,255,0.2); }
button:disabled { opacity: 0.4; cursor: not-allowed; }
button.primary {
  background: #ef9f27;
  color: #0f1114;
  border-color: #ef9f27;
  font-weight: 600;
}
button.primary:hover:not(:disabled) { background: #ffad2e; border-color: #ffad2e; }
button.danger { color: #e24b4a; border-color: rgba(226,75,74,0.3); }
button.danger:hover:not(:disabled) { background: rgba(226,75,74,0.1); }
input, select, textarea {
  font: inherit;
  background: #1a1d21;
  color: #e8ecef;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 6px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: #ef9f27; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.02em; }
h2 { margin: 0 0 12px; font-size: 20px; font-weight: 600; }
.subtitle { color: #9aa0a6; margin: 0 0 32px; }

.card {
  background: #1a1d21;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.row { display: flex; gap: 10px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 10px; }
.grow { flex: 1; }

/* weapon/team pills */
.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
}
.pill.blue { background: rgba(100,160,240,0.15); color: #85b7eb; }
.pill.red  { background: rgba(226,75,74,0.15); color: #f87171; }
.pill.spectator { background: rgba(255,255,255,0.06); color: #9aa0a6; }
.pill.host { background: rgba(239,159,39,0.15); color: #ef9f27; }
.pill.bot  { background: rgba(155,81,224,0.15); color: #c084fc; }

/* toast */
#toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: #2a2e34; padding: 10px 18px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1); display: none;
  font-size: 14px;
}
