.cr-scrabble-word-finder input {
    text-transform: uppercase;
}

.cr-scrabble-word-finder input#length::-webkit-outer-spin-button,
.cr-scrabble-word-finder input#length::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cr-scrabble-word-finder input#length {
    -moz-appearance: textfield;
}

.cr-scrabble-word-finder .scrabble-results .scrabble-word {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cr-scrabble-word-finder .scrabble-results .scrabble-tile {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--Secondary-Color);
    border-radius: 4px;
    text-align: center;
}

.cr-scrabble-word-finder .scrabble-results .scrabble-tile .letter {
    line-height: 48px;
    font-size: 1.25rem;
    font-weight: bold;
}

.cr-scrabble-word-finder .scrabble-results .scrabble-tile .score {
    position: absolute;
    top: 1px;
    right: 5px;
    font-size: .7rem;
}

.cr-scrabble-word-finder .scrabble-results .no-results .icon {
    font-size: 32px;
    opacity: 0.7;
}

.cr-scrabble-word-finder .scrabble-results .word-group {
    margin-bottom: 20px;
}

.cr-scrabble-word-finder .scrabble-results .word-group h4 {
    color: #000;
    margin-bottom: 15px;
}

.cr-scrabble-word-finder .scrabble-results .word-item {
    display: inline-block;
    background-color: #eef3f4;
    color: #064d4d;
    padding: 6px 12px;
    margin: 4px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #d7e6e6;
    transition: all 0.2s ease;
}

.cr-scrabble-word-finder .scrabble-results .word-item:hover {
    background-color: #e3eff0;
    border-color: #c9dede;
    transform: translateY(-1px);
}

.cr-scrabble-word-finder .scrabble-results .word-item sup {
    font-size: 0.7rem;
    color: #064d4d;
    margin-left: 3px;
    opacity: 0.7;
}

.cr-scrabble-word-finder .scrabble-results .load-more {
    text-align: center;
    margin-top: 15px;
}

.cr-scrabble-word-finder .scrabble-results .load-more-btn {
    color: #fff;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.cr-scrabble-word-finder .scrabble-results .load-more-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cr-scrabble-word-finder .scrabble-modal .modal-header {
    background-color: var(--Secondary-Color);
    color: #fff;
}

.cr-scrabble-word-finder .scrabble-modal .modal-header .btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}

.cr-scrabble-word-finder .dict-result {
    line-height: 1.5;
}

.cr-scrabble-word-finder .meaning {
    margin-top: 8px;
}

.cr-scrabble-word-finder .meaning .pos {
    margin-bottom: 4px;
}

.cr-scrabble-word-finder .meaning ol {
    margin: 0 0 8px 18px;
}

.cr-scrabble-word-finder .example {
    color: #555;
    margin-top: 2px;
}

.cr-scrabble-word-finder .synonyms {
    color: #666;
}

.cr-scrabble-word-finder .games {
    margin-bottom: 12px;
}

.cr-scrabble-word-finder .games h6 {
    margin: 0 0 8px;
    font-weight: 700;
}

.cr-scrabble-word-finder .games .game-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.cr-scrabble-word-finder .badge-no,
.cr-scrabble-word-finder .badge-yes {
    display: inline-block;
    font-size: .75rem;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
}

.cr-scrabble-word-finder .badge-yes {
    background: var(--Green-Color);
    color: #fff;
}

.cr-scrabble-word-finder .badge-no {
    background: var(--Red-Color);
    color: #fff;
}

.cr-scrabble-word-finder .local-def {
    margin-bottom: 12px;
}

.cr-scrabble-word-finder .local-def h6 {
    margin: 0 0 8px;
    font-weight: 700;
}

.cr-scrabble-word-finder .dict-line {
    margin: 6px 0;
}

.cr-scrabble-word-finder .dict-badge {
    font-size: .75rem;
    padding: 2px 6px 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    background: #eef3f4;
    color: #064d4d;
    border: 1px solid #d7e6e6;
    white-space: nowrap;
}

.cr-scrabble-word-finder .dict-definition {
    display: inline-block;
    margin-left: 4px;
    line-height: 1.5;
}