  /* ============================================================
     BRUSHED GOLD–COPPER BUTTONS
     ----------------------------------------------------------
     Conic-gradient ring on padding-box composited with a
     transparent content-box mask, giving a true ring of metal
     around a glass interior.
  ============================================================ */
  .gold-ring,
  .call-btn,
  .ctrl,
  .ptt-btn {
    position: relative;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  }

  /* Shared base: glass interior + brushed gold ring via ::before */
  .call-btn::before,
  .ctrl::before,
  .ptt-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 1.5px;
    background: conic-gradient(
      from 145deg,
      var(--gold-shadow)    0deg,
      var(--gold-mid-dark)  20deg,
      var(--gold-mid)       45deg,
      var(--gold-light)     75deg,
      var(--gold-highlight) 95deg,
      var(--gold-light)     115deg,
      var(--gold-warm)      145deg,
      var(--gold-mid-dark)  170deg,
      var(--gold-shadow)    195deg,
      var(--gold-mid-dark)  225deg,
      var(--gold-warm)      255deg,
      var(--gold-light)     280deg,
      var(--gold-highlight) 295deg,
      var(--gold-warm)      320deg,
      var(--gold-mid-dark)  340deg,
      var(--gold-shadow)    360deg
    );
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
  }

  /* Subtle inner highlight rim — the polish line just inside the metal */
  .call-btn::after,
  .ctrl::after,
  .ptt-btn::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    border-radius: 50%;
    box-shadow:
      inset 0 1px 0 rgba(255, 220, 160, 0.10),
      inset 0 0 0 0.5px rgba(255, 220, 160, 0.05);
    pointer-events: none;
    z-index: 1;
  }

  /* CALL BUTTONS (idle screen) */
  .call-btn {
    width: 78px; height: 78px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 30% 28%, rgba(50, 35, 22, 0.55) 0%, rgba(15, 10, 8, 0.75) 70%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--gold-icon);
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.55),
      0 1px 0 rgba(0, 0, 0, 0.4),
      inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  }
  .call-btn svg {
    width: 28px; height: 28px;
    position: relative; z-index: 2;
    filter: drop-shadow(0 0 6px rgba(232, 196, 120, 0.18));
  }
  .call-btn:hover {
    transform: translateY(-3px);
    background:
      radial-gradient(circle at 30% 28%, rgba(70, 48, 28, 0.65) 0%, rgba(25, 18, 12, 0.85) 70%);
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.6),
      0 0 32px var(--gold-glow),
      0 1px 0 rgba(0, 0, 0, 0.4),
      inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  }
  .call-btn:hover svg {
    filter: drop-shadow(0 0 10px rgba(232, 196, 120, 0.5));
  }

  .idle-controls {
    position: absolute;
    bottom: 9%; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 32px;
    z-index: 20;
  }
  .call-btn-wrap {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
  }
  .call-btn-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(220, 170, 100, 0.62);
  }
  .call-btn-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bone-30);
  }

  /* LIVE CONTROLS */
  .live-controls {
    position: absolute;
    bottom: 50px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 14px;
    z-index: 20; align-items: center;
  }
  .ctrl {
    width: 54px; height: 54px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 30% 28%, rgba(50, 35, 22, 0.55) 0%, rgba(15, 10, 8, 0.75) 70%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--gold-icon);
    display: flex; align-items: center; justify-content: center;
    box-shadow:
      0 3px 14px rgba(0, 0, 0, 0.55),
      0 1px 0 rgba(0, 0, 0, 0.4);
  }
  .ctrl:hover {
    transform: translateY(-2px);
    background:
      radial-gradient(circle at 30% 28%, rgba(70, 48, 28, 0.65) 0%, rgba(25, 18, 12, 0.85) 70%);
    box-shadow:
      0 6px 22px rgba(0, 0, 0, 0.6),
      0 0 24px var(--gold-glow),
      0 1px 0 rgba(0, 0, 0, 0.4);
  }
  .ctrl svg {
    width: 20px; height: 20px;
    position: relative; z-index: 2;
    filter: drop-shadow(0 0 4px rgba(232, 196, 120, 0.2));
  }
  .ctrl.active {
    color: var(--april);
    background:
      radial-gradient(circle at 30% 28%, rgba(110, 60, 35, 0.6) 0%, rgba(50, 22, 14, 0.85) 70%);
  }
  .ctrl.active svg {
    filter: drop-shadow(0 0 6px rgba(255, 138, 101, 0.45));
  }

  /* End button — copper-red variant */
  .ctrl.end {
    color: var(--copper-icon);
    background:
      radial-gradient(circle at 30% 28%, rgba(58, 22, 14, 0.7) 0%, rgba(28, 8, 6, 0.85) 70%);
  }
  .ctrl.end::before {
    background: conic-gradient(
      from 145deg,
      var(--copper-shadow) 0deg,
      var(--copper-mid)    40deg,
      var(--copper-warm)   80deg,
      var(--copper-light)  100deg,
      var(--copper-warm)   140deg,
      var(--copper-shadow) 180deg,
      var(--copper-mid)    220deg,
      var(--copper-light)  270deg,
      var(--copper-warm)   310deg,
      var(--copper-shadow) 360deg
    );
  }
  .ctrl.end:hover {
    background:
      radial-gradient(circle at 30% 28%, rgba(86, 32, 22, 0.8) 0%, rgba(42, 12, 10, 0.92) 70%);
    box-shadow:
      0 6px 22px rgba(0, 0, 0, 0.6),
      0 0 24px rgba(232, 144, 128, 0.30),
      0 1px 0 rgba(0, 0, 0, 0.4);
  }
  .ctrl.end:hover svg {
    filter: drop-shadow(0 0 6px rgba(232, 144, 128, 0.55));
  }

  /* PTT live button — gold ring; held state stays gold + amplifies */
  .ptt-btn {
    width: 78px; height: 78px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 30% 28%, rgba(50, 35, 22, 0.55) 0%, rgba(15, 10, 8, 0.75) 70%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--gold-icon);
    display: flex; align-items: center; justify-content: center;
    box-shadow:
      0 4px 18px rgba(0, 0, 0, 0.55),
      0 1px 0 rgba(0, 0, 0, 0.4);
  }
  .ptt-btn svg {
    width: 26px; height: 26px;
    position: relative; z-index: 2;
    filter: drop-shadow(0 0 6px rgba(232, 196, 120, 0.22));
  }
  .ptt-btn:hover {
    background:
      radial-gradient(circle at 30% 28%, rgba(70, 48, 28, 0.65) 0%, rgba(25, 18, 12, 0.85) 70%);
    box-shadow:
      0 6px 24px rgba(0, 0, 0, 0.6),
      0 0 28px var(--gold-glow),
      0 1px 0 rgba(0, 0, 0, 0.4);
  }
  .ptt-btn.held {
    transform: scale(1.06);
    color: #f8e0a8;
    background:
      radial-gradient(circle at 30% 28%, rgba(120, 80, 40, 0.75) 0%, rgba(50, 30, 16, 0.92) 70%);
    box-shadow:
      0 0 38px rgba(232, 196, 120, 0.55),
      0 6px 24px rgba(0, 0, 0, 0.6),
      0 1px 0 rgba(0, 0, 0, 0.4),
      inset 0 1px 2px rgba(255, 230, 180, 0.18);
  }
  .ptt-btn.held::before {
    /* Pulse the ring brighter when speaking */
    animation: gold-pulse 1.6s ease-in-out infinite;
  }
  .ptt-btn.held svg {
    filter: drop-shadow(0 0 12px rgba(255, 230, 180, 0.7));
  }
  @keyframes gold-pulse {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.35); }
  }

  body[data-call-mode="ptt"][data-state="live"] .mute-btn { display: none; }
  body[data-call-mode="call"][data-state="live"] .ptt-btn { display: none; }

  /* In call mode, the mute button takes the primary 78px form to mirror PTT */
  body[data-call-mode="call"][data-state="live"] .mute-btn {
    width: 78px;
    height: 78px;
  }
  body[data-call-mode="call"][data-state="live"] .mute-btn svg {
    width: 26px;
    height: 26px;
  }
