.tc-sabai-share {
    display: inline-flex !important;
    align-items: center;
    margin-right: 6px !important;
}

.tc-sabai-share-modal {
    position: fixed;
    inset: 0;
    z-index: 1000002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .46);
}

.tc-sabai-share-dialog {
    position: relative;
    width: min(440px, 100%);
    max-height: min(70vh, 620px);
    overflow: auto;
    padding: 22px;
    border-radius: 12px;
    background: #fff;
    color: #222;
    box-shadow: 0 12px 42px rgba(0, 0, 0, .25);
}

.tc-sabai-share-dialog h2 { margin: 0 36px 14px 0; }
.tc-sabai-share-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.tc-sabai-thread-list { display: grid; gap: 8px; }
.tc-sabai-thread {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #222;
    text-align: left;
    cursor: pointer;
}
.tc-sabai-thread:hover,
.tc-sabai-thread:focus { border-color: #2677b8; background: #f3f8fc; }
.tc-sabai-share-status { color: #666; }

.tc-sabai-draft-notice {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-left: 4px solid #2677b8;
    background: #f1f7fb;
}
.tc-sabai-draft-notice span { margin-right: 10px; }
.tc-sabai-draft-notice button { margin: 3px 5px 3px 0; }
.tc-sabai-draft-status {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #777;
    font-size: 12px;
    text-align: right;
}

@media (max-width: 600px) {
    .tc-sabai-share-modal { align-items: flex-end; padding: 0; }
    .tc-sabai-share-dialog { width: 100%; max-height: 78vh; border-radius: 16px 16px 0 0; }
}
