* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 1920px;
  height: 1080px;
  background: transparent;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

#stage {
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: transparent;
}

/* Fondo central */


/*
.mosca-7tv {
  width: 120px;
  height: 120px;
  position: absolute;
  display: flex;
  bottom: 40px;
  right: 20px;
}
*/

/* Barra superior */
.barra-superior {
  position: absolute;
  left: 250px;
  top: 0px;
  width: 1300px;
  height: 45px;
  z-index: 5;
}

.bloque-superior-texto {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: linear-gradient(90deg, #00592f, #68bd41);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.16);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.bloque-superior-texto span:last-child {
  font-size: 22px;
  font-weight: 700;
}

/* Menu lateral */
.lateral {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  height: 1080px;
  background: linear-gradient(90deg, #9c9c9c, #d8d8d8);
}

.bandera {
  width: 100%;
  height: 145px;
  overflow: hidden;
}

.bandera img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloque-provincia {
  background: #171717;
  color: white;
  text-align: center;
  padding: 18px 10px 16px;
}

.nombreProvincia {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.escrutado {
  margin: 18px 20px;
  text-align: right;
  font-size: 22px;
  font-weight: 400; /* antes 900 */
  color: #111;
}

.escrutado strong {
  font-weight: 900;
}

.votos {
  width: calc(100% - 40px);
  margin: 0 20px;
  margin: 0 20px;
}

.partido {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 30px;
  align-items: center;
  height: 39px;
  margin-bottom: 14px;
  background: #159bd3;
  color: #111;
  font-weight: 900;
  will-change: transform;
}

.partido .nombre {
  padding-left: 10px;
  font-size: 21px;
}

.partido .escanos {
  font-size: 22px;
  text-align: right;
  padding-right: 8px;
}

.partido .variacion {
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #111;
}

.partido .variacion.positivo {
  color: #17c964;
}

.partido .variacion.negativo {
  color: #ff4d4f;
}

.partido .variacion.neutro {
  color: #111;
}

.especial {
  width: calc(100% - 40px);
  margin: 30px 20px 0;
  padding: 12px 12px 6px;
  background: white;
  color: #111;
  line-height: 1;
}

.especial div {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 1px;
}

.especial strong {
  display: block;
  font-size: 21px;
  font-weight: 900;
}

.especial span {
  display: block;
  margin-top: 8px;
  font-size: 62px;
  font-weight: 900;
}

.mapa {
  position: absolute;
  left: 15px;
  width: 220px;
  height: 220px;
}

.mapa img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Barra inferior */
.barra-inferior {
  position: absolute;
  left: 250px;
  bottom: 0px;
  width: 1400px;
  height: 170px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  background: linear-gradient(90deg, #d8d8d8, #9c9c9c);
}

.candidato {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  background: white;
  will-change: transform;
}

.candidato .datos {
  width: 52%;
  min-width: 0;
  height: 100%;
  padding: 14px 8px 0;
  background: #159bd3;
  color: #111;
  z-index: 2;
}

.candidato .siglas {
  font-size: 22px;
  font-weight: 900;
}

.candidato .numero {
  margin-top: -2px;
  font-size: 45px;
  line-height: 0.9;
  font-weight: 900;
}

.candidato .texto {
  font-size: 16px;
  font-weight: 900;
}

.candidato .porcentaje {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52%;
  height: 28px;
  background: #191919;
  color: white;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.candidato img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
}

.logo-canal {
  width: 160px;
  height: 165px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.siete {
  font-size: 105px;
  line-height: 0.85;
  font-weight: 900;
  color: #d71920;
}

.texto-logo {
  font-size: 34px;
  color: #999;
}

/* 

#stage {
  position: relative;
  width: 1920px;
  height: 1080px;
  color: #ffffff;
  background: #101216;
}

.side-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 285px;
  height: 1080px;
  padding: 58px 34px;
  background: #20262d;
  border-right: 6px solid #f2c94c;
}

.brand {
  max-width: 215px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  overflow-wrap: anywhere;
}

.election-title {
  margin-top: 16px;
  font-size: 26px;
  line-height: 1.15;
  color: #d9dde3;
}

.metric {
  margin-top: 58px;
}

.metric span,
.lower-strip span,
.source span {
  display: block;
  font-size: 24px;
  color: #bcc5cf;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 46px;
}

.status {
  position: absolute;
  left: 34px;
  bottom: 58px;
  min-width: 190px;
  padding: 12px 16px;
  font-size: 22px;
  font-weight: 700;
  color: #101216;
  background: #4fe0a2;
}

.status.is-stale {
  background: #f2c94c;
}

.status.is-error {
  background: #ff6b6b;
}

.results-area {
  position: absolute;
  left: 285px;
  top: 0;
  width: 1635px;
  height: 1080px;
  padding: 62px 82px 80px;
}

.headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 170px;
}

.headline p {
  margin: 0 0 10px;
  font-size: 30px;
  color: #f2c94c;
  text-transform: uppercase;
}

.headline h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1;
}

.source {
  min-width: 360px;
  text-align: right;
}

.source strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
}

.party-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  height: 650px;
  align-items: stretch;
}

.party-card {
  display: grid;
  grid-template-rows: 94px 1fr 76px;
  min-width: 0;
  padding: 22px;
  color: #ffffff;
  background: #555555;
}

.party-name {
  min-width: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.party-seats {
  align-self: center;
  justify-self: center;
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
}

.party-votes {
  align-self: end;
  font-size: 30px;
  font-weight: 700;
}

.lower-strip {
  position: absolute;
  left: 82px;
  bottom: 80px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 1420px;
  height: 98px;
  padding: 22px 30px;
  background: #2d333b;
  border-left: 8px solid #f2c94c;
}

.lower-strip strong {
  font-size: 48px;
} */
