/* Post-match result strap (result.html). */
/* ── Result strap (lower third · result.html) ───────────────────────────── */
/* A 1920×1080 broadcast canvas. By default it shows a dark preview stage so the
 * white strap is visible in a browser; ?overlay=1 makes the canvas transparent
 * for an OBS Browser Source. */
.result-page {
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: #0d1014;
}
.result-page::before { display: none !important; }
html.overlay .result-page { background: transparent; }

.result-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 96px;
  display: flex;
  justify-content: center;
}

.result-strap {
  display: flex;
  width: 1640px;
  height: 176px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.38);
  font-family: var(--body);
}

.result-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 38px;
}

.result-team-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 50%;
  padding-left: 16px;
}
.result-team-row + .result-team-row {
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}
/* Winner gets a red marker + red name. */
.result-team-row.win::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 5px;
  background: var(--red);
  border-radius: 3px;
}

.rt-names {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #2a2a2a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-team-row.win .rt-names { color: var(--red); }

.rt-sets {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.r-set-cell {
  width: 58px;
  text-align: center;
  font-family: var(--display);
  font-size: 50px;
  line-height: 1;
  transform: translateY(3px);
}
.r-set-cell.set-won  { color: #111111; }
.r-set-cell.set-lost { color: #a3a3a3; }
.r-set-cell sup {
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 1px;
}

.result-logo {
  width: 300px;
  flex-shrink: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
}
.result-logo img {
  max-width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.result-empty {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 130px;
  text-align: center;
  color: #6b7280;
  font-family: var(--body);
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
html.overlay .result-empty { display: none; }

