/*! pedromujica core 1.14.0 · pm-ambient.css */
/* PMAmbient speaker button: the same circle as the theme button, in the bottom-left corner (Pedro). Site tokens:
   --pma-bottom / --pma-left (corner offset), --pma-ink (icon), --pma-rule (ring), --pma-accent (on),
   --pma-bg (fill of the button in a column, over the figure), --pma-size (button, 34px), --pma-ring (ring width, 1px),
   --pma-icon (icon, 17px), --pma-vol-w (slider width, 64px). */
.pma-btn {
  position: fixed; bottom: var(--pma-bottom, 18px); left: var(--pma-left, 18px); z-index: 60;
  display: inline-flex; align-items: center; justify-content: center; width: var(--pma-size, 34px); height: var(--pma-size, 34px); padding: 0;
  border: var(--pma-ring, 1px) solid var(--pma-rule, rgba(127, 127, 127, .4)); border-radius: 50%; background: transparent;
  color: var(--pma-ink, currentColor); cursor: pointer; transition: border-color .2s, color .2s;
}
.pma-btn svg { width: var(--pma-icon, 17px); height: var(--pma-icon, 17px); display: block; }
.pma-btn:hover, .pma-btn:focus-visible { border-color: var(--pma-ink, currentColor); outline: none; }
.pma-btn.is-on { color: var(--pma-accent, #e83636); border-color: var(--pma-accent, #e83636); }

/* Options slider / under (1.13.0) / beside (1.14.0): speaker and volume in a column, under the restart button (as on
   the web home) or in the corner, or in a row beside it (the splash). Hidden until it has its place. */
.pma-sound { display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 43; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.pma-sound.is-shown { opacity: 1; pointer-events: auto; }
.pma-sound.is-under { position: absolute; left: 0; top: 0; transform: translateX(-50%); }
.pma-sound.is-beside { position: absolute; left: 0; top: 0; transform: translateY(-50%); flex-direction: row; }
.pma-sound.is-corner { position: fixed; left: var(--pma-left, 18px); bottom: var(--pma-bottom, 18px); z-index: 60; }
.pma-sound .pma-btn { position: static; background: var(--pma-bg, transparent); }
.pma-vol { -webkit-appearance: none; appearance: none; width: var(--pma-vol-w, 64px); height: 20px; margin: 0; background: transparent; cursor: pointer; }
.pma-vol::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--pma-accent, #e83636) var(--pma-vol, 34%), var(--pma-rule, rgba(127, 127, 127, .4)) var(--pma-vol, 34%)); }
.pma-vol::-moz-range-track { height: 2px; background: var(--pma-rule, rgba(127, 127, 127, .4)); }
.pma-vol::-moz-range-progress { height: 2px; background: var(--pma-accent, #e83636); }
.pma-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: var(--pma-ink, currentColor); border: 0; }
.pma-vol::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--pma-ink, currentColor); border: 0; }
.pma-vol:focus-visible { outline: 1px solid var(--pma-accent, #e83636); outline-offset: 3px; }
@media (max-width: 899px) { .pma-vol { width: var(--pma-vol-w, 56px); } }
