/* Game of Roms — ajustes mínimos sobre el catálogo (fork) */
@import url("/gor/gor.css");

:root,
.r-v2,
.r-v2-dark {
  --r-color-brand-primary: var(--gor-accent, #e8a54b);
  --r-color-overlay-emphasis-bg: var(--gor-accent, #e8a54b);
  --r-color-overlay-emphasis-fg: #0a1016;
}

a[data-gor-play].r-v2-game-btn {
  border-radius: 0.4rem !important;
}

/* Dock flotante — no tapa el header */
#gor-utils {
  position: fixed;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2147483000;
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, #071018 92%, transparent);
  border: 1px solid #1e3340;
  backdrop-filter: blur(10px);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

#gor-utils a {
  text-decoration: none;
  color: #8aa0ad;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 0.3rem;
}

#gor-utils a:hover {
  color: #e8a54b;
  background: color-mix(in srgb, #e8a54b 12%, transparent);
}

/* Partidas en la ficha del juego */
.gor-saves {
  margin: 1rem 0 0.25rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid color-mix(in srgb, #1e3340 85%, transparent);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  max-width: 28rem;
}

.gor-saves__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  color: #e7f0f4;
  letter-spacing: 0.02em;
}

.gor-saves__sub {
  margin: 0.25rem 0 0.65rem;
  font-size: 0.8rem;
  color: #8aa0ad;
  line-height: 1.35;
}

.gor-saves__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gor-saves__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid color-mix(in srgb, #1e3340 70%, transparent);
}

.gor-saves__row:last-child {
  border-bottom: 0;
}

.gor-saves__info {
  flex: 1;
  min-width: 0;
}

.gor-saves__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e7f0f4;
}

.gor-saves__meta {
  font-size: 0.78rem;
  color: #8aa0ad;
  margin-top: 0.1rem;
}

.gor-saves__play {
  flex-shrink: 0;
  appearance: none;
  border: 0;
  border-radius: 0.35rem;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  background: var(--gor-accent, #e8a54b);
  color: #0a1016;
}

.gor-saves__play:hover {
  filter: brightness(1.06);
}

/* Dock — botón Reportar al mismo nivel que los enlaces */
#gor-utils .gor-dock-btn {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  color: #8aa0ad;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0.35rem 0.55rem;
  border-radius: 0.3rem;
}
#gor-utils .gor-dock-btn:hover {
  color: #e8a54b;
  background: color-mix(in srgb, #e8a54b 12%, transparent);
}

/* Modal de reporte (sin prompt nativo) */
#gor-report-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, #1a3a48 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, #2a2418 0%, transparent 45%),
    color-mix(in srgb, #050c12 88%, transparent);
  backdrop-filter: blur(8px);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: #e7f0f4;
}

.gor-report {
  width: min(26rem, 100%);
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #1e3340;
  background:
    linear-gradient(180deg, color-mix(in srgb, #0c1a24 94%, #1a3a48), #071018);
  box-shadow: 0 24px 64px color-mix(in srgb, #000 55%, transparent);
  text-align: left;
}

.gor-report__brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #f4f7fa 15%, #e8a54b 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.65rem;
}

.gor-report__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.gor-report__sub {
  margin: 0.35rem 0 1rem;
  font-size: 0.88rem;
  color: #8aa0ad;
  line-height: 1.4;
}

.gor-report__kinds {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gor-report__legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.gor-report__kind {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #1e3340;
  border-radius: 8px;
  cursor: pointer;
  background: color-mix(in srgb, #0c1a24 88%, #000);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.gor-report__kind:hover {
  border-color: color-mix(in srgb, #e8a54b 45%, #1e3340);
}

.gor-report__kind:has(input:checked) {
  border-color: #e8a54b;
  background: color-mix(in srgb, #e8a54b 10%, #0c1a24);
}

.gor-report__kind input {
  margin-top: 0.2rem;
  accent-color: #e8a54b;
  flex-shrink: 0;
}

.gor-report__kind span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.gor-report__kind strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e7f0f4;
}

.gor-report__kind em {
  font-style: normal;
  font-size: 0.78rem;
  color: #8aa0ad;
  line-height: 1.3;
}

.gor-report__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8aa0ad;
  margin-bottom: 0.35rem;
}

.gor-report__label span {
  font-weight: 400;
  opacity: 0.85;
}

.gor-report__note {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 5.5rem;
  max-height: 12rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #1e3340;
  background: #050c12;
  color: #e7f0f4;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
  outline: none;
}

.gor-report__note::placeholder {
  color: #5a7380;
}

.gor-report__note:focus {
  border-color: color-mix(in srgb, #e8a54b 55%, #1e3340);
  box-shadow: 0 0 0 3px color-mix(in srgb, #e8a54b 18%, transparent);
}

.gor-report__status {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.35;
}

.gor-report__status--ok {
  border: 1px solid #4db88a;
  color: #b8e0cc;
  background: color-mix(in srgb, #4db88a 14%, transparent);
}

.gor-report__status--err {
  border: 1px solid #e07a6a;
  color: #f0c4bc;
  background: color-mix(in srgb, #e07a6a 18%, transparent);
}

.gor-report__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.gor-report__btn {
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.gor-report__btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.gor-report__btn--ghost {
  background: transparent;
  border-color: #1e3340;
  color: #e7f0f4;
}

.gor-report__btn--ghost:hover:not(:disabled) {
  border-color: #8aa0ad;
}

.gor-report__btn--primary {
  background: #e8a54b;
  color: #071018;
  border-color: #e8a54b;
}

.gor-report__btn--primary:hover:not(:disabled) {
  filter: brightness(1.06);
}

