/* プレイヤー全体（WindowsクラシックUI風） */
  .retro-player {
    width: 450px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 6px;
    font-family: 'MS UI Gothic', 'Tahoma', sans-serif;
    user-select: none;
    box-shadow: 1px 1px 0px #000;
  }

  /* 上段（ディスプレイ＋ドライブ風エリア） */
  .player-top {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
  }

  /* 蛍光VFDディスプレイパネル全体 */
  .display-panel {
    flex: 1;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
  }

  /* トラック表示エリア */
  .track-display {
    color: #00ffff;
    background-color: #000;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px #00ffff;
    border-right: 1px solid #005555;
    padding-right: 8px;
    white-space: nowrap;
  }

  /* 曲名ディスプレイ内の枠 */
  .display-scroll-container {
    background-color: #000;
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    position: relative;
  }

  /* 曲名テキスト */
  .display-text {
    color: #00ffff;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #00ffff;
    display: inline-block;
  }

  /* 一時停止時の点滅アニメーション */
  .blink {
    animation: blink-animation 1s steps(2, start) infinite;
  }
  @keyframes blink-animation {
    to { visibility: hidden; }
  }

  /* 時間表示専用ディスプレイ（クリックで表示切替） */
  .time-display-panel {
    background: #000;
    border: 1px solid #00aaaa;
    padding: 2px 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    box-shadow: inset 0 0 4px #00ffff;
  }
  .time-display-panel:hover {
    border-color: #00ffff;
  }

  /* 時間の7セグ・デジタル風テキスト */
  .time-main-row {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .time-text {
    color: #00ffff;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 6px #00ffff;
  }
  .time-status-icon {
    color: #00ffff;
    font-family: monospace;
    font-size: 11px;
    text-shadow: 0 0 4px #00ffff;
  }

  /* 下部の単位表記（Sec / Min / Mode） */
  .time-labels-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #00ffff;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    margin-top: -2px;
    opacity: 0.8;
  }

  /* ドライブ＆音量コントロールエリア（右側） */
  .drive-panel {
    width: 180px;
    background-color: #b0b0b0;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
  }
  .drive-slot {
    width: 100%;
    height: 8px;
    background: #404040;
    border: 1px solid #000;
    margin-top: 2px;
  }
  .drive-light {
    width: 8px;
    height: 4px;
    background-color: #00ff00;
    border: 1px solid #005500;
    align-self: flex-start;
    margin-top: 2px;
  }




  /* 下段（操作ボタンエリア） */
  .controls-panel {
    display: flex;
    gap: 2px;
    background: #c0c0c0;
  }

  /* Windows 95/98風立体ボタン */
  .retro-btn {
    height: 28px;
    padding: 0 10px;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #404040 #404040 #ffffff;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
  }
  .retro-btn:active {
    border-color: #404040 #ffffff #ffffff #404040;
    padding: 1px 9px -1px 11px;
  }

  /* 非表示のYouTubeプレイヤー枠 */
  #youtube-player-hidden {
    position: absolute;
    left:400px;
    top:600px;
    width: 360px;
    height: 200px;
    opacity: 1;
    pointer-events: none;
  }

   /* 非表示のYouTubeプレイヤー枠
  #youtube-player-hidden {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
  }