    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: 'Arial', sans-serif;
      overflow: hidden;
    }

    #game-container {
      position: relative;
      box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
      border-radius: 10px;
      overflow: hidden;
    }

    canvas {
      display: block;
      background: #000;
      cursor: crosshair;
    }

    /* 游戏说明面板 */
    #instructions {
      position: absolute;
      bottom: -150px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.8);
      color: #fff;
      padding: 15px 25px;
      border-radius: 10px;
      font-size: 14px;
      line-height: 1.6;
      transition: bottom 0.3s ease;
      pointer-events: none;
    }

    #instructions:hover {
      bottom: 20px;
    }

    /* 悬停提示 */
    #hover-hint {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      padding: 8px 12px;
      border-radius: 5px;
      font-size: 12px;
      opacity: 0.7;
      pointer-events: none;
    }

    /* 加载中遮罩 */
    #loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #000;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 1;
      transition: opacity 0.5s ease;
    }

    #loading-overlay.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .loading-text {
      color: #fff;
      font-size: 24px;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0%, 100% {
        opacity: 1;
      }
      50% {
        opacity: 0.5;
      }
    }

    /* 性能监控 */
    #fps-counter {
      position: absolute;
      top: 10px;
      left: 10px;
      background: rgba(0, 0, 0, 0.5);
      color: #0f0;
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 12px;
      font-family: 'Courier New', monospace;
      pointer-events: none;
    }