body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: #222;
  margin: 0;
  padding: 1rem;
}
h1,
h2,
p {
  color: #eee;
}
button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #222;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2rem;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  margin-bottom: 1rem;
}
button:hover {
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}
button:active {
  transform: translateY(0);
}
.btn-clear {
  background: #555;
  color: #ccc;
  box-shadow: none;
}
.btn-clear:hover {
  background: #666;
  box-shadow: none;
}
.award {
  padding-bottom: 1rem;
  border-bottom: 0.5rem dashed #eee;
}
.nominees {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  list-style: none;
  padding: 0;
}
@media (max-width: 800px) {
  .nominees {
    grid-template-columns: 1fr 1fr;
  }
}
.nominees > figure {
  background-color: #333;
  border-radius: 0.5rem;
  padding: 1rem;
  color: #ccc;
  gap: 1rem;
  margin: 0;
  padding: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.nominees > figure .icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background-color: #777;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  color: #111;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    background-color 0.15s,
    color 0.15s;
  user-select: none;
}
.nominees > figure .icon-btn:hover {
  background-color: #999;
  color: #000;
}
.icon-btn .icon-on {
  display: none;
}
.icon-btn .icon-off {
  display: inline;
}
input[type="radio"]:checked + .icon-btn .icon-on,
input[type="checkbox"]:checked + .icon-btn .icon-on {
  display: inline;
}
input[type="radio"]:checked + .icon-btn .icon-off,
input[type="checkbox"]:checked + .icon-btn .icon-off {
  display: none;
}
input[type="radio"]:checked + .icon-btn.prediction {
  background-color: #d4af37;
  color: #222;
}
input[type="checkbox"]:checked + .icon-btn.watched {
  background-color: #4a9;
  color: #fff;
}
.nominees > figure img {
  display: block;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  width: 100%;
}
h3 {
  margin-top: 0;
  padding-top: 0;
}
h3 a {
  color: #eee;
  text-decoration: none;
}
h3 a:hover {
  color: #fff;
  text-decoration: underline;
}
a {
  color: #ccc;
  text-decoration: none;
}
a:hover {
  color: #eee;
  text-decoration: underline;
}
a + a::before {
  content: ", ";
}
#predictionsList p {
  color: #888;
  font-style: italic;
}
.pred-score {
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #222;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.pred-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
.pred-table th {
  background-color: #444;
  color: #ccc;
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.pred-table td {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid #3a3a3a;
  color: #ddd;
}
.pred-table tbody tr {
  background-color: #2c2c2c;
}
.pred-table tbody tr:nth-child(even) {
  background-color: #333;
}
.pred-table tbody tr.correct {
  background-color: #2a4a2a;
}
.pred-table tbody tr.wrong {
  background-color: #4a2a2a;
}
.pred-category {
  font-weight: 600;
  color: #bbb;
}
.pred-pick {
  color: #fff;
  font-weight: 600;
}
.pred-result .result {
  white-space: nowrap;
}
.pred-result .result.correct {
  color: #8f8;
}
.pred-result .result.wrong {
  color: #f88;
}
.pred-result .pending {
  color: #666;
}
.pred-counter {
  color: #999;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}
@media (max-width: 800px) {
  .pred-table {
    font-size: 0.75rem;
  }
  .pred-table th,
  .pred-table td {
    padding: 0.35rem 0.5rem;
  }
  .pred-category {
    max-width: 120px;
    word-wrap: break-word;
  }
}
.winner-select {
  color: #eee;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: block;
}
.winner-select select {
  padding: 0.3rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #555;
  background-color: #444;
  color: #eee;
  font-size: 0.9rem;
}
.nominees > figure.winner {
  background-color: #3a5a2a;
  outline: 3px solid #6c6;
}
.nominees > figure.failed-prediction {
  background-color: #5a2a2a;
  outline: 3px solid #c66;
}
