
body{
  overflow: auto;
  cursor: none;
}
a:focus,
button:focus {
  outline: none;
}


/* 전역 스크롤바 스타일 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #3eaf7c;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d8a5f;
}

/* Firefox 스크롤바 */
* {
  scrollbar-width: thin;
  scrollbar-color: #3eaf7c #f1f1f1;
  cursor: none;
}

/* ===============================
  헤더, 푸터 부분 고정
=============================== */

.header{
  flex-shrink:0;
}
.footer{
  flex-shrink: 0;
  margin-top: auto;
  padding: 20px 100px 24px;
  background:#fff;
  width: 100%; 
}


/* ===============================
   마우스커서
=============================== */
body{ cursor:none; }
.c-dot{
  position: fixed;
  width: 12px;
  height: 12px;
  background: #3eaf7c;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index:9999;
}

@media (hover:none) and (pointer:coarse){
  body{cursor:auto;}
  .c-dot{display:none !important;}
}
/* ===============================
   CONTENT
=============================== */
.content{
  flex:1;
  min-height:0;
  overflow:auto;
  display: flex;
  background:#fffefe;
}

/* ===============================
   MAIN LAYOUT
=============================== */
.web-section{
  height: 100%;
  display:flex;
}
/* ===============================
   왼쪽 사이드바
=============================== */
.sidebar{
  width: 30%;
  height: auto;
  flex:0 0 260px;
  background:#fff;
  padding:24px 20px;
  border-right:1px solid #eee;
  box-shadow:2px 0 10px rgba(0,0,0,0.04);
  overflow:hidden;
  position: relative;
  transition: width .28s ease, padding .28s ease;
}
.sidebar h2{
  text-align: center;
  color: #222;
  text-align: left;
}
/* ------사이드바 토클------- */
.sidebar-toggle{
  display: none;
}

/* ----사이드바 디자인 아이콘------ */
.web-icon{
  display: none;
}



/* ------filter buttons----- */
.sidebar .filter-btn{
border: none;
background: transparent;
display: flex;
align-items: center;
gap:12px;
padding: 10px 10px;
border-radius: 10px;
cursor: pointer;
transition: background .18s ease, transform .18s ease;
user-select:none;

}
.sidebar .filter-btn img{
  width: 32px;
  height: 32px;
display: block;
}

.sidebar .line{
  width: 100%;
  border-bottom: 1px dashed #e9e9e9;
}

.sidebar .filter-btn span{
  font-size:14px;
  font-weight:700;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:#222;
  white-space:nowrap;
}

.filter-btn.active{
background: #eef7f2;
width: 100%;
}

.filter-btn:hover{
background: #f4f4f4;
 transform: translateY(-1px);
 width: 100%;
}

/* ===============================
   오른쪽 내용 부분
=============================== */
.sheet{
  flex:1;
  min-width:0;
  overflow-y: hidden;   
  padding: 60px;
  height: auto;
  min-height: 900px;
  background-color: var(--bg-secondary)
}
.sheet .mix-wrapper .mix .sec-title{
  color: #000;
}

/* ===============================
   오른쪽 그리드
=============================== */
.sheet .mix-wrapper{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
  max-width:1400px;
  margin: 0 auto;
}

/* ===============================
   card
=============================== */
.sheet .mix{ 
  width:100%; 
}
.sheet .mix a img{
  width:90%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  border-radius:12px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.sheet .mix a img:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

/* line */
.mix .line2{
  display: block;
  height: 1px;
  background: #3eaf7c;
  margin-bottom: 20px;
}

/* description */
.mix .sec-title{
  font-size: 16px;
  color: #222;
  line-height: 1.4;
  padding: 15px;
  font-weight: 600;
}


/* 기본/호버 이미지 전환 */
.folder-img .img-hover{ opacity:0; }
.folder-img:hover .img-hover{ opacity:1; }
.folder-img:hover .img-default{ opacity:0; }

/* 맥OS 느낌 hover 효과 */
.folder-img{
  transition: transform .25s ease, filter .25s ease;
  transform-origin: center bottom;
}

.folder-img:hover{
  transform: translateY(-10px) scale(1.06);
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.18));
}

/* -------- 이미지 호버--------- */
.app-thumb {
  position: relative;
  display: block;
  overflow: 'hidden';
}

.app-thumb img {
  width: 100%;
  display: block;
}
/* --기본 이미지 보이게--- */
.img-default{
  opacity: 1;
}
.img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-thumb:hover .img-hover {
  opacity: 1;
}



/* ===============================
   BUTTONS
=============================== */
.mix .btn{
  display: block;
  color: #3eaf7c;
  /* border: 1px solid #3eaf7c; */
  padding: 8px 14px;
  margin-top: 12px;
  margin-right: 6px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mix .btn:hover{
  color: #fff;
  background-color: #3eaf7c;
}

.mix .btn:active{
  background-color: #2f8f64;
}

.nav-item:hover{
  background:#f4f4f4;
  transform: translateY(-1px);
}
.nav-item.active{ background:#eef7f2; }
.folder-icon{
  width:30px;
  height:30px;
}


 /*=========모달 창 ========*/
 .video-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99;
 cursor: auto !important;
}
.video-modal.active{ display:block; }
.video-modal .c-dot{
  display: none;
}
.video-modal .modal-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
} 
.mac-modal{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: min(1980px, 92vw);
  height: min(900px, 86vh);
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.30);
  border: 1px solid rgba(0,0,0,.06);
}

/* 상단바 */
.mac-topbar{
  height: 56px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 18px;
  background: #f6f6f6;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.mac-dots{
  display:flex;
  gap: 10px;
  align-items:center;
}
.mac-dots .dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display:inline-block;
  border: 1px solid rgba(0,0,0,.12);
}
.mac-dots .dot.red{
  background:#ff5f57;
  cursor:pointer;
}
.mac-dots .dot.yellow{ background:#febc2e; }
.mac-dots .dot.green{ background:#28c840; }

.mac-title{
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.55);
  font-weight: 700;
}
.mac-topbar-right{ width: 80px; } /* 가운데 정렬 보정 */

/* 바디 레이아웃 */
.mac-body{
  display:flex;
  height: calc(100% - 56px);  
}

/* 사이드 */
.mac-side{
  width: 22%;
  background: #f7f7f7;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: 22px 20px;
  display:flex;
  flex-direction: column;
  gap: 18px;
}

.side-label{
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.40);
  font-weight: 800;
  margin-bottom: 10px;
}
.side-title{
  font-size: 24px;
  font-weight: 900;
  color: rgba(0,0,0,.86);
}
.side-sub{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}

.chips{ display:flex; gap: 10px; flex-wrap: wrap; }
.chip{
  padding: 8px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  font-size: 12px;
  color: rgba(0,0,0,.70);
  font-weight: 600;
}

.meta .row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
  color: rgba(0,0,0,.60);
}
.meta .row b{
  color: rgba(0,0,0,.78);
  font-weight: 800;
}

.close-window{
  margin-top: auto;
  height: 54px;
  border-radius: 16px;
  border: none;
  background: #0f1b2a;
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}



.main-label{
  font-size: 11px;
  letter-spacing: .18em;
  color: #1ea16b;
  margin-bottom: 10px;
}
.main-title{
  margin: 0 0 18px;
  font-size: 22px;
  color: rgba(0,0,0,.78);
  font-weight: 900;
}

.media-card{
  background: #f1f1f1;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
  height: calc(100% - 90px);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* 영상 */
.media-card video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
}

/* 스크롤바 */
.mac-main::-webkit-scrollbar{ width: 10px; }
.mac-main::-webkit-scrollbar-track{ background: transparent; }
.mac-main::-webkit-scrollbar-thumb{
  background: rgba(30,161,107,.55);
  border-radius: 999px;
}

/* 모달창 뒤배경 */
.video-modal.active{ display:block; }
.video-modal .mac-modal{ pointer-events:auto; }

/* =====모달창 오른쪽 모달창 안에 자동 스크롤 ===== */
.mac-main{
  flex: 1;
  padding: 26px 26px 22px;
  overflow-y: auto;     
  overflow-x: hidden; 
  width: 78%;
}


.media-card{
  background: #f1f1f1;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
  height: auto;         
  min-height: 420px;    
  display:flex;
  align-items:center;
  justify-content:center;
}

.media-card img{
  width: 100%;
  height: auto;         
  max-height: none;     
  object-fit: contain;
  border-radius: 16px;
  display:block;
}


.mac-main::-webkit-scrollbar{
  width: 10px;
}

.mac-main::-webkit-scrollbar-track{
  background: rgba(0,0,0,.06);
  border-radius: 999px;
}
/* 모달창 스크롤바 */
.mac-main::-webkit-scrollbar-thumb{
  background:#3eaf7c;         
  border-radius: 999px;
}

.mac-main::-webkit-scrollbar-thumb:hover{
  filter: brightness(0.9);
}
.modal-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
  background:#000;
}



@media (max-width:1400px) {
  /* ===============================
1400
=============================== */

/* ------모달창 --------사이드 */
.mac-side{
  width: 20%;
  background: #f7f7f7;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: 22px 20px;
  display:flex;
  flex-direction: column;
  gap: 18px;
}
/* =====모달창 오른쪽 모달창 안에 자동 스크롤 ===== */
.mac-main{
  flex: 1;
  padding: 26px 26px 22px;
  overflow-y: auto;     
  overflow-x: hidden; 
  width: 80%;
}
}
/* ===============================
   반응형: 태블릿 (1250px 이하)
=============================== */
 /* 레이아웃을 세로로 변경 */
 @media (max-width: 1250px){
  .sidebar{
  width: 10%;;
  flex: 0 0 100px;
  padding: 20px 10px;
  height: auto;
  }

  .sidebar h2{
  font-size: 16px;
  text-align: center;

  }
  .sidebar .name{
    font-size: 8px;
    font-weight: 600;
    margin: 0;
  }

  .contact-info{
    font-size: 11px;
    margin: 0;
    padding: 0;
    border: none;
    flex-shrink: 0;
  }
.nav-list{
  margin-top: 20px;
  gap:15px;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.nav-item{
    padding: 10px 8px;
    flex-direction: column;
    gap: 6px;
    width: 70px;
}
.folder-icon{
    width: 32px;
    height: 32px;
    margin: 0;
}
.nav-item span{
    display: block;
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
}
.nav-item.active{
    background: #eef7f2;
    border-radius: 12px;
}
.nav-item:hover{
    background: #f4f4f4;
     border-radius: 12px;
}

/* ------filter buttons -----*/
.sidebar .filter-btn{
 padding: 10px 8px;
 flex-direction: column;
gap: 6px;
width: 70px;
border: none;
background: transparent;
}

.sidebar .filter-btn img{
  width: 32px;
  height: 32px;
display: block;
}
.sidebar .line{
  width: 100%;
  border-bottom: 1px dashed #e9e9e9;
}
.sidebar .filter-btn span{
 display: block;
 font-size: 10px;
 text-align: center;
 white-space: nowrap;
}

.filter-btn.active{
background: #eef7f2;
border-radius: 12px;
}
.filter-btn:hover{
background: #f4f4f4;
 border-radius: 12px;
}

  /* ===============================
   오른쪽 그리드
=============================== */
.sheet .mix-wrapper{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:20px;
  max-width:1400px;
  margin: 0 auto;
}
  /* 폴더 2x2 그리드 */
  .folders{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
  }

 .folder-item{
  width: 195px;
 }

  /* 터치 디바이스에서는 hover 효과 제거 */
  .folder-item:hover{
    transform: none;
    filter: none;
  }

  .folder-item:active{
    transform: scale(0.95);
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.12));
  }
.sheet{
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3eaf7c rgba(0,0,0,0.06);
  }
.sheet::-webkit-scrollbar{ width: 10px; }
.sheet::-webkit-scrollbar-track{ background: rgba(0,0,0,0.06); }
.sheet::-webkit-scrollbar-thumb{ background: #3eaf7c; border-radius: 999px; }

.mix-wrapper{
    grid-template-columns: repeat(3, 1fr);
  }
.sheet{
    overflow-y: auto;
  }
.mix{
    width: 85%;
    margin: 0 auto;
  }

.sheet .mix a img{
  width:85%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  border-radius:12px;
  transition: transform .3s ease, box-shadow .3s ease;
}


/* ------모달창 --------사이드 */
.mac-side{
  width: 18%;
  background: #f7f7f7;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: 22px 20px;
  display:flex;
  flex-direction: column;
  gap: 18px;
}
/* =====모달창 오른쪽 모달창 안에 자동 스크롤 ===== */
.mac-main{
  flex: 1;
  padding: 26px 26px 22px;
  overflow-y: auto;     
  overflow-x: hidden; 
  width: 88%;

 /* ===============================
   BUTTONS
=============================== */
.mix .btn{
  display: inline-block;
  color: #3eaf7c;
  border: 1px solid #3eaf7c;
  padding: 8px 14px;
  margin-top: 12px;
  margin-right: 6px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mix .btn:hover{
  color: #fff;
  background-color: #3eaf7c;
}

.mix .btn:active{
  background-color: #2f8f64;
}

.nav-item:hover{
  background:#f4f4f4;
  transform: translateY(-1px);
}
.nav-item.active{ background:#eef7f2; }
.folder-icon{
  width:30px;
  height:30px;
}

.probtn{
  width: 58%;
 display: inline-block;
  color: #3eaf7c;
  border: 1px solid #3eaf7c;
  padding: 8px 14px;
  margin-top: 12px;
  margin-right: 6px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}


/* =========모달 창 ========*/
.video-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.video-modal.active{ display:block; }

.video-modal .modal-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}

/* 모달 박스 */
.mac-modal{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width: min(1120px, 92vw);
  height: min(740px, 86vh);
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.30);
  border: 1px solid rgba(0,0,0,.06);
}

/* 상단바 */
.mac-topbar{
  height: 56px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 18px;
  background: #f6f6f6;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.mac-dots{
  display:flex;
  gap: 10px;
  align-items:center;
}
.mac-dots .dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display:inline-block;
  border: 1px solid rgba(0,0,0,.12);
}
.mac-dots .dot.red{
  background:#ff5f57;
  cursor:pointer;
}
.mac-dots .dot.yellow{ background:#febc2e; }
.mac-dots .dot.green{ background:#28c840; }

.mac-title{
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.55);
  font-weight: 700;
}
.mac-topbar-right{ width: 80px; } /* 가운데 정렬 보정 */

/* 바디 레이아웃 */
.mac-body{
  display:flex;
  height: calc(100% - 56px);
}

/* 사이드 */
.mac-side{
  width:18%;
  background: #f7f7f7;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: 22px 20px;
  display:flex;
  flex-direction: column;
  gap: 18px;
}

/* =====모달창 오른쪽 모달창 안에 자동 스크롤 ===== */
.mac-main{
  flex: 1;
  padding: 26px 26px 22px;
  overflow-y: auto;     
  overflow-x: hidden; 
  width: 88%;
}
}
.side-label{
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.40);
  font-weight: 800;
  margin-bottom: 10px;
}
.side-title{
  font-size: 24px;
  font-weight: 900;
  color: rgba(0,0,0,.86);
}
.side-sub{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}
.chips{ display:flex; gap: 10px; flex-wrap: wrap; }
.chip{
  padding: 8px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  font-size: 12px;
  color: rgba(0,0,0,.70);
  font-weight: 600;
}
.meta .row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
  color: rgba(0,0,0,.60);
}
.meta .row b{
  color: rgba(0,0,0,.78);
  font-weight: 800;
}

.close-window{
  margin-top: auto;
  height: 54px;
  border-radius: 16px;
  border: none;
  background: #0f1b2a;
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
}

.main-label{
  font-size: 11px;
  letter-spacing: .18em;
  color: #1ea16b;
  margin-bottom: 10px;
}
.main-title{
  margin: 0 0 18px;
  font-size: 22px;
  color: rgba(0,0,0,.78);
  font-weight: 900;
}
.media-card{
  background: #f1f1f1;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
  height: calc(100% - 90px);
  display:flex;
  align-items:center;
  justify-content:center;
}
/* 영상 */
.media-card video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: #000;
}
/* 스크롤바 */
.mac-main::-webkit-scrollbar{ width: 10px; }
.mac-main::-webkit-scrollbar-track{ background: transparent; }
.mac-main::-webkit-scrollbar-thumb{
  background: rgba(30,161,107,.55);
  border-radius: 999px;
}
/* 모달창 뒤배경 */
.video-modal.active{ display:block; }
.video-modal .mac-modal{ pointer-events:auto; }


.media-card{
  background: #f1f1f1;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
  height: auto;         
  min-height: 420px;    
  display:flex;
  align-items:center;
  justify-content:center;
}

.media-card img{
  width: 100%;
  height: auto;         
  max-height: none;     
  object-fit: contain;
  border-radius: 16px;
  display:block;
}

.mac-main::-webkit-scrollbar{
  width: 10px;
}

.mac-main::-webkit-scrollbar-track{
  background: rgba(0,0,0,.06);
  border-radius: 999px;
}
/* 모달창 스크롤바 */
.mac-main::-webkit-scrollbar-thumb{
  background:#3eaf7c;         
  border-radius: 999px;
}

.mac-main::-webkit-scrollbar-thumb:hover{
  filter: brightness(0.9);
}
.modal-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
  background:#000;
}
 }




/* ===============================
   반응형: 태블릿 (800px 이하)
=============================== */
@media (max-width:800px){
  /* 필터 영역 */
  .container{
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;        
    overflow: hidden;         
    gap: 10px;
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }

  /* 제목 */
  .container h2{
    width: 100%;
    font-size: 16px;
    margin-bottom: 8px;
  }

  /* 필터 버튼: 태블릿은 한 줄에 4개 */
  .container .filter-btn{
    flex: 1 1 calc(25% - 10px);
    max-width: calc(25% - 10px);
    justify-content: center;
    padding: 8px 6px;
    min-height: 48px;
    gap: 6px;
  }

  .container .filter-btn img{
    width: 22px;
    height: 22px;
  }
/* ----사이드바------ */

.sidebar {
width: 10%;
   height: auto;
  flex: 0 0 100px;
  padding: 20px 10px;
}
.sidebar h2{
  text-align: center;
  font-size: 16px;
}
.filter-btn span{
  display: block;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}

  .container .line{
    display: none;
  }

  /* --------컨텐츠-------- */
  .sheet{
   padding: 30px 20px;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3eaf7c rgba(0,0,0,0.06);
  }
  .sheet::-webkit-scrollbar{ width: 10px; } 
  .sheet::-webkit-scrollbar-track{ background: rgba(0,0,0,0.06); }
  .sheet::-webkit-scrollbar-thumb{ background: #3eaf7c; border-radius: 999px; }
  /* 터치 환경 hover 제거 */
  .folder-img:hover{
    transform: none;
    filter: none;
  }

  .folder-img:active{
    transform: scale(0.95);
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.12));
  }
  .sheet .mix-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}
  .mix{
    width: 60%;
    margin: 0 auto;
    padding-bottom: 60px;
  }

/* ------------------------모달창-------------------------- */
/* 모달 상단바 */
.mac-topbar{
  height: 45px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 12px;
  background: #f6f6f6;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
/* 모달창 왼쪽사이드 */
.mac-side{
  width: 16%;
  background: #f7f7f7;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: 22px 20px;
  display:flex;
  flex-direction: column;
  gap: 18px;
}
/* =====모달창 오른쪽 모달창 안에 자동 스크롤 ===== */
.mac-main{
  flex: 1;
  padding: 26px 26px 22px;
  overflow-y: auto;     
  overflow-x: hidden; 
  width: 84%;
}
.side-label{
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(0,0,0,.40);
  font-weight: 600;
  margin-bottom: 10px;
}
.side-title{
  font-size: 20px;
  font-weight: 900;
  color: rgba(0,0,0,.86);
}
.side-sub{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}


.chips{ display:flex; gap: 10px; flex-wrap: wrap; }
.chip{
  padding: 6px 6px;
  border: 1px solid rgba(0,0,0,.06);
  font-size: 12px;
  font-weight: 500;
}

.meta .row{
  font-size: 11px;
}
.meta .row b{
  color: rgba(0,0,0,.78);
  font-weight: 700;
}
/* ---닫기----- */
.close-window{
  margin-top: auto;
  height: 34px;
  border-radius: 10px;
  background: #0f1b2a;
  color: #fff;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
}

}


/* ===============================
  반응형 600px 이하
=============================== */
@media (max-width: 600px){
  .design-section{
    display: flex;
  }
.container{
    flex: 0 0 auto;   /* 고정 12% 해제 */
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #eee;
  }
  /* 오른쪽 컨텐츠 영역 */
  .sheet{
    width: 100%;
    overflow-y: auto; /* 모바일에서 스크롤 가능 */
    padding: 12px;
  }
   .mix{
    margin: 0 auto;
  }
/* 이미지 크기 */
  .mix a img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .3s ease;
  }

  /* 그리드는 1열 */
  .mix-wrapper{
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 18px auto;
  }

/* ----사이드바------ */


/* -------모달창--------------- */
/* 모달 상단바 */
.mac-topbar{
  height: 35px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 12px;
}
.mac-body{
  display: block;
  height: auto;
  height: 100%;
  overflow-y: auto;
  padding-bottom: 40px;
}
/* 모달창 왼쪽사이드 */
.mac-side{
 width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
  border-right: none;
  border-bottom: 1px solid #e5e5e5;
}
.side-block{
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
  }
.side-label{
  font-size: 8px;
  margin-bottom: 10px;
}
.side-title{
  font-size: 12px;
  font-weight: 600;
}
.side-sub{
  margin-top: 6px;
  font-size: 8px;
}

.chips{ 
  display:flex;
  gap: 4px;
  flex-wrap: wrap; }

.chip{
  padding: 4px 4px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}
.meta .row b {
   font-weight: 400;
}
.meta .row span{
  font-size: 10px;
  display: none;
}

/* 닫기버튼 */
.close-window{
  margin-top: auto;
  height: 30px;
  border-radius: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  cursor: pointer;
  font-size: 10px;
}
/* ------모달창 --------사이드 */
.mac-side{
  width: 100%;
  background: #f7f7f7;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: 22px 20px;
  gap: 18px;
}
/* =====모달창 오른쪽 모달창 안에 자동 스크롤 ===== */
.mac-main{
  flex: 1;
  /* padding: 26px 26px 22px; */
  overflow-y: auto;     
  overflow-x: hidden; 
  width: 100%;
}
  .media-card{
    width: 100%;
    height: auto;
    min-height: unset;
    margin-bottom: 20px;
    padding: 0;
    aspect-ratio: unset;
    background: transparent;
  }
  .media-card img{
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  .media-card video{
    width: 100%;
    height: 75vh;          
    min-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    background: #000;
  }
 .mac-main{
  height: calc(100vh - 35px);
  overflow-y: auto;
  overflow-x: hidden;
 }
 .mac-modal{
  height: 100vh;
  max-height: 100vh;
  /* overflow:visible; */
  border-radius: 0;
 }

}

/* ===============================
   반응형: 모바일 (480px 이하)
=============================== */
@media (max-width: 480px){

  /* 필터 영역 */
  .container{
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;         
    overflow: hidden;         
    gap: 6px;
    padding: 12px 12px;
    border-bottom: 1px solid #eee;
  }

  /* 제목 */
  .container h2{
    width: 100%;
    font-size: 14px;
    margin-bottom: 6px;
  }

  /* 필터 버튼: 화면 폭 기준으로 자동 분배 */
  .container .filter-btn{
    flex: 1 1 calc(33.333% - 6px);  
    max-width: calc(33.333% - 6px);
    justify-content: center;
    padding: 6px 4px;
    min-height: 44px;               
    gap: 4px;
  }

  /* 아이콘 */
  .container .filter-btn img{
    width: 18px;
    height: 18px;
  }

  /* 텍스트 */
  .container .filter-btn span{
    font-size: 10px;
    letter-spacing: .4px;
  }

  /* 구분선 제거 */
  .container .line{
    display: none;
  }

/* ----사이드바------ */
.web-section{
}
.sidebar {
  position: fixed;
  left:0px;
  top:0px;
  width: 60px;
  height: 100vh;
  z-index: 90;
  transform: translateX(-100%);
  flex: none;
  padding: 80px 16px 20px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.903);
  overflow-x: hidden;
  transition: transform 0.3s ease;
}

.sidebar.active{
  transform: translateX(0);
}
/*---초록버튼----- */
.sidebar-toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 95;
    width: 44px;
    height: 44px;
    background: #3eaf7c;
    border-radius: 50%;
    border: none;
    color: #fff;
  }
.web-icon{
  display: block;
  padding-bottom: 24px;
  text-align: center;
}
.sidebar h2{
  font-size:8px;
  margin-bottom: 20px;
  text-align: left;
}
.nav-list{
  gap: 8px;
  margin-top: 0;
}

.filter-btn{
  flex: 1 1 calc(25% - 10px);
  max-width: calc(25% - 10px);
  min-width: 70px;
  padding: 10px 10px;
  gap: 4px;
}

.filter-btn img{
  width: 24px;
  height: 24px;
}

.filter-btn span{
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
}

.filter-btn{
  padding: 8px 6px;
  gap:4px;
}
.filter-btn img{
  width: 26px;
  height: 26px;
}

.filter-btn span{
  display: block;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
}

  /* ===============================
     CONTENT
  =============================== */
  .sheet{
    padding: 20px 16px 80px;
  }

  .sheet .mix-wrapper{
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
  .mix a img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .3s ease;
  }
/* -----------------모달창------------------------ */
  /* 3. 모달창 영역 */
  .mac-topbar {
    height: 35px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mac-side {
    padding: 8px;
    gap:8px
  }
  .side-block{
    padding: 8px;
    border-radius: 8px;
  }
  .side-label {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .side-title {
    font-size: 12px;
  }

  .side-sub {
    margin-top: 6px;
    font-size: 8px;
  }

  .chips {
    font-size: 9px;
    padding: 3px 6px;
  }

  .chip {
    font-size: 9px;
    padding: 3px 6px;
  }

  .meta .row b {
    font-size: 8px;
    font-weight: 400;
  }

  .meta .row span {
    font-size: 8px;
  }

  .close-window {
    font-size: 11px;
    padding: 8px 0;
  }

   /* 메인 콘텐츠 */
  .mac-main{
    padding: 12px;
  }

  .main-title{
    font-size: 14px;
    line-height: 1.4;
  }
/* ----모바일일때 비디오 크게 */
  .media-card{
    width: 100%;
    margin: 0;
  }

  .media-card video{
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }


}



/* ===============================
   반응형: 초소형 (360px 이하)
=============================== */
@media (max-width: 360px){
  .sidebar {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 60px;
  height: 100vh;
  z-index: 90;
  padding: 80px 16px 20px;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.903);
  transform: translateX(-100%);
}

.sidebar.active{
  transform: translateX(0);
}
/*---초록버튼----- */
.sidebar-toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 95;
    width: 44px;
    height: 44px;
    background: #3eaf7c;
    border-radius: 50%;
    border: none;
    color: #fff;
  }

.sidebar h2{
  font-size:8px;
  margin-bottom: 20px;
  text-align: left;
}
.nav-list{
  gap: 8px;
  margin-top: 0;
}
.web-icon{
  display: block;
  padding-bottom: 24px;
  text-align: center;
}
.filter-btn{
  padding: 8px 6px;
  gap: 4px;
}

.filter-btn img{
  width: 26px;
  height: 26px;
}

.filter-btn span{
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
}

.filter-btn{
  padding: 8px 6px;
  gap:4px;
}
.filter-btn img{
  width: 26px;
  height: 26px;
}

.filter-btn span{
  display: block;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
}


  /* 그리드 1열 */
  .sheet .mix-wrapper{
    grid-template-columns: 1fr;
    gap: 16px;
  }
.sheet .mix-wrapper .mix .sec-title{
    font-size: 12px;
   }
  .sheet{
    padding: 16px 12px 80px;
  }

  .container{
    padding: 10px 12px;
  }

  .container h2{
    font-size: 13px;
  }

  .container .filter-btn span{
    font-size: 9px;
  }
  /* -------모달창--------------- */
/* 모달창 왼쪽사이드 */
.mac-side{
  width: 80x;
  background: #f7f7f7;
  padding: 12px 12px;
  gap: 10px;
}

.side-label{
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.side-title{
  font-size: 0px;
  font-weight: 600;
}
.side-sub{
  margin-top: 6px;
  font-size: 8px;
}

.chips{ 
  display:flex;
  gap: 4px;
  flex-wrap: wrap;
 }

.chip{
  padding: 2px 2px;
  border-radius: 10px;
  font-size: 8px;
}
.meta .row b {
   font-weight: 400;
   font-size: 8px;
}
.meta .row span{
  font-size: 8px;
}

/* 닫기버튼 */
.close-window{
  margin-top: auto;
  height: 20px;
  border-radius: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  cursor: pointer;
  font-size: 10px;
}
.main-title{
  font-size: 16px;
}

.media-card video{
 height: auto;
}
}