.csw-widget-shell {
    position: relative;
}

.csw-widget-title {
    margin: 0 0 10px;
    color: #0f172a;
}

.csw-widget-description {
    margin: 0 0 24px;
    color: #475569;
}

.csw-character-slider {
    padding: 8px 6px 56px;
}

.csw-character-slider .swiper-slide {
    height: auto;
}

.csw-slide-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.csw-slide-card {
    border: 2px solid #4f86f7;
    background: #f5f8ff;
    overflow: hidden;
}

.csw-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #edf3ff;
}

.csw-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.csw-slide-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.csw-title-box {
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 44px;
    padding: 8px 12px;
    border: 2px solid #4f86f7;
    background: #ffffff;
    box-sizing: border-box;
}

.csw-slide-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;
}

.csw-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 2px solid #4f86f7;
    border-radius: 4px;
    background: #ffffff;
    color: #4f86f7;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.csw-icon-button:hover {
    transform: translateY(-2px);
}

.csw-icon-button i,
.csw-icon-button svg {
    width: 1em;
    height: 1em;
}

.csw-nav {
    position: absolute;
    top: calc(100% - 18px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    cursor: pointer;
}

.csw-nav::after {
    font-size: 16px;
    font-weight: 700;
}

.csw-nav-prev {
    right: 52px;
}

.csw-nav-next {
    right: 6px;
}

.csw-pagination {
    bottom: 0 !important;
}

.csw-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #94a3b8;
    opacity: 1;
}

.csw-pagination .swiper-pagination-bullet-active {
    background: #2563eb;
}

@media (max-width: 767px) {
    .csw-character-slider {
        padding-bottom: 60px;
    }

    .csw-slide-item {
        gap: 8px;
    }

    .csw-title-box {
        min-height: 40px;
        padding: 6px 10px;
    }

    .csw-slide-title {
        font-size: 13px;
    }
}
