/* MAONO Broadcast Overlay - CSS pour OBS Studio & vMix */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.transparent {
  background-color: transparent !important;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Modes Chroma Key alternatifs si canal alpha non géré */
body.chroma-green {
  background-color: #00ff00 !important;
}

body.chroma-magenta {
  background-color: #ff00ff !important;
}

.scorebug-container {
  position: absolute;
  top: 32px;
  left: 48px;
  display: flex;
  align-items: center;
  background-color: #09090b;
  border: 1px solid #27272a;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  color: #f4f4f5;
  height: 52px;
  overflow: hidden;
  user-select: none;
  font-feature-settings: "tnum";
}

.scorebug-container[data-position="bottom-center"] {
  top: auto;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.team-block {
  display: flex;
  align-items: center;
  height: 100%;
}

.team-badge {
  width: 10px;
  height: 100%;
  background: #3b82f6;
}

.team-away .team-badge {
  background: #ef4444;
}

.team-info {
  padding: 0 12px;
}

.team-trigram {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.team-score {
  min-width: 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  background-color: #18181b;
  color: #ffffff;
  padding: 0 10px;
  border-left: 1px solid #27272a;
  border-right: 1px solid #27272a;
}

.divider {
  width: 1px;
  height: 100%;
  background-color: #3f3f46;
}

.meta-block {
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  background-color: #09090b;
  height: 100%;
}

.period-pill {
  font-size: 0.8rem;
  font-weight: 700;
  background-color: #27272a;
  color: #a1a1aa;
  padding: 3px 6px;
  border-radius: 4px;
}

.clock-display {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fbbf24;
  min-width: 60px;
  text-align: center;
}

.shot-clock {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.shot-clock.hidden {
  display: none;
}

