 :root {
    --lime: #b9c85a;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
      "Liberation Mono", "Courier New", monospace;
  }

  /* Center CavBot on the page – adjust as you like */
  .cavbot-shell {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
  }

  .cavbot-orbit {
    position: relative;
    width: 190px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .cavbot {
    position: relative;
    width: 170px;
    max-width: 60vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    cursor: pointer;
    filter:
      drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8))
      drop-shadow(0 0 18px rgba(0, 110, 230, 0.32));
    transition: transform 0.18s ease-out, filter 0.18s ease-out;
  }

  .cavbot:hover {
    transform: translateY(-2px);
    filter:
      drop-shadow(0 24px 52px rgba(0, 0, 0, 0.9))
      drop-shadow(0 0 20px rgba(0, 110, 230, 0.5));
  }

  .cavbot-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: cavbotFloat 3.6s ease-in-out infinite;
  }

  @keyframes cavbotFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }

  .cavbot-antenna {
    position: relative;
    width: 5px;
    height: 26px;
    margin-bottom: -10px;
    background: linear-gradient(to bottom,
      #f3f5fb 0%, #c8ccd8 45%, #9ca2b0 100%);
    border-radius: 999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .cavbot-antenna-tip {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background:
      radial-gradient(circle at 30% 20%, #ffffff 0%, #e7f2ff 50%, #9fb7ff 100%);
    box-shadow:
      0 0 0 2px rgba(0, 0, 0, 0.55),
      0 0 14px rgba(0, 110, 230, 0.7);
    animation: antennaPulse 1.8s ease-in-out infinite;
  }

  .cavbot-antenna-tip::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid rgba(181, 211, 49, 0.65);
    opacity: 0;
    animation: antennaHalo 1.8s ease-in-out infinite;
  }

  @keyframes antennaPulse {
    0%, 100% {
      box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.45),
        0 0 10px rgba(0, 110, 230, 0.6);
    }
    50% {
      box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.7),
        0 0 18px rgba(181, 211, 49, 0.9);
    }
  }

  @keyframes antennaHalo {
    0%, 100% { opacity: 0; transform: scale(0.78); }
    50%      { opacity: 1; transform: scale(1.08); }
  }

  .cavbot-head {
    position: relative;
    width: 138px;
    height: 118px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 20% 0%, #ffffff 0%, #f5f7fc 32%,
        #d4d7e2 65%, #a8afc0 100%);
    box-shadow:
      0 -4px 12px rgba(255, 255, 255, 0.35) inset,
      0 8px 18px rgba(0, 0, 0, 0.35);
    padding: 18px 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cavbot-head::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 26px;
    border-radius: 999px;
    background:
      linear-gradient(135deg, #dadeea 0%, #c4c9d7 45%, #9ea3b5 100%);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.25),
      0 -2px 6px rgba(255, 255, 255, 0.65) inset;
  }

  .cavbot-face {
    position: relative;
    width: 100%;
    height: 78px;
    border-radius: 46px;
    background:
      radial-gradient(circle at 20% 0%, rgba(0, 110, 230, 0.45), transparent 60%),
      radial-gradient(circle at 80% 10%, rgba(120, 82, 169, 0.65), transparent 60%),
      linear-gradient(160deg, #05060a 0%, #05060d 40%, #070c18 100%);
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    box-shadow:
      0 0 0 3px rgba(0, 0, 0, 0.85) inset,
      0 0 18px rgba(0, 110, 230, 0.7);
  }

  .cavbot-eyes-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .cavbot-eye {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background:
      radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.6), transparent 65%),
      radial-gradient(circle at 50% 70%, #020306, #020309 80%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cavbot-eye::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(0, 214, 255, 0.8);
    box-shadow:
      0 0 12px rgba(0, 214, 255, 0.9),
      0 0 20px rgba(0, 110, 230, 0.8);
    opacity: 0.8;
    pointer-events: none;
  }

  .cavbot-eye-inner {
    position: relative;
    width: 78%;
    height: 78%;
    border-radius: inherit;
    background: radial-gradient(circle, #020308 0%, #050918 80%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cavbot-eye-track {
    position: relative;
    width: 120%;
    height: 120%;
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 120ms ease-out;
  }

  .cavbot-eye-pupil {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background:
      radial-gradient(circle at 30% 20%, #ffffff 0%, #d8f6ff 18%,
        #00b8ff 55%, #0060e6 100%);
    box-shadow:
      0 0 12px rgba(0, 184, 255, 0.9),
      0 0 20px rgba(0, 110, 230, 0.8);
  }

  .cavbot-eye-glow {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(181, 211, 49, 0.4) 0%, transparent 75%);
    opacity: 0.18;
    pointer-events: none;
  }

  .cavbot-blink {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.95) 70%);
    transform-origin: top center;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    animation: cavbotBlink 7.2s infinite;
  }

  @keyframes cavbotBlink {
    0%, 86%, 100% { transform: scaleY(0); opacity: 0; }
    88%, 90%      { transform: scaleY(1); opacity: 0.9; }
    92%           { transform: scaleY(0); opacity: 0; }
  }

  .cavbot-scan {
    position: relative;
    margin-top: 6px;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(to right, #05070b, #03040a);
  }

  .cavbot-scan-bar {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(120deg,
        transparent 0%,
        rgba(0, 110, 230, 0.35) 18%,
        rgba(181, 211, 49, 0.7) 50%,
        rgba(120, 82, 169, 0.6) 78%,
        transparent 100%);
    transform: translateX(-100%);
    animation: cavbotScan 3.1s linear infinite;
    opacity: 0.95;
  }

  .cavbot-scan-dots {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    font-size: 0.46rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(211, 218, 240, 0.8);
    font-family: var(--mono);
    opacity: 0.8;
  }

  @keyframes cavbotScan {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

  .cavbot-body {
    position: relative;
    width: 120px;
    height: 92px;
    border-radius: 40px;
    background:
      radial-gradient(circle at 20% 0%, #ffffff 0%, #f4f7fc 32%,
        #d5dae6 70%, #a8b0c0 100%);
    padding: 12px 12px 14px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-shadow:
      0 -3px 10px rgba(255, 255, 255, 0.6) inset,
      0 10px 18px rgba(0, 0, 0, 0.45);
  }

  .cavbot-body-core {
    position: relative;
    width: 100%;
    border-radius: 26px;
    background: linear-gradient(160deg,
      rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    padding: 8px 9px 8px;
    display: grid;
    grid-template-rows: auto auto;
    gap: 6px;
  }

  .cavbot-body-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.52rem;
    color: rgba(198, 205, 226, 0.9);
  }

  .cavbot-led-row {
    display: flex;
    gap: 5px;
    align-items: center;
  }

  .cavbot-led {
    width: 9px;
    height: 9px;
    border-radius: 999px;
  }

  .cavbot-led--blue {
    background: radial-gradient(circle,
      #e6f4ff 0%, #00b2ff 40%, #0051ad 100%);
    box-shadow: 0 0 10px rgba(0, 178, 255, 1);
  }

  .cavbot-led--lime {
    background: radial-gradient(circle,
      #f7ffe0 0%, #b5d331 40%, #506012 100%);
    box-shadow: 0 0 10px rgba(181, 211, 49, 1);
  }

  .cavbot-led--purple {
    background: radial-gradient(circle,
      #f4e8ff 0%, #7852a9 40%, #301a52 100%);
    box-shadow: 0 0 10px rgba(120, 82, 169, 1);
  }

  .cavbot-body-mid {
    position: relative;
    height: 14px;
    border-radius: 18px;
    background: linear-gradient(to right, #181b22, #12151d);
    overflow: hidden;
  }

  .cavbot-body-meter-track {
    position: absolute;
    inset: 2px 4px;
    border-radius: 999px;
    background: linear-gradient(to right, #05070d, #020308);
    overflow: hidden;
  }

  .cavbot-body-meter-fill {
    position: absolute;
    inset: 0;
    width: 45%;
    border-radius: inherit;
    background: linear-gradient(90deg,
      #006ee6 0%, #b5d331 50%, #7852a9 100%);
    transform-origin: left center;
    animation: meterPulse 3.4s ease-in-out infinite;
  }

  @keyframes meterPulse {
    0%   { transform: scaleX(0.3); }
    50%  { transform: scaleX(0.98); }
    100% { transform: scaleX(0.45); }
  }

  .cavbot-body-label-main {
    letter-spacing: 0em;
    text-transform: none;
    color: #b5d331;
  }

  .cavbot-base {
    position: relative;
    margin-top: 2px;
    width: 110px;
    height: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .cavbot-foot {
    position: relative;
    width: 48px;
    height: 24px;
    border-radius: 18px 18px 10px 10px;
    background:
      radial-gradient(circle at 20% 0%, #ffffff 0%, #f4f6fc 40%,
        #d3d7e4 75%, #a8afbf 100%);
  }

  .cavbot-foot::before {
    content: "";
    position: absolute;
    inset: 0 4px 4px;
    border-radius: 18px 18px 12px 12px;
    background:
      linear-gradient(140deg, #f8fbff 0%, #dfe4f1 45%, #b5bccd 90%);
  }

  .cavbot-foot::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 10px;
    border-radius: 999px;
    background:
      radial-gradient(circle, #8de0ff 0%, #00a6ff 40%, #0050a5 100%);
    box-shadow:
      0 0 16px rgba(0, 166, 255, 0.9),
      0 0 22px rgba(0, 110, 230, 0.8);
    opacity: 0.95;
  }

  .cavbot-shadow {
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 110px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle,
      rgba(0, 0, 0, 0.7) 0%, transparent 70%);
    filter: blur(4px);
    opacity: 0.95;
    pointer-events: none;
  }