/* N6c: bursts, chest, sound toggle. Plain CSS; colours fall back to the brand palette. */
.fxb-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden;
}
.fxb-p { position: absolute; left: 0; top: 0; will-change: transform, opacity; opacity: 0; }

.fxb-chest { display: block; width: min(100%, 220px); margin-inline: auto; transform-origin: 50% 90%; }
.fxb-chest-svg { display: block; overflow: visible; }
.fxb-lid { transform-box: view-box; transform-origin: 80px 62px; }

.fxb-sound {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; min-width: 56px; padding: 0 18px 0 14px;
  font: 600 18px/1 var(--font-kid, 'Andika', system-ui, sans-serif);
  color: var(--accent-ink, #075a75);
  background: var(--panel, #fff);
  border: 2px solid var(--accent, #0a7aa0);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--accent, #0a7aa0);
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out;
}
.fxb-sound:active { transform: translateY(3px) scale(.98, .95); box-shadow: 0 1px 0 var(--accent, #0a7aa0); }
.fxb-sound:focus-visible { outline: 3px solid var(--accent-ink, #075a75); outline-offset: 3px; }
.fxb-sound[aria-pressed="false"] { color: var(--dim, #4a5d6b); border-color: var(--box-line, #757f87); box-shadow: 0 4px 0 var(--box-line, #757f87); }
.fxb-sound[aria-pressed="true"] .fxb-slash { display: none; }
.fxb-sound[aria-pressed="false"] .fxb-waves { display: none; }
@media (prefers-reduced-motion: reduce) {
  .fxb-sound { transition: none; }
}
