/* ===== バレーボール スコアボード ===== */
.volleyball-board {
  background: linear-gradient(135deg, #1a2a5e, #3a1a5e);
  border-radius: 12px;
  display: inline-flex;
  align-items: stretch;
  min-width: 750px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  font-family: 'Segoe UI', 'Hiragino Sans', sans-serif;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.volleyball-board > .lineup-panel {
  width: 120px;
  min-height: auto;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.volleyball-board > .lineup-panel.home-lineup {
  border-right: 1px solid rgba(255,255,255,0.1);
}
.volleyball-board > .lineup-panel.away-lineup {
  border-left: 1px solid rgba(255,255,255,0.1);
}

.volleyball-board > .scoreboard-main {
  flex: 1;
  min-width: 0;
  padding: 0;
}

/* グラデーション トップバー */
.vb-top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--team-home, #5dade2), var(--color-accent, #85c1e9), var(--team-away, #48c9b0));
}

.vb-inner {
  padding: 10px 54px 12px;
}

.vb-set-info {
  text-align: center;
  margin-bottom: 4px;
}

.vb-set-label {
  font-size: 1rem;
  opacity: 0.6;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.vb-set-score {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent, #85c1e9);
  margin-top: 0px;
  transition: color 0.3s;
}

.vb-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.vb-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.vb-team-name {
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0px;
}

.vb-point {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  transition: color 0.3s;
}

.vb-point.home { color: var(--team-home, #5dade2); }
.vb-point.away { color: var(--team-away, #48c9b0); }

.vb-serve {
  margin-top: 2px;
  font-size: 0.75rem;
  height: 18px;
}

.vb-serve-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent, #85c1e9);
  box-shadow: 0 0 8px rgba(133, 193, 233, 0.6);
  transition: background 0.3s, box-shadow 0.3s;
}

.vb-divider {
  font-size: 3rem;
  opacity: 0.2;
}

.vb-current-set {
  text-align: center;
  margin-top: 6px;
  font-size: 1rem;
  opacity: 0.5;
}

/* スコア変更アニメーション (Display側) */
@keyframes scorePop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.25); }
  60%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.score-pop {
  animation: scorePop 0.35s ease-out;
}

/* 表示画面用 */
.display-body {
  margin: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}
