.story-selector-widget {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.story-selector-widget .btn-check:checked + .btn {
    box-shadow: none;
}

.story-selector-widget-browser {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(138, 180, 248, 0.24);
    border-radius: 12px;
    background: rgba(10, 16, 24, 0.72);
}

.story-selector-results {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.story-selector-result {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: inherit;
    text-align: left;
}

.story-selector-result:last-child {
    border-bottom: 0;
}

.story-selector-result.is-active {
    background: rgba(13, 110, 253, 0.18);
}

.story-selector-result:hover {
    background: rgba(255, 255, 255, 0.06);
}

.story-selector-preview,
.story-selector-selected {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
}

.story-selector-preview-text,
.story-selector-selected-preview {
    color: #adb5bd;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-selector-preview-text {
    min-height: 9rem;
    -webkit-line-clamp: 8;
}

.story-selector-selected-preview {
    -webkit-line-clamp: 4;
}

@media (max-width: 767.98px) {
    .story-selector-widget-browser .row {
        --bs-gutter-y: 1rem;
    }
}
