/* Shared article TOC, adapted from the reference archive. */
.review-post-toc {
  margin: 40px 0 20px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 22px;
  background: #fcfcfd !important;
  background-color: #fcfcfd !important;
  background-image: none !important;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
}
.review-post-toc[hidden] { display: none !important; }
.article-card > .review-post-toc { margin: 40px 30px 20px; }
.article-page > .review-post-toc { margin: 32px 0 20px; }
.review-post-toc-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: #111111;
}
.review-post-toc-title::before,
.review-post-toc-title::after {
  content: '';
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(17, 17, 17, 0.22);
}
.review-post-toc-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: review-toc-count;
}
.review-post-toc-item { counter-increment: review-toc-count; }
.review-post-toc-item a,
.review-post-toc-item a:link,
.review-post-toc-item a:visited {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  text-decoration: none !important;
  word-break: keep-all;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.045);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.review-post-toc-item {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
.review-post-toc-item:first-child a {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}
.review-post-toc-item a::before {
  content: counter(review-toc-count, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.review-post-toc-item a::after {
  content: '›';
  margin-left: auto;
  color: rgba(17, 17, 17, 0.72);
  -webkit-text-fill-color: rgba(17, 17, 17, 0.72);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}
.review-post-toc-item a:hover,
.review-post-toc-item a:focus {
  transform: translateY(-1px);
  border-color: rgba(17, 24, 39, 0.24);
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.09);
  outline: none;
}
.review-mobile-toc { display: none; }
.review-desktop-sticky-toc { display: none; }
.review-desktop-sticky-toc[hidden] { display: none !important; }
.review-desktop-sticky-ad { display: none; }
.review-desktop-sticky-ad[hidden] { display: none !important; }
.article-body h2,
.article-body h3,
.article-content h2,
.article-content h3 { scroll-margin-top: 92px; }

@media (max-width: 768px) {
  .article-card > .review-post-toc { margin: 34px 16px 18px; }
  .article-page > .review-post-toc { margin: 28px 0 18px; }
  .review-mobile-toc {
    --review-mobile-toc-toggle-height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    padding: env(safe-area-inset-top) 0 0;
    pointer-events: none;
  }
  .review-mobile-toc.is-open {
    bottom: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow: visible !important;
  }
  .review-mobile-toc.is-visible { display: block; }
  .review-mobile-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 64px;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 21px 16px;
    background: #111111;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 18px;
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.20);
    cursor: pointer;
    pointer-events: auto;
  }
  .review-mobile-toc-toggle::after { content: none !important; display: none !important; }
  .review-mobile-toc-panel {
    position: fixed !important;
    top: calc(env(safe-area-inset-top) + var(--review-mobile-toc-toggle-height)) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1001 !important;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px 10px 18px;
    overflow-y: auto !important;
    border: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 0;
    background: #fcfcfd !important;
    background-color: #fcfcfd !important;
    background-image: none !important;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.20);
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
  }
  .review-mobile-toc-panel[hidden] { display: none !important; }
  .review-mobile-toc-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0 0 14px;
    list-style: none;
    counter-reset: review-mobile-toc-count;
  }
  .review-mobile-toc-item { counter-increment: review-mobile-toc-count; }
  .review-mobile-toc-item a,
  .review-mobile-toc-item a:link,
  .review-mobile-toc-item a:visited {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 15px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 850;
    text-decoration: none !important;
    word-break: keep-all;
  }
  .review-mobile-toc-item a::before {
    content: counter(review-mobile-toc-count, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-size: 10px;
    font-weight: 900;
  }
}

@media (min-width: 1240px) {
  body.wcmap-toc-single-body .review-desktop-sticky-ad:not([hidden]) {
    position: fixed;
    right: var(--review-post-side-ad-right, 18px);
    top: var(--review-post-side-ad-top, var(--wcmap-sticky-footer-gap, 18px));
    z-index: 119;
    display: block;
    box-sizing: border-box;
    width: var(--review-post-side-ad-width, auto);
    max-width: none;
    height: var(--review-post-side-ad-height, 900px);
    max-height: var(--review-post-side-ad-max-height, none);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    clip-path: inset(var(--review-post-side-ad-clip-top, 0px) 0 0 0);
    will-change: top, right, width, height, clip-path;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-ad-content {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: var(--review-post-side-ad-gap, 10px);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-ad-slot {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-ad-slot.is-square {
    flex: 0 0 var(--review-post-side-ad-square-height, 250px);
    height: var(--review-post-side-ad-square-height, 250px);
  }
  body.wcmap-toc-single-body .review-desktop-sticky-ad-slot.is-vertical {
    flex: 1 1 auto;
    height: auto;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-ad-content > *,
  body.wcmap-toc-single-body .review-desktop-sticky-ad-slot > * {
    max-width: 100%;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-ad .adsbygoogle,
  body.wcmap-toc-single-body .review-desktop-sticky-ad .adsbygoogle iframe,
  body.wcmap-toc-single-body .review-desktop-sticky-ad-slot iframe {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  /* Crop one pixel from every ad edge, then show the slot's 1px outline. */
  body.wcmap-toc-single-body .review-desktop-sticky-ad-slot > .adsbygoogle,
  body.wcmap-toc-single-body .review-desktop-sticky-ad-slot > iframe {
    width: calc(100% + 2px) !important;
    max-width: none !important;
    height: calc(100% + 2px) !important;
    margin: -1px !important;
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc:not([hidden]) {
    position: fixed;
    left: var(--review-post-toc-left, 18px);
    top: var(--review-post-toc-top, var(--wcmap-sticky-footer-gap, 18px));
    z-index: 120;
    display: block;
    box-sizing: border-box;
    width: var(--review-post-toc-width, 240px);
    max-width: 520px;
    max-height: none;
    margin: 0;
    padding: 12px;
    overflow: visible;
    border: 1px solid rgba(17, 24, 39, 0.18) !important;
    border-radius: 24px !important;
    background: #fcfcfd !important;
    background-color: #fcfcfd !important;
    background-image: none !important;
    box-shadow: none !important;
    clip-path: inset(var(--review-post-toc-clip-top, 0px) 0 0 0);
    will-change: top, left, width, clip-path;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-title {
    font-size: clamp(13px, 1vw, 16px);
    margin-bottom: 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-title::after { width: 22px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-list { gap: 7px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a {
    min-height: 38px;
    padding: 8px 9px;
    font-size: clamp(11.5px, .84vw, 13.5px);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a::before {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc:not([hidden]) { padding: 11px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-title {
    font-size: clamp(12px, .9vw, 16px);
    line-height: 1.32;
    margin-bottom: 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-list { gap: 6px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a {
    min-height: 39px;
    padding: 8.5px 10px;
    gap: 9px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.32;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a::before {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a::after {
    font-size: 18px;
  }
}

@media (min-width: 1240px) and (max-width: 1339px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-title {
    font-size: 12px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 12px;
    line-height: 1.32;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 13px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 12.5px;
  }
}

/* Keep ultra-wide fixed TOC rows spacious without making them excessively tall. */
@media (min-width: 1800px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc:not([hidden]) {
    padding: 16px 20px 16px 16px;
    border-radius: 27px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-title,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-title {
    margin-bottom: 13px;
    font-size: 18px;
    line-height: 1.36;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-title::after {
    width: 30px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-list {
    gap: 8px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a {
    min-height: 46px;
    padding: 9px 22px 9px 13px;
    gap: 11px;
    border-radius: 17px;
    font-size: 14px;
    line-height: 1.4;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a::before {
    width: 29px;
    height: 29px;
    font-size: 10.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a::after {
    font-size: 20px;
  }

  /* 16개 이상인 긴 목차는 초광폭 화면에서도 세로 길이를 줄인다. */
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc:not([hidden]) {
    padding: 14px 20px 14px 14px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-title {
    margin-bottom: 11px;
    font-size: 17px;
    line-height: 1.32;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-list {
    gap: 7px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a {
    min-height: 44px;
    padding: 8px 22px 8px 12px;
    gap: 10px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.32;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a::before {
    width: 29px;
    height: 29px;
    font-size: 10px;
  }
}

@media (min-width: 2400px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc:not([hidden]) {
    padding: 18px 22px 18px 18px;
    border-radius: 29px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-title,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-title {
    margin-bottom: 14px;
    font-size: 19px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-list {
    gap: 9px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a {
    min-height: 50px;
    padding: 10px 26px 10px 15px;
    gap: 12px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.42;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a::before {
    width: 31px;
    height: 31px;
    font-size: 11px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a::after {
    font-size: 21px;
  }

  /* 2400px 이상에서도 16개 이상이면 긴 목차 전용 축소값을 우선한다. */
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc:not([hidden]) {
    padding: 16px 22px 16px 16px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-title {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.34;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-list {
    gap: 8px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a {
    min-height: 47px;
    padding: 9px 26px 9px 13px;
    gap: 10px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.34;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a::before {
    width: 31px;
    height: 31px;
    font-size: 10.5px;
  }
}


/* 16개 이상 고정 목차: 화면이 조금 더 넓은 데스크톱부터 세로 공간을 줄인다. */
@media (min-width: 1760px) and (max-width: 1799px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc:not([hidden]),
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)):not([hidden]) {
    padding: 10px 16px 10px 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-title,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-title {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.25;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-list {
    gap: 5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-item a {
    box-sizing: border-box;
    min-height: 36px;
    padding: 5px 20px 5px 9px;
    gap: 8px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.2;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-item a::before {
    width: 25px;
    height: 25px;
    font-size: 9.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a::after,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-item a::after {
    font-size: 17px;
  }
}

@media (min-width: 1800px) and (max-width: 1999px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc:not([hidden]),
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)):not([hidden]) {
    padding: 11px 20px 11px 12px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-title,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-title {
    margin-bottom: 9px;
    font-size: 16px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-list {
    gap: 6px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-item a {
    min-height: 38px;
    padding: 6px 22px 6px 10px;
    gap: 9px;
    font-size: 13.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-long-toc .review-post-toc-item a::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc:has(.review-post-toc-item:nth-child(16)) .review-post-toc-item a::before {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }
}

/* 2000px 이상 기존 크기 규칙 아래에서도 16개 이상 전용 축소값을 마지막에 우선 적용한다. */

/* Share action placed at the end of every generated TOC. */
.review-post-toc-share-item,
.review-mobile-toc-share-item {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-increment: none;
}
.review-post-toc-share-button,
.review-mobile-toc-share-button {
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  background: #ffffff;
  color: #08213d;
  -webkit-text-fill-color: currentColor;
  box-shadow: none;
  font: 700 14px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.review-mobile-toc-share-button {
  border-radius: 15px;
}
.review-post-toc-share-button::before,
.review-mobile-toc-share-button::before {
  content: '';
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8a3 3 0 1 0-2.83-4A3 3 0 0 0 15 5c0 .22.02.43.07.63L8.91 9.2a3 3 0 0 0-4.08-.92 3 3 0 1 0 4.08 4.52l6.16 3.57A3 3 0 0 0 15 17a3 3 0 1 0 .83-2.07l-6.16-3.57c.04-.24.04-.48 0-.72l6.16-3.57A3 3 0 0 0 18 8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8a3 3 0 1 0-2.83-4A3 3 0 0 0 15 5c0 .22.02.43.07.63L8.91 9.2a3 3 0 0 0-4.08-.92 3 3 0 1 0 4.08 4.52l6.16 3.57A3 3 0 0 0 15 17a3 3 0 1 0 .83-2.07l-6.16-3.57c.04-.24.04-.48 0-.72l6.16-3.57A3 3 0 0 0 18 8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.review-post-toc-share-button:hover,
.review-mobile-toc-share-button:hover {
  background: #eef5ff;
  border-color: rgba(17, 24, 39, 0.24);
  transform: translateY(-1px);
}
.review-post-toc-share-button:active,
.review-mobile-toc-share-button:active {
  transform: translateY(0);
}
.review-post-toc-share-button:focus-visible,
.review-mobile-toc-share-button:focus-visible {
  outline: 3px solid rgba(8, 33, 61, 0.22);
  outline-offset: 3px;
}
.review-post-toc-share-button.is-copied,
.review-mobile-toc-share-button.is-copied {
  background: #08213d;
  border-color: #08213d;
  color: #ffffff;
}
.review-post-toc-share-button.is-failed,
.review-mobile-toc-share-button.is-failed {
  background: #fff4f4;
  border-color: #e3b7b7;
  color: #9c2c2c;
}

/* English-only sizing and two-line labels for the PC fixed TOC. */
@media (min-width: 1240px) {
  html:lang(en) body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a,
  html[lang="en"] body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a {
    font-size: clamp(10.5px, 0.68vw, 12.5px);
    line-height: 1.28;
    white-space: normal;
    text-overflow: clip;
    overflow: hidden;
  }
  html:lang(en) body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-link-label,
  html[lang="en"] body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-link-label {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  html:lang(en) body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a::after,
  html[lang="en"] body.wcmap-toc-single-body .review-desktop-sticky-toc .review-post-toc-item a::after {
    margin-left: 2px;
  }
}

/* h2 16개 이상인 PC 고정 목차는 기존 크기에서 조금만 줄인다. */
@media (min-width: 1240px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc:not([hidden]) {
    padding: 10px 13px 10px 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-title {
    margin-bottom: 9px;
    font-size: clamp(12px, .88vw, 15.5px);
    line-height: 1.28;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-title::after {
    width: 21px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-list {
    gap: 5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a {
    box-sizing: border-box;
    min-height: 37px;
    padding: 7px 19px 7px 9px;
    gap: 8px;
    border-radius: 14px;
    font-size: clamp(12px, .8vw, 13.5px);
    line-height: 1.28;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a::before {
    width: 24px;
    height: 24px;
    font-size: 9.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a::after {
    font-size: 17px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-kakao-button {
    min-height: 37px !important;
    padding: 0 16px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    font-size: clamp(12px, .8vw, 13.5px) !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-share-button::before {
    width: 16px !important;
    height: 16px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-kakao-button::before {
    width: 21px !important;
    height: 19px !important;
  }
}

@media (min-width: 1760px) and (max-width: 1799px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc:not([hidden]) {
    padding: 9px 16px 9px 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-title {
    margin-bottom: 7px;
    font-size: 14.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-list {
    gap: 4px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-kakao-button {
    min-height: 35px !important;
    font-size: 12.75px !important;
  }
}

@media (min-width: 1800px) and (max-width: 1999px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc:not([hidden]) {
    padding: 10px 18px 10px 11px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-title {
    margin-bottom: 8px;
    font-size: 15.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-list {
    gap: 5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-kakao-button {
    min-height: 37px !important;
    font-size: 13.25px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a::before {
    width: 26px;
    height: 26px;
  }
}

@media (min-width: 2000px) and (max-width: 2399px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc:not([hidden]) {
    padding: 13px 19px 13px 13px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-title {
    margin-bottom: 10px;
    font-size: 16.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-list {
    gap: 6px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-kakao-button {
    min-height: 42px !important;
    font-size: 13.5px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a::before {
    width: 28px;
    height: 28px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-share-button::before {
    width: 17px !important;
    height: 17px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-kakao-button::before {
    width: 23px !important;
    height: 21px !important;
  }
}

@media (min-width: 2400px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc:not([hidden]) {
    padding: 15px 21px 15px 15px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-title {
    margin-bottom: 11px;
    font-size: 17.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-list {
    gap: 7px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-kakao-button {
    min-height: 45px !important;
    font-size: 14.5px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-item a::before {
    width: 30px;
    height: 30px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-share-button::before {
    width: 17px !important;
    height: 17px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-dense-toc .review-post-toc-kakao-button::before {
    width: 24px !important;
    height: 22px !important;
  }
}

/* h2 16개 이상: 적당한 PC 화면(1240~1999px)에서는 더 촘촘하게 줄인다. */
@media (min-width: 1240px) and (max-width: 1599px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc:not([hidden]) {
    padding: 6px 10px 6px 6px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title {
    margin-bottom: 4px;
    font-size: clamp(11px, .78vw, 13px);
    line-height: 1.16;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title::after {
    width: 17px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-list {
    gap: 1px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a {
    min-height: 27px !important;
    padding: 2px 14px 2px 6px;
    gap: 5px;
    border-radius: 10px;
    font-size: clamp(11px, .69vw, 12px) !important;
    line-height: 1.15;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::before {
    width: 19px;
    height: 19px;
    font-size: 8px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::after {
    font-size: 13px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button {
    min-height: 27px !important;
    padding: 0 10px !important;
    gap: 5px !important;
    border-radius: 10px !important;
    font-size: clamp(11px, .69vw, 12px) !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button::before {
    width: 13px !important;
    height: 13px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button::before {
    width: 17px !important;
    height: 15px !important;
  }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc:not([hidden]) {
    padding: 6px 12px 6px 7px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title {
    margin-bottom: 4px;
    font-size: 12.5px;
    line-height: 1.18;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-list {
    gap: 1px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a {
    min-height: 28px !important;
    padding: 2px 15px 2px 6px;
    gap: 5px;
    border-radius: 11px;
    font-size: 11.5px !important;
    line-height: 1.16;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::before {
    width: 20px;
    height: 20px;
    font-size: 8px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::after {
    font-size: 14px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button {
    min-height: 28px !important;
    padding: 0 11px !important;
    gap: 5px !important;
    border-radius: 11px !important;
    font-size: 11.5px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button::before {
    width: 13px !important;
    height: 13px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button::before {
    width: 18px !important;
    height: 16px !important;
  }
}

@media (min-width: 1800px) and (max-width: 1999px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc:not([hidden]) {
    padding: 7px 13px 7px 8px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title {
    margin-bottom: 5px;
    font-size: 13.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-list {
    gap: 1px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a {
    min-height: 29px !important;
    padding: 3px 16px 3px 7px;
    gap: 6px;
    border-radius: 11px;
    font-size: 12px !important;
    line-height: 1.18;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::before {
    width: 21px;
    height: 21px;
    font-size: 8.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::after {
    font-size: 14px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button {
    min-height: 29px !important;
    padding: 0 12px !important;
    gap: 6px !important;
    border-radius: 11px !important;
    font-size: 12px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button::before {
    width: 14px !important;
    height: 14px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button::before {
    width: 19px !important;
    height: 17px !important;
  }
}


/* h2 14~15개: 적당한 PC 화면에서는 16개 이상보다 완만하게 줄인다. */
@media (min-width: 1240px) and (max-width: 1599px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc:not([hidden]) {
    padding: 9px 13px 9px 9px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title {
    margin-bottom: 7px;
    font-size: clamp(12.5px, .9vw, 14.5px);
    line-height: 1.24;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title::after { width: 21px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-list { gap: 4px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a {
    min-height: 37px !important;
    padding: 6px 18px 6px 9px;
    gap: 8px;
    border-radius: 13px;
    font-size: clamp(12.5px, .79vw, 13.25px) !important;
    line-height: 1.22;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::before {
    width: 25px; height: 25px; font-size: 9.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::after { font-size: 16px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button {
    min-height: 37px !important;
    padding: 0 15px !important;
    gap: 8px !important;
    border-radius: 13px !important;
    font-size: clamp(12.5px, .79vw, 13.25px) !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button::before { width: 16px !important; height: 16px !important; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button::before { width: 21px !important; height: 19px !important; }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc:not([hidden]) { padding: 9px 15px 9px 10px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title { margin-bottom: 7px; font-size: 14px; line-height: 1.26; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-list { gap: 4px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a {
    min-height: 38px !important; padding: 6px 19px 6px 9px; gap: 8px; border-radius: 13px; font-size: 13px !important; line-height: 1.24;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::before { width: 26px; height: 26px; font-size: 9.5px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::after { font-size: 16px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button {
    min-height: 38px !important; padding: 0 16px !important; gap: 8px !important; border-radius: 13px !important; font-size: 13px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button::before { width: 16px !important; height: 16px !important; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button::before { width: 21px !important; height: 19px !important; }
}

@media (min-width: 1800px) and (max-width: 1999px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc:not([hidden]) { padding: 10px 17px 10px 11px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title { margin-bottom: 8px; font-size: 15px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-list { gap: 5px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a {
    min-height: 39px !important; padding: 6px 20px 6px 10px; gap: 9px; border-radius: 14px; font-size: 13.5px !important; line-height: 1.26;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::before { width: 27px; height: 27px; font-size: 10px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::after { font-size: 17px; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button {
    min-height: 39px !important; padding: 0 17px !important; gap: 9px !important; border-radius: 14px !important; font-size: 13.5px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button::before { width: 17px !important; height: 17px !important; }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button::before { width: 22px !important; height: 20px !important; }
}

/* Final medium-screen contrast: 14~15 h2 stays nearly full-size, 16+ h2 becomes strongly compact. */
@media (min-width: 1240px) and (max-width: 1599px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc:not([hidden]) {
    padding: 11px 14px 11px 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title {
    margin-bottom: 9px;
    font-size: clamp(13px, .95vw, 15px);
    line-height: 1.3;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title::after {
    width: 22px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-list {
    gap: 6px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a {
    min-height: 36.5px !important;
    padding: 7px 18px 7px 9px;
    gap: 9px;
    border-radius: 14px;
    font-size: clamp(12.75px, .82vw, 13.5px) !important;
    line-height: 1.3;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::before {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::after {
    font-size: 18px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button {
    min-height: 36.5px !important;
    padding: 0 17px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    font-size: clamp(12.75px, .82vw, 13.5px) !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button::before {
    width: 17px !important;
    height: 17px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button::before {
    width: 22px !important;
    height: 20px !important;
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc:not([hidden]) {
    padding: 4px 8px 4px 5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title {
    margin-bottom: 3px;
    font-size: 11px;
    line-height: 1.1;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title::after {
    width: 14px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-list {
    gap: 0;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a {
    min-height: 25px !important;
    padding: 1px 12px 1px 5px;
    gap: 4px;
    border-radius: 9px;
    font-size: 10.5px !important;
    line-height: 1.08;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::before {
    width: 16px;
    height: 16px;
    font-size: 7px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::after {
    font-size: 12px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button {
    min-height: 25px !important;
    padding: 0 9px !important;
    gap: 4px !important;
    border-radius: 9px !important;
    font-size: 10.5px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button::before {
    width: 11px !important;
    height: 11px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button::before {
    width: 15px !important;
    height: 13px !important;
  }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc:not([hidden]) {
    padding: 11px 15px 11px 11px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.3;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-list {
    gap: 6px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a {
    min-height: 37.5px !important;
    padding: 7px 19px 7px 9px;
    gap: 9px;
    border-radius: 14px;
    font-size: 13.5px !important;
    line-height: 1.3;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::before {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::after {
    font-size: 18px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button {
    min-height: 37.5px !important;
    padding: 0 17px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    font-size: 13.5px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button::before {
    width: 17px !important;
    height: 17px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button::before {
    width: 22px !important;
    height: 20px !important;
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc:not([hidden]) {
    padding: 4px 9px 4px 5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title {
    margin-bottom: 3px;
    font-size: 11.5px;
    line-height: 1.1;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-list {
    gap: 0;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a {
    min-height: 26px !important;
    padding: 1px 13px 1px 5px;
    gap: 4px;
    border-radius: 9px;
    font-size: 10.75px !important;
    line-height: 1.08;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::before {
    width: 17px;
    height: 17px;
    font-size: 7px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::after {
    font-size: 12px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button {
    min-height: 26px !important;
    padding: 0 9px !important;
    gap: 4px !important;
    border-radius: 9px !important;
    font-size: 10.75px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button::before {
    width: 11px !important;
    height: 11px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button::before {
    width: 16px !important;
    height: 14px !important;
  }
}

@media (min-width: 1800px) and (max-width: 1999px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc:not([hidden]) {
    padding: 14px 19px 14px 14px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title {
    margin-bottom: 11px;
    font-size: 17px;
    line-height: 1.32;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-title::after {
    width: 28px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-list {
    gap: 7px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a {
    min-height: 38.5px !important;
    padding: 8px 21px 8px 12px;
    gap: 10px;
    border-radius: 16px;
    font-size: 14px !important;
    line-height: 1.34;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::before {
    width: 28px;
    height: 28px;
    font-size: 10.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-item a::after {
    font-size: 20px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button {
    min-height: 38.5px !important;
    padding: 0 19px !important;
    gap: 9px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-share-button::before {
    width: 17px !important;
    height: 17px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-dense-toc .review-post-toc-kakao-button::before {
    width: 23px !important;
    height: 21px !important;
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc:not([hidden]) {
    padding: 5px 10px 5px 6px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title {
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.1;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title::before,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-title::after {
    width: 15px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-list {
    gap: 0;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a {
    min-height: 27px !important;
    padding: 1px 14px 1px 6px;
    gap: 4px;
    border-radius: 10px;
    font-size: 11px !important;
    line-height: 1.1;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::before {
    width: 18px;
    height: 18px;
    font-size: 7.5px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-item a::after {
    font-size: 13px;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button {
    min-height: 27px !important;
    padding: 0 10px !important;
    gap: 4px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-share-button::before {
    width: 12px !important;
    height: 12px !important;
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-medium-extra-dense-toc .review-post-toc-kakao-button::before {
    width: 17px !important;
    height: 15px !important;
  }
}

/* 관리자 메뉴에서 저장한 1800~1999px 고정 목차 높이와 목록 간격.
   H2 개수별 클래스를 사용해 14~15개, 16개, 17개, 18개, 19개를 각각 적용하고, 20개 이상은 19개 설정값을 사용한다. */
@media (min-width: 1800px) and (max-width: 1999px) {
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 {
    --wcmap-toc-admin-row-height: var(--wcmap-toc-medium-14-15-height-1800, 37px);
    --wcmap-toc-admin-list-gap: var(--wcmap-toc-medium-14-15-gap-1800, 7px);
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 {
    --wcmap-toc-admin-row-height: var(--wcmap-toc-medium-16-height-1800, 36px);
    --wcmap-toc-admin-list-gap: var(--wcmap-toc-medium-16-gap-1800, 6px);
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 {
    --wcmap-toc-admin-row-height: var(--wcmap-toc-medium-17-height-1800, 35px);
    --wcmap-toc-admin-list-gap: var(--wcmap-toc-medium-17-gap-1800, 4.5px);
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 {
    --wcmap-toc-admin-row-height: var(--wcmap-toc-medium-18-height-1800, 34px);
    --wcmap-toc-admin-list-gap: var(--wcmap-toc-medium-18-gap-1800, 4px);
  }
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus {
    --wcmap-toc-admin-row-height: var(--wcmap-toc-medium-19-height-1800, 33px);
    --wcmap-toc-admin-list-gap: var(--wcmap-toc-medium-19-gap-1800, 3px);
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19 .review-post-toc-list,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus .review-post-toc-list {
    gap: var(--wcmap-toc-admin-list-gap) !important;
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 .review-post-toc-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 .review-post-toc-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 .review-post-toc-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 .review-post-toc-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19 .review-post-toc-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus .review-post-toc-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 .review-post-toc-share-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 .review-post-toc-share-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 .review-post-toc-share-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 .review-post-toc-share-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19 .review-post-toc-share-item,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus .review-post-toc-share-item {
    min-height: var(--wcmap-toc-admin-row-height) !important;
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19 .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus .review-post-toc-share-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 .review-post-toc-kakao-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 .review-post-toc-kakao-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 .review-post-toc-kakao-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 .review-post-toc-kakao-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19 .review-post-toc-kakao-button,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus .review-post-toc-kakao-button {
    box-sizing: border-box !important;
    height: var(--wcmap-toc-admin-row-height) !important;
    min-height: var(--wcmap-toc-admin-row-height) !important;
    max-height: var(--wcmap-toc-admin-row-height) !important;
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19 .review-post-toc-item > a,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus .review-post-toc-item > a {
    overflow: hidden;
  }

  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-14-15 .review-post-toc-link-label,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-16 .review-post-toc-link-label,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-17 .review-post-toc-link-label,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-18 .review-post-toc-link-label,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-19 .review-post-toc-link-label,
  body.wcmap-toc-single-body .review-desktop-sticky-toc.is-toc-count-20-plus .review-post-toc-link-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 1239px) {
  .review-desktop-sticky-ad { display: none !important; }
}
