/* Trivia-specific UI (overlay, claim sheet, live indicator, etc.) */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 25, 0.35);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.overlay.show {
  display: flex;
}

.sheet {
  background: var(--card, #fff);
  border-radius: 12px;
  padding: 16px;
  max-width: 640px;
  width: 92%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.muted {
  color: #7a7a7a;
  font-size: 0.95em;
}

.list {
  max-height: 45vh;
  overflow: auto;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px;
}

.list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 2px;
  border-bottom: 1px dashed #eee;
}

.list li:last-child {
  border-bottom: 0;
}

.right {
  text-align: right;
}

/* ---- Live status pill (top-right) ---- */
.live-indicator {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: #c53030; /* default NOT LIVE (red) */
  color: #fff;
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.live-indicator[data-status="not_live"] {
  background: #c53030; /* red */
}

.live-indicator[data-status="live"] {
  background: #2f855a; /* green */
}

/* Optional: tiles if you don't already style them in base.css */
.option-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.tile {
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  cursor: pointer;
  user-select: none;
}

.tile.is-selected {
  border-color: #2f855a;
  box-shadow: 0 0 0 2px rgba(47, 133, 90, 0.35);
}

.multi-short input.msa {
  width: 100%;
}

#me {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 110;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.2;

  background: rgba(21, 21, 23, 0.85);
  border: 1px solid #222;
  box-shadow: none;

  margin: 0;
}
