.page_container__nIqyz {
    margin: 0;
    font-family: 'Apple SD Gothic Neo', sans-serif;
    background: #fff;
    color: #000;
    touch-action: pan-y;
    /* 세로 스크롤만 허용 */
}

.page_header__QIaYH {
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.page_headerContent__Yo10l {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page_headerContent__Yo10l h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.page_tagsContainer__coBiV {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid #ccc;
    background-color: #fafafa;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    /* iOS 스크롤 부드럽게 */
    scrollbar-width: thin;
    /* Firefox 스크롤바 스타일 */
    scrollbar-color: #ccc transparent;
    /* Firefox 스크롤바 색상 */
    touch-action: pan-x;
    /* 가로 스크롤만 허용 */
    scroll-behavior: smooth;
    /* 부드러운 스크롤 효과 */
    -ms-overflow-style: none;
    /* IE, Edge 스크롤바 숨김 */
    scrollbar-width: none;
    /* Firefox 스크롤바 숨김 */
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Chrome, Safari 스크롤바 숨김 */
.page_tagsContainer__coBiV::-webkit-scrollbar {
    display: none;
}

.page_tag__9I84H {
    padding: 0.75rem 1.25rem;
    /* 터치 영역 확대 */
    margin: 0 0.5rem;
    background-color: #eee;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
    /* 최소 터치 영역 확보 */
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    /* 텍스트 선택 방지 */
    -webkit-tap-highlight-color: transparent;
    /* 터치 하이라이트 제거 */
    transition: background-color 0.2s, color 0.2s;
    /* 부드러운 색상 전환 */
}

.page_tag__9I84H.page_active__nA5yC {
    background-color: #ff4b4b;
    color: white;
}

.page_content__dLq4_ {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .page_content__dLq4_ {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page_content__dLq4_ {
        grid-template-columns: repeat(4, 1fr);
    }
}

.page_adRow__HEJpC {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.page_channelCard__aCEXb {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    padding: 1rem;
    /* 터치 영역 확대 */
    border-radius: 8px;
    /* 모서리 둥글게 */
    transition: background-color 0.2s;
    /* 부드러운 배경색 전환 */
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page_channelCard__aCEXb:active {
    background-color: #f5f5f5;
    /* 터치 시 배경색 변경 */
}

.page_channelCard__aCEXb img {
    width: 160px;
    height: 90px;
    border-radius: 8px;
    margin-right: 1rem;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page_channelInfo__dQvqD {
    flex: 1;
    margin-left: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page_channelName__knXJe {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.page_channelDesc__LVQy5 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    white-space: pre-line;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.page_channelDescContainer__sCDrq {
    margin-bottom: 0.5rem;
}

.page_channelDesc__LVQy5.page_expanded___q8B0 {
    display: block;
    -webkit-line-clamp: unset;
}

.page_channelTags__K9oOZ {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.page_channelTag__GQh2E {
    background-color: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.page_expandButton__JSC4a {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 0.8rem;
    padding: 0.25rem 0;
    cursor: pointer;
    font-weight: 500;
    margin-top: 0.25rem;
    display: block;
}

.page_expandButton__JSC4a:active {
    opacity: 0.7;
}

.page_subscribeLink__qxHic {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* 모바일 레이아웃 최적화 */
@media screen and (max-width: 768px) {
    .page_channelCard__aCEXb {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-bottom: 16px;
    }

    .page_channelCard__aCEXb img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        border-radius: 10px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .page_channelInfo__dQvqD {
        margin-left: 0;
        margin-top: 8px;
    }

    .page_channelTags__K9oOZ {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        margin-top: 8px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .page_channelTags__K9oOZ::-webkit-scrollbar {
        display: none;
    }

    .page_channelTag__GQh2E {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 20px;
        margin-right: 6px;
        background-color: #f1f1f1;
        flex-shrink: 0;
    }

    .page_subscribeLink__qxHic {
        width: 90%;
        margin: 10px auto 0;
        padding: 10px;
        border-radius: 20px;
        text-align: center;
        font-size: 14px;
    }

    .page_tagsContainer__coBiV {
        overflow-x: auto;
        display: flex;
        white-space: nowrap;
        padding-bottom: 8px;
    }

    .page_tag__9I84H {
        padding: 8px 12px;
        margin-right: 4px;
        border-radius: 20px;
        font-size: 14px;
    }

    .page_tag__9I84H.page_active__nA5yC {
        background-color: #ff4b4b;
        color: #ffffff;
    }

    .page_scrollToTopButton__D62YZ {
        width: 36px;
        height: 36px;
        bottom: 16px;
        right: 16px;
    }
}

/* 광고 영역 스타일 */
.page_adContainer__rKp8Q {
    margin: 2rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

/* 광고 구분선 */
.page_adContainer__rKp8Q::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

.page_adContent__8kFkx {
    width: 100%;
    max-width: 600px;
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.page_adLabel__o4ORE {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-bottom-left-radius: 4px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.page_adPlaceholder__MsHTx {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    color: #666;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: default;
    /* 커서 스타일 변경으로 클릭 가능함을 시각적으로 표시하지 않음 */
    user-select: none;
    /* 텍스트 선택 방지 */
}

/* 최상단으로 올라가는 버튼 스타일 */
.page_scrollToTopButton__D62YZ {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff4b4b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
}

.page_scrollToTopButton__D62YZ.page_visible__jOo_m {
    opacity: 1;
    visibility: visible;
}

.page_scrollToTopButton__D62YZ:hover {
    background-color: #ff3333;
}

.page_scrollToTopButton__D62YZ:active {
    transform: scale(0.95);
}

.page_channelStats__ZzmDo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0;
}

.page_channelStats__ZzmDo span {
    white-space: nowrap;
}
