* { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { width: 100%; background-color: #f9f9f9; font-family: sans-serif; overflow-x: hidden; }

    .top-bar, .header-bar { width: 100%; }

    .top-bar {
      background-color: #ffffff;
      color: #202124;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 50px;
      font-size: 14px;
    }

    .breadcrumbs {
      display: flex;
      align-items: center;
      gap: 5px;
      overflow: hidden;
    }

    .breadcrumbs span {
      white-space: nowrap;
      max-width: 180px;
    }

    option .span {
      /*white-space: nowrap;
      overflow: hidden;*/
    }

    .filters {
      display: flex;
      gap: 10px;
    }

    
.filters select {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

    
/* 기본: 넉넉한 너비 유지 */
.filters select {
  padding: 4px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  font-size: 13px;
  cursor: pointer;
  width: auto;
  max-width: none;
}

/* 모바일 화면에서만 줄이기 */
@media (max-width: 768px) {
  .filters select {
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* */
.info {
  background: white;
  font-family: 'Noto Serif KR', serif;
  line-height: 1.8;
  letter-spacing: 0;
  text-align: left;
  word-break: keep-all;
  padding-left: 30px;
  padding-top: 30px;
  padding-right: 30px;
}
.info div{
  padding-top: 8px;
}

.credit {
  /* font style */
  font-family: 'Noto Serif KR', serif;
  font-size: 0.9rem;

  line-height: 1.6;
  letter-spacing: 0;
  text-align: left;
  word-break: keep-all;
  padding-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
  background-color: white;

  /* 스크롤
  height: 160px;
  overflow-y: auto;*/
}
.info div{
  padding-top: 8px;
}
.credit p{
  padding-top: 8px;
}
.credit ul {
  padding-top: 8px;
}
.credit li {
  list-style-type: none;
}
.footer {
  background: white;
  line-height: 1.8;
  letter-spacing: 0;
  text-align: center;
  word-break: keep-all;
  padding-left: 30px;
  padding-top: 60px;
  padding-bottom: 30px;
  font-size: 0.8rem;
  font-family: 'Noto Serif KR', serif;
}
/* */
    .filters button {
      padding: 4px 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      background: white;
      cursor: pointer;
      font-size: 13px;
    }

    .folder-list {
      background: #fff;
      color: #222;
      padding: 20px;
      font-size: 14px;
    }

    .folder-item {
      display: flex;
      align-items: center;
      border-bottom: 1px solid #ddd;
      padding: 12px 0;
    }

    .folder-item img {
      width: 20px;
      margin-right: 12px;
    }
    .folder-item .name { flex: 1; }
    .folder-item .owner, .folder-item .date, .folder-item .size {
      width: 100px;
      text-align: center;
    }
    .folder-item .menu {
      width: 30px;
      text-align: right;
    }

    .inline-slider {
      display: flex;
      overflow-x: auto;
      gap: 10px;
      padding: 10px 20px;
      background: #fff;
    }
    .inline-slider img {
      height: 120px;
      border-radius: 4px;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }

    .header-bar {
      background-color: #2a2a2a;
      color: white;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 50px;
    }

    .header-bar .left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .header-bar .left img { width: 20px; }

    .header-bar .right button {
      background-color: #1a73e8;
      border: none;
      padding: 6px 12px;
      border-radius: 20px;
      color: white;
      cursor: pointer;
      font-weight: bold;
    }

    .viewer {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 70vh;
      background: #0a0a0a;
      position: relative;
    }

    .slide { display: none; position: absolute; text-align: center; }

    .slide img {
      max-width: 90vw;
      max-height: 80vh;
      box-shadow: 0 0 30px rgba(255, 200, 100, 0.3);
      transition: transform 0.3s ease;
    }

    .slide p {
      color: #ccc;
      margin-top: 12px;
      font-size: 1rem;
    }

    .slide.active { display: block; }

    .overlay {
      position: absolute;
      bottom: 20px;
      left: 20px;
      background: rgba(0, 0, 0, 0.6);
      color: white;
      padding: 10px 16px;
      border-radius: 8px;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: white;
      background: rgba(0,0,0,0.3);
      padding: 10px;
      cursor: pointer;
      z-index: 10;
    }

    .prev { left: 20px; }
    .next { right: 20px; }
  
.inline-slider img { cursor: pointer; }

.inline-slider { display: none; }
.inline-slider.active { display: flex; }

/* 이미지 모달 그림자 */
#modal-img {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}