/*
 * FILE VERSION: Aemazon-PostDetail-UI-v2.3.8
 * UPDATED: 2026-08-19
 * DEPLOY AS: static/css/post-detail-v2.css
 */

.post-detail-v2 {
  --detail-orange: #ff4f16;
  --detail-text: #171719;
  --detail-muted: #7a7a7f;
  --detail-line: #ececef;
  --detail-soft: #f7f7f8;
  background: #f7f7f8;
  color: var(--detail-text);
}

/* =========================================================
   v2.1.1 final mobile override
   - 반드시 파일 맨 마지막 규칙보다 높은 우선순위로 유지
   - 저장 버튼 2행 밀림, 구형 pseudo 아이콘 중첩, 미디어 과대 높이 방지
   ========================================================= */
@media (max-width: 900px) {
  body.post-detail-v2 .post-engagement-bar {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: 56px !important;
    grid-auto-flow: column !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    border-top: 1px solid #e9e9ec !important;
    border-bottom: 1px solid #e9e9ec !important;
  }

  body.post-detail-v2 .post-engagement-bar > .post-engagement-item {
    grid-row: 1 !important;
    display: inline-flex !important;
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-right: 1px solid #ececef !important;
    white-space: nowrap !important;
  }

  body.post-detail-v2 .post-engagement-bar > .post-engagement-item:last-child {
    border-right: 0 !important;
  }

  body.post-detail-v2 .post-engagement-item svg {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
  }

  body.post-detail-v2 .post-bookmark-button {
    display: inline-flex !important;
    visibility: visible !important;
  }

  body.post-detail-v2 .att-single,
  body.post-detail-v2 .att-slider {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1.38 / 1 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #09090a !important;
  }

  body.post-detail-v2 .att-single .att,
  body.post-detail-v2 .att-slider .att-scroll,
  body.post-detail-v2 .att-slider .att-slide,
  body.post-detail-v2 .att-slider .att-slide .att {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.post-detail-v2 .att-single .media,
  body.post-detail-v2 .att-slider .media {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    background: #09090a !important;
  }

  body.post-detail-v2 .root-comment-form {
    right: 0 !important;
    bottom: var(--detail-keyboard-offset, 0px) !important;
    left: 0 !important;
    grid-template-columns: 42px minmax(0, 1fr) 38px 54px !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body.post-detail-v2 .root-comment-form textarea {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.post-detail-v2 .root-comment-form .cmt-upload-row {
    grid-column: 3 !important;
    width: 38px !important;
  }

  body.post-detail-v2 .root-comment-actions {
    grid-column: 4 !important;
    width: 54px !important;
    min-width: 54px !important;
    margin: 0 !important;
  }

  body.post-detail-v2 .root-comment-submit {
    display: inline-flex !important;
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body.post-detail-v2 .root-comment-submit::before,
  body.post-detail-v2 .root-comment-form .cmt-file-btn::before {
    content: none !important;
    display: none !important;
  }

  body.post-detail-v2 .root-comment-submit svg,
  body.post-detail-v2 .root-comment-form .cmt-file-btn svg {
    display: block !important;
  }
}

@media (max-width: 390px) {
  body.post-detail-v2 .post-engagement-bar > .post-engagement-item {
    gap: 4px !important;
    padding: 0 2px !important;
    font-size: 12px !important;
  }

  body.post-detail-v2 .root-comment-form {
    grid-template-columns: 36px minmax(0, 1fr) 34px 48px !important;
    gap: 5px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  body.post-detail-v2 .root-comment-actions {
    width: 48px !important;
    min-width: 48px !important;
  }

  body.post-detail-v2 .root-comment-submit {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }
}

/* =========================================================
   v2.1.0 — approved mobile reference precision layer
   ========================================================= */

.post-detail-v2,
.post-detail-v2 *,
.post-detail-v2 *::before,
.post-detail-v2 *::after {
  box-sizing: border-box;
}

body.post-detail-v2 {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
}

.post-detail-v2 .post-engagement-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.post-detail-v2 .post-bookmark-button.is-bookmarked {
  color: var(--detail-orange) !important;
}

.post-detail-v2 .post-bookmark-button.is-bookmarked svg {
  fill: currentColor;
}

.post-detail-v2 .post-bookmark-button.is-busy {
  opacity: .48;
  pointer-events: none;
}

.post-detail-v2 .comment-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding: 7px 0 7px 10px;
  border: 0;
  background: transparent;
  color: #5d5d62;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.post-detail-v2 .comment-sort-label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-detail-v2 .cmt-empty {
  padding: 28px 0 34px;
  border-bottom: 1px solid var(--detail-line);
  color: #29292d;
  font-size: 15px;
  line-height: 1.5;
}

.post-detail-v2 .att,
.post-detail-v2 .att-slider {
  position: relative;
}

body.post-detail-v2 .att-slider.is-transform-slider {
  overflow: hidden !important;
  touch-action: pan-y pinch-zoom;
}

body.post-detail-v2 .att-slider.is-transform-slider .att-scroll {
  display: flex !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  transition: transform 300ms cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

body.post-detail-v2 .att-slider.is-transform-slider.is-dragging .att-scroll {
  transition: none !important;
}

body.post-detail-v2 .att-slider.is-transform-slider .att-slide {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body.post-detail-v2 .att-slider.is-transform-slider .att-slide,
body.post-detail-v2 .att-slider.is-transform-slider .media {
  -webkit-user-drag: none;
  user-select: none;
}

.post-detail-v2 .att-fullscreen {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(18, 18, 20, .72);
  color: #fff !important;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.post-detail-v2 .att-fullscreen svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-detail-v2 .att-slider .att-fullscreen {
  bottom: 12px;
}

.post-detail-v2 .att-slider .att-dots + .att-counter + .att-fullscreen,
.post-detail-v2 .att-slider .att-fullscreen {
  right: 12px;
}

.detail-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  html {
    overflow-x: hidden;
    overflow-x: clip;
    scroll-padding-bottom: 96px;
  }

  body.post-detail-v2 {
    --detail-keyboard-offset: 0px;
    min-width: 0;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
    background: #fff;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
  }

  .post-detail-v2 .detail-mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 850;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: 58px;
    min-height: 58px;
    padding: 0 14px;
    border-bottom: 1px solid #ececef;
    background: rgba(255, 255, 255, .98);
  }

  .post-detail-v2 .detail-mobile-back,
  .post-detail-v2 .detail-mobile-more {
    width: 44px;
    height: 44px;
  }

  .post-detail-v2 .detail-mobile-back {
    justify-self: start;
  }

  .post-detail-v2 .detail-mobile-back svg {
    width: 27px;
    height: 27px;
    stroke-width: 2;
  }

  .post-detail-v2 .detail-mobile-logo {
    font-size: 20px;
    font-weight: 950;
    letter-spacing: .055em;
  }

  .post-detail-v2 .detail-mobile-more {
    justify-self: end;
    padding: 0 0 3px;
    font-size: 17px;
    letter-spacing: 2px;
  }

  .post-detail-v2 .frame,
  .post-detail-v2 .feed,
  .post-detail-v2 article.card,
  .post-detail-v2 #commentsRealtimeRegion {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .post-detail-v2 .feed {
    overflow: visible;
  }

  .post-detail-v2 .card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .post-detail-v2 article.card {
    padding-top: 20px;
    padding-bottom: 0;
  }

  .post-detail-v2 .detail-category-link {
    gap: 5px;
    margin-bottom: 8px;
    color: var(--detail-orange) !important;
    font-size: 14px;
    line-height: 1.25;
  }

  .post-detail-v2 .detail-category-link span {
    font-size: 20px;
  }

  .post-detail-v2 .title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.28;
  }

  .post-detail-v2 article.card > .meta {
    min-width: 0;
    min-height: 36px;
    margin: 0 0 14px;
    gap: 6px;
    overflow: visible;
    color: #717176;
    font-size: 13px;
  }

  .post-detail-v2 article.card > .meta > .avatar-xs {
    width: 34px;
    height: 34px;
    margin-right: 3px;
  }

  .post-detail-v2 article.card > .meta .nick-pop b {
    font-size: 14px;
  }

  .post-detail-v2 article.card > .meta .vehicle-badges {
    max-width: 62px;
  }

  .post-detail-v2 #followBtn {
    min-width: 48px;
    padding: 8px 0 8px 8px;
    color: var(--detail-orange) !important;
    font-size: 14px;
  }

  .post-detail-v2 .att-single,
  .post-detail-v2 .att-slider {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.38 / 1;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #09090a;
  }

  .post-detail-v2 .att-single .att,
  .post-detail-v2 .att-slider .att-scroll,
  .post-detail-v2 .att-slider .att-slide,
  .post-detail-v2 .att-slider .att-slide .att {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .post-detail-v2 .att-single .media,
  .post-detail-v2 .att-slider .media {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    background: #09090a;
  }

  .post-detail-v2 .att-grid .att {
    min-height: 0;
  }

  .post-detail-v2 .att-grid .media {
    min-height: 0;
    object-fit: cover;
  }

  .post-detail-v2 .att-counter {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(18, 18, 20, .72);
    color: #fff;
    font-size: 12px;
    line-height: 1;
  }

  .post-detail-v2 .att-dots {
    bottom: 8px;
    gap: 6px;
  }

  .post-detail-v2 .att-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .82);
  }

  .post-detail-v2 .att-dot.on {
    background: var(--detail-orange);
  }

  .post-detail-v2 .att-fullscreen {
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .post-detail-v2 .post-body {
    margin-top: 16px;
    color: #222226;
    font-size: 16px;
    line-height: 1.72;
    letter-spacing: -.015em;
  }

  .post-detail-v2 .post-body > p {
    margin: 0 0 5px;
  }

  .post-detail-v2 .post-body > p:last-child {
    margin-bottom: 0;
  }

  .post-detail-v2 .post-engagement-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin-top: 18px;
    padding: 6px 0;
    border-top: 1px solid #e9e9ec;
    border-bottom: 1px solid #e9e9ec;
  }

  .post-detail-v2 .post-engagement-item {
    gap: 7px;
    min-height: 48px;
    padding: 0 6px;
    border-right: 0;
    color: #252529 !important;
    font-size: 14px;
    font-weight: 650;
  }

  .post-detail-v2 .post-engagement-item svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.75;
  }

  .post-detail-v2 #likePill.on,
  .post-detail-v2 .post-bookmark-button.is-bookmarked {
    color: var(--detail-orange) !important;
  }

  .post-detail-v2 .post-author-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 73px;
    padding: 12px 6px;
    border-bottom: 0;
  }

  .post-detail-v2 .post-author-avatar {
    width: 42px;
    height: 42px;
  }

  .post-detail-v2 .post-author-copy {
    gap: 2px;
  }

  .post-detail-v2 .post-author-copy strong {
    font-size: 14px;
  }

  .post-detail-v2 .post-author-copy span {
    font-size: 12px;
  }

  .post-detail-v2 .post-author-follow {
    padding: 8px 0 8px 10px;
    color: var(--detail-orange) !important;
    font-size: 14px;
  }

  .post-detail-v2 #commentsRealtimeRegion {
    margin-top: 0;
    padding-top: 16px;
    padding-bottom: 20px;
    border-top: 1px solid #e8e8eb;
  }

  .post-detail-v2 .cmt-title {
    min-height: 34px;
    margin: 0 0 3px;
    font-size: 17px;
  }

  .post-detail-v2 .comment-sort-label {
    font-size: 13px;
  }

  .post-detail-v2 .cmt {
    min-width: 0;
    padding: 13px 0;
    border-bottom: 0;
    scroll-margin-top: 70px;
    scroll-margin-bottom: 120px;
  }

  .post-detail-v2 .cmt .head {
    min-width: 0;
    min-height: 34px;
    margin-bottom: 5px;
    gap: 5px;
    font-size: 12px;
  }

  .post-detail-v2 .cmt .head > .avatar-xs {
    width: 34px;
    height: 34px;
    margin-right: 4px;
  }

  .post-detail-v2 .cmt .head b {
    font-size: 13px;
  }

  .post-detail-v2 .cmt .head .vehicle-badges {
    max-width: 46px;
    flex-wrap: nowrap;
  }

  .post-detail-v2 .cmt .head .vehicle-badge,
  .post-detail-v2 .cmt .head .vehicle-badge-logo {
    width: 17px;
    height: 17px;
  }

  .post-detail-v2 .cmt .head .op-badge {
    padding: 2px 6px;
    border: 1px solid #ff9c76;
    border-radius: 999px;
    background: #fff8f4;
    color: var(--detail-orange);
    font-size: 10px;
  }

  .post-detail-v2 .cmt .body {
    min-width: 0;
    padding-left: 43px;
    color: #252529;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .post-detail-v2 .cmt-images,
  .post-detail-v2 .comment-actions,
  .post-detail-v2 .cmt > form[id^="c-edit-"],
  .post-detail-v2 .cmt > form[id^="reply-form-"] {
    margin-left: 43px;
  }

  .post-detail-v2 .comment-actions {
    gap: 12px;
    margin-top: 4px;
  }

  .post-detail-v2 .comment-like-btn,
  .post-detail-v2 .comment-reply-action {
    min-height: 24px;
    color: #8a8a90 !important;
    font-size: 11px;
    font-weight: 650;
  }

  .post-detail-v2 .comment-like-btn.is-liked {
    color: var(--detail-orange) !important;
  }

  .post-detail-v2 .cmt .head .report-btn,
  .post-detail-v2 .cmt .more-btn {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .post-detail-v2 .cmt.child {
    margin-left: 41px;
    padding: 8px 0 8px 25px;
  }

  .post-detail-v2 .cmt.child::before {
    top: 22px;
    width: 15px;
    height: 22px;
    border-color: #d9d9dd;
  }

  .post-detail-v2 .cmt.child .body,
  .post-detail-v2 .cmt.child .cmt-images,
  .post-detail-v2 .cmt.child .comment-actions,
  .post-detail-v2 .cmt.child > form[id^="c-edit-"] {
    margin-left: 0;
    padding-left: 43px;
  }

  .post-detail-v2 .cmt-empty {
    padding: 28px 0 36px;
    font-size: 15px;
  }

  .post-detail-v2 .cmt-form:not(.root-comment-form) {
    max-width: calc(100% - 43px);
    padding: 12px;
    border: 1px solid #e5e5e8;
    border-radius: 13px;
    background: #fafafb;
    scroll-margin-top: 70px;
    scroll-margin-bottom: 170px;
  }

  .post-detail-v2 .cmt-form:not(.root-comment-form) textarea,
  .post-detail-v2 form[id^="c-edit-"] textarea,
  .post-detail-v2 .root-comment-form textarea {
    min-width: 0;
    font-size: 16px !important;
  }

  .post-detail-v2 .cmt-form:not(.root-comment-form) textarea,
  .post-detail-v2 form[id^="c-edit-"] textarea {
    min-height: 86px;
    padding: 12px;
  }

  .post-detail-v2 .root-comment-form {
    position: fixed;
    right: 0;
    bottom: var(--detail-keyboard-offset, 0px);
    left: 0;
    z-index: 820;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 38px 54px;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    min-height: calc(72px + env(safe-area-inset-bottom));
    margin: 0;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid #dfdfe3;
    border-radius: 0;
    background: rgba(255, 255, 255, .985);
    box-shadow: none;
    transform: none;
    transition: bottom .12s ease;
  }

  .post-detail-v2.detail-keyboard-open .root-comment-form {
    min-height: 66px;
    padding-bottom: 9px;
  }

  .post-detail-v2.detail-inline-composer-active .root-comment-form {
    display: none !important;
  }

  .post-detail-v2 .root-comment-avatar {
    display: block;
    width: 40px;
    height: 40px;
  }

  .post-detail-v2 .root-comment-form textarea {
    grid-column: 2;
    width: 100%;
    height: 46px;
    min-height: 46px;
    max-height: 108px;
    padding: 11px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 24px;
    background: #fff;
    color: #242428;
    line-height: 1.4;
    overflow-y: auto;
    resize: none;
  }

  .post-detail-v2 .root-comment-form textarea::placeholder {
    color: #a5a5aa;
    opacity: 1;
  }

  .post-detail-v2 .root-comment-form .cmt-upload-row {
    grid-column: 3;
    width: 38px;
    margin: 0;
  }

  .post-detail-v2 .root-comment-form .cmt-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #505057;
  }

  .post-detail-v2 .root-comment-form .cmt-file-btn::before {
    content: none;
  }

  .post-detail-v2 .root-comment-form .cmt-file-btn svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .post-detail-v2 .root-comment-form .cmt-img-preview {
    right: 12px;
    bottom: calc(100% + 8px);
    left: 12px;
  }

  .post-detail-v2 .root-comment-actions {
    grid-column: 4;
    width: 54px;
    margin: 0 !important;
  }

  .post-detail-v2 .root-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--detail-orange) !important;
    color: #fff !important;
  }

  .post-detail-v2 .root-comment-submit::before {
    content: none;
  }

  .post-detail-v2 .root-comment-submit svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .post-detail-v2 .root-comment-submit:disabled {
    background: #d9d9dd !important;
    color: #fff !important;
  }

  .post-detail-v2 input,
  .post-detail-v2 textarea,
  .post-detail-v2 select {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .post-detail-v2 .detail-mobile-topbar {
    padding-right: 10px;
    padding-left: 10px;
  }

  .post-detail-v2 .card {
    padding-right: 16px;
    padding-left: 16px;
  }

  .post-detail-v2 .title {
    font-size: 22px;
  }

  .post-detail-v2 .post-engagement-item {
    gap: 5px;
    padding: 0 3px;
    font-size: 13px;
  }

  .post-detail-v2 .root-comment-form {
    grid-template-columns: 38px minmax(0, 1fr) 34px 48px;
    gap: 5px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .post-detail-v2 .root-comment-avatar {
    width: 36px;
    height: 36px;
  }

  .post-detail-v2 .root-comment-form .cmt-upload-row,
  .post-detail-v2 .root-comment-form .cmt-file-btn {
    width: 34px;
  }

  .post-detail-v2 .root-comment-actions {
    width: 48px;
  }

  .post-detail-v2 .root-comment-submit {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }
}

/* v2.3.2 final priority: compact actions + fixed-height mobile header */
html,
body.post-detail-v2 {
  overscroll-behavior-y: none;
}

@media (max-width: 900px) {
  body.post-detail-v2 .detail-mobile-topbar {
    position: sticky !important;
    top: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  body.post-detail-v2 .post-engagement-bar {
    grid-template-rows: 38px !important;
    min-height: 38px !important;
    margin-top: 12px !important;
    padding: 0 !important;
  }

  body.post-detail-v2 .post-engagement-bar > .post-engagement-item {
    min-height: 38px !important;
    gap: 3px !important;
    padding: 0 2px !important;
    border-right: 0 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  body.post-detail-v2 .post-engagement-bar > .post-engagement-item svg {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }
}

/* v2.3.2 cache shield */
.post-detail-v2 .post-engagement-bar > .post-engagement-item {
  border-right: 0 !important;
}

.post-detail-v2 .att-fullscreen,
.post-detail-v2 [data-detail-media-fullscreen] {
  display: none !important;
}

@media (max-width: 900px) {
  body.post-detail-v2 .detail-mobile-topbar {
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
    padding: 0 12px !important;
  }

  body.post-detail-v2 .detail-mobile-back,
  body.post-detail-v2 .detail-mobile-more {
    width: 40px !important;
    height: 40px !important;
  }

  body.post-detail-v2 .detail-mobile-logo {
    font-size: 18px !important;
  }

  body.post-detail-v2 .post-engagement-bar {
    grid-template-rows: 38px !important;
    min-height: 38px !important;
    margin-top: 12px !important;
    padding: 0 !important;
  }

  body.post-detail-v2 .post-engagement-bar > .post-engagement-item {
    min-height: 38px !important;
    gap: 3px !important;
    padding: 0 2px !important;
    border-right: 0 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  body.post-detail-v2 .post-engagement-item svg {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }

  body.post-detail-v2 .att-slider .att-scroll {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
  }

  body.post-detail-v2 .att-slider .att-slide {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    scroll-snap-align: start !important;
  }

  body.post-detail-v2 .att-single .media,
  body.post-detail-v2 .att-slider .media,
  body.post-detail-v2 .att-grid .media {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* =========================================================
   v2.3.2 final priority layer
   - compact mobile header/action bar
   - native-feeling horizontal media swipe without cropping
   - removable comment-image previews
   ========================================================= */
.post-detail-v2 .post-engagement-bar > .post-engagement-item {
  border-right: 0 !important;
}

.post-detail-v2 .att-fullscreen,
.post-detail-v2 [data-detail-media-fullscreen] {
  display: none !important;
}

.post-detail-v2 .comment-reply-target {
  margin: 0 0 2px 43px;
  color: var(--detail-orange);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.post-detail-v2 .cmt-img-preview {
  align-items: center;
  overflow-x: auto;
}

.post-detail-v2 .cmt-preview-list {
  display: flex;
  min-width: 0;
  gap: 8px;
}

.post-detail-v2 .cmt-img-preview .item {
  position: relative;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  overflow: visible;
  border-radius: 10px;
}

.post-detail-v2 .cmt-img-preview .item img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.post-detail-v2 .cmt-preview-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #26262a;
  color: #fff !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .24);
}

.post-detail-v2 .cmt-preview-clear {
  flex: 0 0 auto;
  min-height: 36px;
  margin-left: 3px;
  padding: 0 10px;
  border: 1px solid #dedee2;
  border-radius: 999px;
  background: #fff;
  color: #66666d !important;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 900px) {
  body.post-detail-v2 .detail-mobile-topbar {
    position: sticky !important;
    top: 0 !important;
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
    padding: 0 12px !important;
  }

  body.post-detail-v2 .detail-mobile-back,
  body.post-detail-v2 .detail-mobile-more {
    width: 40px !important;
    height: 40px !important;
  }

  body.post-detail-v2 .detail-mobile-back svg {
    width: 23px !important;
    height: 23px !important;
  }

  body.post-detail-v2 .detail-mobile-logo {
    font-size: 18px !important;
    letter-spacing: .045em !important;
  }

  body.post-detail-v2 article.card {
    padding-top: 14px !important;
  }

  body.post-detail-v2 .post-engagement-bar {
    grid-template-rows: 38px !important;
    min-height: 38px !important;
    margin-top: 12px !important;
    padding: 0 !important;
  }

  body.post-detail-v2 .post-engagement-bar > .post-engagement-item {
    min-height: 38px !important;
    gap: 3px !important;
    padding: 0 2px !important;
    border-right: 0 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  body.post-detail-v2 .post-engagement-item svg {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }

  body.post-detail-v2 .att-slider .att-scroll {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
  }

  body.post-detail-v2 .att-slider .att-slide {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always;
  }

  body.post-detail-v2 .att-single .media,
  body.post-detail-v2 .att-slider .media,
  body.post-detail-v2 .att-grid .media {
    object-fit: contain !important;
    object-position: center center !important;
  }

  body.post-detail-v2 .root-comment-form .cmt-img-preview {
    display: flex;
    max-height: 104px;
    padding: 13px 11px 10px !important;
  }

  body.post-detail-v2 .root-comment-form .cmt-img-preview:empty {
    display: none !important;
  }

  body.post-detail-v2 .comment-reply-target {
    margin-left: 43px;
  }
}

/* =========================================================
   v2.2.0 interaction priority layer
   ========================================================= */
.post-detail-v2 .comment-sort-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: #5d5d62;
}

.post-detail-v2 .comment-sort-select {
  min-height: 36px;
  padding: 6px 23px 6px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.post-detail-v2 .comment-sort-control svg {
  position: absolute;
  right: 3px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  pointer-events: none;
}

.post-detail-v2 .post-detail-share-toast {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.post-detail-v2 .post-detail-toast-action {
  color: #ff7a4f !important;
  font-weight: 900;
  white-space: nowrap;
}

.post-detail-v2 .root-reply-context[hidden] {
  display: none !important;
}

.post-detail-v2 .root-reply-context {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fff5f0;
  color: #68686e;
  font-size: 12px;
}

.post-detail-v2 .root-reply-context strong {
  color: var(--detail-orange);
}

.post-detail-v2 .root-reply-cancel {
  border: 0;
  background: transparent;
  color: #666 !important;
  font-size: 20px;
}

@media (max-width: 900px) {
  body.post-detail-v2 .att-fullscreen {
    display: none !important;
  }

  body.post-detail-v2 .att-slider .att-scroll {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-y pinch-zoom;
  }

  body.post-detail-v2 .att-slider .att-scroll::-webkit-scrollbar {
    display: none;
  }

  body.post-detail-v2 .att-slider .att-slide {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  body.post-detail-v2 .att-slider .att-slide .att {
    overflow: hidden !important;
  }

  body.post-detail-v2 .att-single .media,
  body.post-detail-v2 .att-slider .media,
  body.post-detail-v2 .att-grid .media {
    object-fit: contain !important;
    object-position: center center !important;
  }

  body.post-detail-v2 .root-reply-context {
    position: absolute;
    right: 12px;
    bottom: calc(100% + 7px);
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 8px 10px 8px 13px;
    border: 1px solid #e6e6e9;
    border-radius: 12px;
    background: rgba(255, 255, 255, .985);
    color: #68686e;
    font-size: 12px;
    box-shadow: 0 7px 22px rgba(20, 20, 24, .1);
  }

  body.post-detail-v2 .root-reply-context strong {
    color: var(--detail-orange);
    font-weight: 900;
  }

  body.post-detail-v2 .root-reply-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f2f4;
    color: #55555b !important;
    font-size: 20px;
    line-height: 1;
  }

  body.post-detail-v2 .root-comment-form.is-reply-mode textarea {
    border-color: #ff9c79 !important;
  }
}

.post-detail-v2 .feed {
  width: min(820px, 100%);
}

.post-detail-v2 .card {
  border: 1px solid var(--detail-line);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(20, 20, 24, .025);
}

.post-detail-v2 .detail-category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--detail-orange);
  font-size: 14px;
  font-weight: 900;
}

.post-detail-v2 .detail-category-link span {
  color: #888;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}

.post-detail-v2 .title {
  margin: 0 0 13px;
  color: var(--detail-text);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.28;
}

.post-detail-v2 article.card > .meta {
  min-height: 38px;
  margin-bottom: 18px;
  color: var(--detail-muted);
  font-size: 13px;
  gap: 7px;
}

.post-detail-v2 article.card > .meta > .avatar-xs {
  width: 38px;
  height: 38px;
  margin-right: 2px;
}

.post-detail-v2 article.card > .meta .nick-pop b {
  color: var(--detail-text);
  font-size: 14px;
  font-weight: 900;
}

.post-detail-v2 #followBtn {
  min-width: 0;
  height: auto;
  margin-left: auto !important;
  padding: 7px 0 7px 12px;
  border: 0 !important;
  background: transparent !important;
  color: var(--detail-orange) !important;
  font-size: 14px;
  font-weight: 900 !important;
}

.post-detail-v2 .att-single,
.post-detail-v2 .att-slider,
.post-detail-v2 .toastui-editor-contents .aem-gallery-wrap,
.post-detail-v2 .post-body .aem-portrait-wrap {
  border-color: #dedee2;
  border-radius: 15px;
}

.post-detail-v2 .att-counter,
.post-detail-v2 .toastui-editor-contents .aem-g-counter {
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  background: rgba(20, 20, 22, .72);
  font-size: 12px;
}

.post-detail-v2 .att-dots,
.post-detail-v2 .toastui-editor-contents .aem-g-dots {
  bottom: 12px;
  gap: 7px;
}

.post-detail-v2 .att-dot,
.post-detail-v2 .toastui-editor-contents .aem-g-dot {
  width: 9px;
  height: 9px;
}

.post-detail-v2 .att-dot.on,
.post-detail-v2 .toastui-editor-contents .aem-g-dot.on {
  background: var(--detail-orange);
}

.post-detail-v2 .post-body {
  margin-top: 20px;
  color: #252528;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: -.01em;
}

.post-detail-v2 .post-body > p {
  margin: 0 0 8px;
}

.post-detail-v2 .post-engagement-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--detail-line);
  border-bottom: 1px solid var(--detail-line);
}

.post-detail-v2 .post-engagement-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid var(--detail-line);
  border-radius: 0;
  background: transparent;
  color: #303035 !important;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.post-detail-v2 .post-engagement-item:last-child {
  border-right: 0;
}

.post-detail-v2 .post-engagement-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-detail-v2 #likePill.on {
  color: #ef3058 !important;
}

.post-detail-v2 #likePill.on svg {
  fill: currentColor;
}

.post-detail-v2 .post-author-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 4px 4px;
}

.post-detail-v2 .post-author-avatar {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid #ededf0;
  border-radius: 50%;
  object-fit: cover;
}

.post-detail-v2 .post-author-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.post-detail-v2 .post-author-copy strong {
  overflow: hidden;
  color: var(--detail-text);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-detail-v2 .post-author-copy span {
  overflow: hidden;
  color: var(--detail-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-detail-v2 .post-author-follow {
  padding: 8px 0 8px 12px;
  border: 0;
  background: transparent;
  color: var(--detail-orange) !important;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.post-detail-v2 #commentsRealtimeRegion .cmt-box {
  margin-top: 0;
}

.post-detail-v2 .cmt-title {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 4px;
  color: var(--detail-text);
  font-size: 18px;
  font-weight: 900;
}

.post-detail-v2 .comment-sort-label {
  margin-left: auto;
  color: #77777c;
  font-size: 13px;
  font-weight: 700;
}

.post-detail-v2 .cmt {
  padding: 17px 0;
  border-bottom: 1px solid #f0f0f2;
}

.post-detail-v2 .cmt .head {
  gap: 6px;
  margin-bottom: 8px;
  color: #8a8a90;
  font-size: 12px;
}

.post-detail-v2 .cmt .head > .avatar-xs {
  width: 34px;
  height: 34px;
  margin-right: 3px;
}

.post-detail-v2 .cmt .head b {
  color: #29292d;
  font-size: 13px;
  font-weight: 900;
}

.post-detail-v2 .cmt .body {
  padding-left: 43px;
  color: #26262a;
  font-size: 14px;
  line-height: 1.68;
}

.post-detail-v2 .cmt-images,
.post-detail-v2 .comment-actions,
.post-detail-v2 .cmt > form[id^="c-edit-"],
.post-detail-v2 .cmt > form[id^="reply-form-"] {
  margin-left: 43px;
}

.post-detail-v2 .comment-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
}

.post-detail-v2 .comment-like-btn,
.post-detail-v2 .comment-reply-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a8a90 !important;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.post-detail-v2 .comment-like-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-detail-v2 .comment-like-btn.is-liked {
  color: #ef3058 !important;
}

.post-detail-v2 .comment-like-btn.is-liked svg {
  fill: currentColor;
}

.post-detail-v2 .comment-like-btn.is-busy {
  opacity: .5;
  pointer-events: none;
}

.post-detail-v2 .comment-like-count::before {
  content: "·";
  margin-right: 4px;
  color: #b6b6ba;
}

.post-detail-v2 .comment-like-count.is-zero {
  display: none;
}

.post-detail-v2 .cmt.child {
  margin-left: 43px;
  padding-left: 22px;
}

.post-detail-v2 .cmt.child::before {
  left: 0;
  top: 29px;
  width: 13px;
  height: 16px;
  border-color: #dedee2;
  border-width: 1.5px;
}

.post-detail-v2 .cmt.child .body,
.post-detail-v2 .cmt.child .cmt-images,
.post-detail-v2 .cmt.child .comment-actions,
.post-detail-v2 .cmt.child > form[id^="c-edit-"] {
  margin-left: 0;
  padding-left: 43px;
}

.post-detail-v2 .cmt-form {
  border-style: solid;
  border-radius: 14px;
  background: #fbfbfc;
}

.post-detail-v2 .root-comment-avatar {
  display: none;
}

.post-detail-v2 .root-comment-form textarea {
  min-height: 92px;
}

.detail-mobile-topbar,
.detail-mobile-menu,
.detail-mobile-menu-backdrop {
  display: none;
}

.post-detail-share-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2147483600;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(20, 20, 22, .9);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.post-detail-share-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 900px) {
  .post-detail-v2.detail-menu-open {
    overflow: hidden;
  }

  .post-detail-v2 {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
    background: #fff;
  }

  .post-detail-v2 header#globalTopbar,
  .post-detail-v2 > .statusbar-shim,
  .post-detail-v2 .sidebar,
  .post-detail-v2 .sb-dim,
  .post-detail-v2 .right-rail {
    display: none !important;
  }

  .post-detail-v2 .detail-mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 850;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    width: 100%;
    height: calc(58px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 10px 0;
    border-bottom: 1px solid var(--detail-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .detail-mobile-back,
  .detail-mobile-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #151517 !important;
    cursor: pointer;
  }

  .detail-mobile-back svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .detail-mobile-logo {
    justify-self: center;
    color: var(--detail-orange) !important;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: .055em;
  }

  .detail-mobile-more {
    justify-self: end;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: 2px;
  }

  .post-detail-v2 .frame {
    display: block;
    width: 100%;
  }

  .post-detail-v2 .feed {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .post-detail-v2 .breadcrumbs {
    display: none;
  }

  .post-detail-v2 .card {
    margin: 0;
    padding: 20px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .post-detail-v2 article.card {
    padding-bottom: 14px;
  }

  .post-detail-v2 .detail-category-link {
    margin-bottom: 9px;
    font-size: 14px;
  }

  .post-detail-v2 .title {
    margin-bottom: 13px;
    font-size: 24px;
    line-height: 1.27;
  }

  .post-detail-v2 article.card > .meta {
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    white-space: nowrap;
  }

  .post-detail-v2 article.card > .meta > * {
    flex: 0 0 auto;
  }

  .post-detail-v2 article.card > .meta > .avatar-xs {
    width: 36px;
    height: 36px;
  }

  .post-detail-v2 article.card > .meta .vehicle-badges {
    flex-wrap: nowrap;
    gap: 3px;
    overflow: hidden;
  }

  .post-detail-v2 article.card > .meta .vehicle-badge,
  .post-detail-v2 article.card > .meta .vehicle-badge-logo {
    width: 18px;
    height: 18px;
  }

  .post-detail-v2 #followBtn {
    margin-left: auto !important;
    padding-left: 7px;
  }

  .post-detail-v2 .att-single,
  .post-detail-v2 .att-slider,
  .post-detail-v2 .att-grid,
  .post-detail-v2 .ghost-share-card {
    margin-right: 0;
    margin-left: 0;
  }

  .post-detail-v2 .att-single .att,
  .post-detail-v2 .att-slide,
  .post-detail-v2 .att {
    min-height: min(72vh, 620px);
  }

  .post-detail-v2 .att .media,
  .post-detail-v2 .att-single .media {
    width: 100%;
    max-height: min(72vh, 620px);
    object-fit: contain;
  }

  .post-detail-v2 .att-prev,
  .post-detail-v2 .att-next,
  .post-detail-v2 .toastui-editor-contents .aem-g-prev,
  .post-detail-v2 .toastui-editor-contents .aem-g-next {
    display: none;
  }

  .post-detail-v2 .post-body {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.8;
  }

  .post-detail-v2 .post-body > p > img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  .post-detail-v2 .post-engagement-bar {
    margin-top: 22px;
    padding: 7px 0;
  }

  .post-detail-v2 .post-engagement-item {
    min-height: 44px;
  }

  .post-detail-v2 .post-author-card {
    padding: 17px 0 3px;
  }

  .post-detail-v2 article.card > .actions {
    display: none;
  }

  .post-detail-v2 #commentsRealtimeRegion {
    margin-top: 0;
    padding-top: 21px;
    border-top: 9px solid #f5f5f6;
  }

  .post-detail-v2 .cmt-title {
    margin-bottom: 5px;
  }

  .post-detail-v2 .cmt {
    padding: 17px 0;
  }

  .post-detail-v2 .cmt .head .report-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    margin-left: auto !important;
    padding: 0;
    border: 0;
    background: transparent;
    color: #67676c !important;
    font-size: 0;
  }

  .post-detail-v2 .cmt .head .report-btn::after {
    content: "•••";
    font-size: 13px;
    letter-spacing: 1px;
  }

  .post-detail-v2 .cmt.child {
    margin-left: 35px;
    padding-left: 20px;
  }

  .post-detail-v2 .cmt.child .body,
  .post-detail-v2 .cmt.child .cmt-images,
  .post-detail-v2 .cmt.child .comment-actions,
  .post-detail-v2 .cmt.child > form[id^="c-edit-"] {
    padding-left: 43px;
  }

  .post-detail-v2 .root-comment-form {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 820;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 42px 46px;
    align-items: center;
    gap: 8px;
    min-height: calc(72px + env(safe-area-inset-bottom));
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid #e6e6e9;
    border-radius: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -8px 24px rgba(20, 20, 24, .055);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .post-detail-v2 .root-comment-form > label {
    display: none !important;
  }

  .post-detail-v2 .root-comment-avatar {
    display: block;
    width: 36px;
    height: 36px;
    border: 1px solid #ededf0;
    border-radius: 50%;
    object-fit: cover;
  }

  .post-detail-v2 .root-comment-form textarea {
    grid-column: 2;
    min-height: 42px;
    max-height: 112px;
    padding: 11px 14px;
    resize: none;
    overflow-y: auto;
    border-color: #dcdce0;
    border-radius: 22px;
    background: #fff;
    line-height: 1.35;
  }

  .post-detail-v2 .root-comment-form textarea:focus {
    border-color: #b8b8bd;
    box-shadow: none;
  }

  .post-detail-v2 .root-comment-form .cmt-upload-row {
    grid-column: 3;
    margin: 0;
  }

  .post-detail-v2 .root-comment-form .cmt-file-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #55555b;
    font-size: 0;
  }

  .post-detail-v2 .root-comment-form .cmt-file-btn::before {
    content: "▧";
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
  }

  .post-detail-v2 .root-comment-form .cmt-upload-note,
  .post-detail-v2 .root-comment-cancel {
    display: none !important;
  }

  .post-detail-v2 .root-comment-form .cmt-img-preview {
    position: absolute;
    right: 12px;
    bottom: calc(100% + 8px);
    left: 12px;
    display: flex;
    gap: 7px;
    margin: 0;
    padding: 9px;
    border: 1px solid var(--detail-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 20, 24, .12);
  }

  .post-detail-v2 .root-comment-form .cmt-img-preview:empty {
    display: none;
  }

  .post-detail-v2 .root-comment-form .cmt-img-preview .item {
    width: 64px;
    flex: 0 0 64px;
  }

  .post-detail-v2 .root-comment-actions {
    grid-column: 4;
    margin: 0 !important;
  }

  .post-detail-v2 .root-comment-submit {
    display: inline-flex;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--detail-orange) !important;
    color: #fff !important;
    font-size: 0 !important;
  }

  .post-detail-v2 .root-comment-submit::before {
    content: "➤";
    margin-left: 2px;
    color: #fff;
    font-size: 21px;
    line-height: 1;
  }

  .post-detail-v2 .detail-mobile-menu-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: block;
    background: rgba(12, 12, 14, .38);
  }

  .post-detail-v2 .detail-mobile-menu:not([hidden]) {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1110;
    display: block;
    padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -16px 44px rgba(0, 0, 0, .16);
  }

  .detail-mobile-menu-handle {
    width: 38px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #d7d7da;
  }

  .detail-mobile-menu form {
    margin: 0;
  }

  .detail-mobile-menu-item,
  .detail-mobile-menu-cancel {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 49px;
    padding: 0 8px;
    border: 0;
    border-bottom: 1px solid #f0f0f2;
    background: #fff;
    color: #222226 !important;
    font-size: 15px;
    font-weight: 800;
    text-align: left;
  }

  .detail-mobile-menu-item.is-danger {
    color: #d92943 !important;
  }

  .detail-mobile-menu-cancel {
    justify-content: center;
    margin-top: 8px;
    border: 0;
    border-radius: 13px;
    background: #f4f4f5;
  }

  .post-detail-share-toast {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .post-detail-v2 .card {
    padding-right: 15px;
    padding-left: 15px;
  }

  .post-detail-v2 .title {
    font-size: 22px;
  }

  .post-detail-v2 .post-author-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .post-detail-v2 .post-author-avatar {
    width: 44px;
    height: 44px;
  }

  .post-detail-v2 .root-comment-form {
    grid-template-columns: 34px minmax(0, 1fr) 38px 42px;
    gap: 5px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .post-detail-v2 .root-comment-avatar {
    width: 32px;
    height: 32px;
  }

  .post-detail-v2 .root-comment-submit {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }
}

/* v2.1 final cascade: keep this block last. */
.post-detail-v2 .post-engagement-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  body.post-detail-v2 {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-x: clip;
    background: #fff;
    -webkit-text-size-adjust: 100%;
  }

  .post-detail-v2 .detail-mobile-topbar {
    top: 0;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    width: 100%;
    max-width: 100vw;
    height: 58px;
    min-height: 58px;
    padding: 0 14px;
    box-sizing: border-box;
  }

  .post-detail-v2 .detail-mobile-back,
  .post-detail-v2 .detail-mobile-more {
    width: 44px;
    height: 44px;
  }

  .post-detail-v2 .detail-mobile-back {
    justify-self: start;
  }

  .post-detail-v2 .detail-mobile-more {
    justify-self: end;
    padding: 0 0 3px;
  }

  .post-detail-v2 .frame,
  .post-detail-v2 .feed,
  .post-detail-v2 article.card,
  .post-detail-v2 #commentsRealtimeRegion {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .post-detail-v2 .feed {
    overflow: visible;
  }

  .post-detail-v2 .card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .post-detail-v2 article.card {
    padding-top: 20px;
    padding-bottom: 0;
  }

  .post-detail-v2 .detail-category-link {
    margin-bottom: 8px;
  }

  .post-detail-v2 .title {
    margin-bottom: 12px;
    font-size: 24px;
  }

  .post-detail-v2 article.card > .meta {
    min-width: 0;
    min-height: 36px;
    margin-bottom: 14px;
    gap: 6px;
    overflow: visible;
  }

  .post-detail-v2 article.card > .meta > .avatar-xs {
    width: 34px;
    height: 34px;
  }

  .post-detail-v2 .att-single,
  .post-detail-v2 .att-slider {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1.38 / 1;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #09090a;
  }

  .post-detail-v2 .att-single .att,
  .post-detail-v2 .att-slider .att-scroll,
  .post-detail-v2 .att-slider .att-slide,
  .post-detail-v2 .att-slider .att-slide .att {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .post-detail-v2 .att-single .media,
  .post-detail-v2 .att-slider .media {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    background: #09090a;
  }

  .post-detail-v2 .att-grid .att,
  .post-detail-v2 .att-grid .media {
    min-height: 0;
  }

  .post-detail-v2 .att-counter {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    border-radius: 999px;
  }

  .post-detail-v2 .att-dots {
    bottom: 8px;
  }

  .post-detail-v2 .att-dot {
    width: 8px;
    height: 8px;
  }

  .post-detail-v2 .att-fullscreen {
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
  }

  .post-detail-v2 .post-body {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.72;
  }

  .post-detail-v2 .post-body > p {
    margin-bottom: 5px;
  }

  .post-detail-v2 .post-engagement-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
    padding: 6px 0;
  }

  .post-detail-v2 .post-engagement-item {
    gap: 7px;
    min-height: 48px;
    padding: 0 5px;
    border-right: 0;
    font-size: 14px;
    font-weight: 650;
  }

  .post-detail-v2 .post-engagement-item svg {
    width: 23px;
    height: 23px;
  }

  .post-detail-v2 #likePill.on,
  .post-detail-v2 .post-bookmark-button.is-bookmarked {
    color: var(--detail-orange) !important;
  }

  .post-detail-v2 .post-author-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 73px;
    padding: 12px 6px;
  }

  .post-detail-v2 .post-author-avatar {
    width: 42px;
    height: 42px;
  }

  .post-detail-v2 #commentsRealtimeRegion {
    margin-top: 0;
    padding-top: 16px;
    padding-bottom: 20px;
    border-top: 1px solid #e8e8eb;
  }

  .post-detail-v2 .cmt-title {
    min-height: 34px;
    margin-bottom: 3px;
    font-size: 17px;
  }

  .post-detail-v2 .comment-sort-label {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    padding: 7px 0 7px 10px;
    border: 0;
    background: transparent;
    font-size: 13px;
  }

  .post-detail-v2 .cmt {
    min-width: 0;
    padding: 13px 0;
    border-bottom: 0;
    scroll-margin-top: 70px;
    scroll-margin-bottom: 130px;
  }

  .post-detail-v2 .cmt .head {
    min-width: 0;
    min-height: 34px;
    margin-bottom: 5px;
    gap: 5px;
  }

  .post-detail-v2 .cmt .head > .avatar-xs {
    width: 34px;
    height: 34px;
    margin-right: 4px;
  }

  .post-detail-v2 .cmt .body {
    min-width: 0;
    padding-left: 43px;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .post-detail-v2 .cmt-images,
  .post-detail-v2 .comment-actions,
  .post-detail-v2 .cmt > form[id^="c-edit-"],
  .post-detail-v2 .cmt > form[id^="reply-form-"] {
    margin-left: 43px;
  }

  .post-detail-v2 .comment-actions {
    margin-top: 4px;
  }

  .post-detail-v2 .comment-like-btn,
  .post-detail-v2 .comment-reply-action {
    min-height: 24px;
    font-size: 11px;
  }

  .post-detail-v2 .comment-like-btn.is-liked {
    color: var(--detail-orange) !important;
  }

  .post-detail-v2 .cmt.child {
    margin-left: 41px;
    padding: 8px 0 8px 25px;
  }

  .post-detail-v2 .cmt.child::before {
    top: 22px;
    width: 15px;
    height: 22px;
  }

  .post-detail-v2 .cmt.child .body,
  .post-detail-v2 .cmt.child .cmt-images,
  .post-detail-v2 .cmt.child .comment-actions,
  .post-detail-v2 .cmt.child > form[id^="c-edit-"] {
    margin-left: 0;
    padding-left: 43px;
  }

  .post-detail-v2 .cmt-empty {
    padding: 28px 0 36px;
    border-bottom: 1px solid #ececef;
    font-size: 15px;
  }

  .post-detail-v2 .cmt-form:not(.root-comment-form) {
    max-width: calc(100% - 43px);
    padding: 12px;
    scroll-margin-top: 70px;
    scroll-margin-bottom: 180px;
  }

  .post-detail-v2 .cmt-form:not(.root-comment-form) textarea,
  .post-detail-v2 form[id^="c-edit-"] textarea,
  .post-detail-v2 .root-comment-form textarea,
  .post-detail-v2 input,
  .post-detail-v2 select {
    min-width: 0;
    font-size: 16px !important;
  }

  .post-detail-v2 .root-comment-form {
    right: 0;
    bottom: var(--detail-keyboard-offset, 0px);
    left: 0;
    grid-template-columns: 42px minmax(0, 1fr) 38px 54px;
    gap: 8px;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    min-height: calc(72px + env(safe-area-inset-bottom));
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    border-top: 1px solid #dfdfe3;
    background: rgba(255, 255, 255, .985);
    box-shadow: none;
    transform: none;
    transition: bottom .12s ease;
  }

  .post-detail-v2.detail-keyboard-open .root-comment-form {
    min-height: 66px;
    padding-bottom: 9px;
  }

  .post-detail-v2.detail-inline-composer-active .root-comment-form {
    display: none !important;
  }

  .post-detail-v2 .root-comment-avatar {
    width: 40px;
    height: 40px;
  }

  .post-detail-v2 .root-comment-form textarea {
    grid-column: 2;
    width: 100%;
    height: 46px;
    min-height: 46px;
    max-height: 108px;
    padding: 11px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 24px;
    line-height: 1.4;
  }

  .post-detail-v2 .root-comment-form .cmt-upload-row {
    grid-column: 3;
    width: 38px;
    margin: 0;
  }

  .post-detail-v2 .root-comment-form .cmt-file-btn {
    display: inline-flex;
    width: 38px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0;
  }

  .post-detail-v2 .root-comment-form .cmt-file-btn::before,
  .post-detail-v2 .root-comment-submit::before {
    content: none;
  }

  .post-detail-v2 .root-comment-form .cmt-file-btn svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }

  .post-detail-v2 .root-comment-actions {
    grid-column: 4;
    width: 54px;
    margin: 0 !important;
  }

  .post-detail-v2 .root-comment-submit {
    display: inline-flex;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50% !important;
  }

  .post-detail-v2 .root-comment-submit svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .post-detail-v2 .root-comment-submit:disabled {
    background: #d9d9dd !important;
  }
}

@media (max-width: 390px) {
  .post-detail-v2 .detail-mobile-topbar {
    padding-right: 10px;
    padding-left: 10px;
  }

  .post-detail-v2 .card {
    padding-right: 16px;
    padding-left: 16px;
  }

  .post-detail-v2 .root-comment-form {
    grid-template-columns: 38px minmax(0, 1fr) 34px 48px;
    gap: 5px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .post-detail-v2 .root-comment-avatar {
    width: 36px;
    height: 36px;
  }

  .post-detail-v2 .root-comment-form .cmt-upload-row,
  .post-detail-v2 .root-comment-form .cmt-file-btn {
    width: 34px;
  }

  .post-detail-v2 .root-comment-actions {
    width: 48px;
  }

  .post-detail-v2 .root-comment-submit {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }
}

/* =========================================================
   v2.3.7 final desktop + Instagram-style engagement layout
   ========================================================= */
body.post-detail-v2 .post-engagement-bar {
  display: flex !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-flow: initial !important;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding-top: 8px !important;
  border-top: 1px solid #dedee2 !important;
}

body.post-detail-v2 .post-engagement-bar > .post-engagement-item {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  border-right: 0 !important;
}

body.post-detail-v2 .post-engagement-bar > .post-bookmark-button {
  margin-left: auto !important;
}

@media (min-width: 1201px) {
  body.post-detail-v2 .frame {
    grid-template-columns: 270px 32px minmax(0, 1040px) 32px minmax(0, 1fr);
    width: 100%;
    max-width: none;
  }

  body.post-detail-v2 .sidebar {
    grid-column: 1;
  }

  body.post-detail-v2 .feed {
    grid-column: 3;
    width: 100%;
    max-width: 1040px;
  }

  body.post-detail-v2 .right-rail {
    grid-column: 5;
  }
}

/* =========================================================
   v2.3.7 — ROOT(20260818-050102).war desktop layout coordinates
   ========================================================= */
@media (min-width: 901px) {
  body.post-detail-v2 {
    --sbw: 270px;
    --gutter-left: 90px;
    --gutter-right: 24px;
    --right-rail: 320px;
    --side-left-gap: 30px;
  }

  body.post-detail-v2 .frame {
    display: grid;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
    position: relative;
    justify-content: stretch;
    overflow: visible;
  }

  body.post-detail-v2 .frame::before {
    content: none;
  }

  body.post-detail-v2 .sidebar {
    grid-column: 1;
    width: auto;
    margin: 0;
    position: sticky;
    top: 50px;
    align-self: start;
    background: #fff;
    padding: 12px 0 12px var(--side-left-gap);
    border-right: 1px solid var(--line);
    transform: none;
  }

  body.post-detail-v2 .feed {
    grid-column: 3;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 16px 0;
  }
}

@media (min-width: 1201px) {
  body.post-detail-v2 .frame {
    grid-template-columns: var(--sbw) var(--gutter-left) minmax(0, 1fr) var(--gutter-right) var(--right-rail);
  }

  body.post-detail-v2 .right-rail {
    display: block;
    grid-column: 5;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  body.post-detail-v2 .frame {
    grid-template-columns: var(--sbw) var(--gutter-left) minmax(0, 1fr);
  }

  body.post-detail-v2 .right-rail {
    display: none;
  }
}

/* =========================================================
   v2.3.8 — post-list action parity + compact author metadata
   ========================================================= */
body.post-detail-v2 .post-engagement-bar {
  gap: 5px !important;
}

body.post-detail-v2 .post-engagement-bar > .post-engagement-item {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  gap: 6px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #171717 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  -webkit-tap-highlight-color: transparent;
  transition: color .12s ease, background .12s ease, transform .12s ease;
}

body.post-detail-v2 .post-engagement-bar > .post-engagement-item:hover {
  background: #f5f5f6 !important;
  color: #000 !important;
}

body.post-detail-v2 .post-engagement-bar > .post-engagement-item svg {
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 19px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8 !important;
}

body.post-detail-v2 #likePill.on {
  color: #f1324c !important;
}

body.post-detail-v2 #likePill.on svg,
body.post-detail-v2 .post-bookmark-button.is-bookmarked svg {
  fill: currentColor;
}

body.post-detail-v2 .post-bookmark-button.is-bookmarked {
  color: #171717 !important;
}

body.post-detail-v2 .post-engagement-bar > .post-bookmark-button {
  margin-left: auto !important;
}

body.post-detail-v2 article.card > .meta.has-follow {
  position: relative;
  padding-right: 76px;
}

body.post-detail-v2 article.card > .meta #followBtn.post-meta-follow {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  height: 34px;
  margin: 0 !important;
  padding: 0 0 0 10px !important;
  transform: translateY(-50%);
  border: 0 !important;
  background: #fff !important;
  color: var(--detail-orange) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

@media (max-width: 900px) {
  body.post-detail-v2 .post-engagement-bar > .post-engagement-item {
    min-height: 42px !important;
    padding: 0 9px !important;
    gap: 5px !important;
    font-size: 13px !important;
  }

  body.post-detail-v2 .post-engagement-bar > .post-engagement-item svg {
    width: 19px !important;
    height: 19px !important;
    flex-basis: 19px !important;
  }

  body.post-detail-v2 article.card > .meta.has-follow {
    padding-right: 68px;
  }

  body.post-detail-v2 article.card > .meta #followBtn.post-meta-follow {
    height: 32px;
    padding-left: 8px !important;
    font-size: 12px !important;
  }
}
