/* Feshar TV — the review queue. Loads style.css first for the shared look. */

.page { max-width: 1300px; margin: 0 auto; padding: 8px 18px 60px; }

/* The word of the day, which only an admin can change. */
.word-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--panel); border: var(--bw) solid var(--ink); border-radius: var(--r-panel);
  padding: 12px 16px; margin: 6px 0 16px; box-shadow: var(--sh-lg);
}
.word-side { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.word-label { font-size: 11px; font-weight: var(--wt-strong); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.word-now { font-family: var(--font-display); font-weight: var(--wt-strong); font-size: 28px; line-height: 1.1; }
.word-note { font-size: 12px; color: var(--muted); font-weight: var(--wt-strong); }
.word-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.word-acts .pill-btn { height: 40px; padding: 0 14px; font-size: 14px; text-decoration: none; }

.queue-tabs button { padding: 6px 14px; white-space: nowrap; }
.queue-tabs span { opacity: .6; font-size: 12px; }

.state {
  text-align: center; color: var(--muted); padding: 60px 20px;
  font-family: var(--font-display); font-size: 18px;
}

.queue {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  align-content: start;
}

.card {
  background: var(--panel); border: var(--bw) solid var(--ink); border-radius: var(--r-panel);
  box-shadow: var(--sh-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: opacity .3s, transform .3s;
}
.card.deciding { opacity: .5; }
.card.gone-yes { transform: scale(.9) translateY(-14px); opacity: 0; }
.card.gone-no  { transform: scale(.9) translateY(14px); opacity: 0; }

.card-art { background: var(--paper); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.card-art img { max-width: 100%; max-height: 100%; display: block; }

.card-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.card-body h3 {
  margin: 0; font-family: var(--font-display); font-weight: var(--wt-strong); font-size: 17px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-artist { margin: 0; font-weight: var(--wt-strong); color: var(--text); }
.card-facts { margin: 0; font-size: 12px; color: var(--muted); }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.card-tags .tag { font-size: 11px; padding: 2px 8px; }
.card-reported {
  margin: 0; font-size: 12px; font-weight: var(--wt-strong);
  background: var(--red); color: var(--strong-fg);
  border: var(--bw-sm) solid var(--ink); border-radius: 8px; padding: 4px 8px;
}

.card-actions { display: flex; gap: 6px; margin-top: 4px; }
.act {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; border-radius: var(--r-btn); font-weight: var(--wt-strong); font-size: 14px;
  border: var(--bw-sm) solid var(--ink); box-shadow: var(--sh-sm);
  background: var(--panel-2); color: var(--text);
}
.act:active { transform: translateY(var(--press)); box-shadow: none; }
.act.yes { background: var(--green); color: var(--on-green); }
.act.no  { background: var(--red); color: var(--strong-fg); }
.act.star { flex: 0 0 44px; }
.act.star.on { background: var(--yellow); color: var(--ink); }
.act.star.on .ico { fill: currentColor; }

@media (max-width: 700px) {
  .top { flex-wrap: wrap; gap: 8px; }
  .head-mid { order: 3; width: 100%; justify-content: center; }
  .queue { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .card-body { padding: 9px; }
}
