.fc-sg-block {
    margin: 20px 0;
    padding: 16px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}
.fc-sg-block > h3 {
    margin: 0 0 12px;
    font-size: 16px;
}
.fc-sg-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) {
    .fc-sg-platforms { grid-template-columns: 1fr; }
}
.fc-sg-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 12px;
}
.fc-sg-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.fc-sg-icon { font-size: 18px; }
.fc-sg-card-fb .fc-sg-icon { color: #1877f2; }
.fc-sg-card-ig .fc-sg-icon { color: #e1306c; }
.fc-sg-status {
    margin-bottom: 8px;
    font-size: 13px;
    color: #50575e;
}
.fc-sg-status-ok { color: #00a32a; }
.fc-sg-card-body a {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.fc-sg-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.fc-sg-modal {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}
.fc-sg-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #dcdcde;
}
.fc-sg-modal-head h3 { margin: 0; font-size: 16px; }
.fc-sg-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    color: #50575e;
}
.fc-sg-modal-body { padding: 18px; }
.fc-sg-modal-body label {
    display: block;
    font-weight: 600;
    margin: 12px 0 6px;
    font-size: 13px;
}
.fc-sg-modal-body label:first-child { margin-top: 0; }
.fc-sg-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 88px;
    padding: 8px;
    border: 1px dashed #c3c4c7;
    border-radius: 4px;
    background: #fbfbfc;
}
.fc-sg-empty {
    color: #8c8f94;
    font-size: 12px;
    align-self: center;
    margin: auto;
}
.fc-sg-chip {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
}
.fc-sg-chip.is-cover { border-color: #2271b1; }
.fc-sg-chip img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}
.fc-sg-chip-cover {
    position: absolute;
    top: 2px; left: 2px;
    background: #2271b1;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
}
.fc-sg-chip-remove {
    position: absolute;
    top: 2px; right: 2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.7);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}
.fc-sg-chip-remove:hover { background: #d63638; }
.fc-sg-img-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.fc-sg-suggest-label {
    font-size: 12px;
    color: #50575e;
}
.fc-sg-suggest {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.fc-sg-suggest-thumb {
    width: 48px; height: 48px;
    padding: 0;
    border: 1px solid #dcdcde;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}
.fc-sg-suggest-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.fc-sg-suggest-thumb:hover { border-color: #2271b1; }
.fc-sg-prompt-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.fc-sg-prompt-status {
    font-size: 12px;
    color: #50575e;
}
.fc-sg-hint {
    font-weight: normal;
    color: #8c8f94;
    font-size: 11px;
}
.fc-sg-variants {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}
.fc-sg-variant {
    text-align: left;
    background: #fff;
    border: 2px solid #dcdcde;
    border-radius: 6px;
    padding: 10px 12px;
    cursor: pointer;
    font: inherit;
    transition: border-color 0.15s, background 0.15s;
}
.fc-sg-variant:hover { border-color: #2271b1; background: #f6f7fa; }
.fc-sg-variant.is-active {
    border-color: #2271b1;
    background: #f0f6fc;
    box-shadow: 0 0 0 1px #2271b1;
}
.fc-sg-variant-num {
    font-size: 11px;
    color: #50575e;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.fc-sg-variant-text {
    font-size: 13px;
    line-height: 1.5;
    color: #1d2327;
    white-space: pre-wrap;
}
.fc-sg-prompt,
.fc-sg-text {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 13px;
    padding: 8px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}
.fc-sg-prompt { min-height: 100px; resize: vertical; }
.fc-sg-text { min-height: 180px; resize: vertical; }
.fc-sg-prompt-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
    font-size: 12px;
    color: #50575e;
}
.fc-sg-modal-foot {
    padding: 14px 18px;
    border-top: 1px solid #dcdcde;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.fc-sg-modal-foot-right {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.fc-sg-counter {
    font-size: 12px;
    color: #50575e;
}
.fc-sg-counter.is-over { color: #d63638; font-weight: 600; }
.fc-sg-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #dcdcde;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: fc-sg-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes fc-sg-spin { to { transform: rotate(360deg); } }
.fc-sg-error {
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    padding: 8px 12px;
    margin: 10px 0;
    font-size: 13px;
    color: #d63638;
}
.fc-sg-success {
    background: #edfaef;
    border-left: 4px solid #00a32a;
    padding: 8px 12px;
    margin: 10px 0;
    font-size: 13px;
    color: #00a32a;
}
