/* The visible disc is smaller than its 44px touch target. */
button.motion-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #253e49;
    cursor: pointer;
    vertical-align: middle;
}
button.motion-toggle::before {
    content: "";
    grid-area: 1 / 1;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border: 1px solid #9badb3;
    border-radius: 50%;
    background: #f4f8f8;
}
button.motion-toggle::after {
    content: "";
    position: relative;
    grid-area: 1 / 1;
    box-sizing: border-box;
    pointer-events: none;
}
button.motion-toggle[data-playback-icon="pause"]::after {
    width: 11px;
    height: 12px;
    border-inline: 3.5px solid currentColor;
    border-radius: 1px;
}
button.motion-toggle[data-playback-icon="play"]::after {
    width: 12px;
    height: 14px;
    margin-inline-start: 2px;
    background: currentColor;
    clip-path: polygon(8% 4%, 99% 50%, 8% 96%);
}
@media (hover: hover) {
    button.motion-toggle:hover::before { background: #deeaec; border-color: #687f88; }
}
button.motion-toggle:focus-visible { outline: 2px solid #b64620; outline-offset: -1px; }
button.motion-toggle[hidden], .motion-toggle [hidden] { display: none; }
.motion-toggle .motion-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (forced-colors: active) {
    button.motion-toggle { color: ButtonText; }
    button.motion-toggle::before { background: ButtonFace; border-color: ButtonText; }
    button.motion-toggle[data-playback-icon="play"]::after { background: ButtonText; forced-color-adjust: none; }
    button.motion-toggle:focus-visible { outline-color: Highlight; }
}
