/* The hero picker's groups (the campaign's heroes, the player's own characters) and its search line (tabletop_picker.css lays the cards out). */

.tt-choice-group {
    grid-column: 1 / -1;
    margin: 6px 0 0;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--tt-line);
    font-family: var(--tt-serif);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tt-muted);
}

.tt-choice-group:first-child {
    margin-top: 0;
}

.tt-choice-filter {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    margin: 0 0 10px;
    padding: 8px 14px;
    border: 1px solid rgba(226, 185, 90, 0.35);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.45);
    color: var(--tt-text);
    font-family: var(--tt-body);
    font-size: 16px;
}

.tt-choice-filter::placeholder {
    color: #8c8574;
}

.tt-choice-filter:focus {
    border-color: var(--tt-gold);
    outline: none;
}

.tt-choices [hidden] {
    display: none;
}

/* A list longer than the dialog scrolls inside it: its rows keep the height of their cards instead of being squeezed into the room there is. */
.tt-chooser-heroes .tt-choices {
    align-content: start;
    grid-auto-rows: max-content;
}
