.ng-click-accent {
  position: fixed;
  z-index: 14990;
  box-sizing: border-box;
  display: block;
  pointer-events: none;
  background: radial-gradient(
    ellipse farthest-corner at var(--ng-click-x, 50%) var(--ng-click-y, 50%),
    rgb(250 222 168 / .32), rgb(164 128 241 / .23) 31%, transparent 83%
  );
  box-shadow: inset 0 0 0 1px rgb(204 177 255 / .66), inset 0 0 16px rgb(168 130 248 / .25);
}

.ng-click-accent--static {
  background: none;
  box-shadow: inset 0 0 0 2px #be9ff3;
}

.ng-click-sound-toggle {
  position: fixed;
  z-index: var(--ng-layer-float, 80);
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  min-block-size: 44px;
  min-inline-size: 44px;
  padding: 0 11px;
  border: 1px solid #ab92d9;
  border-radius: 13px;
  color: #eee4ff;
  background: #2d2350;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .09);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body:has(.ng-bottom-nav) > .ng-click-sound-toggle {
  bottom: calc(var(--ng-shell-nav-height, 78px) + var(--ng-click-dock-gap, 14px) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 900px) {
  .ng-click-sound-toggle { --ng-click-dock-gap: 30px; }
}

:fullscreen .ng-click-sound-toggle,
body:is(.ng-fullscreen-experience, .gh-player-open, .trial-game-open, .collector-detail-open) > .ng-click-sound-toggle {
  display: none;
}

.ng-click-sound-toggle[aria-pressed="true"] {
  border-color: #e9bf76;
  color: #ffdda2;
  background: #42324e;
}

.ng-click-sound-toggle:focus-visible {
  outline: 2px solid #d4b8ff;
  outline-offset: 2px;
}

.ng-click-sound-icon {
  position: relative;
  flex: 0 0 17px;
  inline-size: 17px;
  block-size: 17px;
  color: currentColor;
}

.ng-click-sound-icon::before,
.ng-click-sound-icon::after {
  position: absolute;
  content: '';
}

.ng-click-sound-icon::before {
  inset: 0 4px 0 0;
  background: currentColor;
  clip-path: polygon(0 33%, 29% 33%, 71% 7%, 71% 93%, 29% 67%, 0 67%);
}

.ng-click-sound-icon::after {
  inset: 9px -1px auto 8px;
  border-block-start: 1.5px solid currentColor;
  transform: rotate(-47deg);
}

.ng-click-sound-toggle[aria-pressed="true"] .ng-click-sound-icon::after {
  inset: 2px 0 2px 5px;
  border: 0;
  border-inline-end: 1.5px solid currentColor;
  border-radius: 50%;
  transform: none;
}

@media (hover: hover) {
  .ng-click-sound-toggle:hover { background: #453666; }
}

@media (max-width: 360px) {
  .ng-click-sound-toggle { padding-inline: 8px; }
  .ng-click-sound-label { display: none; }
}

@media (forced-colors: active) {
  .ng-click-accent {
    outline: 1px solid Highlight;
    outline-offset: -2px;
  }
  .ng-click-sound-icon::before { forced-color-adjust: none; color: ButtonText; }
}
