.sc-suchang-library {
    width: calc(100% - 48px);
    margin: 28px 24px 36px;
    padding: 28px;
    border: 1px solid rgba(242, 88, 121, 0.12);
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #fff9fb 100%);
    box-shadow: 0 16px 46px rgba(83, 50, 61, 0.08);
}

.sc-suchang-library-head {
    margin-bottom: 22px;
}

.sc-suchang-library-head > span {
    display: inline-block;
    margin-bottom: 5px;
    color: #f25879;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.sc-suchang-library-head h3 {
    margin: 0;
    color: #25242a;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 800;
}

.sc-suchang-library-head p {
    margin: 8px 0 0;
    color: #77727a;
    font-size: 14px;
}

.sc-works-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    gap: 5px;
    margin: 0 0 22px;
    padding: 5px;
    border: 1px solid rgba(49, 36, 41, 0.08);
    border-radius: 14px;
    background: #f4f1f2;
}

.sc-works-tabs button {
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    color: #77727a;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.sc-works-tabs button.is-active {
    color: #f25879;
    background: #fff;
    box-shadow: 0 5px 16px rgba(75, 47, 58, 0.1);
}

[data-sc-work-panel][hidden],
.sc-youtube-more[hidden] {
    display: none !important;
}

.sc-youtube-card .sc-suchang-card-media {
    text-decoration: none;
}

.sc-youtube-card .sc-youtube-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 0, 0, 0.88);
}

.sc-youtube-card .sc-youtube-badge b {
    font-size: 10px;
}

.sc-youtube-more {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.sc-youtube-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(242, 88, 121, 0.22);
    border-radius: 999px;
    color: #e94f71;
    background: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.sc-youtube-more a:hover {
    color: #fff;
    background: #f25879;
}

.sc-suchang-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sc-content-unavailable {
    grid-column: 1 / -1;
    padding: 42px;
    border: 1px dashed rgba(49, 36, 41, 0.14);
    border-radius: 18px;
    color: #837b7f;
    background: #fff;
    text-align: center;
}

.sc-suchang-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(49, 36, 41, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 25px rgba(62, 45, 51, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.sc-suchang-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 34px rgba(62, 45, 51, 0.14);
}

.sc-suchang-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #efe9eb;
}

.sc-suchang-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.sc-suchang-card:hover .sc-suchang-card-media img {
    transform: scale(1.025);
}

.sc-suchang-card-media > span {
    position: absolute;
    left: 12px;
    bottom: 11px;
    padding: 5px 9px;
    border-radius: 8px;
    color: #fff;
    background: rgba(30, 24, 27, 0.78);
    backdrop-filter: blur(6px);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.sc-suchang-card-body {
    padding: 16px;
}

.sc-suchang-card h4 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    margin: 0 0 12px;
    color: #302c30;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sc-suchang-card h4 a {
    display: -webkit-box;
    overflow: hidden;
    color: #302c30;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sc-suchang-card h4 a:hover {
    color: #f25879;
}

.sc-suchang-card-meta,
.sc-suchang-card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
}

.sc-suchang-card-meta {
    color: #77727a;
}

.sc-suchang-card-stats {
    margin-top: 7px;
    color: #f25879;
    font-weight: 700;
}

.sc-suchang-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 28px;
    margin-top: 13px;
}

.sc-suchang-card-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid rgba(242, 88, 121, 0.2);
    border-radius: 999px;
    color: #e94f71;
    background: #fff4f7;
    font-size: 11px;
    line-height: normal;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .sc-suchang-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sc-suchang-library {
        width: calc(100% - 24px);
        margin: 18px 12px 24px;
        padding: 15px;
        border-radius: 18px;
    }

    .sc-suchang-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .sc-works-tabs {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 16px;
    }

    .sc-suchang-card-body {
        padding: 14px;
    }

    .sc-suchang-card h4 {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-suchang-card,
    .sc-suchang-card-media img {
        transition: none;
    }
}
