/*! © 2026 Steve Wagner · Toolranzen.de — alle Rechte vorbehalten. Nicht zur Weiterverwendung freigegeben. */

.spb-buehne { position: relative; }

.spb-buehne.spb-ist-vollbild {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(16px, 2.5vw, 40px);
  overflow: auto;
  background: var(--color-bg);
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(1rem, 1.55vw, 1.6rem);
}
.spb-buehne.spb-ist-vollbild:not(:fullscreen) {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
}
html.spb-vollbild-offen { overflow: hidden; }
html.spb-vollbild-offen body :has(.spb-ist-vollbild) {
  position: static !important;
  z-index: auto !important;
  transform: none !important;
  filter: none !important;
}
.spb-buehne.spb-ist-vollbild .tr-actions,
.spb-buehne.spb-ist-vollbild .tr-button-row { display: none; }
.spb-buehne.spb-ist-vollbild .tr-card-head h2 { font-size: 1.6em; }

.spb-buehne .spb-teams {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.spb-buehne .spb-teams[hidden] { display: none; }
.spb-buehne .spb-team {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  padding: .55em .9em;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  color: var(--color-text);
  transition: background .2s, color .2s;
}
.spb-buehne .spb-team.is-am-zug {
  background: var(--color-primary);
  color: var(--color-surface); /* weiß auf Petrol, wie .tr-btn--primary */
}
.spb-buehne .spb-team__marke {
  font: 800 1.4em/1 var(--font-display);
  min-width: 1em;
  text-align: center;
}
.spb-buehne .spb-team__text { display: flex; flex-direction: column; min-width: 0; }
.spb-buehne .spb-team__name {
  font: 700 1em/1.25 var(--font-display);
  overflow-wrap: anywhere;
}
.spb-buehne .spb-team__stand { font: 400 .85em/1.3 var(--font-body); }
.spb-buehne .spb-team__zug {
  margin-left: auto;
  font: 700 .72em/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.spb-buehne .spb-vollbild-knopf { margin-left: auto; }

@media print {
  .spb-buehne { display: none !important; }
}

.spb-buehne .spb-podest { display: flex; justify-content: center; align-items: flex-end; gap: .5em; margin: 1em auto; max-width: 36em; }
.spb-buehne .spb-podest__stufe { flex: 1 1 0; display: grid; grid-template-rows: auto auto 1fr; justify-items: center; gap: .25em; text-align: center; }
.spb-buehne .spb-podest__name { font-weight: 800; font-size: 1.15em; overflow-wrap: anywhere; }
.spb-buehne .spb-podest__wert { color: var(--color-text-muted); font-weight: 600; }
.spb-buehne .spb-podest__platz { width: 100%; display: grid; place-items: center; border-radius: 12px 12px 0 0; font-weight: 800; font-size: 1.8em; background: var(--color-surface-warm); color: var(--color-text); }
.spb-buehne .spb-podest__stufe--1 .spb-podest__platz { min-height: 6em; background: var(--color-primary); color: var(--color-on-primary, var(--color-text)); }
.spb-buehne .spb-podest__stufe--2 .spb-podest__platz { min-height: 4.4em; background: var(--color-primary-pale, var(--color-surface-warm)); }
.spb-buehne .spb-podest__stufe--3 .spb-podest__platz { min-height: 3.2em; }
.spb-buehne .spb-konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* © 2026 Steve Wagner · Toolranzen.de — alle Rechte vorbehalten. Nicht zur Weiterverwendung freigegeben. */
