.scene .element{position:absolute;overflow:hidden}.scene .score-element{display:flex;flex-direction:column;background:#162421;border-radius:.3em;filter:drop-shadow(0 .12em .5em #0006)}.scene .brand{height:22%;display:flex;justify-content:space-between;align-items:center;gap:.5em;background:var(--brand);padding:0 .6em;font-size:.62em}.scene .brand strong{max-width:50%}.scene .brand strong,.scene .brand span,.scene .team strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene .team{height:31%;display:grid;grid-template-columns:.35em minmax(0,1fr) auto auto minmax(1.8em,18%);align-items:center;gap:.4em;border-bottom:1px solid #53616d66;padding-left:.6em;font-size:.9em}.scene .team b{height:100%;display:flex;align-items:center;justify-content:center;background:#23332e;font-size:1.18em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene .sets,.scene .games{min-width:1em;text-align:center;font-variant-numeric:tabular-nums}.scene .sets{color:#bdd8c8}.scene .games{color:#bdd8c8}.scene .serve.active{width:.25em;height:.25em;background:var(--brand);border-radius:50%}.scene .caption{height:16%;display:flex;align-items:center;justify-content:space-between;padding:0 .8em;color:#bdd8c8;font-size:.52em;gap:.5em}.scene .caption span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.scene .logo-element{display:flex;align-items:center;justify-content:center}.scene .logo-element img{position:absolute;width:100%;height:100%;object-fit:contain}.scene .text-element{display:flex;flex-direction:column;justify-content:center;gap:.25em;padding:.45em .7em;background:#162421f2;border-left:.25em solid var(--brand);border-radius:.15em}.scene .text-element strong{font-size:1em;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene .text-element span{font-size:.65em;color:#bdd8c8;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.scene { font-family: "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif; color: #f5f1e8; }
.scene .score-element { border-radius: .12em; }
.scene .brand { background: #23332e; color: #bdd8c8; border-left: .32em solid var(--brand); font-weight: 700; }
.scene .brand span { color: #f5f1e8; margin-left: auto; }
.scene .opl-badge { height: 85%; aspect-ratio: .55; flex: none; background: url("/opl-badge.png") center / contain no-repeat; }
.scene .team { grid-template-columns: .68em minmax(0,1fr) auto auto minmax(1.8em,18%); }
.scene .team strong { grid-column: 2; }
.scene .team .sets { grid-column: 3; }
.scene .team .games { grid-column: 4; }
.scene .team b { grid-column: 5; color: #162421; background: #bdd8c8; }
.scene .serve.active {
  width: .62em; height: .62em; border-radius: 50%; overflow: hidden; position: relative;
  background: #ea5516;
}
.scene .serve.active::after {
  content: ""; position: absolute; inset: -.12em 42% -.12em -.3em;
  border-right: .09em solid #f5f1e8; border-radius: 50%; transform: rotate(-28deg);
}
.scene .serving-name { color: #ff8a4f; }
.scene .text-element { border-radius: 0; }
/* One em on the OPL artwork corresponds to 20 px on the 1920 × 1080 broadcast canvas. */
.scene .opl-scoreboard { background: transparent; filter: none; border-radius: 0; }
.scene .opl-score-face {
  flex: none; width: 20.7em; height: 5.9em; overflow: hidden;
  background: #162421; border-radius: .08em;
}
.scene .opl-scoreboard .brand {
  display: grid; grid-template: 1fr 1fr / .9em minmax(0,1fr) auto;
  height: 2.1em; padding: .16em .5em; gap: 0 .6em;
  background: #23332e; border: 0; font-size: inherit;
}
.scene .opl-scoreboard .opl-badge { grid-row: 1 / 3; width: .9em; height: 1.7em; align-self: center; }
.scene .opl-scoreboard .brand strong {
  grid-column: 2; max-width: 100%; align-self: end; font-size: .67em; line-height: 1.15;
}
.scene .opl-scoreboard .brand [data-field="title"] {
  grid-area: 2 / 2; align-self: start; margin: 0; font-size: .52em; line-height: 1.2;
}
.scene .opl-scoreboard .brand [data-field="title"]:empty { display: none; }
.scene .opl-scoreboard .brand:has([data-field="title"]:empty) strong { grid-row: 1 / 3; align-self: center; }
.scene .opl-scoreboard .brand [data-field="status"] {
  grid-area: 1 / 3 / 3 / 4; align-self: center; max-width: 10em; margin: 0;
  padding: .22em .55em; border-radius: .25em; background: #354c42; color: #e1eee4;
  font-size: .65em; font-weight: 700; line-height: 1.2;
}
.scene .opl-scoreboard .brand [data-field="status"].paused { background: #f3d397; color: #40311a; }
.scene .opl-scoreboard .team {
  display: grid; grid-template-columns: 1.3em minmax(0,1fr) auto 2.3em;
  height: 1.9em; padding: 0; gap: 0; border: 0; font-size: inherit;
}
.scene .opl-scoreboard .team + .team { border-top: .06em solid #3a4a44; }
.scene .opl-scoreboard .team strong { font-size: .9em; color: #f5f1e8; }
.scene .opl-scoreboard .serve { justify-self: center; }
.scene .opl-scoreboard .serve.active { width: .54em; height: .54em; }
.scene .opl-scoreboard .serving-name { color: #ff7a35; }
.scene .opl-scoreboard .team b { grid-column: 4; font-size: 1.13em; font-weight: 800; }
.scene .opl-scoreboard .caption { display: none; }
.scene .set-series {
  grid-column: 3; display: grid; grid-auto-flow: column; grid-auto-columns: 1.55em;
  align-items: baseline; font-variant-numeric: tabular-nums; color: #b7c6bb; font-weight: 700;
}
.scene .set-series span { text-align: center; font-size: .9em; }
.scene .set-series span:last-child { color: #f5f1e8; font-size: 1em; font-weight: 800; }
.scene .score-element:has(> .sponsor-strip) { overflow: visible; }
/* Some versions of Microsoft YaHei Bold map the middle dot to a missing-glyph box. */
@font-face {
  font-family: "OPL Sponsor Dot";
  src: url("/static/fonts/noto-sans-sc-bold.woff2") format("woff2");
  font-weight: 700;
  unicode-range: U+00B7;
}
.scene .sponsor-strip {
  position: absolute; top: calc(100% + .2em); left: 0; width: 100%; height: 1.9em;
  display: flex; align-items: center; gap: .4em; padding: .15em .55em; box-sizing: border-box;
  background: #f5f1e8; color: #162421; border-left: .28em solid #f56627; overflow: hidden;
}
.scene .opl-scoreboard > .sponsor-strip { top: 6.1em; width: 20.7em; }
.scene .sponsor-strip img { max-width: 38%; height: 100%; object-fit: contain; }
.scene .sponsor-strip img[hidden] { display: none; }
.scene .sponsor-strip strong {
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .81em;
  font-family: "OPL Sponsor Dot", "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}
.scene .sponsor-strip small { flex: none; margin-left: auto; font-size: .56em; font-weight: 600; color: #52695e; }
