/* Diálogo para denunciar un juego o un perfil (se usa en el feed y en los perfiles). */
.report-dialog {
  width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--text); padding: 20px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.report-dialog::backdrop { background: #000b; }
.report-dialog h2 { margin: 0 0 6px; font-size: 20px; overflow-wrap: anywhere; }
.report-intro { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.report-reasons { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.report-reasons legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.report-option {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--line); font-size: 15px;
}
.report-option:has(input:checked) { border-color: #f57b00; background: color-mix(in srgb, #f57b00 12%, var(--panel-2)); }
.report-option input { width: 18px; height: 18px; margin: 0; accent-color: #f57b00; flex: none; }
.report-details { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.report-details textarea {
  box-sizing: border-box; width: 100%; min-height: 76px; resize: vertical; padding: 10px 12px; border-radius: 12px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font: 400 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.report-details textarea:focus { outline: none; border-color: var(--brand-2); }
.report-err { display: block; min-height: 18px; margin-top: 6px; color: var(--err); font-size: 13px; }
.report-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.report-btn {
  min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2);
  color: var(--text); font: 700 15px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer;
}
.report-btn.primary { background: #f57b00; border-color: #f57b00; color: #fff; }
.report-btn:disabled { opacity: .6; cursor: default; }

/* Top de un juego (usa el mismo estilo de ventana que las denuncias) */
.lb-tabs { display: flex; gap: 6px; margin: 4px 0 12px; }
.lb-tab { flex: 1; min-height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); font: 800 13px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; }
.lb-tab[aria-selected="true"] { background: #f57b00; border-color: #f57b00; color: #fff; }
.lb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lb-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--panel-2); }
.lb-mine { outline: 2px solid #f57b00; }
.lb-rank { width: 30px; text-align: center; font-weight: 900; color: var(--muted); }
.lb-avatar { position: relative; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--line); font-size: 16px; flex: none; }
.lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 800; text-decoration: none; }
.lb-score { color: var(--gold); }
.lb-remove { border: 0; background: none; cursor: pointer; font-size: 15px; }
.lb-empty { padding: 18px 8px; text-align: center; color: var(--muted); }
.lb-me { margin: 12px 0 0; text-align: center; font-weight: 800; color: var(--text); }
.lb-signin { color: var(--brand-ink); font-weight: 800; text-decoration: none; }
