.letter-grid {
    position: relative;
}

.letter {
    position: relative;
}

.letter-text {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.word-search-highlights {
    position: absolute;
    z-index: 1;
    display: block;
    overflow: visible;
    pointer-events: none;
}

.word-search-outline {
    fill: none;
    stroke: #d62828;
    stroke-width: 3;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.letter.found {
    color: var(--color-ink) !important;
    background: #fffdf8 !important;
}

.letter.found:nth-child(odd) {
    background: #fffbf3 !important;
}

@media print {
    .word-search-outline {
        stroke: #d62828 !important;
        stroke-width: 2.5;
    }
}
