/**
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * ⚡ MVA - 정책·업데이트 페이지 (Privacy · Terms · Refund · Updates)
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * 📁 파일명: /www/_mva/assets/css/modules/pages/pages.css
 * 📌 버전: v1.0
 * 📅 작성일: 2026-09-27
 * 📅 수정일: 2026-09-27
 * 📝 설명: ★★★ [v1.0] 신규 — 정책 3페이지(legal)와 업데이트 타임라인(라이브 timelines 구조 참고)의
 *                     MVA 스타일. 각 페이지 view가 직접 링크한다(다른 화면에는 로드되지 않음)
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* ── 공통 페이지 머리 ── */
.mva-page {
    max-width: 860px;
    margin: 0 auto;
}
.mva-page .page-head {
    padding: 8px 0 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}
.mva-page .page-head h1 {
    margin: 0 0 6px;
    font-size: 26px;
}
.mva-page .page-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* ── 정책 본문(legal) ── */
.legal-content section {
    margin-bottom: 26px;
}
.legal-content h2 {
    font-size: 17px;
    margin: 0 0 10px;
}
.legal-content h3 {
    font-size: 14px;
    margin: 14px 0 6px;
}
.legal-content p {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--ink);
}
.legal-content ul {
    margin: 0 0 10px;
    padding-left: 20px;
}
.legal-content li {
    font-size: 13.5px;
    line-height: 1.8;
    margin-bottom: 4px;
}
.legal-content .warning-section {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    background: var(--bg);
}

/* ── 업데이트 타임라인 (라이브 timelines 구조: 날짜 열 · 점/선 · 내용 카드) ── */
.updates-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
}
.updates-header h1 {
    margin: 0 0 10px;
    font-size: 26px;
}
.updates-header .version-info {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.05em;
}
.version-badge,
.timeline-date .version {
    display: inline-block;
    background: var(--accent-dark);
    color: #fff;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
}
.timeline-item {
    display: grid;
    grid-template-columns: 110px 24px 1fr;
    gap: 12px;
    margin-bottom: 26px;
}
.timeline-date {
    text-align: right;
    font-size: 12px;
    color: var(--muted);
}
.timeline-date .date {
    font-weight: 600;
    color: var(--ink);
}
.timeline-date .time {
    margin: 2px 0 6px;
}
.timeline-indicator {
    position: relative;
    display: flex;
    justify-content: center;
}
.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-dark);
    margin-top: 5px;
    z-index: 1;
}
.timeline-item.latest .timeline-dot {
    box-shadow: 0 0 0 4px var(--accent);
}
.timeline-line {
    position: absolute;
    top: 15px;
    bottom: -26px;
    width: 2px;
    background: var(--line);
}
.timeline-item:last-child .timeline-line {
    display: none;
}
.timeline-content {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    background: var(--surface);
}
.timeline-item.latest .timeline-content {
    border-color: var(--accent-dark);
}
.content-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.content-title {
    margin: 0;
    font-size: 15px;
}
.latest-badge {
    background: var(--accent-dark);
    color: #fff;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.content-list {
    margin: 0;
    padding-left: 18px;
}
.content-list li {
    font-size: 13px;
    line-height: 1.8;
}

/* 모바일: 한 열로 */
@media (max-width: 719px) {
    .updates-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .timeline-item {
        grid-template-columns: 16px 1fr;
    }
    .timeline-date {
        grid-column: 1 / -1;
        text-align: left;
        display: flex;
        gap: 8px;
        align-items: center;
    }
    .timeline-date .time {
        margin: 0;
    }
}
