@keyframes ChannelSkeleton_pulse__Eijxu {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

.ChannelSkeleton_skeletonCard__Nn3C_ {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--card-border-radius);
  background-color: var(--card-background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  min-width: 0;
}

.ChannelSkeleton_skeletonImageWrapper__08fK_ {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
  animation: ChannelSkeleton_pulse__Eijxu 1.5s ease-in-out infinite;
}

.ChannelSkeleton_skeletonImage__T6Siq {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
  background-size: 200% 100%;
  animation: ChannelSkeleton_shimmer__CxLvW 1.5s ease-in-out infinite;
}

@keyframes ChannelSkeleton_shimmer__CxLvW {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.ChannelSkeleton_skeletonInfo__sZCXd {
  flex: 1;
  margin-top: var(--spacing-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ChannelSkeleton_skeletonTitle__YeQ76 {
  height: 20px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: var(--spacing-sm);
  width: 75%;
  animation: ChannelSkeleton_pulse__Eijxu 1.5s ease-in-out infinite;
}

.ChannelSkeleton_skeletonStats__O_GBa {
  height: 14px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: var(--spacing-sm);
  width: 50%;
  animation: ChannelSkeleton_pulse__Eijxu 1.5s ease-in-out infinite;
}

.ChannelSkeleton_skeletonDescription__8cnO9 {
  margin-bottom: var(--spacing-sm);
}

.ChannelSkeleton_skeletonLine__LvUE7 {
  height: 14px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: 8px;
  animation: ChannelSkeleton_pulse__Eijxu 1.5s ease-in-out infinite;
}

.ChannelSkeleton_skeletonTags__ppGTs {
  display: flex;
  gap: var(--spacing-sm);
  margin: var(--spacing-sm) 0;
}

.ChannelSkeleton_skeletonTag__gwyNU {
  height: 24px;
  width: 60px;
  background: #e5e7eb;
  border-radius: 15px;
  animation: ChannelSkeleton_pulse__Eijxu 1.5s ease-in-out infinite;
}

.ChannelSkeleton_skeletonButton__bRmv_ {
  height: 36px;
  background: #e5e7eb;
  border-radius: 9999px;
  margin-top: var(--spacing-sm);
  width: 100%;
  animation: ChannelSkeleton_pulse__Eijxu 1.5s ease-in-out infinite;
}

/* 태블릿 레이아웃 (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .ChannelSkeleton_skeletonCard__Nn3C_ {
    padding: var(--spacing-md);
  }
  
  .ChannelSkeleton_skeletonTitle__YeQ76 {
    height: 18px;
  }
  
  .ChannelSkeleton_skeletonStats__O_GBa {
    height: 12px;
  }
  
  .ChannelSkeleton_skeletonLine__LvUE7 {
    height: 12px;
  }
}

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

  .ChannelSkeleton_skeletonImageWrapper__08fK_ {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 10px;
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }

  .ChannelSkeleton_skeletonInfo__sZCXd {
    margin-left: 0;
    margin-top: var(--spacing-sm);
  }

  .ChannelSkeleton_skeletonTitle__YeQ76 {
    height: 16px;
    width: 80%;
  }

  .ChannelSkeleton_skeletonStats__O_GBa {
    height: 12px;
    width: 60%;
  }

  .ChannelSkeleton_skeletonLine__LvUE7 {
    height: 12px;
  }

  .ChannelSkeleton_skeletonTags__ppGTs {
    display: flex;
    overflow-x: hidden;
    margin-top: var(--spacing-sm);
    padding-bottom: 4px;
  }

  .ChannelSkeleton_skeletonTag__gwyNU {
    height: 20px;
    width: 50px;
    flex-shrink: 0;
  }

  .ChannelSkeleton_skeletonButton__bRmv_ {
    width: 90%;
    margin: var(--spacing-sm) auto 0;
    height: 32px;
    border-radius: 20px;
  }
}

/* 데스크톱 레이아웃 (1024px 이상) */
@media screen and (min-width: 1024px) {
  .ChannelSkeleton_skeletonCard__Nn3C_ {
    transition: none;
  }
  
  .ChannelSkeleton_skeletonCard__Nn3C_:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
}
.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;
}

/* 무한 스크롤 관련 스타일 */
.page_loadingArea__pslxb {
    grid-column: 1 / -1;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page_endMessage__OAdAa {
    color: #666;
    font-style: italic;
    margin: 0;
    padding: 1rem;
}

.page_loadMoreContainer__uouYf {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.page_loadMoreButton__gLU3B {
    background-color: #ff4b4b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    min-width: 120px;
    min-height: 44px;
}

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

.page_loadMoreButton__gLU3B:active {
    transform: scale(0.98);
}

.page_loadMoreButton__gLU3B:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 컨트롤 버튼들 컨테이너 */
.page_controlButtons__Vo6E3 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.page_toggleButton__qzH2s {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #666;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, transform 0.1s;
    font-size: 18px;
}

.page_toggleButton__qzH2s:hover {
    background-color: #555;
}

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

/* 네트워크 상태 알림 */
.page_networkNotification__kDSof {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 8px;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: page_slideDown__5Vrel 0.3s ease-out;
    transition: background-color 0.3s;
}

.page_networkNotification__kDSof.page_offline__E6bIC {
    background-color: #d32f2f;
}

.page_networkNotification__kDSof.page_online__JVNdN {
    background-color: #388e3c;
}

.page_notificationIcon__5fFCy {
    font-size: 18px;
}

.page_notificationMessage__lXSvZ {
    font-size: 14px;
    font-weight: 500;
}

@keyframes page_slideDown__5Vrel {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .page_controlButtons__Vo6E3 {
        bottom: 16px;
        right: 16px;
        gap: 8px;
    }
    
    .page_toggleButton__qzH2s,
    .page_scrollToTopButton__D62YZ {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .page_loadMoreButton__gLU3B {
        padding: 10px 20px;
        font-size: 14px;
    }
}
