/* Replay — artes do bundle roomcanvasplaybackview */

.rp-fundo {
  position: fixed; inset: 0; z-index: 62;
  display: grid; place-items: center;
  background: rgba(5, 2, 14, .8); backdrop-filter: blur(3px);
}

.rp-painel {
  width: min(880px, 95vw); max-height: 90vh;
  display: flex; flex-direction: column;
  padding: 14px 20px 18px;
  background: #1c1134;
  border: 1px solid #6b45b8; border-radius: 15px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
  color: #efe6ff;
}

.rp-painel header {
  display: flex; align-items: center; gap: 11px;
  padding-bottom: 11px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rp-painel h2 { margin: 0; flex: 1; font-size: 16px; color: #ffd970; }
.rp-icone { width: 27px; height: 27px; object-fit: contain; }
.rp-quando { font-size: 11.5px; opacity: .6; }
.rp-x, .rp-voltar {
  width: 30px; height: 30px; padding: 0; font-size: 15px; color: #cfc0f0;
  background: rgba(255, 255, 255, .08); border: 0; border-radius: 8px; cursor: pointer;
}
.rp-voltar img { width: 17px; height: 17px; object-fit: contain; }
.rp-x:hover, .rp-voltar:hover { background: rgba(255, 255, 255, .18); }

/* ---- lista */

.rp-balanco {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding: 11px 2px; font-size: 12.5px; opacity: .86;
}
.rp-balanco b { color: #ffd970; font-size: 14px; }
.rp-balanco .bom { color: #7ee787; font-weight: 700; }
.rp-balanco .ruim { color: #ff9d9d; font-weight: 700; }

.rp-lista {
  flex: 1; overflow: auto; list-style: none; margin: 0; padding: 0;
  display: grid; gap: 7px; align-content: start;
}
.rp-linha {
  display: flex; align-items: center; gap: 13px;
  padding: 9px 13px; cursor: pointer;
  background-size: 100% 100%; background-color: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px;
}
.rp-linha:hover { background-color: rgba(255, 255, 255, .08); }
.rp-linha.venci { border-color: rgba(126, 231, 135, .4); }

.rp-cartas { display: flex; gap: 3px; flex: none; width: 62px; }
.rp-cartas img { width: 28px; border-radius: 3px; }
.rp-sem { opacity: .35; }
.rp-quem { flex: 1; min-width: 0; }
.rp-quem b { display: block; font-size: 13px; }
.rp-quem span { font-size: 11.5px; opacity: .62; }
.rp-saldo { font-size: 14px; font-weight: 700; flex: none; }
.rp-saldo.bom { color: #7ee787; }
.rp-saldo.ruim { color: #ff9d9d; }
.rp-vazio { padding: 40px 10px; text-align: center; opacity: .55; font-size: 13px; }

/* ---- reprodução */

.rp-mesa {
  position: relative; margin: 12px 0;
  min-height: 220px; padding: 16px;
  display: grid; gap: 10px; align-content: center; justify-items: center;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, .35); border-radius: 14px;
}
.rp-comuns { display: flex; gap: 5px; min-height: 56px; align-items: center; }
.rp-comuns img { width: 40px; border-radius: 4px; box-shadow: 0 3px 8px rgba(0, 0, 0, .5); }
.rp-pote {
  font-size: 13px; font-weight: 700; color: #ffd970;
  padding: 3px 13px; background: rgba(0, 0, 0, .5); border-radius: 11px;
}

.rp-jogadores { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.rp-j {
  display: grid; justify-items: center; gap: 2px;
  padding: 6px 9px; min-width: 78px;
  background: rgba(0, 0, 0, .42);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 9px;
  transition: .18s;
}
.rp-j.agindo { border-color: #ffd970; background: rgba(255, 217, 112, .14); scale: 1.05; }
.rp-j.correu { opacity: .42; }
.rp-j.venceu { border-color: #7ee787; }
.rp-j .av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.rp-j .nome { font-size: 11px; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-j .cs { display: flex; gap: 2px; }
.rp-j .cs img { width: 20px; border-radius: 2px; }
.rp-j .mao { font-size: 10px; color: #ffd970; }
.rp-j .v { font-size: 11px; font-weight: 700; color: #ffd970; }

.rp-passo {
  padding: 8px 12px; font-size: 12.5px; min-height: 34px;
  background: rgba(0, 0, 0, .34); border-radius: 9px;
}
.rp-passo b { color: #ffd970; }

.rp-controles { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.rp-controles button {
  width: 36px; height: 32px; font-size: 13px; color: #21160a;
  background: #f0c45a; border: 0; border-radius: 8px; cursor: pointer;
}
.rp-controles button:hover { filter: brightness(1.08); }
.rp-controles input[type=range] { flex: 1; accent-color: #ffd970; }
#rpConta { font-size: 11.5px; opacity: .7; min-width: 44px; text-align: right; }

.rp-resumo { margin: 10px 0 0; font-size: 12.5px; color: #ffd970; text-align: center; }

@media (max-width: 640px) {
  .rp-comuns img { width: 32px; }
  .rp-j { min-width: 66px; }
}
