
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      background: linear-gradient(135deg, #0a0014 0%, #1a0033 50%, #0a0014 100%);
      font-family: 'Arial', sans-serif;
      color: white;
    }

    #game-container {
      width: 100%;
      height: 100%;
      position: relative;
    }

    canvas {
      display: block;
      cursor: grab;
    }

    canvas:active {
      cursor: grabbing;
    }

    /* UI覆盖层 */
    #ui-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 10;
    }

    /* 分数显示 */
    #score-panel {
      position: absolute;
      top: 20px;
      left: 20px;
      pointer-events: auto;
      background: rgba(10, 0, 30, 0.8);
      padding: 20px 30px;
      border-radius: 15px;
      border: 2px solid rgba(147, 51, 234, 0.5);
      box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
      backdrop-filter: blur(10px);
    }

    #score {
      font-size: 48px;
      font-weight: bold;
      background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
    }

    #combo {
      font-size: 24px;
      color: #fbbf24;
      margin-top: 10px;
      text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
    }

    /* 开始屏幕 */
    #start-screen {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: rgba(0, 0, 0, 0.9);
      z-index: 100;
      pointer-events: auto;
    }

    #start-screen.hidden {
      display: none;
    }

    #game-title {
      font-size: 72px;
      font-weight: bold;
      background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #fbbf24 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 20px;
      animation: glow 2s ease-in-out infinite;
    }

    @keyframes glow {
      0%, 100% { filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.5)); }
      50% { filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.8)); }
    }

    #game-subtitle {
      font-size: 24px;
      color: #a78bfa;
      margin-bottom: 50px;
    }

    .btn {
      padding: 20px 60px;
      font-size: 24px;
      font-weight: bold;
      color: white;
      background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 5px 30px rgba(147, 51, 234, 0.5);
      pointer-events: auto;
    }

    .btn:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 40px rgba(236, 72, 153, 0.7);
    }

    .btn:active {
      transform: translateY(-2px);
    }

    /* 游戏说明 */
    #instructions {
      margin-top: 40px;
      text-align: center;
      color: #94a3b8;
      font-size: 16px;
      line-height: 1.8;
    }

    /* Combo提示 */
    #combo-popup {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 120px;
      font-weight: bold;
      color: #fbbf24;
      text-shadow: 0 0 30px rgba(251, 191, 36, 1);
      pointer-events: none;
      opacity: 0;
      z-index: 50;
    }

    /* 游戏结束屏幕 */
    #game-over-screen {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: rgba(0, 0, 0, 0.95);
      z-index: 100;
      pointer-events: auto;
    }

    #game-over-screen.show {
      display: flex;
    }

    #final-score {
      font-size: 96px;
      font-weight: bold;
      background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin: 20px 0;
    }
  