    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      overflow: hidden;
      background: #000000;
      font-family: Arial, sans-serif;
      height: 100vh;
      width: 100vw;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .wrapper {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1vh 1vw;
    }
    
    .scoreboard-container {
      width: min(98vw, calc(98vh * 16 / 9));
      height: min(98vh, calc(98vw * 9 / 16));
      background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
      border-radius: 2vmin;
      box-shadow: 0 1vh 3vh rgba(191, 144, 0, 0.3);
      padding: 1.5%;
      display: flex;
      flex-direction: column;
      border: 0.8vmin solid #bf9000;
      position: relative;
      gap: 1%;
      overflow: hidden;
    }

    .scoreboard-content {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 1%;
      transition: opacity 0.3s ease;
    }

    .scoreboard-content.hidden {
      opacity: 0;
      pointer-events: none;
      position: absolute;
    }

    .stream-video-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: none;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .stream-video-container.active {
      display: flex;
    }

    .stream-video-container video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .header {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1%;
      height: 11%;
      flex-shrink: 0;
    }
    
    .team-name {
      background: linear-gradient(135deg, #bf9000 0%, #d4a017 100%);
      padding: 0;
      border-radius: 1.5vmin;
      text-align: center;
      font-size: 4.5vmin;
      font-weight: bold;
      color: white;
      text-shadow: 0.1vmin 0.1vmin 0.2vmin rgba(0, 0, 0, 0.5);
      box-shadow: 0 0.3vh 1vh rgba(191, 144, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }
    
    .round-display {
      background: linear-gradient(135deg, #f1c232 0%, #ffd700 100%);
      padding: 0;
      border-radius: 1.5vmin;
      text-align: center;
      font-size: 4vmin;
      font-weight: bold;
      font-style: italic;
      color: #000000;
      text-shadow: 0.05vmin 0.05vmin 0.1vmin rgba(255, 255, 255, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0.3vh 1vh rgba(241, 196, 50, 0.4);
      transition: all 0.3s ease;
    }
    
    .main-content {
      display: grid;
      grid-template-columns: 1fr 0.8fr 1fr;
      gap: 1%;
      flex: 1;
      min-height: 0;
    }
    
    .questions-panel {
      background: rgba(191, 144, 0, 0.1);
      border-radius: 1.5vmin;
      padding: 1.5% 1%;
      border: 0.15vmin solid rgba(191, 144, 0, 0.3);
      display: flex;
      flex-direction: column;
      min-height: 0;
    }
    
    .questions-header {
      display: grid;
      grid-template-columns: 0.8fr 2.2fr;
      gap: 1%;
      font-size: 2.2vmin;
      font-weight: bold;
      color: #ffd700;
      margin-bottom: 1vh;
      text-shadow: 0.1vmin 0.1vmin 0.2vmin rgba(0, 0, 0, 0.8);
      flex-shrink: 0;
    }
    
    .questions-header > div {
      text-align: center;
    }
    
    .questions-container {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 1vh;
      min-height: 0;
      padding: 0;
    }
    
    .question-row {
      display: grid;
      grid-template-columns: 0.8fr 2.2fr;
      gap: 1%;
      align-items: stretch;
      flex: 1;
      min-height: 0;
    }
    
    .question-num {
      background: rgba(191, 144, 0, 0.3);
      padding: 0;
      border-radius: 1vmin;
      text-align: center;
      font-size: 2.5vmin;
      font-weight: bold;
      color: #ffd700;
      border: 0.15vmin solid rgba(191, 144, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .question-result {
      background: rgba(255, 255, 255, 0.95);
      padding: 0;
      border-radius: 1vmin;
      text-align: center;
      font-size: 2.2vmin;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0.2vh 0.5vh rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
    }
    
    .question-result.correct {
      background: #4caf50;
      color: white;
      animation: pulse 0.5s ease;
    }
    
    .question-result.incorrect {
      background: #f44336;
      color: white;
      animation: pulse 0.5s ease;
    }
    
    .question-result.rebound {
      background: #2196f3;
      color: white;
      animation: pulse 0.5s ease;
    }
    
    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }
    
    .center-image {
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(191, 144, 0, 0.05);
      border-radius: 2vmin;
      overflow: hidden;
      border: 0.15vmin solid rgba(191, 144, 0, 0.3);
      margin-bottom: -12%;
      position: relative;
    }
    
    .center-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .center-image video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: none;
    }

    .center-image video.active {
      display: block;
    }

    .center-image img.hidden {
      display: none;
    }
    
    .totals-section {
      background: rgba(191, 144, 0, 0.15);
      border-radius: 1.2vmin;
      padding: 2% 1.5%;
      margin-top: 2vh;
      border: 0.15vmin solid rgba(191, 144, 0, 0.4);
      flex-shrink: 0;
    }
    
    .totals-header {
      background: linear-gradient(135deg, #bf9000 0%, #d4a017 100%);
      text-align: center;
      font-size: 2.8vmin;
      font-weight: bold;
      color: white;
      padding: 2% 0;
      border-radius: 0.8vmin;
      margin-bottom: 2%;
      text-shadow: 0.05vmin 0.05vmin 0.15vmin rgba(0, 0, 0, 0.5);
    }
    
    .totals-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5%;
      margin-bottom: 2%;
    }
    
    .total-label {
      background: rgba(191, 144, 0, 0.2);
      text-align: center;
      font-size: 1.6vmin;
      font-weight: bold;
      color: #ffd700;
      padding: 3% 1%;
      border-radius: 0.7vmin;
      border: 0.08vmin solid rgba(191, 144, 0, 0.5);
      line-height: 1.2;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .total-value {
      background: white;
      text-align: center;
      font-size: 2.8vmin;
      font-weight: bold;
      color: #000000;
      padding: 3% 0;
      border-radius: 0.7vmin;
      box-shadow: 0 0.15vh 0.4vh rgba(0, 0, 0, 0.3);
      border: 0.15vmin solid #bf9000;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }
    
    .total-value.updated {
      animation: flashGold 0.6s ease;
    }
    
    @keyframes flashGold {
      0%, 100% { background: white; }
      50% { background: #ffd700; }
    }
    
    .footer {
      display: grid;
      grid-template-columns: 1fr 0.8fr 1fr;
      gap: 1%;
      height: 12%;
      flex-shrink: 0;
    }
    
    .match-total {
      background: linear-gradient(135deg, #bf9000 0%, #d4a017 100%);
      border-radius: 1.5vmin;
      text-align: center;
      font-size: 6vmin;
      font-weight: bold;
      color: white;
      text-shadow: 0.15vmin 0.15vmin 0.3vmin rgba(0, 0, 0, 0.6);
      box-shadow: 0 0.4vh 1.25vh rgba(191, 144, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }
    
    .match-total.updated {
      animation: flashGold 0.6s ease;
    }
    
    .footer-spacer {
      background: transparent;
    }

    .control-panel {
      position: fixed;
      top: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.95);
      padding: 20px;
      border-radius: 10px;
      border: 2px solid #bf9000;
      color: white;
      z-index: 1000;
      max-width: 350px;
      max-height: 90vh;
      overflow-y: auto;
      transition: opacity 0.3s ease;
    }

    .control-panel.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .control-panel h3 {
      color: #ffd700;
      margin-bottom: 15px;
      font-size: 1.2em;
    }

    .control-panel button {
      background: linear-gradient(135deg, #bf9000 0%, #d4a017 100%);
      color: white;
      border: none;
      padding: 10px 15px;
      margin: 5px 0;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      width: 100%;
      font-size: 0.9em;
    }

    .control-panel button:hover {
      background: linear-gradient(135deg, #d4a017 0%, #bf9000 100%);
    }

    .control-panel button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .control-section {
      margin: 15px 0;
      padding: 15px;
      background: rgba(191, 144, 0, 0.1);
      border-radius: 5px;
    }

    .control-section h4 {
      color: #ffd700;
      margin-bottom: 10px;
      font-size: 1em;
    }

    .status-indicator {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-right: 5px;
    }

    .status-indicator.active {
      background: #4caf50;
      box-shadow: 0 0 5px #4caf50;
    }

    .status-indicator.inactive {
      background: #666;
    }
