.paiwan-voice-media {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .4rem .65rem;
    margin: .45rem 0;
    font-size: .85rem;
    color: #60462f;
}

.paiwan-voice-media[hidden] { display: none; }

.paiwan-voice-play {
    border: 1px solid #80654a;
    border-radius: .55rem;
    padding: .35rem .65rem;
    background: #fff7e7;
    color: #45321e;
    cursor: pointer;
    font: inherit;
}

.paiwan-voice-play:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.paiwan-voice-play:disabled {
    opacity: .5;
    cursor: default;
}

.paiwan-voice-feedback {
    margin: .35rem 0;
    color: #513b25;
    font-size: .95rem;
    overflow-wrap: anywhere;
}

.paiwan-voice-feedback:empty { display: none; }

button.paiwan-voice-recording {
    background: #983231 !important;
    color: #fff !important;
}

#card-audio-status:not(:empty) {
    position: fixed;
    z-index: 200;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 2rem);
    box-sizing: border-box;
    padding: .6rem .9rem;
    border: 1px solid #80654a;
    border-radius: .6rem;
    background: #fff7e7;
    text-align: center;
}

.paiwan-map-link {
    position: fixed;
    top: max(8px, env(safe-area-inset-top));
    left: max(8px, env(safe-area-inset-left));
    z-index: 300;
    padding: .45em .75em;
    border-radius: .6em;
    background: #fff9e8;
    color: #463323;
    font-weight: 700;
}
