@charset "utf-8";

/* ==========================================================================
   크리에이터 채널 및 DRM 뷰어 전용 스타일시트
   Standard Palette: Primary(#2563eb), Secondary(#475569), Success(#16a34a), Danger(#dc2626)
   ========================================================================== */

.creator-channel-container {
    max-width: 75rem;
    margin: 1.5rem auto;
    padding: 0 1rem;
    color: #1e293b;
}

/* Header Banner */
.creator-hero {
    position: relative;
    background: #0f172a;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.creator-cover-bg {
    height: 12.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    background-size: cover;
    background-position: center;
}

.creator-profile-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.creator-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: -3.75rem;
}

.creator-avatar-img {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    border: 0.25rem solid #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: #e2e8f0;
    object-fit: cover;
}

.creator-avatar-fallback {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    border: 0.25rem solid #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: #2563eb;
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creator-info-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.creator-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 0.38rem;
    border: 1px solid #bfdbfe;
}

.creator-sub-text {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

.creator-action-btns {
    display: flex;
    gap: 0.63rem;
}

.btn-sponsor {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.63rem 1.13rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    background: #d97706;
    border: 1px solid #d97706;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-sponsor:hover {
    background: #b45309;
}

.btn-membership {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.63rem 1.13rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    background: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-membership:hover {
    background: #1d4ed8;
}

.creator-stats-row {
    display: flex;
    gap: 2rem;
    padding: 1rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.88rem;
}

.creator-stat-item strong {
    color: #0f172a;
    font-weight: 700;
}

/* Works Section */
.creator-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: #0f172a;
}

.creator-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1.25rem;
}

.creator-work-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.63rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.creator-work-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.creator-work-thumb {
    width: 100%;
    height: 11.25rem;
    background: #f1f5f9;
    object-fit: cover;
}

.creator-work-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.creator-work-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.creator-work-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.38rem 0;
    color: #0f172a;
}

.creator-work-desc {
    font-size: 0.81rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.creator-work-meta {
    margin-top: auto;
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
}

/* DRM Viewer Lock Layer */
.drm-locked-box {
    position: relative;
    padding: 3rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    text-align: center;
    margin: 2rem 0;
}

.drm-blur-preview {
    filter: blur(0.38rem);
    user-select: none;
    -webkit-user-select: none;
    opacity: 0.4;
    max-height: 10rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.drm-lock-icon {
    font-size: 2.5rem;
    color: #d97706;
    margin-bottom: 0.75rem;
}

.drm-lock-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.drm-lock-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 1.5rem 0;
}

.drm-btn-group {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.drm-btn-unlock {
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.94rem;
}

.drm-btn-unlock:hover {
    background: #1d4ed8;
}

/* Watermark & Anti-Theft */
.drm-watermark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background: repeating-linear-gradient(
        -45deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 30px,
        transparent 30px,
        transparent 150px
    );
}

.no-copy-zone {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Modals */
.kol-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.kol-modal-overlay.active {
    display: flex;
}

.kol-modal-card {
    background: #ffffff;
    border-radius: 0.75rem;
    max-width: 28rem;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.kol-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.kol-modal-header h3 {
    margin: 0;
    font-size: 1.13rem;
    font-weight: 700;
    color: #0f172a;
}

.kol-modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #94a3b8;
}

@media (max-width: 48rem) {
    .creator-profile-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .creator-action-btns {
        width: 100%;
    }
    .creator-action-btns button {
        flex: 1;
        justify-content: center;
    }
}

/* Zero Inline Style Modal Form Controls */
.kol-modal-body p {
    font-size: 0.88rem;
    color: #475569;
    margin: 0 0 1rem 0;
}

.kol-modal-form-group {
    margin-bottom: 1rem;
}

.kol-modal-form-group label {
    display: block;
    font-size: 0.81rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.38rem;
}

.kol-modal-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.63rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.38rem;
    font-size: 0.88rem;
}

.kol-modal-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    font-size: 0.94rem;
}

.kol-modal-tier-item {
    display: block;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    background: #ffffff;
    transition: border-color 0.2s;
}

.kol-modal-tier-item:hover {
    border-color: #2563eb;
}

.kol-modal-tier-desc {
    font-size: 0.81rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Work Detail & Episode List */
.work-hero-box {
    display: flex;
    gap: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.work-hero-img {
    width: 15rem;
    height: 20rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f1f5f9;
}

.work-hero-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.work-hero-title {
    font-size: 1.63rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0.5rem 0;
}

.work-hero-creator {
    font-size: 0.88rem;
    color: #475569;
    margin-bottom: 1rem;
}

.work-hero-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 1.5rem;
}

.episode-list-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.episode-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    cursor: pointer;
}

.episode-row:hover {
    background: #f8fafc;
}

.episode-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.episode-no {
    font-size: 0.88rem;
    font-weight: 700;
    color: #64748b;
    min-width: 2.5rem;
}

.episode-title {
    font-size: 0.94rem;
    font-weight: 600;
    color: #0f172a;
}

.episode-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-ep-free {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.25rem;
}

.badge-ep-paid {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #d97706;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 0.25rem;
}

.badge-ep-purchased {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.25rem;
}

@media (max-width: 48rem) {
    .work-hero-box {
        flex-direction: column;
        align-items: center;
    }
    .work-hero-img {
        width: 100%;
        max-width: 15rem;
        height: auto;
    }
}

.viewer-content-body {
    padding: 2rem;
    font-size: 1.06rem;
    line-height: 1.8;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.viewer-nav-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}



