/* Form & Function: original expressive glass and soft-depth actions. */
.fxa-stage {
  --fxa-ink: var(--cc-ink, #1d1d1f);
  --fxa-accent: var(--cc-accent, #0066cc);
  --fxa-ease: var(--cc-ease, cubic-bezier(0.2, 0.8, 0.2, 1));
  width: 100%;
  min-height: 240px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 25px;
  color: var(--fxa-ink);
  font: 14px/1.4
    var(--cc-font, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  background: var(
    --cc-stage,
    linear-gradient(135deg, #f7f9fb 0%, #e4e8ee 58%, #dce7f1 100%)
  );
}
.fxa-stage * {
  box-sizing: border-box;
}
.fxa-stage button {
  font: inherit;
  cursor: pointer;
}
.fxa-stage button:focus-visible {
  outline: 3px solid var(--cc-accent, #0066cc);
  outline-offset: 5px;
}
.fxa-stage:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 155px;
  height: 155px;
  right: -38px;
  top: -55px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffffc4, #d3e8fa33);
  filter: blur(12px);
  transform: translate3d(0, 0, 0) scale(0.85);
  opacity: 0.55;
  transition:
    transform 0.8s var(--fxa-ease),
    opacity 0.6s ease;
}
.fxa-stage:not(.fxa-night):is(:hover, :focus-within):before {
  transform: translate3d(-28px, 20px, 0) scale(1.15);
  opacity: 1;
}
.fxa-status {
  font-size: 12px;
  font-weight: 650;
  color: var(--cc-muted, #55555d);
  text-align: center;
}
.fxa-stage.fxa-night {
  background: radial-gradient(
    ellipse at 50% 0,
    #30465f,
    var(--cc-night, #142235) 78%
  );
  color: #f5f6ff;
}
.fxa-stage.fxa-night:before {
  background: #ffffff5c;
  filter: blur(3px);
  transform: none;
  opacity: 1;
}
.fxa-night .fxa-status {
  color: var(--cc-night-muted, #bfd0e1);
}
.fxa-orbit {
  position: relative;
  width: 180px;
  height: 135px;
  background: none;
  border: 0;
  color: var(--cc-accent, #0066cc);
}
.fxa-orbit-ring {
  position: absolute;
  left: 14px;
  top: 24px;
  width: 150px;
  height: 78px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 50%;
  transform: rotate(-22deg);
  box-shadow: 0 4px 15px
    color-mix(in srgb, var(--cc-shadow-ink, #263449) 8%, transparent);
}
.fxa-orbit-dot {
  position: absolute;
  z-index: 2;
  left: 29px;
  top: 31px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 15px
    color-mix(in srgb, var(--cc-accent-light, #79b5ee) 100%, transparent);
  transition: transform 0.6s var(--fxa-ease);
}
.fxa-orbit-core {
  position: absolute;
  left: 62px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  color: var(--cc-on-accent, #fff);
  font-size: 26px;
  background: linear-gradient(
    145deg,
    var(--cc-accent, #0066cc),
    var(--cc-accent-strong, #0056ad)
  );
  box-shadow:
    9px 10px 20px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 20%, transparent),
    -6px -6px 18px var(--cc-glass-edge, #ffffffd9),
    inset 1px 1px 0 #fff9;
  transition: transform 0.45s var(--fxa-ease);
}
.fxa-orbit-label {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  font-weight: 750;
  letter-spacing: 0.05em;
  font-size: 12px;
}
.fxa-orbit:hover .fxa-orbit-core,
.fxa-orbit:focus-visible .fxa-orbit-core {
  transform: rotate(18deg) translateY(-4px);
}
.fxa-orbit:hover .fxa-orbit-dot,
.fxa-orbit:focus-visible .fxa-orbit-dot {
  transform: translate(116px, 40px);
}
.fxa-orbit.fxa-running .fxa-orbit-core {
  animation: fxa-launch 0.7s var(--fxa-ease);
}
.fxa-liquid {
  position: relative;
  overflow: hidden;
  min-width: 215px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 999px;
  padding: 16px 18px;
  color: var(--cc-ink, #1d1d1f);
  background: var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  box-shadow:
    9px 12px 24px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 24%, transparent),
    -7px -7px 18px var(--cc-glass-edge, #ffffffd9),
    inset 0 1px 0 var(--cc-glass-edge, #ffffffd9);
}
.fxa-liquid-fill {
  position: absolute;
  left: -10%;
  bottom: -120%;
  width: 120%;
  height: 160%;
  background: linear-gradient(
    140deg,
    var(--cc-accent-soft, #e4effa),
    color-mix(
      in srgb,
      var(--cc-accent, #0066cc) 18%,
      var(--cc-surface, #f8f9fb)
    )
  );
  border-radius: 42%;
  transition: transform 0.65s var(--fxa-ease);
}
.fxa-liquid:hover .fxa-liquid-fill,
.fxa-liquid:focus-visible .fxa-liquid-fill {
  transform: translateY(-45%) rotate(8deg);
}
.fxa-liquid-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-weight: 750;
}
.fxa-liquid-content b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cc-glass-fill, #f8f9fbe0);
  font-size: 17px;
}
.fxa-pass {
  width: 225px;
  height: 110px;
  position: relative;
  perspective: 800px;
  border: 0;
  background: none;
  padding: 0;
}
.fxa-pass-face,
.fxa-pass-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  padding: 18px 22px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 18px;
  background: var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  box-shadow:
    10px 14px 26px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 24%, transparent),
    -6px -6px 16px #fff9;
  backface-visibility: hidden;
  transition: transform 0.65s var(--fxa-ease);
  color: var(--cc-ink, #1d1d1f);
  text-align: left;
}
.fxa-pass-face strong,
.fxa-pass-back strong {
  font-size: 18px;
  line-height: 1.3;
}
.fxa-pass-face > span,
.fxa-pass-back > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 23px;
}
.fxa-pass-back {
  transform: rotateY(-180deg);
  background: linear-gradient(
    135deg,
    var(--cc-surface, #f8f9fb),
    var(--cc-accent-soft, #e4effa)
  );
}
.fxa-pass[aria-pressed="true"] .fxa-pass-face {
  transform: rotateY(180deg);
}
.fxa-pass[aria-pressed="true"] .fxa-pass-back {
  transform: rotateY(0);
}
.fxa-prism {
  position: relative;
  border: 1px solid #bfd6ed8c;
  border-radius: 18px;
  padding: 16px 25px;
  background: #ffffff1f;
  color: white;
  font-weight: 750;
  box-shadow:
    inset 0 1px 0 #fff8,
    0 0 0 1px #fff2,
    0 10px 30px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 20%, transparent);
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px));
  backdrop-filter: blur(var(--cc-frost, 15px));
  transition:
    transform 0.4s var(--fxa-ease),
    box-shadow 0.4s;
}
.fxa-prism span {
  font-size: 20px;
  margin-right: 8px;
}
.fxa-prism:hover,
.fxa-prism:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 #fff9,
    0 0 0 2px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 48%, transparent),
    0 0 28px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 60%, transparent);
}
.fxa-prism.fxa-running {
  animation: fxa-pulse 0.6s ease;
}
.fxa-bookmark {
  width: 235px;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 18px;
  background:
    linear-gradient(
      115deg,
      transparent 30%,
      var(--cc-glass-edge, #ffffffd9) 48%,
      transparent 68%
    ),
    var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  background-size:
    220% 100%,
    100% 100%;
  background-position:
    100% 0,
    0 0;
  padding: 14px;
  color: var(--cc-ink, #1d1d1f);
  text-align: left;
  box-shadow:
    9px 9px 20px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 14%, transparent),
    -7px -7px 18px var(--cc-glass-edge, #ffffffd9);
  transition:
    transform 0.35s var(--fxa-ease),
    background-position 0.7s var(--fxa-ease),
    box-shadow 0.4s;
}
.fxa-bookmark:is(:hover, :focus-visible) {
  transform: translateY(-4px);
  background-position:
    0 0,
    0 0;
  box-shadow:
    0 16px 27px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 17%, transparent),
    0 0 20px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 20%, transparent),
    inset 0 1px 0 var(--cc-glass-edge, #ffffffd9);
}
.fxa-bookmark:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    inset 3px 4px 8px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 13%, transparent),
    inset -3px -3px 8px var(--cc-glass-edge, #ffffffd9);
}
.fxa-ribbon {
  width: 38px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    145deg,
    var(--cc-accent, #0066cc),
    var(--cc-accent-strong, #0056ad)
  );
  color: var(--cc-on-accent, #fff);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  transition: transform 0.4s var(--fxa-ease);
}
.fxa-bookmark[aria-pressed="true"] .fxa-ribbon {
  transform: rotate(-12deg) scale(1.1);
}
.fxa-bookmark-copy {
  display: grid;
  gap: 3px;
  flex: 1;
}
.fxa-bookmark-copy small {
  font-size: 11px;
  color: var(--cc-muted, #55555d);
}
.fxa-bookmark-mark {
  opacity: 0;
  color: var(--cc-accent, #0066cc);
  transform: scale(0.5);
  transition: 0.35s;
}
.fxa-bookmark[aria-pressed="true"] .fxa-bookmark-mark {
  opacity: 1;
  transform: scale(1);
}
.fxa-sky-switch {
  width: 150px;
  height: 67px;
  position: relative;
  overflow: hidden;
  border: 5px solid #e7ecf7;
  border-radius: 80px;
  background: linear-gradient(#b2daf1, #d6f1f5);
  box-shadow:
    inset 5px 6px 12px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 16%, transparent),
    4px 5px 12px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 27%, transparent),
    -4px -4px 12px var(--cc-glass-edge, #ffffffd9);
  transition: background 0.5s;
}
.fxa-sky-switch[aria-pressed="true"] {
  background: linear-gradient(#353864, #6974a6);
}
.fxa-celestial {
  position: absolute;
  top: 9px;
  left: 11px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffedb4;
  box-shadow: 0 0 15px #fff6;
  transition:
    transform 0.55s var(--fxa-ease),
    background 0.4s;
}
.fxa-sky-switch[aria-pressed="true"] .fxa-celestial {
  transform: translateX(76px);
  background: #e7e6ff;
}
.fxa-hill {
  position: absolute;
  width: 140px;
  height: 32px;
  left: 4px;
  bottom: -22px;
  background: #83b7c6;
  border-radius: 50%;
  transition: background 0.5s;
}
.fxa-sky-switch[aria-pressed="true"] .fxa-hill {
  background: #4b5683;
}
.fxa-stars {
  position: absolute;
  left: 20px;
  top: 7px;
  opacity: 0;
  color: #fff;
  font-size: 11px;
  letter-spacing: 5px;
  transition: opacity 0.4s;
}
.fxa-sky-switch[aria-pressed="true"] .fxa-stars {
  opacity: 1;
}
.fxa-heart {
  width: 75px;
  height: 75px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 25px;
  background: var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  color: var(--cc-muted, #55555d);
  box-shadow:
    8px 10px 20px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 20%, transparent),
    -6px -6px 15px var(--cc-glass-edge, #ffffffd9);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.fxa-heart:is(:hover, :focus-visible) {
  transform: translateY(-4px);
  box-shadow:
    0 13px 23px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 24%, transparent),
    0 0 22px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 20%, transparent),
    inset 0 1px 0 var(--cc-glass-edge, #ffffffd9);
}
.fxa-heart:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    inset 3px 4px 8px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 20%, transparent),
    inset -3px -3px 8px var(--cc-glass-edge, #ffffffd9);
}
.fxa-heart-shape {
  font-size: 36px;
  line-height: 1;
  transition:
    color 0.3s,
    transform 0.4s;
}
.fxa-heart[aria-pressed="true"] .fxa-heart-shape {
  color: var(--cc-danger, #b63645);
  transform: scale(1.1);
}
.fxa-heart i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--cc-danger, #b63645);
  border-radius: 50%;
  opacity: 0;
}
.fxa-heart i:nth-of-type(1) {
  top: 1px;
  left: 11px;
}
.fxa-heart i:nth-of-type(2) {
  top: 2px;
  right: 10px;
}
.fxa-heart i:nth-of-type(3) {
  bottom: 4px;
  left: 8px;
}
.fxa-heart i:nth-of-type(4) {
  bottom: 4px;
  right: 8px;
}
.fxa-heart.fxa-running i {
  animation: fxa-spark 0.65s ease-out;
}
.fxa-confirm {
  width: 228px;
  height: 55px;
  position: relative;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 999px;
  background: var(--cc-surface, #f8f9fb);
  box-shadow:
    inset 5px 5px 11px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 22%, transparent),
    inset -5px -5px 11px var(--cc-glass-edge, #ffffffd9);
  color: var(--cc-ink, #1d1d1f);
}
.fxa-confirm-knob {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  box-shadow:
    4px 4px 9px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 27%, transparent),
    -3px -3px 9px var(--cc-glass-edge, #ffffffd9);
  color: var(--cc-accent, #0066cc);
  transition: transform 0.5s var(--fxa-ease);
}
.fxa-confirm-label {
  position: absolute;
  left: 54px;
  right: 12px;
  top: 17px;
  font-weight: 750;
  transition: transform 0.5s var(--fxa-ease);
}
.fxa-confirm[aria-pressed="true"] .fxa-confirm-knob {
  transform: translateX(173px);
  background: var(--cc-accent, #0066cc);
  color: var(--cc-on-accent, #fff);
}
.fxa-confirm[aria-pressed="true"] .fxa-confirm-label {
  transform: translateX(-26px);
}
.fxa-music {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 260px;
  padding: 13px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 20px;
  background: #ffffff20;
  box-shadow:
    0 12px 28px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 29%, transparent),
    inset 1px 1px 0 var(--cc-glass-edge, #ffffffd9);
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px));
  backdrop-filter: blur(var(--cc-frost, 15px));
}
.fxa-album {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffb6b9, #928cf4);
  font-size: 26px;
}
.fxa-music b,
.fxa-music small {
  display: block;
  white-space: nowrap;
}
.fxa-music b {
  font-size: 12px;
}
.fxa-music small {
  font-size: 10px;
  color: var(--cc-night-muted, #bfd0e1);
}
.fxa-music-progress {
  display: block;
  width: 85px;
  height: 4px;
  border-radius: 8px;
  background: #ffffff40;
  margin-top: 8px;
}
.fxa-music-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--cc-accent-light, #79b5ee);
}
.fxa-play {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cc-accent-soft, #e4effa);
  color: var(--cc-accent, #0066cc);
}
.fxa-play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
  margin-left: 3px;
}
.fxa-play[aria-pressed="true"] .fxa-play-icon {
  width: 10px;
  height: 12px;
  border: 0;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  margin: 0;
}
.fxa-ripple {
  position: relative;
  width: 70px;
  height: 70px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 24px;
  background: var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  box-shadow:
    8px 8px 18px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 31%, transparent),
    -6px -6px 16px var(--cc-glass-edge, #ffffffd9);
  color: var(--cc-accent, #0066cc);
}
.fxa-ripple-icon {
  font-size: 33px;
}
.fxa-ripple-ring {
  position: absolute;
  inset: -2px;
  border: 1px solid var(--cc-accent-light, #79b5ee);
  border-radius: 24px;
  opacity: 0;
  pointer-events: none;
}
.fxa-ripple.fxa-running .fxa-ripple-ring {
  animation: fxa-ripple 0.8s ease-out;
}
.fxa-ripple.fxa-running .fxa-ripple-ring.second {
  animation-delay: 0.12s;
}
.fxa-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 24px;
  color: var(--cc-accent, #0066cc);
  background: var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  box-shadow:
    8px 10px 20px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 20%, transparent),
    -6px -6px 16px var(--cc-glass-edge, #ffffffd9);
  transition:
    box-shadow 0.35s,
    translate 0.3s;
}
.fxa-bell:is(:hover, :focus-visible) {
  translate: 0 -3px;
  box-shadow:
    0 13px 23px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 24%, transparent),
    0 0 18px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 20%, transparent),
    inset 0 1px 0 var(--cc-glass-edge, #ffffffd9);
}
.fxa-bell:active {
  translate: 0 1px;
  box-shadow:
    inset 3px 4px 8px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 13%, transparent),
    inset -3px -3px 8px var(--cc-glass-edge, #ffffffd9);
}
.fxa-bell svg {
  width: 30px;
  height: 30px;
  transform-origin: 50% 10%;
}
.fxa-bell:hover svg,
.fxa-bell.fxa-running svg {
  animation: fxa-ring 0.7s ease;
}
.fxa-bell > span {
  position: absolute;
  right: 19px;
  top: 16px;
  width: 9px;
  height: 9px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--cc-danger, #b63645);
}
.fxa-stepper {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 10px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 20px;
  background: var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  box-shadow:
    8px 11px 20px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 17%, transparent),
    -7px -7px 16px var(--cc-glass-edge, #ffffffd9);
}
.fxa-stepper button {
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 13px;
  background: var(--cc-surface, #f8f9fb);
  color: var(--cc-accent, #0066cc);
  box-shadow:
    4px 4px 9px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 17%, transparent),
    -3px -3px 8px var(--cc-glass-edge, #ffffffd9);
  font-size: 20px;
  transition: transform 0.25s;
}
.fxa-stepper button:active {
  transform: scale(0.91);
  box-shadow:
    inset 3px 3px 6px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 17%, transparent),
    inset -3px -3px 6px var(--cc-glass-edge, #ffffffd9);
}
.fxa-stepper output {
  min-width: 22px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--cc-ink, #1d1d1f);
}
.fxa-pop {
  animation: fxa-pop 0.35s var(--fxa-ease);
}
.fxa-send {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 16px;
  padding: 13px 19px;
  background:
    linear-gradient(
      115deg,
      transparent 30%,
      var(--cc-glass-edge, #ffffffd9) 48%,
      transparent 68%
    ),
    var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  background-size:
    220% 100%,
    100% 100%;
  background-position:
    100% 0,
    0 0;
  color: var(--cc-accent, #0066cc);
  font-weight: 750;
  box-shadow:
    8px 8px 18px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 13%, transparent),
    -6px -6px 15px var(--cc-glass-edge, #ffffffd9);
  overflow: hidden;
  transition:
    background-position 0.7s var(--fxa-ease),
    box-shadow 0.35s,
    translate 0.3s;
}
.fxa-send:is(:hover, :focus-visible) {
  background-position:
    0 0,
    0 0;
  translate: 0 -3px;
  box-shadow:
    0 14px 25px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 16%, transparent),
    0 0 18px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 20%, transparent),
    inset 0 1px 0 var(--cc-glass-edge, #ffffffd9);
}
.fxa-send:active {
  translate: 0 1px;
  box-shadow:
    inset 3px 4px 8px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 13%, transparent),
    inset -3px -3px 8px var(--cc-glass-edge, #ffffffd9);
}
.fxa-plane {
  font-size: 19px;
  transition: transform 0.35s;
}
.fxa-send:hover .fxa-plane {
  transform: translate(4px, -4px);
}
.fxa-send.fxa-running .fxa-plane {
  animation: fxa-fly 0.7s ease;
}
.fxa-sound {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 235px;
  padding: 15px;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 18px;
  background: #ffffff1c;
  color: white;
  text-align: left;
  box-shadow:
    0 12px 26px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 30%, transparent),
    inset 1px 1px 0 #fff7;
  -webkit-backdrop-filter: blur(var(--cc-frost, 15px));
  backdrop-filter: blur(var(--cc-frost, 15px));
}
.fxa-sound > b,
.fxa-sound span:nth-child(2) {
  flex: 1;
}
.fxa-sound b,
.fxa-sound small {
  display: block;
}
.fxa-sound b {
  font-size: 13px;
}
.fxa-sound small {
  color: var(--cc-night-muted, #bfd0e1);
  font-size: 11px;
}
.fxa-sound-icon {
  height: 28px;
  display: flex;
  gap: 3px;
  align-items: center;
}
.fxa-sound-icon i {
  width: 3px;
  height: 8px;
  border-radius: 5px;
  background: var(--cc-accent-light, #79b5ee);
}
.fxa-sound[aria-pressed="true"] .fxa-sound-icon i {
  animation: fxa-bars 0.6s ease-in-out infinite alternate;
}
.fxa-sound[aria-pressed="true"] .fxa-sound-icon i:nth-child(2) {
  animation-delay: 0.15s;
}
.fxa-sound[aria-pressed="true"] .fxa-sound-icon i:nth-child(3) {
  animation-delay: 0.3s;
}
.fxa-sound-switch {
  width: 36px;
  height: 21px;
  border-radius: 99px;
  background: #7580a2;
  position: relative;
  transition: background 0.3s;
}
.fxa-sound-switch:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  left: 3px;
  top: 3px;
  transition: transform 0.3s;
}
.fxa-sound[aria-pressed="true"] .fxa-sound-switch {
  background: var(--cc-accent, #0066cc);
}
.fxa-sound[aria-pressed="true"] .fxa-sound-switch:after {
  transform: translateX(15px);
}
.fxa-compass {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--cc-glass-edge, #ffffffd9);
  border-radius: 20px;
  padding: 13px 18px;
  background:
    linear-gradient(
      115deg,
      transparent 30%,
      var(--cc-glass-edge, #ffffffd9) 48%,
      transparent 68%
    ),
    var(--cc-glass, linear-gradient(135deg, #ffffffed, #f2f6fbd9));
  background-size:
    220% 100%,
    100% 100%;
  background-position:
    100% 0,
    0 0;
  color: var(--cc-ink, #1d1d1f);
  text-align: left;
  box-shadow:
    8px 8px 18px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 20%, transparent),
    -6px -6px 15px var(--cc-glass-edge, #ffffffd9);
  transition:
    background-position 0.7s var(--fxa-ease),
    box-shadow 0.35s,
    translate 0.3s;
}
.fxa-compass:is(:hover, :focus-visible) {
  background-position:
    0 0,
    0 0;
  translate: 0 -3px;
  box-shadow:
    0 14px 25px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 24%, transparent),
    0 0 18px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 20%, transparent),
    inset 0 1px 0 var(--cc-glass-edge, #ffffffd9);
}
.fxa-compass:active {
  translate: 0 1px;
  box-shadow:
    inset 3px 4px 8px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 13%, transparent),
    inset -3px -3px 8px var(--cc-glass-edge, #ffffffd9);
}
.fxa-compass-face {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cc-accent-soft, #e4effa);
  box-shadow:
    inset 4px 4px 8px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 23%, transparent),
    inset -4px -4px 8px var(--cc-glass-edge, #ffffffd9);
}
.fxa-compass-face i {
  font-size: 24px;
  font-style: normal;
  transition: transform 0.7s var(--fxa-ease);
}
.fxa-compass:hover .fxa-compass-face i,
.fxa-compass.fxa-running .fxa-compass-face i {
  transform: rotate(135deg);
}
.fxa-compass b,
.fxa-compass small {
  display: block;
}
.fxa-compass small {
  font-size: 11px;
  color: var(--cc-muted, #55555d);
}
.fxa-segment {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--cc-surface, #f8f9fb);
  border-radius: 17px;
  box-shadow:
    inset 4px 4px 9px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 20%, transparent),
    inset -4px -4px 9px var(--cc-glass-edge, #ffffffd9);
}
.fxa-segment button {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  background: transparent;
  color: var(--cc-muted, #55555d);
  font-weight: 700;
  font-size: 12px;
  transition:
    background 0.35s,
    box-shadow 0.35s,
    color 0.35s,
    transform 0.35s;
}
.fxa-segment button[aria-pressed="true"] {
  background: var(--cc-glass-fill, #f8f9fbe0);
  color: var(--cc-accent, #0066cc);
  box-shadow:
    4px 4px 9px
      color-mix(in srgb, var(--cc-shadow-ink, #263449) 19%, transparent),
    -3px -3px 8px var(--cc-glass-edge, #ffffffd9);
  transform: translateY(-1px);
}
html:is([data-motion="paused"], [data-ff-motion="off"]) .fxa-stage,
html:is([data-motion="paused"], [data-ff-motion="off"]) .fxa-stage::before,
html:is([data-motion="paused"], [data-ff-motion="off"]) .fxa-stage *,
html:is([data-motion="paused"], [data-ff-motion="off"]) .fxa-stage *::before,
html:is([data-motion="paused"], [data-ff-motion="off"]) .fxa-stage *::after {
  animation: none !important;
  transition: none !important;
}
@keyframes fxa-launch {
  50% {
    transform: translateY(-14px) rotate(25deg) scale(1.12);
  }
}
@keyframes fxa-pulse {
  50% {
    transform: scale(0.96);
    box-shadow: 0 0 35px
      color-mix(in srgb, var(--cc-accent-light, #79b5ee) 100%, transparent);
  }
}
@keyframes fxa-spark {
  0% {
    opacity: 1;
    transform: scale(0.4);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-22px) scale(1.4);
  }
}
@keyframes fxa-ripple {
  from {
    opacity: 0.7;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.8);
  }
}
@keyframes fxa-ring {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(20deg);
  }
  75% {
    transform: rotate(-20deg);
  }
}
@keyframes fxa-pop {
  50% {
    transform: scale(1.25);
  }
}
@keyframes fxa-fly {
  45% {
    transform: translate(40px, -32px);
    opacity: 0;
  }
  46% {
    transform: translate(-28px, 24px);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes fxa-bars {
  to {
    height: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fxa-stage:before {
    transition: none !important;
    transform: none !important;
  }
  .fxa-stage :is(.fxa-bell, .fxa-send, .fxa-compass) {
    translate: none !important;
  }
  .fxa-stage *,
  .fxa-stage *:before,
  .fxa-stage *:after {
    animation: none !important;
    transition: none !important;
  }
  .fxa-orbit:hover .fxa-orbit-core,
  .fxa-orbit:focus-visible .fxa-orbit-core,
  .fxa-orbit:hover .fxa-orbit-dot,
  .fxa-orbit:focus-visible .fxa-orbit-dot,
  .fxa-prism:hover,
  .fxa-bookmark:is(:hover, :focus-visible, :active),
  .fxa-heart:is(:hover, :focus-visible, :active),
  .fxa-compass:hover .fxa-compass-face i {
    transform: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .fxa-music,
  .fxa-sound,
  .fxa-prism {
    background: var(--cc-night, #142235);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .fxa-liquid,
  .fxa-bookmark,
  .fxa-send,
  .fxa-compass {
    background: var(--cc-surface, #f8f9fb);
  }
}
