
/*=====================================
    ☆ PC Ver Layout
======================================*/
/* PC 브라우저 외부 스크롤 방지 */
@media screen and (min-width: 1101px) {
    html, body {
        overflow-y: hidden;
    }
}

.al-layout {
    display: grid;
    grid-template-columns: 400px 600px;
    width: 1100px;
    margin: 0 auto;
    gap: 50px;
    justify-content: center;
    align-items: flex-start;
}

/* 왼쪽 광고 영역 */
.al-layout > .ad-include,
.al-layout > .left-layout {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.al-layout > .ad-include {
    width: 400px;
}

.al-layout > .left-layout {
    flex: 0 0 400px;
    position: sticky;
    top: 0;
    width: 400px;
    height: fit-content;
    margin-top: 34px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 오른쪽 콘텐츠 영역 */
.al-layout > .right-layout {
    grid-column: 2;
    grid-row: 1;
    flex: 0 0 600px;
    width: 600px;
    min-width: 0;
    height: 100vh;
    background: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
    overflow: hidden;
}

/* 내부 스크롤 */
.right-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
}

.right-scroll::-webkit-scrollbar {
    display: none;
}

/* PC 마우스 환경에서만 스크롤바 표시 */
@media (hover: hover) and (pointer: fine) {
    .categories .sec-conts { -webkit-user-select:none; user-select:none; cursor:grab; }
	.recent-scroll, .top-csl-viewport, .filter-scroll { -webkit-user-select:none; user-select:none; cursor:grab; }
}

/*=====================================
    ☆ Mobile Ver Layout
======================================*/
.al-layout.al-mobile,
.al-layout.al-mobile .right-layout,
.al-layout.al-mobile .right-scroll {
    display: contents;
}

.al-layout.al-mobile #ad-include {
    display: none;
}