:root {
      color-scheme: dark;
    }
    body {
      font-family: 'Inter', 'PingFang TC', 'PingFang HK', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
      background-color: #090d16;
      color: #e2e8f0;
      overflow-x: hidden;
    }
    .bg-court-grid {
      background-color: #0b101b;
      background-image:
        linear-gradient(to right, rgba(56, 189, 248, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.045) 1px, transparent 1px);
      background-size: 26px 26px;
    }
    .custom-scroll::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    .custom-scroll::-webkit-scrollbar-track {
      background: rgba(15, 23, 42, 0.6);
    }
    .custom-scroll::-webkit-scrollbar-thumb {
      background: rgba(100, 116, 139, 0.5);
      border-radius: 9999px;
    }
    .custom-scroll::-webkit-scrollbar-thumb:hover {
      background: rgba(148, 163, 184, 0.8);
    }
    @keyframes popIn {
      0% { opacity: 0; transform: translateY(10px) scale(0.98); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    .bubble-enter {
      animation: popIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes shakeScreen {
      0%, 100% { transform: translateX(0); }
      20% { transform: translateX(-7px) rotate(-0.4deg); }
      40% { transform: translateX(7px) rotate(0.4deg); }
      60% { transform: translateX(-5px); }
      80% { transform: translateX(5px); }
    }
    .shake-fx {
      animation: shakeScreen 0.38s ease-in-out;
    }
    @keyframes pulseHotspot {
      0%, 100% { stroke-opacity: 0.95; fill-opacity: 0.26; }
      50% { stroke-opacity: 0.45; fill-opacity: 0.1; }
    }
    .hotspot-idle {
      animation: pulseHotspot 2s infinite ease-in-out;
      cursor: pointer;
      transition: all 0.18s ease;
    }
    .hotspot-idle:hover {
      fill-opacity: 0.42 !important;
      stroke-width: 2.8px;
    }
    .hotspot-selected {
      fill: rgba(251, 191, 36, 0.35) !important;
      stroke: #fbbf24 !important;
      stroke-width: 3px !important;
      cursor: pointer;
    }
    @keyframes stampSlam {
      0% { opacity: 0; transform: scale(2.05) rotate(-6deg); }
      70% { opacity: 1; transform: scale(0.95) rotate(-1.5deg); }
      100% { opacity: 1; transform: scale(1) rotate(-1.5deg); }
    }
    .stamp-slam {
      animation: stampSlam 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    @keyframes rainFall {
      0% { background-position: 0px 0px; }
      100% { background-position: -90px 260px; }
    }
    .rain-overlay {
      background-image: repeating-linear-gradient(
        108deg,
        rgba(186, 230, 253, 0.0) 0px,
        rgba(186, 230, 253, 0.0) 18px,
        rgba(186, 230, 253, 0.16) 19px,
        rgba(186, 230, 253, 0.0) 21px
      );
      background-size: 180px 260px;
      animation: rainFall 1.15s linear infinite;
    }
    @keyframes eqBounce {
      0%, 100% { transform: scaleY(0.3); }
      50% { transform: scaleY(1); }
    }
    .eq-bar-1 { animation: eqBounce 0.42s ease-in-out infinite; }
    .eq-bar-2 { animation: eqBounce 0.31s ease-in-out 0.1s infinite; }
    .eq-bar-3 { animation: eqBounce 0.48s ease-in-out 0.18s infinite; }
    .speed-lines-bg {
      background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.07) 0deg 3deg,
        transparent 3deg 11deg
      );
    }
    @keyframes urgentPulseBorder {
      0%, 100% { box-shadow: inset 0 0 0 2px rgba(244, 63, 94, 0.85), inset 0 0 38px rgba(225, 29, 72, 0.42); }
      50% { box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.25), inset 0 0 12px rgba(225, 29, 72, 0.12); }
    }
    .urgent-screen-glow {
      animation: urgentPulseBorder 0.85s ease-in-out infinite;
    }
