html, body {
  margin:0;
  padding:0;
  background: transparent; /* wichtig für OBS */
  font-family: var(--font);
  color: var(--text);
}
.overlay{
  width: 1280px;
  height: 720px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  background: var(--bg);
}
.topbar{
  margin-top: 40px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.topbar .cell{
  width:56px; height:36px;
  border-radius:10px;
  background: rgba(0,0,0,0.75);
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color: rgba(255,255,255,0.85);
}
.topbar .cell.played{
  background: rgba(255,255,255,0.90);
  color: #121212;
}
.panel{
  margin-top: 40px;
  width: 1120px;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 40px 30px;
  display:flex;
  gap: 60px;
  justify-content:space-between;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.col{ width: 480px; text-align:center; }
.name{
  font-size: 72px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.scoreBox{
  margin: 25px auto 18px;
  width: 420px;
  height: 150px;
  background: var(--scorebg);
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 120px;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.bar{
  width: 420px;
  height: 26px;
  margin: 0 auto 26px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  overflow:hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.12);
}
.bar .fill{
  height:100%;
  width:0%;
  background: var(--accent);
  transition: width 500ms ease;
}
.grid{
  width: 420px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.grid .f{
  height: 54px;
  border-radius: 12px;
  background: var(--gridOffBg);
  color: var(--gridOffText);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size: 28px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, background 220ms ease;
}
.grid .f.on{
  background: var(--gridOnBg);
  color: var(--gridOnText);
}
.grid .f.flash{ transform: scale(1.08); }
.pop{ animation: pop 260ms ease; }
@keyframes pop{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
  100%{ transform: scale(1); }
}
