@charset "UTF-8";
/* CSS Document */

  /* Floating Button Group */
    .pop_floating-buttons {
      position: fixed;
      right: 20px;
      bottom: 256px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      z-index: 1000;
    }
    .pop_floating-buttons img {
      width: 50px;
      height: 50px;
      cursor: pointer;
      border-radius: 0;
      object-fit: cover;
      transition: transform 0.2s ease;
    }
    .pop_floating-buttons img:hover {
      transform: scale(1.1);
    }

    /* Modal */
    .pop_modal {
      visibility: hidden;
      opacity: 0;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      z-index: 2000;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .pop_modal.show {
      visibility: visible;
      opacity: 1;
    }
    .pop_modal-content {
      position: relative;
      max-width: 90%;
      max-height: 80%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .pop_modal-content a {
      display: inline-block;
      max-width: 100%;
      max-height: 100%;
    }
    .pop_modal-content img {
      max-width: 100%;
      max-height: 100%;
      border-radius: 0;
      object-fit: contain;
      position: relative;
      transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .pop_controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      margin-bottom: 5px;
    }
    .pop_hide-btn, .pop_close-btn {
      font-size: 14px;
      cursor: pointer;
      padding: 10px 0px;
      border-radius: 4px;
    }
    .pop_hide-btn {    background: transparent;
      color: #fff;
      border: none;
    }
    .pop_close-btn {
      background: #333;
      color: #fff;
      border: none;
    }

    .pop_nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 40px;
      color: white;
      border-radius: 50%;
      padding: 8px;
      cursor: pointer;
      user-select: none;
      transition: background 0.2s ease;
      z-index: 10;
    }
    .pop_nav-btn:hover {
      background: rgba(0,0,0,0.6);
    }
    .pop_prev-btn { left: -60px; }
    .pop_next-btn { right: -60px; }

    /* Thumbnails */
    .pop_thumbnails {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-top: 15px;
      flex-wrap: wrap;
    }
    .pop_thumbnails img {
      width: 60px;
      height: 40px;
      object-fit: cover;
      border-radius: 4px;
      cursor: pointer;
      opacity: 0.6;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .pop_thumbnails img:hover {
      transform: scale(1.1);
      opacity: 1;
    }
    .pop_thumbnails img.active {
      border: 1px solid #fff;
      opacity: 1;
    }
.pop_floating-buttons h3{font-size:13px;}

    /* 반응형 */
    @media (max-width: 1023px) {
      .pop_floating-buttons {
        right: 20px;
        top: 130px;
      }
    }
    @media (max-width: 900px) {
      .pop_prev-btn { left: -40px; }
      .pop_next-btn { right: -40px; }
    }
    @media (max-width: 600px) {
      .pop_nav-btn {
        font-size: 28px;
        padding: 6px;
      }
      .pop_thumbnails img {
        width: 45px;
        height: 30px;
      }
    }