.rdg-remote {
  --rdg-remote-navy: #0b2040;
  --rdg-remote-gold: #d4b675;
  --rdg-remote-surface: #fff;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1055;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 74px;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid rgba(212, 182, 117, .72);
  border-radius: 38px;
  background: rgba(11, 32, 64, .96);
  box-shadow: 0 12px 32px rgba(11, 32, 64, .28);
  transition: width 1s ease, height 1s ease, padding 1s ease, border-radius 1s ease, box-shadow 1s ease;
  isolation: isolate;
}
.rdg-remote::before {
  content: '';
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 2px solid rgba(212, 182, 117, .62);
  border-radius: inherit;
  pointer-events: none;
  animation: rdg-remote-halo 2.8s ease-out infinite;
}
@keyframes rdg-remote-halo {
  0% { transform: scale(.98); opacity: .75; box-shadow: 0 0 0 0 rgba(212, 182, 117, .3); }
  70% { transform: scale(1.09, 1.035); opacity: 0; box-shadow: 0 0 0 9px rgba(212, 182, 117, 0); }
  100% { transform: scale(1.09, 1.035); opacity: 0; }
}
.rdg-remote__actions {
  display: grid;
  grid-template-rows: repeat(3, 50px);
  gap: 8px;
  max-height: 166px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 1s ease, opacity .6s ease;
}
.rdg-remote[data-state="expanded"] .rdg-remote__actions {
  overflow: visible;
}
.rdg-remote__action,
.rdg-remote__brand {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(212, 182, 117, .68);
  border-radius: 50%;
  color: var(--rdg-remote-navy);
  background: var(--rdg-remote-surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  cursor: pointer;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, opacity .5s ease;
}
.rdg-remote__action:nth-child(1) { transition-delay: .18s; }
.rdg-remote__action:nth-child(2) { transition-delay: .1s; }
.rdg-remote__action:nth-child(3) { transition-delay: .02s; }
.rdg-remote__action:hover,
.rdg-remote__action:focus-visible {
  color: var(--rdg-remote-surface);
  border-color: var(--rdg-remote-gold);
  background: var(--rdg-remote-gold);
  transform: scale(1.06);
  outline: 3px solid rgba(255, 255, 255, .88);
  outline-offset: 2px;
}
.rdg-remote__action svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.rdg-remote__brand {
  width: 56px;
  height: 56px;
  border-color: var(--rdg-remote-gold);
  background: #fff;
}
.rdg-remote__brand:hover,
.rdg-remote__brand:focus-visible {
  transform: scale(1.04);
  outline: 3px solid rgba(212, 182, 117, .45);
  outline-offset: 2px;
}
.rdg-remote__brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 50%;
}
.rdg-remote[data-state="collapsing"] .rdg-remote__actions,
.rdg-remote[data-state="collapsed"] .rdg-remote__actions {
  grid-template-rows: repeat(3, 0);
  gap: 0;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.rdg-remote[data-state="collapsing"] .rdg-remote__action,
.rdg-remote[data-state="collapsed"] .rdg-remote__action {
  height: 0;
  opacity: 0;
  transform: translateY(18px) scale(.72);
}
.rdg-remote[data-state="collapsing"],
.rdg-remote[data-state="collapsed"] {
  width: 72px;
  height: 72px;
  gap: 0;
  padding: 7px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(11, 32, 64, .24);
}
@media (max-width: 600px) {
  .rdg-remote { right: 12px; bottom: 12px; }
  .rdg-remote__action { width: 46px; height: 46px; }
  .rdg-remote__brand { width: 52px; height: 52px; }
  .rdg-remote__brand img { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .rdg-remote,
  .rdg-remote__actions,
  .rdg-remote__action,
  .rdg-remote__brand { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rdg-remote::before { animation: none; }
}
