/* ── NFT Table — 셀 텍스트 말줄임 ──────────────────────────────── */
.nft-table {
  table-layout: fixed;
}

/* ── Option PC Table — 셀 텍스트 말줄임 ────────────────────────── */
.opt-pc-table {
  table-layout: fixed;
}

.opt-pc-table .dao-opt-col-governance,
.opt-pc-table .dao-opt-col-method {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nft-name-flex {
  min-width: 0;
  overflow: hidden;
}

.nft-cell-ellipsis {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  flex: 1;
}

/* ── NFT Detail Image ───────────────────────────────────────────── */
.nftd-image-placeholder {
  overflow: hidden;
}

.nftd-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── NFT Table Image ────────────────────────────────────────────── */
.dao-my-nft-table-nft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* ── Profile Edit ───────────────────────────────────────────────── */
.dao-edit-field-error {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  font-size: 11px;
  color: #ff3232;
  border-radius: 6px;
  padding: 5px 10px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

.dao-edit-input-wrap {
  position: relative;
}

/* ── License Detail: Copy Toast ────────────────────────────────── */

.mlhd-copy-toast {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 22, 0.9);
  color: #f1f1f1;
  font-family: 'Nanum Gothic', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 24px;
  border-radius: 24px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  animation: mlhd-toast-in 0.2s ease;
}

@keyframes mlhd-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── License: Search Type Dropdown ─────────────────────────────── */

.mlh-search-type-wrap {
  position: relative;
  flex-shrink: 0;
}

.mlh-search-type-wrap > summary {
  list-style: none;
}
.mlh-search-type-wrap > summary::-webkit-details-marker {
  display: none;
}

.mlh-search-type-chevron {
  transition: transform 0.2s ease;
}

.mlh-search-type-wrap[open] .mlh-search-type-chevron {
  transform: rotate(180deg);
}

.mlh-search-type-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  min-width: 100%;
  background: #1f1f21;
  border: 1px solid #3a3a3e;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.mlh-search-type-item {
  padding: 10px 16px;
  font-family: 'Nanum Gothic', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #f1f1f1;
  cursor: pointer;
  white-space: nowrap;
}

.mlh-search-type-item:hover {
  background: #3a3a3e;
}

.mlh-search-type-item--active {
  background: #3a3a3e;
  font-weight: 700;
}

.mlh-pag-btn:disabled {
  background-color: transparent;
}

@media (max-width: 1200px) {
   .mlh-notice-line,
   .mlhd-notice-line {
    font-size: 16px;
   }
}
/* mlcl- 모달 PC/Mobile 마크업 토글 — 전역 적용 */
@media (min-width: 1200px) {
  .mlcl-mobile-only-block { display: none !important; }
}
@media (max-width: 1199px) {
  .mlcl-pc-only-block { display: none !important; }
}

/* mlcl- 모달/폼 — 모바일 폰트 사이즈 */
@media (max-width: 1199px) {
  /* 안내 문구: PC 20/30 → Mobile 15/22 */
  .mlcl-notice-line {
    font-size: 15px;
    line-height: 22px;
  }

  /* 페이지 제목: PC 32/42 → Mobile 24/34 */
  .mlcl-page-title {
    font-size: 24px;
    line-height: 34px;
  }

  /* 섹션 제목: PC 18/26 → Mobile 16/24 */
  .mlcl-section-title {
    font-size: 16px;
    line-height: 24px;
  }

  /* 모달 타이틀: PC 18/26 → Mobile 16/22 */
  .mlcl-modal-title {
    font-size: 16px;
    line-height: 22px;
  }

  /* 진행 타이틀: PC 18/26 → Mobile 17/24 */
  .mlcl-progress-title {
    font-size: 17px;
    line-height: 24px;
  }

  /* 성공 타이틀: PC 22/30 → Mobile 17/24 */
  .mlcl-success-title {
    font-size: 17px;
    line-height: 24px;
  }

  /* 성공 설명: PC 13/20 → Mobile 12/18 */
  .mlcl-success-desc {
    font-size: 12px;
    line-height: 18px;
  }
}
