/* ── 로딩 스크린 ── */
#nz-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #FAF7F2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.4s ease;
}
#nz-loader.nz-loader-hide {
  opacity: 0;
  pointer-events: none;
}
#nz-loader-lemon {
  width: 48px;
  height: 48px;
  animation: nz-bounce 1s ease-in-out infinite;
}
#nz-loader-lemon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#nz-loader-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #E8E0D5;
  border-top-color: #C8B888;
  border-radius: 50%;
  animation: nz-spin 0.7s linear infinite;
}
@keyframes nz-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes nz-spin {
  to { transform: rotate(360deg); }
}

/* 로딩 중 본문 숨김 */
body.nz-loading #__next,
body.nz-loading .super-root,
body.nz-loading .notion-app {
  opacity: 0;
}

/* ── 메인 페이지 불필요 페이지 링크 숨김 ── */
a.notion-page[href="/나조토키-구매처-정보"],
a.notion-page[href="/자기소개"],
a.notion-page[href="/테스트용-페이지"] {
  display: none !important;
}

/* ── 리뷰 카운터 + 마지막 업데이트 ── */
#nz-review-counter {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin: 32px 0 -20px;
}
@media (max-width: 768px) {
  #nz-review-counter {
    margin: 48px 0 -32px;
  }
}
#nz-review-counter strong {
  color: #333;
  font-size: 15px;
}

/* ── 갤러리 카드 작성일 숨김 (NEW 뱃지 판별용으로 DOM에만 유지) ── */
.notion-collection-card .property-57636b4d {
  display: none !important;
}

/* ── 갤러리 카드 NEW 뱃지 ── */
.nz-new-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #FF3B30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  z-index: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  pointer-events: none;
}
@media (max-width: 768px) {
  .nz-new-badge {
    top: 6px;
    left: 6px;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 10px;
  }
}

/* ── 메인 페이지 타이틀 이미지 ── */
.nz-title-img-wrap {
  text-align: center;
  padding: 0 16px;
  margin-top: -120px;
  margin-bottom: -120px;
}

/* 원래 Notion 제목 영역이 클릭을 가로채지 않도록 */
.notion-header__title-wrapper {
  pointer-events: none !important;
}
.nz-title-img-wrap img {
  pointer-events: none;
  max-width: 590px;
  width: 100%;
  height: auto;
  display: inline-block;
}
@media (max-width: 768px) {
  .nz-title-img-wrap {
    padding: 0 12px;
    margin-top: -80px;
    margin-bottom: -90px;
  }
  .nz-title-img-wrap img {
    max-width: 500px;
    width: 100%;
  }
}

a.notion-page[href="/나조토키謎解き란"] {
  display: none !important;
}

a.notion-page[href="/리뷰-예정-목록"] {
  display: none !important;
}

.notion-collection__header {
  display: none !important;
}

@media (max-width: 768px) {
  /* 갤러리 2칸 */
  .notion-collection-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
 
  /* 카드 커버 이미지 높이 조절 */
  .notion-collection-card__cover,
  .notion-collection-card__cover.medium,
  img.notion-collection-card__cover.medium {
    height: 170px !important;
    max-height: 170px !important;
    min-height: unset !important;
    width: 100% !important;
  }

  /* 페이지 제목 */
  .notion-header__title {
    font-size: 2rem !important;
  }

  /* 카드 제목 */
  .notion-property__title {
    font-size: 0.95rem !important;
  }

  /* 카드 속성 태그 */
  .notion-pill {
    font-size: 0.8rem !important;
  }
  
  /*모바일 환경 표 각 칸 너비 조절*/
   .notion-collection-table__head-cell.title,
  .notion-collection-table__cell.title {
    width: 40% !important;
  }

  .notion-collection-table__head-cell.multi_select,
  .notion-collection-table__cell.multi_select {
    width: 30% !important;
  }

  .notion-collection-table__head-cell.select,
  .notion-collection-table__cell.select {
    width: 26% !important;
  }
  
  /*표의 선택 옵션들 글자 길면 두줄로*/
  .notion-collection-table__cell .notion-pill {
    white-space: normal !important;
    word-break: break-all !important;
    height: auto !important;
  }
  
}

.notion-collection-card__property-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.notion-property__title {
  width: 100% !important;
}

.notion-property__select {
  width: auto !important;
  margin-right: 4px !important;
}

/* 제작사만 항상 새 줄로 */
.property-5667463f {
  width: 100% !important;
}

.notion-pill {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.37 !important;
  padding-top: 1px !important;
}

/* =====================================================
   나조토키 리뷰 커스텀 레이아웃 — Super.so CSS 인젝션
   ===================================================== */

.nz-review-wrap {
  max-width: 390px;
  margin: 0 auto;
  padding: 0 0 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nz-card {
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  padding: 16px;
  border: 0.5px solid rgba(0,0,0,0.12);
  border-top: none;
}

/* 헤더 */
.nz-header { margin-bottom: 16px; }

.nz-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.nz-title-main { font-size: 24px; font-weight: 500; color: #2c2c2a; }
.nz-title-sub  { font-size: 13px; font-weight: 500; color: #888780; }

/* 섹션 */
.nz-section {
  border-top: 0.5px solid rgba(0,0,0,0.12);
  padding-top: 12px;
  margin-bottom: 12px;
}
.nz-section-title {
  font-size: 10px;
  font-weight: 500;
  color: #888780;
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 그리드 */
.nz-grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}

/* 셀 */
.nz-cell {
  background: #f1efe8;
  border-radius: 8px;
  padding: 8px 10px;
}
.nz-cell-center {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.nz-cell-center .badge {
  display: block;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}
.nz-cell-label {
  font-size: 10px;
  color: #888780;
  margin: 0 0 6px;
}
.nz-cell-value {
  font-size: 12px;
  font-weight: 500;
  color: #2c2c2a;
  margin: 0;
}

/* 뱃지 — .nz-review-wrap 안에서만 적용 */
.nz-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.nz-review-wrap .badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}
.nz-review-wrap .badge-lg           { font-size: 15px; padding: 6px 14px; line-height: 1.4; }
.nz-review-wrap .badge-lg.badge-pink   { border: 1.5px solid #f0b4d0; }
.nz-review-wrap .badge-lg.badge-yellow { border: 1.5px solid #f0d87a; }
.nz-review-wrap .badge-lg.badge-gray   { border: 1.5px solid #d6d3d1; }
.nz-review-wrap .badge-lg.badge-red    { border: 1.5px solid #f0a0a0; }
.nz-review-wrap .badge-lg.badge-blue   { border: 1.5px solid #93b8e0; }
.nz-review-wrap .badge-lg.badge-green  { border: 1.5px solid #86e5a0; }
.nz-review-wrap .badge-lg.badge-purple { border: 1.5px solid #c4b5f0; }
.nz-review-wrap .badge-lg.badge-orange { border: 1.5px solid #f0b080; }
.nz-review-wrap .badge-lg.badge-brown  { border: 1.5px solid #d4c0b0; }
.nz-review-wrap .badge-red      { background: #fde8e8; color: #c05050; }
.nz-review-wrap .badge-blue     { background: #dbeafe; color: #2563a0; }
.nz-review-wrap .badge-green    { background: #dcfce7; color: #3a7a55; }
.nz-review-wrap .badge-purple   { background: #ede9fe; color: #7c5db0; }
.nz-review-wrap .badge-orange   { background: #fed7aa; color: #b06830; }
.nz-review-wrap .badge-yellow   { background: #fef3c7; color: #92700e; }
.nz-review-wrap .badge-pink     { background: #fce7f3; color: #b04880; }
.nz-review-wrap .badge-brown    { background: #f2e8e0; color: #8a6a50; }
.nz-review-wrap .badge-gray {
  background: #f0eeec;
  border: 0.5px solid rgba(0,0,0,0.12);
  color: #78716c;
}
.nz-review-wrap .badge-teal     { background: #ccfbf1; color: #0d7377; }

/* 체감 난이도 5단계 */
.nz-diff-steps {
  display: flex;
  gap: 3px;
  align-items: stretch;
}
.nz-diff-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 9px;
  padding: 4px 2px;
  border-radius: 6px;
  color: #b0ada6;
  background: #ebe9e2;
  line-height: 1.3;
}
/* active 색상은 Notion Select 색상을 inline style로 적용 */

/* 커버 이미지 높이 */
.notion-header__cover.has-cover {
  height: 290px !important;
}

/* 커버 아래 타이틀 영역 제거 */
.notion-header__content.has-cover {
  display: none !important;
}

/* 플레이 일기 박스 */
.nz-diary-box {
  max-width: 390px;
  margin: 8px auto 24px;
  background: #f1efe8;
  border-radius: 12px;
  padding: 16px;
}
.nz-diary-title {
  font-size: 10px;
  font-weight: 600;
  color: #888780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nz-diary-content {
  font-size: 14px;
  line-height: 1.85;
  color: #3c3c3a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nz-diary-content p { margin: 0 0 10px; }
.nz-diary-content p:last-child { margin: 0; }

/* ── PC 2단 레이아웃 (768px 이상) ── */
.nz-pc-layout {
  display: block;
}
.nz-col-left, .nz-col-right {
  /* 모바일: 기본 블록 */
}

@media (min-width: 768px) {
  .nz-review-wrap {
    max-width: 800px;
  }

  .nz-diary-box {
    max-width: 800px;
  }

  .notion-header__cover.has-cover {
    height: 360px !important;
  }

  .nz-pc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
  }

  .nz-col-left {
    padding-right: 20px;
    border-right: 0.5px solid rgba(0,0,0,0.1);
  }

  .nz-col-right {
    padding-left: 20px;
  }

  /* 오른쪽 첫 섹션 상단 구분선 제거 */
  .nz-col-right .nz-section:first-child {
    border-top: none;
    padding-top: 0;
  }

  /* PC에서 사진 그리드 칸 크기 확대 */
  .nz-photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* 라이트박스 */
#nz-lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
#nz-lightbox.nz-lightbox-active {
  visibility: visible;
  pointer-events: auto;
}
#nz-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}
#nz-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#nz-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
#nz-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1;
  padding: 0;
}
#nz-lightbox-close:hover {
  background: #fff;
}

/* 푸터 홈 로고 버튼 숨기기 */
.super-footer__logo { display: none !important; }

/* 플레이 사진 그리드 */
.nz-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 6px;
}
.nz-photos-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 나조 설명 */
.nz-desc {
  font-size: 13px;
  color: #5F5E5A;
  line-height: 1.7;
}
.nz-desc p { margin: 0 0 4px; }
.nz-desc p:last-child { margin-bottom: 0; }

/* 공식 난이도 뱃지 */
.nz-official-diff-wrap {
  margin-top: auto;
  margin-bottom: auto;
}
.nz-official-diff-wrap .badge {
  display: block;
  width: 100%;
  text-align: center;
}
.nz-official-diff-wrap--multi {
  display: flex;
  gap: 4px;
}
.nz-official-diff-wrap--multi .badge {
  flex: 1;
  width: auto;
  min-width: 0;
  text-align: center;
  justify-content: center;
}
.nz-review-wrap .badge-lg-sm  { font-size: 12px; padding: 6px 6px; line-height: 1.4; }

/* ── 갤러리 카드 커스텀 ── */
.nz-card-custom .notion-collection-card__property-list > *:not(.notion-property__title) {
  display: none !important;
}
.nz-card-custom .notion-collection-card__property-list {
  padding-left: 12px !important;
  padding-right: 12px !important;
}
.nz-card-custom .notion-property__title {
  height: auto !important;
  min-height: unset !important;
}
.nz-card-props {
  padding: 0 12px 12px;
  margin-top: -8px;
}
.nz-card-maker {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nz-card-rec {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nz-card-rec--strong  { background: #3b82f6; color: #fff; font-weight: 700; }
.nz-card-rec--rec     { background: #dbeafe; color: #1d4ed8; }
.nz-card-rec--ok      { background: #e8e0d5; color: #78716c; }
.nz-card-rec--meh     { background: #e5e7eb; color: #6b7280; font-weight: 500; }
.nz-card-bottom {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}
.nz-card-diff {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nz-card-official-group {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nz-card-official {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f5f5f4;
  color: #57534e;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nz-card-official--none {
  font-size: 12px;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fafaf9;
  color: #d6d3d1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
  .nz-card-maker { font-size: 12px; margin-bottom: 4px; }
  .nz-card-rec { font-size: 11px; padding: 2px 8px; }
  .nz-card-diff { font-size: 11px; padding: 2px 6px; }
  .nz-card-official { font-size: 11px; padding: 2px 6px; }
  .nz-card-official--none { font-size: 11px; padding: 2px 6px; }
}

/* ── 구매처 정보 페이지 ── */
.nz-purchase-subtitle {
  text-align: center;
  font-size: 14px;
  color: #a8a29e;
  font-weight: 400;
  margin: 4px 0 0 0;
  padding-bottom: 8px;
}
.nz-purchase-page .notion-callout {
  background: #fff !important;
  border: 1px solid #f0eeec !important;
  border-radius: 14px !important;
  padding: 0 !important;
  margin-bottom: 12px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02);
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
}
.nz-purchase-page .notion-callout:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}
.nz-purchase-page .notion-callout__icon { display: none !important; }
.nz-purchase-page .notion-callout__content {
  padding: 22px 18px 18px !important;
}
.nz-purchase-page .notion-callout .notion-callout__content h3.notion-heading {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

/* 샵 헤더 (이름 + 링크) */
.nz-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.nz-purchase-page .notion-callout h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 0;
}
.nz-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  background: #eff6ff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.nz-shop-link:hover { background: #dbeafe; }
.nz-shop-link svg { width: 12px; height: 12px; flex-shrink: 0; }

/* 태그 행 */
.nz-shop-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: -4px 0 10px 0;
}
.nz-shop-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}
.nz-shop-tag--ship { background: #dbeafe; color: #1d4ed8; }
.nz-shop-tag--merit { background: #dcfce7; color: #166534; }
.nz-shop-tag--brand { background: #ede9fe; color: #5b21b6; }
.nz-shop-tag--warn { background: #fef3c7; color: #92400e; }

/* 원본 URL 행 & 해시태그 숨김 */
.nz-purchase-page .notion-callout .nz-shop-url-row { display: none !important; }

/* 설명 텍스트 */
.nz-purchase-page .notion-callout .notion-text {
  font-size: 13.5px !important;
  line-height: 1.75 !important;
  color: #57534e !important;
}

/* 섹션 헤딩 */
.nz-purchase-page .notion-heading:not(.notion-callout .notion-heading) {
  position: relative;
}
.nz-section-heading {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  margin: 28px 0 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #e8e0d5;
}
.nz-section-num {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3b82f6;
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* 모바일 */
@media (max-width: 768px) {
  .nz-purchase-page .notion-callout__content {
    padding: 20px 14px 16px !important;
  }
  .nz-purchase-page .notion-callout h3 {
    font-size: 15px !important;
  }
  .nz-shop-link-text { display: none; }
  .nz-shop-link {
    padding: 5px 7px;
  }
  .nz-shop-link svg { width: 13px; height: 13px; }
  .nz-shop-tags { gap: 4px; margin-bottom: 8px; }
  .nz-shop-tag { font-size: 10px; padding: 2px 8px; }
  .nz-purchase-page .notion-callout .notion-text {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
  .nz-section-heading {
    font-size: 15px !important;
    margin: 24px 0 10px !important;
    gap: 8px;
    padding-bottom: 8px !important;
  }
  .nz-section-num {
    width: 24px; height: 24px;
    font-size: 11px; border-radius: 6px;
  }
}

/* ── 리뷰 예정 목록 페이지 ── */
.nz-review-list-page .nz-review-subtitle {
  text-align: center;
  font-size: 14px;
  color: #a8a29e;
  font-weight: 400;
  margin: 4px 0 0 0;
  padding-bottom: 8px;
}

/* 테이블 카드 래퍼 */
.nz-review-list-page .notion-collection-table__wrapper {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0eeec;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02);
  overflow: hidden;
}

/* 헤더 행 */
.nz-review-list-page .notion-collection-table__head {
  background: #faf7f2 !important;
}
.nz-review-list-page .notion-collection-table__head-cell {
  border-bottom: 1.5px solid #ece8e1 !important;
  padding: 13px 18px !important;
}
.nz-review-list-page .notion-collection-table__head-cell-content {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #a8a29e !important;
  letter-spacing: 0.03em;
  text-align: center !important;
  justify-content: center !important;
}
/* 헤더 아이콘 숨김 */
.nz-review-list-page .notion-collection-table__head-cell-icon-wrapper {
  display: none !important;
}

/* PC: 열 비율 45:35:20 (3열 유지) */
.nz-review-list-page .notion-collection-table__head-cell.title,
.nz-review-list-page .notion-collection-table__cell.title {
  width: 45% !important;
}
.nz-review-list-page .notion-collection-table__head-cell.multi_select,
.nz-review-list-page .notion-collection-table__cell.multi_select {
  width: 35% !important;
  padding: 8px !important;
}
.nz-review-list-page .notion-collection-table__head-cell.select,
.nz-review-list-page .notion-collection-table__cell.select {
  width: 20% !important;
  padding: 8px !important;
}
/* 제작사 pill 행 (PC에서는 숨김) */
.nz-maker-row {
  display: none;
  gap: 4px;
  flex-wrap: wrap;
}

/* 바디 행 */
.nz-review-list-page .notion-collection-table tbody tr {
  transition: background .15s;
}
.nz-review-list-page .notion-collection-table tbody tr:hover {
  background: #fdfbf8;
}
.nz-review-list-page .notion-collection-table__cell {
  padding: 12px 18px !important;
  border-bottom: 1px solid #f5f3f0 !important;
  font-size: 13.5px !important;
  vertical-align: middle !important;
}
.nz-review-list-page .notion-collection-table__cell > div {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}
.nz-review-list-page .notion-collection-table__cell.title > div {
  align-items: flex-start !important;
}
/* 제목 셀: 좌측 정렬 */
.nz-review-list-page .notion-collection-table__cell.title,
.nz-review-list-page .notion-collection-table__cell.title div,
.nz-review-list-page .notion-collection-table__cell.title a,
.nz-review-list-page .notion-collection-table__cell.title span {
  text-align: left !important;
  justify-content: flex-start !important;
}
/* 제작사, 상태 셀: 가운데 정렬 */
.nz-review-list-page .notion-collection-table__cell.multi_select > div,
.nz-review-list-page .notion-collection-table__cell.select > div {
  justify-content: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.nz-review-list-page .notion-collection-table__cell .notion-pill {
  flex-shrink: 0 !important;
}
/* 제목 셀 볼드 */
.nz-review-list-page .notion-collection-table__cell.title {
  font-weight: 600 !important;
  color: #1c1917 !important;
}
.nz-review-list-page .notion-collection-table__cell.title a {
  color: #1c1917 !important;
  text-decoration: none !important;
  pointer-events: none !important;
}
.nz-review-list-page .notion-collection-table__cell.title a:hover {
  color: #3b82f6 !important;
}

/* Notion pill 공통 오버라이드 → 둥근 파스텔 */
.nz-review-list-page .notion-pill {
  border-radius: 4px !important;
  padding: 2px 8px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  max-width: none !important;
  width: auto !important;
}

/* 제작사 pill 색상 (Notion 기본 → 파스텔) */
.nz-review-list-page .pill-red { background: #fde8e8 !important; color: #c05050 !important; }
.nz-review-list-page .pill-blue { background: #dbeafe !important; color: #2563a0 !important; }
.nz-review-list-page .pill-pink { background: #fce7f3 !important; color: #b04880 !important; }
.nz-review-list-page .pill-gray { background: #f0eeec !important; color: #78716c !important; }
.nz-review-list-page .pill-purple { background: #ede9fe !important; color: #7c5db0 !important; }
.nz-review-list-page .pill-yellow { background: #fef3c7 !important; color: #92700e !important; }
.nz-review-list-page .pill-orange { background: #fed7aa !important; color: #b06830 !important; }
.nz-review-list-page .pill-brown { background: #f2e8e0 !important; color: #8a6a50 !important; }
.nz-review-list-page .pill-green { background: #dcfce7 !important; color: #3a7a55 !important; }

/* 모바일 */
@media (max-width: 768px) {
  .nz-review-list-page .notion-collection-table__head-cell {
    padding: 11px 12px !important;
  }
  .nz-review-list-page .notion-collection-table__head-cell-content {
    font-size: 11px !important;
  }
  .nz-review-list-page .notion-collection-table__cell {
    padding: 10px 12px !important;
    font-size: 12.5px !important;
    vertical-align: middle !important;
  }
  .nz-review-list-page .notion-collection-table__cell.title,
  .nz-review-list-page .notion-collection-table__cell.title a,
  .nz-review-list-page .notion-collection-table__cell.title .notion-semantic-string {
    font-size: 11px !important;
  }
  .nz-review-list-page .notion-pill {
    font-size: 10.5px !important;
    padding: 2px 8px !important;
  }
  /* 모바일: 제작사 열 숨기고 2열화 */
  .nz-review-list-page .notion-collection-table__head-cell.multi_select,
  .nz-review-list-page .notion-collection-table__cell.multi_select {
    display: none !important;
  }
  .nz-review-list-page .notion-collection-table__head-cell.title,
  .nz-review-list-page .notion-collection-table__cell.title {
    width: 65% !important;
  }
  .nz-review-list-page .notion-collection-table__head-cell.select,
  .nz-review-list-page .notion-collection-table__cell.select {
    width: 35% !important;
  }
  .nz-maker-row {
    display: flex !important;
  }
}

/* ── 숨김 페이지 (링크 자체만 숨김) ── */
a[href*="점수-조절용-페이지"],
a[href*="%EC%A0%90%EC%88%98-%EC%A1%B0%EC%A0%88%EC%9A%A9-%ED%8E%98%EC%9D%B4%EC%A7%80"] {
  display: none !important;
}

/* ── 페이지네이션 ── */
#nz-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 16px 0 8px;
}
.nz-page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e8e6e1;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #78716c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.nz-page-btn:hover {
  background: #f5f3ee;
  border-color: #d6d3d1;
}
.nz-page-btn.nz-page-active {
  background: #796d5f;
  color: #fff;
  border-color: #796d5f;
}
.nz-page-btn.nz-page-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ── 갤러리 검색 ── */
#nz-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 10px 14px;
  padding-right: 52px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  position: relative;
  min-height: 52px;
}
#nz-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.4;
}
#nz-search {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #2c2c2a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#nz-search::placeholder {
  color: #b0aea8;
}
#nz-search-count {
  font-size: 12px;
  color: #888780;
  flex-shrink: 0;
}
#nz-filter-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: #f1efe8;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  padding: 0;
}
#nz-filter-toggle-icon {
  width: 18px;
  height: 18px;
}
#nz-filter-toggle:hover {
  background: #e8e6df;
}
#nz-filter-toggle.nz-toggle-active {
  background: #e8e2d4;
}
#nz-filter-toggle.nz-toggle-active #nz-filter-toggle-icon {
  opacity: 1;
}

/* ── 필터/정렬 통합 패널 ── */
#nz-filter-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease;
  margin-bottom: 0;
}
#nz-filter-panel.nz-panel-open {
  max-height: 300px;
  margin-bottom: 8px;
  overflow: visible;
}

/* ── 갤러리 정렬 ── */
#nz-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
}
#nz-sort-select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #2c2c2a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
#nz-sort-select:focus { outline: none; }
#nz-sort-dir {
  padding: 4px 10px;
  background: #f1efe8;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  color: #5F5E5A;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  cursor: pointer;
  flex-shrink: 0;
}
#nz-sort-dir:hover { background: #e8e6df; }
#nz-sort-dir:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ── 갤러리 필터 ── */
#nz-filter-wrap {
  display: flex;
  gap: 8px;
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 2px;
}
.nz-filter-group {
  flex: 1;
  position: relative;
}
.nz-filter-btn {
  width: 100%;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-size: 13px;
  color: #2c2c2a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.nz-filter-btn:hover {
  border-color: rgba(0,0,0,0.25);
}
.nz-filter-group-open .nz-filter-btn {
  border-color: #4A4035;
}
.nz-filter-arrow {
  font-size: 10px;
  color: #888780;
  display: inline-block;
  transition: transform 0.2s;
}
.nz-filter-group-open .nz-filter-arrow {
  transform: rotate(180deg);
}
.nz-filter-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 160px;
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 100;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0;
}
.nz-filter-group-open .nz-filter-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px 0;
}
.nz-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 13px;
  color: #2c2c2a;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: background 0.15s;
}
.nz-filter-item:hover {
  background: #f5f3ee;
}
.nz-filter-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #4A4035;
  cursor: pointer;
  flex-shrink: 0;
}
.nz-filter-item span {
  white-space: nowrap;
}

/* ── 브랜드 다른 리뷰 ── */
.nz-brand-reviews {
  margin: 0 auto;
  max-width: 390px;
  padding: 16px 0 0;
  border-top: 1px solid #e8e0d5;
}
.nz-brand-reviews .nz-br-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
}
.nz-brand-reviews .nz-br-title .nz-br-bullet {
  color: #555050;
  margin-right: 4px;
}
.nz-brand-reviews .nz-br-title .nz-br-count {
  font-weight: 400;
  color: #999;
  font-size: 12.5px;
}
.nz-brand-reviews .nz-br-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nz-brand-reviews .nz-br-pills a {
  text-decoration: none;
  font-size: 12.5px;
  padding: 8px 13px 6px;
  border-radius: 16px;
  background: #f0edea;
  color: #555050;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.nz-brand-reviews .nz-br-pills a:hover {
  background: #ddd9d5;
}
.nz-brand-reviews .nz-br-more {
  display: inline-block;
  margin-top: 10px;
  margin-left: 13px;
  font-size: 12.5px;
  color: #999;
  text-decoration: none;
}
.nz-brand-reviews .nz-br-more:hover {
  color: #666;
}
@media (min-width: 768px) {
  .nz-brand-reviews {
    max-width: 800px;
  }
  .nz-brand-reviews .nz-br-title { font-size: 15px; }
  .nz-brand-reviews .nz-br-title .nz-br-count { font-size: 13.5px; }
  .nz-brand-reviews .nz-br-pills a {
    font-size: 14.5px;
    padding: 6.5px 15px;
  }
  .nz-brand-reviews .nz-br-more { font-size: 13.5px; }
}
