@charset "UTF-8";

/* ===================================
   SCHEDULE & NEWS PAGE
==================================== */
.sn-main {
    padding-bottom: 120px;
}

.sn-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.sn-tab {
    background: transparent;
    border: 2px solid #000;
    color: #000;
    font-size: 0.9rem;
    font-weight: 900;
    padding: 12px 28px;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: background 0.25s ease, color 0.25s ease;
}

.sn-tab:hover {
    background: #f0f0f0;
}

.sn-tab.active {
    background: #000;
    color: #fff;
}

.sn-panel {
    display: none;
    animation: snFadeIn 0.35s ease;
}

.sn-panel.active {
    display: block;
}

@keyframes snFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title-small {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid #000;
    letter-spacing: 0.08em;
}

.sn-loading,
.sn-empty,
.sn-error {
    text-align: center;
    color: #888;
    font-weight: 700;
    padding: 28px 0;
    list-style: none;
}

.sn-error {
    color: #c00;
}

/* ===================================
   SCHEDULE LIST
==================================== */
.schedule-list {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 2px;
}

.sn-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.sn-pager-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.sn-pager-btn:hover:not(:disabled) {
    background: #fff;
    color: #000;
}

.sn-pager-btn:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.sn-pager-status {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #333;
    min-width: 64px;
    text-align: center;
}

.schedule-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 18px 20px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid #e8e8e8;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.schedule-card:first-child {
    padding-top: 4px;
}

.schedule-card:hover {
    background-color: #fafafa;
    transform: translateX(4px);
}

.time-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.schedule-date {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #666666;
}

.schedule-time {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    color: #000000;
    letter-spacing: 0.02em;
}

.schedule-info {
    min-width: 0;
}

.talent-name-sm {
    font-size: 0.82rem;
    color: #111111;
    margin: 0 0 6px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.stream-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.55;
    color: #1a1a1a;
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #e10600;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 8px 12px;
    border-radius: 2px;
    text-align: center;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease;
}

.youtube-btn:hover {
    background: #b80500;
    transform: translateY(-1px);
}

.empty-schedule {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed #cccccc;
    background: transparent;
    color: #888888;
    font-weight: 700;
    padding: 40px 20px;
    grid-template-columns: 1fr;
}

.empty-schedule:hover {
    background: transparent;
    transform: none;
}

/* ===================================
   NEWS LIST
==================================== */
.news-list-vertical {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.news-list-vertical .news-item {
    display: grid;
    grid-template-columns: 96px auto minmax(0, 1fr);
    gap: 12px 14px;
    align-items: start;
    padding: 20px 8px;
    margin: 0 -8px;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.news-list-vertical .news-item:hover {
    background-color: #fafafa;
    transform: translateX(4px);
}

.news-list-vertical .news-date {
    font-size: 0.82rem;
    font-weight: 700;
    color: #555555;
    letter-spacing: 0.04em;
    min-width: 0;
    margin-top: 3px;
}

.news-list-vertical .news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    min-width: 72px;
    text-align: center;
    border-radius: 2px;
    margin-top: 1px;
}

.news-list-vertical .news-title-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.55;
}

.type-release { background: #000; color: #fff; }
.type-NEWS,
.type-news { background: #444; color: #fff; }
.type-event { background: #e0e0e0; color: #000; }
.type-audition { background: #333; color: #fff; }
.type-goods { background: #0055ff; color: #fff; }

/* ===================================
   NEWS MODAL
==================================== */
.wpp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
}

.wpp-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wpp-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    border-top: 4px solid #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.wpp-modal-overlay.active .wpp-modal-content {
    transform: translateY(0);
}

.wpp-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
    width: 44px;
    height: 44px;
}

.wpp-modal-close:hover {
    color: #000;
}

.wpp-modal-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.wpp-modal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #666;
    flex-wrap: wrap;
}

.wpp-modal-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 0 20px;
    line-height: 1.4;
}

.wpp-modal-body {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #333;
    white-space: pre-wrap;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

/* ===================================
   RESPONSIVE
==================================== */
@media (max-width: 768px) {
    .sn-main {
        padding-bottom: 80px;
    }

    .sn-tabs {
        gap: 8px;
        margin-bottom: 36px;
    }

    .sn-tab {
        flex: 1 1 auto;
        min-width: calc(33.333% - 8px);
        padding: 12px 10px;
        font-size: 0.78rem;
    }

    .section-title-small {
        font-size: 1.15rem;
    }

    .sn-pager {
        gap: 12px;
        margin-top: 22px;
    }

    .sn-pager-btn {
        padding: 10px 12px;
        font-size: 0.72rem;
    }

    .schedule-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px 14px;
        padding: 18px 0;
    }

    .schedule-card .youtube-btn {
        grid-column: 1 / -1;
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        font-size: 0.8rem;
    }

    .schedule-time {
        font-size: 1.25rem;
    }

    .news-list-vertical .news-item {
        grid-template-columns: auto auto;
        gap: 8px 10px;
        padding: 16px 4px;
    }

    .news-list-vertical .news-title-text {
        grid-column: 1 / -1;
        font-size: 0.92rem;
    }

    .wpp-modal-content {
        padding: 28px 18px 24px;
        max-height: 90vh;
    }

    .wpp-modal-title {
        font-size: 1.2rem;
        padding-right: 28px;
    }
}
