/* Hide the audio element */
#britz {
    display: none;
}

/* Floating play/pause button */
#pauseplay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 20px;
    bottom: 90px;
    z-index: 8;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}

#pauseplay:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: scale(1.12);
}

#pauseplay:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

#pauseplay svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

/* Shared icon styles */
#pauseplay .icon-play,
#pauseplay .icon-pause {
    fill: #ffffff;
    transform-origin: 12px 12px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Default state: show play icon */
#pauseplay .icon-play {
    opacity: 1;
    transform: scale(1);
}

#pauseplay .icon-pause {
    opacity: 0;
    transform: scale(0.6);
}

/* Playing state: show pause icon */
#pauseplay.is-playing .icon-play {
    opacity: 0;
    transform: scale(0.6);
}

#pauseplay.is-playing .icon-pause {
    opacity: 1;
    transform: scale(1);
}
