#wrrt-words-layer {
    position: fixed;
    z-index: 40;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    text-shadow:
        0 2px 5px #000,
        0 0 12px rgba(0,0,0,.8);
}

#wrrt-words-layer[hidden],
#wrrt-words-toggle[hidden] {
    display: none !important;
}

#wrrt-words-text {
    display: inline-block;
    line-height: 1.05;
}

#wrrt-words-toggle {
    appearance: none;
    border: 0;
    border-radius: 4px;
    padding: 5px 7px;
    margin: 0 5px;
    background: #facc15;
    color: #111;
    font: bold 10px Arial, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
    flex-shrink: 0;
}

#wrrt-words-toggle[aria-pressed="false"] {
    background: #555;
    color: #ddd;
}

@media (prefers-reduced-motion: reduce) {
    #wrrt-words-text {
        transform: none !important;
    }
}
