.sc-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sc-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.sc-count {
    color: #999;
    font-size: 14px;
    font-weight: 400;
}

.sc-sort {
    display: flex;
    gap: 0;
}

.sc-sort-item {
    font-size: 13px;
    color: #999;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 3px;
    transition: color 0.2s;
    user-select: none;
}

.sc-sort-item:hover {
    color: #666;
}

.sc-sort-item.sc-sort-active {
    color: #333;
    font-weight: 500;
}

.sc-form {
    margin-bottom: 0;
}

.sc-login-tip {
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 60px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.sc-login-link {
    color: #5fb878;
    text-decoration: none;
}

.sc-login-link:hover {
    text-decoration: underline;
}

.sc-publisher-wrapper {
    margin-bottom: 15px;
}

.sc-publisher-wrapper .publisher-box {
    margin: 0;
}

.sc-publisher-wrapper .publisher-publish-area {
    padding: 10px;
}

.sc-publisher-wrapper .publisher-textarea {
    min-height: 80px;
    font-size: 14px;
}

.sc-list {
    margin-top: 20px;
}

.sc-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sc-item:last-child {
    border-bottom: none;
}

.sc-item-row {
    display: flex;
}

.sc-item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #5fb878;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.sc-item-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.sc-reply-item .sc-item-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.sc-reply-item .sc-item-avatar-img {
    width: 28px;
    height: 28px;
}

.sc-item-body {
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.sc-item-info {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sc-item-info-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.sc-item-info-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-top: -15px;
}

.sc-item-username {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    display: inline;
}

.sc-item-time {
    color: #999;
    font-size: 11px;
    display: block;
    margin-top: 2px;
}

.sc-status-pending {
    display: inline-block;
    background-color: #fff3cd;
    color: #856404;
    padding: 0 6px;
    border-radius: 3px;
    font-size: 12px;
    border: 1px solid #ffeeba;
}

.sc-item-content {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.sc-item-content img {
    max-width: 50%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 10px 0;
}

.sc-item-content blockquote {
    padding: 10px 15px;
    margin: 10px 0;
    background-color: #f5f5f5;
    border-left: 3px solid #5fb878;
    font-size: 13px;
    color: #666;
    border-radius: 4px;
    quotes: none;
}

.sc-item-content blockquote p {
    margin: 0;
}

.sc-item-content pre {
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px;
    margin: 15px 0;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #383a42;
    position: relative;
}

.sc-item-content code {
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e45649;
    border: 1px solid #e5e5e5;
}

.sc-item-content pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    color: #383a42;
    display: block;
}

.sc-item-content pre .code-copy-btn{position:absolute;top:6px;right:6px;background:rgba(0,0,0,0.06);border:1px solid rgba(0,0,0,0.08);border-radius:4px;padding:2px 8px;font-size:12px;color:#666;cursor:pointer;opacity:0;transition:opacity 0.2s,background 0.2s;line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;}
.sc-item-content pre:hover .code-copy-btn{opacity:1;}
.sc-item-content pre .code-copy-btn:hover{background:rgba(0,0,0,0.12);color:#333;}
.sc-item-content pre .code-copy-btn.copied{color:#50a14f;background:rgba(80,161,79,0.1);border-color:rgba(80,161,79,0.2);}

.sc-action-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sc-action-btn:hover {
    color: #5fb878;
}

.sc-expand-btn {
    margin-top: 8px;
    padding: 4px 0 4px 48px;
}

.sc-like-btn.sc-liked {
    color: #dc3545;
}

.sc-like-btn.sc-liked:hover {
    color: #dc3545;
}

.sc-replies {
    margin-top: 10px;
    padding-left: 40px;
}

.sc-collapse-btn {
    margin-bottom: 8px;
}

.sc-more-btn {
    margin-top: 8px;
}

.sc-reply-item {
    padding: 10px 0;
}

.sc-reply-item + .sc-reply-item {
    border-top: 1px solid #f5f5f5;
}

.sc-item-quote {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    padding: 4px 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
}

.sc-quote-nick {
    color: #5fb878;
}

.sc-reply-quote {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.sc-reply-form-container {
    margin-top: 0;
    width: 100%;
    padding-left: 48px;
    box-sizing: border-box;
}

.sc-reply-form {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 0 1px #f5f5f5;
}

.sc-reply-form .publisher-box {
    border: none;
    padding: 0;
    background: none;
}

.sc-reply-form .publisher-publish-area {
    border: none;
    padding: 10px;
}

.sc-reply-form .publisher-textarea {
    min-height: 60px;
    font-size: 13px;
}

.sc-reply-form .publisher-toolbar {
    padding: 6px 0 0;
}

.sc-reply-form .publisher-image-list {
    margin-top: 6px;
}

.sc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.sc-page-btn {
    background: none;
    border: 1px solid #ddd;
    color: #666;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.sc-page-btn:hover:not(:disabled) {
    border-color: #5fb878;
    color: #5fb878;
}

.sc-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sc-page-info {
    color: #999;
    font-size: 13px;
}

.sc-empty {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}

.sc-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    color: white;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.sc-message-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.sc-message-success {
    background-color: #28a745;
}

.sc-message-error {
    background-color: #dc3545;
}

.sc-item-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.sc-item-image-wrap {
    width: calc(25% - 6px);
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eee;
    box-sizing: border-box;
}

.sc-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.sc-item-image:hover {
    transform: scale(1.05);
}

.publisher-publish-area {
    border-radius: 5px !important;
    padding: 15px !important;
    box-shadow: 0 0 0 1px #eee !important;
}

.sc-inline-wrap {
    margin: 10px 0;
}

.sc-inline-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
}

.sc-inline-count {
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sc-inline-count i {
    font-size: 16px;
}

.sc-inline-count em {
    font-style: normal;
    color: #333;
    font-weight: 500;
}

.sc-inline-toggle {
    color: #5fb878;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.sc-inline-toggle:hover {
    text-decoration: underline;
}

.sc-inline-body {
    padding: 10px 0 0;
}

.sc-inline-expanded .sc-inline-bar {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.sc-inline-wrap .sc-container {
    max-width: 100%;
    padding: 10px 0;
}

.sc-inline-wrap .sc-publisher-wrapper .publisher-textarea {
    min-height: 60px;
    font-size: 13px;
}

.sc-inline-wrap .sc-item-avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

.sc-inline-wrap .sc-item-avatar-img {
    width: 30px;
    height: 30px;
}

.sc-inline-wrap .sc-item-content {
    font-size: 13px;
    line-height: 1.6;
}

.sc-inline-wrap .sc-item-username {
    font-size: 13px;
}

.sc-inline-wrap .sc-item-time {
    font-size: 10px;
}

.sc-inline-wrap .sc-action-btn {
    font-size: 11px;
}

.sc-inline-wrap .sc-replies {
    padding-left: 30px;
}

.sc-inline-wrap .sc-reply-form-container {
    padding-left: 36px;
}

.sc-item-more {
    position: relative;
    flex-shrink: 0;
}

.sc-more-dot {
    cursor: pointer;
    font-size: 18px;
    color: #999;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.sc-more-dot:hover {
    background: #f0f0f0;
    color: #666;
}

.sc-more-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 100;
    min-width: 100px;
    overflow: hidden;
    margin-top: 2px;
}

.sc-more-item {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.sc-more-item:hover {
    background: #f5f5f5;
}

.sc-more-item i {
    font-size: 14px;
    margin-right: 6px;
}

.sc-more-danger {
    color: #555;
}

.sc-more-danger:hover {
    background: #fff0f0;
    color: #ff5722;
}

.sc-edit-form .publisher-box {
    border: none;
    padding: 0;
    background: none;
}

.sc-edit-form .publisher-publish-area {
    border: none;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 1px #f5f5f5;
}

.sc-edit-form .publisher-textarea {
    min-height: 60px;
    font-size: 13px;
}

.sc-item-content-deleted {
    color: #999 !important;
    text-decoration: line-through;
}

.sc-top-badge {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background: #ff5722;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
    line-height: 1.4;
}