/* OBS Stream Overlay Stylesheet (Fenerbahçe Voleybol Birebir Tasarım & Responsiveness) */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,700;1,800&display=swap');

html, body {
  background-color: transparent !important;
  background: transparent !important;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: 'Barlow Condensed', Arial Narrow, sans-serif;
  user-select: none;
  box-sizing: border-box;
}

@keyframes fbspin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.97); }
}

/* Full Width & Height Responsive Container */
#overlay-root {
  width: 100vw;
  height: 100vh;
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  box-sizing: border-box;
}

#overlay-root.theme-topbar {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.8cqw;
}

#overlay-root.theme-lowerthird,
#overlay-root.theme-bottom {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1.5cqw;
}

/* Responsive Inline Container */
.dc-board-container {
  container-type: inline-size;
  width: 100%;
  pointer-events: auto;
}

.dc-board-scale-wrapper {
  font-family: 'Barlow Condensed', Arial Narrow, sans-serif;
  font-size: 2.6cqw;
  padding: .22em 0;
  width: 100%;
}

@supports not (container-type: inline-size) {
  .dc-board-scale-wrapper {
    font-size: 2.6vw;
  }
}

/* Main Grid */
.dc-grid {
  position: relative;
  line-height: 1;
  color: #fff;
  user-select: none;
  display: grid;
  grid-template-columns: 2.35em minmax(0, 1fr) auto minmax(0, 1fr) 2.55em;
  align-items: center;
  gap: .3em;
  filter: drop-shadow(0 .05em .14em rgba(0, 0, 0, .5));
}

/* Team A Column (Left) */
.dc-team-col-a {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dc-team-name-box {
  height: 2em;
  background: linear-gradient(180deg, #2c4173 0%, #22345c 55%, #1a2846 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .55em;
  overflow: hidden;
  box-shadow: inset 0 .04em 0 rgba(255, 255, 255, .22);
}

.dc-team-name-text {
  font-weight: 800;
  font-style: italic;
  font-size: 1.14em;
  text-transform: uppercase;
  letter-spacing: .005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 .04em .06em rgba(0, 0, 0, .45);
}

.dc-team-stripe-a {
  height: .2em;
  background: var(--color-a, #ffed00);
}

/* Center Cluster (Sets A | Points A | Logo | Points B | Sets B) */
.dc-center-cluster {
  grid-column: 3;
  display: flex;
  align-items: stretch;
  gap: .16em;
  height: 2.2em;
}

.dc-sets-box {
  width: 1.55em;
  border-radius: .1em;
  background: linear-gradient(180deg, #d61c35, #a80d23);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 .04em 0 rgba(255, 255, 255, .25);
}

.dc-sets-num {
  font-weight: 800;
  font-size: 1.4em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 .04em .06em rgba(0, 0, 0, .4);
}

.dc-points-box {
  min-width: 1.75em;
  padding: 0 .1em;
  border-radius: .1em;
  background: linear-gradient(180deg, #f6f6f3, #dcdcd6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 .04em 0 rgba(255, 255, 255, .7);
}

.dc-points-num {
  font-weight: 800;
  font-size: 1.62em;
  color: #17244a;
  font-variant-numeric: tabular-nums;
}

.dc-logo-box {
  width: 2.4em;
  height: 2.42em;
  align-self: center;
  border-radius: .11em;
  background: linear-gradient(180deg, #d61c35, #a80d23);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 .04em 0 rgba(255, 255, 255, .25), 0 .03em .1em rgba(0, 0, 0, .3);
}

.dc-logo-inner {
  width: 88%;
  height: 82%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Team B Column (Right) */
.dc-team-col-b {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dc-team-stripe-b {
  height: .2em;
  background: var(--color-b, #d61c35);
}

/* Kayan ve Dönen Servis Topu */
.dc-ball-anchor {
  position: absolute;
  top: 50%;
  width: 2.2em;
  height: 2.2em;
  transform: translateY(-50%);
  transition: left .7s cubic-bezier(.65, 0, .35, 1);
  z-index: 2;
  filter: drop-shadow(0 .05em .1em rgba(0, 0, 0, .45));
}

.dc-ball-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: fbspin 14s linear infinite;
}



