.emb-thread-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: #0d6efd;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
}

.emb-thread-view {
    white-space: normal;
}

.emb-thread-opener {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

.emb-thread-opener-body,
.emb-thread-body {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 8px 0;
}

.emb-thread-meta {
    font-size: 12px;
    color: #666;
}

.emb-thread-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.emb-thread-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.emb-thread-reveal {
    margin: 0 0 14px;
    padding: 12px;
    background: #f4f8fb;
    border: 1px solid #d7e3ee;
    border-radius: 8px;
}

.emb-thread-hint {
    margin: 6px 0 10px;
    font-size: 13px;
    color: #555;
}

.emb-thread-reveal-row {
    display: flex;
    gap: 8px;
}

.emb-thread-reveal-row input {
    flex: 1;
}

.emb-thread-item:not(.is-open) .emb-thread-body {
    color: #777;
    font-style: italic;
}

.emb-thread-compose {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
}

.emb-thread-compose label {
    margin-top: 10px;
}

.emb-thread-compose textarea,
.emb-thread-compose input,
.emb-thread-compose select {
    width: 100%;
    box-sizing: border-box;
}
