.discussion-detail-page-wrapper {
    width: 720px;
    margin: 0 auto;
    padding: 40px 20px 120px;
}

.share-button {
    cursor: pointer;
    margin-left: auto;
    opacity: 0.5;
    transition: opacity 0.15s;
}

.share-button:hover {
    opacity: 0.8;
}

/* ── 본문 ── */
.discussion-wrapper {
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.discussion-title-wrapper {
    margin-top: 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.discussion-title-wrapper > div {
    padding: 4px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e02b35, #ff4757);
    color: white;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
}

.discussion-nickname {
    font-size: 14px;
    font-weight: 500;
    color: #999;
}

.discussion-title-wrapper > span:last-child {
    position: absolute;
    right: 0;
    color: #bbb;
    font-size: 13px;
    font-weight: 400;
}

.discussion-content-wrapper {
    display: flex;
    flex-direction: column;
}

.discussion-title {
    display: block;
    color: #272727;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5;
}

.discussion-content {
    display: block;
    color: #444;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    word-break: break-word;
}

.discussion-uploaded-image {
    display: block;
    max-width: 400px;
    border-radius: 12px;
    margin-top: 16px;
}

.discussion-og-wrapper {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid #e9e9e9;
    overflow: hidden;
    background: #fff;
}

.discussion-og-wrapper:hover {
    border-color: #ddd;
}

.discussion-og-wrapper > img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.discussion-og-wrapper > span {
    margin: 0 16px;
    display: -webkit-box;
    max-height: 44px;
    overflow: hidden;
    color: #272727;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 22px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    flex: 1;
}

.deleted-normal-article {
    padding: 24px 0;
    font-size: 14px;
    color: #a8a8a8;
    border-bottom: 1px solid #f0f0f0;
}

/* ── 좋아요/댓글 수 ── */
.like-btn-wrapper {
    margin-top: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #ececec;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #999;
    font-size: 14px;
}

.like-btn-wrapper img {
    margin-right: 4px;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.like-btn-img {
    width: 18px;
    height: 18px;
    background-image: url("/static/images/ic_recommend_disabled.svg");
    background-size: contain;
}

.comment-count {
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-count-img {
    width: 18px;
    height: 18px;
    background-image: url("/static/images/ic_comment.svg");
    background-size: contain;
}

.comment-like-count {
    color: #999;
    font-size: 13px;
}

.comment-count > span, .like-btn > span {
    position: relative;
    top: 0;
}

/* ── 댓글 영역 ── */
.comment-item {
    border: none;
}

.comment-wrapper {
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid #ececec;
}

.comment-item.is-reply .comment-wrapper {
    border-top: none;
}

.comment-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-title > span:first-child {
    font-size: 13px;
    font-weight: 500;
    color: #999;
}

.comment-title > span:last-child {
    font-size: 13px;
    color: #bbb;
}

.comment-content {
    margin-bottom: 14px;
    color: #444;
    font-size: 15px;
    line-height: 24px;
    min-height: 0;
    word-break: break-word;
}

.comment-wrapper .discussion-uploaded-image {
    max-width: 280px;
    margin-bottom: 14px;
}

.comment-wrapper .like-btn {
    font-size: 13px;
    color: #bbb;
}

.comment-wrapper .like-btn-img {
    width: 15px;
    height: 15px;
}

/* ── 대댓글 ── */
.comment-item.is-reply .comment-wrapper {
    margin-left: 32px;
}

.reply-icon {
    color: #bbb;
    margin-right: 2px;
}

/* ── 페이지 라벨 ── */
.page-type-label {
    font-size: 14px;
    font-weight: 400;
    color: #a8a8a8;
    margin-left: 8px;
}

#loading {
    position: relative;
    padding: 60px 0;
}

.empty-opinion-text {
    display: flex;
    width: 100%;
    height: 200px;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: 14px;
}
