    body {
      background: black;
      color: white;
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    button {
      margin-right: 10px;
      margin-top: 10px;
      padding: 6px 12px;
      background: #0ff;
      color: black;
      border: none;
      cursor: pointer;
      font-weight: bold;
      border-radius: 4px;
    }

    button:hover {
      background: #0cc;
    }
/* Status badge container */
.status-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  min-width: 140px;
  box-sizing: border-box;
}

/* Layered gradient backgrounds */
.status-badge .status-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity 420ms ease-in-out;
  pointer-events: none;
}

/* Online gradient layer */
.status-badge .status-bg.online {
  background: linear-gradient(135deg, #00ff88, #009944);
  opacity: 0;
}

/* Offline gradient layer */
.status-badge .status-bg.offline {
  background: linear-gradient(135deg, #ff4444, #aa0000);
  opacity: 0;
}

/* When online, show online layer; when offline, show offline layer */
.status-badge.online .status-bg.online { opacity: 1; }
.status-badge.offline .status-bg.offline { opacity: 1; }

/* Foreground content sits above the backgrounds */
.status-badge .status-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: space-between;
}

/* Time styling */
.status-badge .status-time {
  opacity: 0.85;
  font-weight: 500;
  font-size: 0.95em;
}
    /* ---------------------------------------------------
       GLOBAL RANGE SLIDER (seek bar + volume base)
       --------------------------------------------------- */
    input[type="range"] {
      -webkit-appearance: none;
      width: 100%;
      height: 8px;
      background: #444;
      border-radius: 4px;
      outline: none;
    }

    /* Seek bar track (red fill, grey remainder) */
    input[type="range"]::-webkit-slider-runnable-track {
      background: linear-gradient(
        to right,
        red var(--seek-fill, 0%),
        #444 var(--seek-fill, 0%)
      );
      height: 8px;
      border-radius: 4px;
    }

    /* Firefox track */
    input[type="range"]::-moz-range-track {
      background: #444;
      height: 8px;
      border-radius: 4px;
    }

    input[type="range"]::-moz-range-progress {
      background: red;
      height: 8px;
      border-radius: 4px;
    }

    /* ---------------------------------------------------
       SEEK BAR THUMBSTICK - VISIBLE AND GRABBABLE
       --------------------------------------------------- */
    input[type="range"].seek-slider {
      appearance: none;
      -webkit-appearance: none;
      touch-action: none;
    }

    input[type="range"].seek-slider::-webkit-slider-thumb {
      appearance: none;
      -webkit-appearance: none;
      width: 20px !important;
      height: 20px !important;
      opacity: 1 !important;
      background: #ff3b30 !important;
      border: 2px solid #ffffff !important;
      border-radius: 999px !important;
      cursor: pointer;
      margin-top: -6px;
      box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45) !important;
    }

    input[type="range"].seek-slider::-moz-range-thumb {
      width: 20px !important;
      height: 20px !important;
      opacity: 1 !important;
      background: #ff3b30 !important;
      border: 2px solid #ffffff !important;
      border-radius: 999px !important;
      cursor: pointer;
      box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45) !important;
    }

    input[type="range"].seek-slider::-ms-thumb {
      width: 20px !important;
      height: 20px !important;
      opacity: 1 !important;
      background: #ff3b30 !important;
      border: 2px solid #ffffff !important;
      border-radius: 999px !important;
      box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45) !important;
    }

    /* ---------------------------------------------------
       VOLUME SLIDER THUMBSTICK — CIRCULAR RED
       --------------------------------------------------- */
    .volume-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 14px;
      height: 14px;
      background: red;
      border-radius: 50%;
      cursor: pointer;
      margin-top: -4px;
    }

    .volume-slider::-moz-range-thumb {
      width: 14px;
      height: 14px;
      background: red;
      border-radius: 50%;
      cursor: pointer;
    }

    #install-app-btn {
      position: fixed;
      right: 12px;
      bottom: 12px;
      z-index: 9999;
      display: none;
      background: #16a34a;
      color: #ffffff;
      border: none;
      border-radius: 999px;
      padding: 10px 14px;
      font-weight: 700;
    }

    #install-app-btn:hover {
      background: #15803d;
    }
