/* Rhyming dictionary styles */

/* Navigation bars for sound selection */
.rhyme-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
    background: #f8f9fa;
    padding: 0.4rem 0.75rem;
    border-radius: 0.25rem;
}

.rhyme-nav-tier2 {
    background: #f0f4f8;
}

.rhyme-nav-label {
    flex-shrink: 0;
}

.rhyme-sound {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 1.75rem;
    padding: 0 0.4rem;
    font-family: "Noto Sans", "Lucida Grande", "DejaVu Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.2rem;
    color: #2c3e50;
}

.rhyme-sound:hover {
    background-color: #dee2e6;
    color: #2c3e50;
}

.rhyme-sound-active {
    background-color: #2c3e50;
    color: #fff;
    font-weight: 700;
}

.rhyme-sound-sm {
    font-size: 0.82rem;
    min-width: 1.6rem;
    height: 1.5rem;
}

/* Rhyme key display */
.rhyme-key-cell {
    font-family: "Noto Sans", "Lucida Grande", "DejaVu Sans", sans-serif;
    font-size: 0.95rem;
}

.rhyme-key-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.rhyme-key-link:hover {
    text-decoration: underline;
}

.rhyme-key-display {
    font-family: "Noto Sans", "Lucida Grande", "DejaVu Sans", sans-serif;
    font-weight: 600;
}

/* IPA display in family detail */
.rhyme-ipa {
    font-family: "Noto Sans", "Lucida Grande", "DejaVu Sans", sans-serif;
    font-size: 0.88rem;
    color: #555;
}

/* Related families sidebar */
.rhyme-related-list {
    max-height: 60vh;
    overflow-y: auto;
}

.rhyme-related-list .rhyme-key-link {
    font-size: 0.88rem;
}

/* Rhyme page container */
.rhyme-page {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}
