.site-ambience-toggle {
  position: fixed;
  z-index: 84;
  inset-inline-end: max(.85rem, env(safe-area-inset-right));
  inset-block-start: calc(4.55rem + env(safe-area-inset-top, 0px));
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #4d7085;
  border-radius: 50%;
  background: #102230;
  color: #d2eff7;
  appearance: none;
  cursor: pointer;
}
.site-ambience-toggle:hover, .site-ambience-toggle[aria-pressed="true"] {
  color: #eafaff;
  background: #244759;
  border-color: #77dcf3;
}
.site-ambience-toggle:focus-visible { outline: 2px solid #a1eeff; outline-offset: 3px }
.site-ambience-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.site-ambience-toggle[aria-pressed="false"] .ambience-waves,
.site-ambience-toggle[aria-pressed="true"] .ambience-muted,
.site-ambience-toggle[hidden],
body:has(.pt-about-diary .journey[data-diary-active]:not([hidden])) .site-ambience-toggle { display: none }
