
body{
  opacity: auto;
}
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는 항상 하단에 고정 */
.footer{
  flex-shrink: 0;
  margin-top: auto;
  padding: 20px 100px 24px;
  background:#fff;
  width: 100%; 
}

/* ===============================
   마우스커서
=============================== */
body{ cursor:none; }
.c-dot{
  position:fixed; top:0; left:0;
  width:18px; height:18px;
  border-radius:50%;
  background:#3eaf7c;
  transform:translate(-50%,-50%);
  pointer-events:none;
  z-index:99;
}

@media (hover:none) and (pointer:coarse){
  body{cursor:auto;}
  .c-dot{display:none !important;}
}
/* ===============================
   CONTENT
=============================== */
.content{
  flex:1;
  min-height:0;
  overflow:hidden;
  display: flex;
  background:#fffefe;
}

/* ===============================
   MAIN LAYOUT
=============================== */
.app-section{
  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;
}
.sidebar h2{
  text-align:left;
  margin-bottom:10px;
  color:#222;
}

.app-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;
  padding: 60px;
  height: auto;
  min-height: 900px;
  background-color: #f7fafc;
}
.sheet .mix-wrapper .mix .sec-title{
  color: #000;
}

/* ===============================
   오른쪽 그리드
=============================== */
.sheet .mix-wrapper{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  max-width:1400px;
  margin: 0 auto;
}

/* ===============================
   card
=============================== */
.sheet .mix{ 
  width:100%; 
}
.sheet .mix a img{
  width:55%;
  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: 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;
}

/* =========모달 창 ========*/
.video-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99;
}
.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(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:280px;
  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: 16px;
  color: rgba(0,0,0,.55);
  font-weight: 600 ;
}

.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;
}

/* 메인 */
.mac-main{
  flex:1;
  padding: 26px 26px 22px;
  /* overflow: auto; */
}

.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;
}


.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;
}


#modalVideo,
#modalImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

/* =====================
   MODAL THEME
===================== */

/* GREEN */
.theme-green {
  --accent: #3eaf7c;
}

/* BLUE */
.theme-blue {
  --accent: #3b82f6;
}

/* DARK */
.theme-dark {
  --accent: #7c3aed;
}

/* 공통 적용 */
.mac-modal {
  border-top: 3px solid var(--accent);
  
}

.theme-green .chip,
.theme-blue .chip,
.theme-dark .chip {
  background: var(--accent);
  color: #fff;
}

.theme-green .main-label,
.theme-blue .main-label,
.theme-dark .main-label {
  color: var(--accent);
}


/* ===============================
   반응형: 태블릿 (1250px 이하)
=============================== */
 @media (max-width: 1250px){

.app-section{

}
.content{
  overflow: visible;
}

/* -------------------------------
      사이드바 
-------------------- */ 
  .sidebar{
  width: 80px;
  height: auto;
  flex: 0 0 100px;
  padding: 20px 10px;
  }

  .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{
    height: auto;
    overflow: visible;
  }
  .main-area{
    padding: 40px 30px;
    overflow-y: 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;
 }

  .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));
  }

 }

.mix-wrapper{
    grid-template-columns: repeat(3, 1fr);
  }
.sheet{
    overflow-y: auto;
  }
.mix{
    width:100%;
    margin: 0 auto;
  }

 /* ===============================
   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: 100%;
 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;
}

/*  */
/* ===============================
   반응형: 태블릿 (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);
  }
  /* 제목 */
  .sidebar 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: 80px;
   height: auto;
  flex: 0 0 100px;
  padding: 14px 8px;
}
.sidebar h2{
  font-size: 13px;
  margin-bottom: 10px;
}
.filter-btn img{
  width: 26px;
  height: 26px;
}
.filter-btn span{
  display: block;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
}

  .container .line{
    display: none;
  }

  /* 터치 환경 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;
}
.sheet .mix a img {
    width: 85%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .3s ease, box-shadow .3s ease;}

  .mix{
    width: 60%;
    margin: 0 auto;
  }
  .mac-side{
    width: 200px;
  }

/* ------------------------모달창-------------------------- */

/* 사이드 */
.mac-side{
  width:180px;
  padding: 18px 16px;
  display:flex;
  flex-direction: column;
  gap: 22px;
}

.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: 8%;
  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){
  .app-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: 600px;
}
/* 모달창 왼쪽사이드 */
.mac-side{
 width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  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: 12px;
  margin-bottom: 10px;
}Í
.side-title{
  font-size: 12px;
  font-weight: 600;
}
.side-sub{
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
}

.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;
}
.mac-main{
  padding: 12px;
  height: auto;
  overflow: visible;
}
/* 닫기버튼 */
.close-window{
  margin-top: auto;
  height: 30px;
  border-radius: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  cursor: pointer;
  font-size: 10px;
}

  .media-card{
    width: 100%;
    height: auto;
    padding: 0;
    aspect-ratio: unset;
    background: transparent;
  }

  .media-card video{
    width: 100%;
    height: 75vh;          
    min-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    background: #000;
  }
}




/* ===============================
   반응형: 모바일 (480px 이하)
=============================== */
@media (max-width: 480px) {

  /* 1. 필터 영역 (상단) */
  .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); /* 한 줄에 3개 */
    max-width: calc(33.333% - 6px);
    min-height: 44px; /* 터치 영역 확보 */
    padding: 6px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .container .filter-btn img {
    width: 18px;
    height: 18px;
  }

  .container .filter-btn span {
    font-size: 10px;
    letter-spacing: .4px;
  }

  .container .line {
    display: none; /* 모바일에서 구분선 제거 */
  }

  /* ------사이드바------ */
.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;
  }
.app-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;
}

  /* 2. 콘텐츠 영역 (그리드) */
  .sheet {
    width: 100%;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding: 20px 16px 80px;
  }

  .sheet .mix-wrapper {
    grid-template-columns: repeat(1, 1fr); /* 모바일은 1열 배치가 기본 */
    gap: 12px;
  }

  .mix {
    margin: 0 auto;
  }

  .mix a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
  }
  

/* -----------------모달창------------------------ */
  /* 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;
}
.design-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: 8px;
  }
   .sheet .mix-wrapper .mix .sec-title{
    font-size: 12px;
   }
  .sheet{
    padding: 16px 12px 80px;
  }
   .mix a img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .3s ease, box-shadow .3s ease;
}
  .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;
}

}