:root {
  --bg: #1a1512;
  --surface: #2e2520;
  --text: #e8dcc5;
  --heading: #d4a373;
  --accent: #a3b18a;
  --danger: #c45c5c;
  --success: #7d9e72;
  --warning: #e0b05c;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  cursor: pointer;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.btn:hover { filter: brightness(1.1); }
.btn.primary { background: var(--accent); color: #1a1512; }
.btn.danger { background: var(--danger); color: #fff8f0; }

input[type="text"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(232,220,197,0.15);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font-size: 1rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
input[type="text"]::placeholder {
  color: rgba(232,220,197,0.5);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.9rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.thumb {
  width: 96px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.queue-item-info {
  flex: 1;
  min-width: 0;
}
.queue-item-title {
  font-weight: 600;
  color: #f5efe6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-item-meta {
  font-size: 0.9rem;
  color: rgba(232,220,197,0.75);
}

.vote-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.vote-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font-size: 1rem;
}
.vote-btn.up:hover { color: var(--success); }
.vote-btn.down:hover { color: var(--danger); }
.vote-score {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}
