  :root {
    --bg-body: #0a0a0c;
    --bg-chassis: linear-gradient(145deg, #1b1c20, #111215);
    --bg-panel: #0d0e11;
    --border-metal: #2d3039;
    --accent-cyan: #00e5ff;
    --accent-amber: #ffaa00;
    --accent-red: #ff2a55;
    --text-main: #e2e6ef;
    --text-muted: #7a8296;
  }

  * {
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  body {
    margin: 0;
    padding: 16px;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }

  /* オーディオデッキ本体 */
  .deck-chassis {
    width: 100%;
    max-width: 780px;
    background: var(--bg-chassis);
    border: 2px solid var(--border-metal);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    padding: 20px;
  }

  .deck-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #23262e;
    padding-bottom: 10px;
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
  }

  .deck-brand {
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
  }

  /* 1. アナログVUメーターエリア */
  .vu-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
  }

  .vu-meter {
    background: radial-gradient(circle at 50% 85%, #2a2115 0%, #12100e 75%, #090807 100%);
    border: 3px solid #262932;
    border-radius: 10px;
    padding: 10px 12px 6px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.95);
  }

  .vu-meter::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 45%);
    pointer-events: none;
  }

  .vu-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: bold;
    color: #d4a359;
    margin-bottom: 2px;
  }

  .vu-canvas {
    width: 100%;
    height: 95px;
    display: block;
  }

  /* 液晶ディスプレイ & フォルダブラウザ */
  .lcd-screen {
    background: #070a0e;
    border: 2px solid #222630;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 18px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  }

  .lcd-status-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    font-family: monospace;
  }

  .badge {
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
  }

  .track-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
  }

  /* シークバー */
  .progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-family: monospace;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

  input[type="range"].seek-bar {
    flex: 1;
    accent-color: var(--accent-cyan);
    cursor: pointer;
    height: 5px;
    background: #1e222b;
    border-radius: 3px;
  }

  /* フォルダ・ファイルリスト */
  .browser-box {
    background: #0b0d12;
    border: 1px solid #1d212b;
    border-radius: 6px;
    max-height: 180px;
    overflow-y: auto;
  }

  .browser-path {
    padding: 6px 10px;
    font-size: 11px;
    color: var(--accent-amber);
    background: #12151d;
    border-bottom: 1px solid #1d212b;
    font-family: monospace;
  }

  .list-item {
    padding: 9px 12px;
    font-size: 13px;
    border-bottom: 1px solid #141720;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
  }

  .list-item:hover {
    background: #181c26;
  }

  .list-item.selected {
    background: rgba(0, 229, 255, 0.15);
    border-left: 3px solid var(--accent-cyan);
  }

  .list-item.playing {
    color: var(--accent-cyan);
    font-weight: bold;
  }

  /* 操作スイッチパネル */
  .controls-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .control-group {
    background: var(--bg-panel);
    border: 1px solid #20232c;
    border-radius: 10px;
    padding: 12px;
  }

  .group-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  .btn-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .hw-btn {
    background: linear-gradient(180deg, #282c37 0%, #191b22 100%);
    border: 1px solid #383d4c;
    border-bottom: 3px solid #0c0d10;
    border-radius: 8px;
    color: var(--text-main);
    padding: 12px 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.08s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  }

  .hw-btn:active, .hw-btn.active-press {
    transform: translateY(2px);
    border-bottom-width: 1px;
    background: #15171d;
    box-shadow: 0 1px 3px rgba(0,0,0,0.8);
  }

  .hw-btn.primary {
    border-color: rgba(0, 229, 255, 0.45);
    color: var(--accent-cyan);
  }

  .hw-btn span.sub {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: normal;
  }

  /* 音量バー表示 */
  .vol-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #1b1e26;
    font-size: 12px;
    color: var(--text-muted);
  }

  .vol-bar-bg {
    flex: 1;
    height: 6px;
    background: #1a1d24;
    border-radius: 3px;
    margin: 0 12px;
    overflow: hidden;
  }

  .vol-bar-fill {
    height: 100%;
    width: 80%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-amber));
    transition: width 0.1s;
  }

  /* レスポンシブ調整 (Smartphone) */
  @media (max-width: 540px) {
    .vu-section {
      grid-template-columns: 1fr;
    }
    .btn-row {
      grid-template-columns: repeat(2, 1fr);
    }
    .deck-chassis {
      padding: 14px;
    }
  }
