/* styles-update-detail.css
   문서 body 기본값 · 업데이트 상세 페이지 헤더 · 좋아요 버튼
   (분할 전 styles.css 의 1~81 줄 — 선언 순서 그대로 옮김) */
body {
    font-family: inherit;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* =========================
   Update detail + comments
   ========================= */
.update-detail-page {
    max-width: 1100px;
    width: 90%;
    margin: 20px auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 26px;
}

.update-detail-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.update-detail-title {
    margin: 0 0 12px 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.update-detail-summary {
    margin: 0 0 12px 0;
    color: var(--text);
    line-height: 1.6;
}

.update-detail-body {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    color: var(--text);
    line-height: 1.7;
}

.update-like-row {
    margin-top: 14px;
    display: flex;
    justify-content: flex-start;
}

.like-btn {
    appearance: none;
    border: 1px solid var(--border);
    background: rgba(148, 163, 184, 0.10);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .05s ease, background-color .15s ease, border-color .15s ease;
}
.like-btn:hover { background: rgba(90, 162, 255, 0.10); border-color: rgba(90, 162, 255, 0.35); }
.like-btn:active { transform: translateY(1px); }
.like-btn.liked {
    background: rgba(90, 162, 255, 0.16);
    border-color: rgba(90, 162, 255, 0.55);
}
.like-btn[disabled] { opacity: .6; cursor: not-allowed; }

