/* ═══════════════════════════════════════════════════════
   battle_new.css
   Highlight Timeline (⑥) + V4 Elegant Editorial + v5
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   ⑥ Highlight Timeline
   ═══════════════════════════════════════════════════════ */
.nar-moments-section { margin-top: 4rem; }
.nar-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.nar-sh-line {
    width: 5px; height: 26px;
    background: var(--vivid-yellow);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(255,214,0,0.38);
    flex-shrink: 0;
}
.nar-sh-title {
    font-size: 1.1875rem;
    font-weight: 950;
    color: #f1f1f1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.nar-sh-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.28);
    margin-left: 0.25rem;
}
.nar-moments-list { display: flex; flex-direction: column; gap: 0; }
.nar-moment-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
}
.nar-moment-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.625rem;
}
.nar-mn-badge {
    width: 38px; height: 38px;
    background: rgba(255,214,0,0.08);
    border: 1px solid rgba(255,214,0,0.28);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    font-weight: 950;
    color: var(--vivid-yellow);
    flex-shrink: 0;
    position: relative; z-index: 1;
}
.nar-mn-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, rgba(255,214,0,0.25), transparent);
    margin: 0.4rem 0;
    min-height: 32px;
}
.nar-moment-card {
    background: rgba(255,255,255,0.022);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.5rem;
    padding: 1.875rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}
.nar-moment-card:hover {
    background: rgba(255,255,255,0.038);
    border-color: rgba(255,214,0,0.13);
    transform: translateX(4px);
}
.nar-mc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.nar-mc-title {
    font-size: 1.1875rem;
    font-weight: 950;
    color: #f1f1f1;
    letter-spacing: -0.02em;
    flex: 1;
    margin: 0;
}
.nar-impact-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.45rem 0.875rem;
    background: rgba(255,214,0,0.07);
    border: 1px solid rgba(255,214,0,0.2);
    border-radius: 0.875rem;
    flex-shrink: 0;
    gap: 0.1rem;
}
.nar-ib-label {
    font-size: 0.475rem;
    font-weight: 950;
    letter-spacing: 0.15em;
    color: rgba(255,214,0,0.55);
    text-transform: uppercase;
}
.nar-ib-num {
    font-size: 1.25rem;
    font-weight: 950;
    color: var(--vivid-yellow);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}
.nar-mc-body { display: flex; flex-direction: column; gap: 1rem; }
.nar-mc-quote {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.025);
    border-radius: 1rem;
    margin: 0;
    white-space: pre-wrap;
}
.nar-mc-qi {
    color: var(--vivid-yellow);
    opacity: 0.35;
    margin-right: 0.4rem;
    font-size: 0.7rem;
}
.nar-mc-analysis { display: flex; flex-direction: column; gap: 0.35rem; }
.nar-mca-tag {
    font-size: 0.525rem;
    font-weight: 950;
    letter-spacing: 0.15em;
    color: var(--vivid-yellow);
    text-transform: uppercase;
    opacity: 0.55;
}
.nar-mca-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
    white-space: pre-wrap;
    margin: 0;
}
@media (max-width: 600px) {
    .nar-moment-row { grid-template-columns: 44px 1fr; gap: 0.875rem; }
    .nar-mn-badge { width: 32px; height: 32px; font-size: 0.725rem; }
    .nar-moment-card { padding: 1.5rem; }
    .nar-mc-title { font-size: 1.0625rem; }
}

/* ==========================================================================
   V4 Elegant Editorial — "Battle Chronicle" Concept
   ========================================================================== */

:root {
    --v4-gold: #c5a368;
    --v4-dark: #0a0a0b;
    --v4-text-muted: rgba(255, 255, 255, 0.5);
    --v4-border: rgba(255, 255, 255, 0.08);
}

.narv4-section {
    background-color: var(--v4-dark);
    color: #fff;
    padding: 6rem 0;
    line-height: 1.6;
}

.narv4-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header — Magazine Style */
.narv4-header {
    text-align: center;
    margin-bottom: 6rem;
    border-bottom: 1px solid var(--v4-border);
    padding-bottom: 3rem;
}

.narv4-chronicle-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    color: var(--v4-gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.narv4-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.narv4-meta {
    font-size: 0.8rem;
    color: var(--v4-text-muted);
    font-weight: 500;
}

/* Victory Statement */
.narv4-victory-box {
    margin-bottom: 6rem;
    text-align: center;
}

.narv4-winner-declaration {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--v4-gold);
    display: inline-block;
    position: relative;
    padding: 1rem 0;
}

.narv4-winner-name {
    color: #fff;
    font-size: 3.5rem;
}

/* Master's Column */
.narv4-column {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: start;
}

.narv4-master-profile {
    position: sticky;
    top: 2rem;
}

.narv4-master-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0;
    filter: sepia(0.2) contrast(1.1);
    border: 1px solid var(--v4-gold);
    padding: 5px;
    margin-bottom: 1.5rem;
}

.narv4-master-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.narv4-master-title {
    font-size: 0.7rem;
    color: var(--v4-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.narv4-article {
    border-top: 1px solid var(--v4-gold);
    padding-top: 2rem;
}

.narv4-dropcap {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
    float: none;
    margin-right: 0;
}

.narv4-column-body {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    text-align: justify;
    white-space: pre-wrap;
    line-height: 2;
    letter-spacing: 0.02em;
}

/* Callout Boxes */
.narv4-kf-box {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(197, 163, 104, 0.05);
    border-left: 2px solid var(--v4-gold);
}

.narv4-en-box {
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.narv4-callout-label {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--v4-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
    display: block;
}

/* Data Insights — Premium Magazine Style */
.narv4-stats {
    margin-bottom: 8rem;
    padding: 4rem 0;
    border-top: 1px solid var(--v4-border);
    border-bottom: 1px solid var(--v4-border);
}

.narv4-stats-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.narv4-stat-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 3rem;
}

.narv4-stat-label-box {
    text-align: center;
    width: 200px;
}

.narv4-stat-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--v4-gold);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    display: block;
}

.narv4-stat-desc {
    font-size: 0.7rem;
    color: var(--v4-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.narv4-stat-side {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.narv4-stat-side.left { justify-content: flex-end; }
.narv4-stat-side.right { justify-content: flex-start; }

.narv4-stat-value-box {
    position: relative;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
}

.narv4-stat-bar {
    position: absolute;
    top: 0;
    height: 2px;
    background: #fff;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.left .narv4-stat-bar { right: 0; }
.right .narv4-stat-bar { left: 0; }

.narv4-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    position: absolute;
    top: -2.5rem;
}

.left .narv4-stat-num { right: 0; }
.right .narv4-stat-num { left: 0; }

/* Footnotes — Academic Editorial Style */
.narv4-footnotes {
    margin: 8rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.narv4-note-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.narv4-note-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--v4-gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    border-bottom: 1px solid rgba(197, 163, 104, 0.3);
    padding-bottom: 0.75rem;
    display: block;
}

.narv4-note-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* Recommendation — Discovery Section */
.narv4-recommend {
    margin-top: 6rem;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--v4-border);
    text-align: center;
}

.narv4-recommend-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.narv4-recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.narv4-rec-card {
    background: #000;
    border: 1px solid var(--v4-border);
    padding: 2.5rem;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
}

.narv4-rec-card:hover {
    border-color: var(--v4-gold);
    transform: translateY(-5px);
}

.narv4-rec-category {
    font-size: 0.6rem;
    color: var(--v4-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
}

.narv4-rec-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.4;
}

.narv4-rec-btn {
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

@media (max-width: 900px) {
    .narv4-stat-item { grid-template-columns: 1fr; gap: 1.5rem; }
    .narv4-stat-label-box { width: 100%; text-align: left; order: -1; }
    .narv4-stat-side.left { justify-content: flex-start; }
    .narv4-stat-num { top: -2.2rem; font-size: 1.5rem; }
    .narv4-footnotes { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .narv4-column { grid-template-columns: 1fr; gap: 2rem; }
    .narv4-master-profile { display: flex; gap: 1.5rem; align-items: center; }
    .narv4-master-img { width: 100px; height: 100px; margin-bottom: 0; }
    .narv4-recommend { padding: 2.5rem 1.5rem; }
    .narv4-recommend-grid { grid-template-columns: 1fr; }
}

/* v5 전용 프리미엄 스타일 */
.v5-container { margin-top: 4rem; width: 100%; }
.v5-section-title { font-size: 1.25rem; font-weight: 950; color: rgba(255,255,255,0.4); text-align: center; margin-bottom: 2.5rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* 1. 스탯 비교 카드 */
.v5-stat-cards { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; margin-bottom: 4rem; }
.v5-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 0 0 2.5rem 0; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.v5-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%); pointer-events: none; z-index: 2; }
.v5-card-header { text-align: center; margin-bottom: 2rem; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; }
.v5-card-img-wrapper { width: 100%; height: 260px; overflow: hidden; margin-bottom: 1.5rem; position: relative; }
.v5-card-img { width: 100%; height: 100%; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%); mask-image: linear-gradient(to bottom, black 40%, transparent 100%); }
.v5-card-name { font-size: 1.75rem; font-weight: 950; color: #fff; margin-bottom: 0; letter-spacing: -0.02em; line-height: 1.2; padding: 0 2rem; }

.v5-stat-list { list-style: none; padding: 0 2rem; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; position: relative; z-index: 3; }
.v5-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 0.625rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.v5-stat-row:last-child { border-bottom: none; }
.v5-stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.v5-stat-value { font-size: 1rem; color: #fff; font-weight: 800; }

.v5-vs-divider { display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 950; color: rgba(255,255,255,0.15); font-family: 'Space Grotesk', sans-serif; height: 100%; align-self: center; }

/* 2. 항목별 점수 비교 바 */
.v5-chart-section { margin-bottom: 5rem; }
.v5-chart-container { display: flex; flex-direction: column; gap: 1.5rem; max-width: 900px; mx-auto; }
.v5-bar-item { margin-bottom: 1rem; }
.v5-bar-header { display: flex; justify-content: space-between; margin-bottom: 0.625rem; }
.v5-bar-label { font-size: 0.875rem; font-weight: 800; color: #f1f1f1; }
.v5-bar-scores { font-size: 0.8125rem; font-weight: 900; color: rgba(255,255,255,0.4); }

.v5-bar-track { height: 10px; background: rgba(255,255,255,0.05); border-radius: 5px; overflow: hidden; display: flex; }
.v5-bar-fill-l { height: 100%; background: var(--vivid-pink); border-radius: 5px 0 0 5px; transition: width 1.5s ease-out; box-shadow: 0 0 15px rgba(255,0,122,0.3); }
.v5-bar-fill-r { height: 100%; background: var(--vivid-blue); border-radius: 0 5px 5px 0; transition: width 1.5s ease-out; box-shadow: 0 0 15px rgba(0,240,255,0.3); }

/* 3. 라운드별 승자 카드 */
.v5-rounds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; }
.v5-round-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 2rem; transition: transform 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; }
.v5-round-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); }
.v5-round-num { font-size: 0.625rem; font-weight: 950; color: rgba(255,255,255,0.25); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.5rem; }
.v5-round-title { font-size: 1.25rem; font-weight: 950; color: #fff; margin-bottom: 1.5rem; line-height: 1.3; }

.v5-round-details { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; flex-grow: 1; }
.v5-round-stat { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid transparent; }
.v5-round-stat.pink.winner { border-color: rgba(255,0,122,0.3); background: rgba(255,0,122,0.05); }
.v5-round-stat.blue.winner { border-color: rgba(0,240,255,0.3); background: rgba(0,240,255,0.05); }
.v5-rs-label { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.5); }
.v5-round-stat.winner .v5-rs-label { color: #fff; }
.v5-rs-value-group { display: flex; align-items: center; gap: 0.75rem; }
.v5-rs-value { font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.4); }
.v5-round-stat.winner .v5-rs-value { color: rgba(255,255,255,0.8); }
.v5-rs-score { font-size: 1rem; font-weight: 900; font-family: 'Space Grotesk', sans-serif; }
.v5-round-stat.pink .v5-rs-score { color: var(--vivid-pink); }
.v5-round-stat.blue .v5-rs-score { color: var(--vivid-blue); }

.v5-round-winner-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 12px; font-size: 0.75rem; font-weight: 950; width: fit-content; }
.v5-round-winner-badge.pink { background: rgba(255,0,122,0.1); color: var(--vivid-pink); border: 1px solid rgba(255,0,122,0.2); }
.v5-round-winner-badge.blue { background: rgba(0,240,255,0.1); color: var(--vivid-blue); border: 1px solid rgba(0,240,255,0.2); }
.v5-round-winner-badge.draw { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.v5-round-winner-icon { font-size: 1rem; }

@media (max-width: 768px) {
    .v5-stat-cards { grid-template-columns: 1fr; gap: 1rem; }
    .v5-vs-divider { display: flex; height: 40px; }
    .v5-rounds-grid { grid-template-columns: 1fr; }
}

/* ─── v5 섹션을 narv4 에디토리얼 컨텍스트에 맞게 재정의 ─────────────
   Team A: #d4a853 (warm gold)  /  Team B: #7cbde8 (sky blue)
   네온 제거, 크기 확대, 색 구분 강화
   ──────────────────────────────────────────────────────────────── */
:root {
    --ed-gold: #d4a853;   /* Team A — warm amber gold */
    --ed-blue: #7cbde8;   /* Team B — sky blue         */
}

/* 섹션 타이틀 */
.narv4-section .v5-section-title {
    font-size: 1rem;
    font-weight: 900;
    color: rgba(255,255,255,0.55);
    text-align: left;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--v4-border);
    padding-bottom: 0.875rem;
}

/* 스탯 카드: 상단 액센트 라인 */
.narv4-section .v5-card { border-radius: 0; }
.narv4-section .v5-card.pink { border-top: 3px solid var(--ed-gold); }
.narv4-section .v5-card.blue { border-top: 3px solid var(--ed-blue); }

/* 바 차트: 레이블·숫자 크기 확대 */
.narv4-section .v5-bar-item { margin-bottom: 1.5rem; }
.narv4-section .v5-bar-header { margin-bottom: 0.75rem; }
.narv4-section .v5-bar-label {
    font-size: 1.0625rem;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
}
.narv4-section .v5-bar-scores { font-size: 1rem; font-weight: 900; }

/* 바 차트: 바 두께 확대, 직각, 색 교체 */
.narv4-section .v5-bar-track {
    height: 14px;
    border-radius: 0;
    background: rgba(255,255,255,0.05);
}
.narv4-section .v5-bar-fill-l {
    background: var(--ed-gold);
    border-radius: 0;
    box-shadow: 0 0 14px rgba(212,168,83,0.35);
}
.narv4-section .v5-bar-fill-r {
    background: var(--ed-blue);
    border-radius: 0;
    box-shadow: 0 0 14px rgba(124,189,232,0.3);
}

/* 바 점수 숫자 색상 (인라인 테일윈드 재정의) */
.narv4-section .text-vivid-pink { color: var(--ed-gold) !important; }
.narv4-section .text-vivid-blue { color: var(--ed-blue) !important; }

/* 라운드 카드 */
.narv4-section .v5-round-card {
    border-radius: 0;
    border-color: var(--v4-border);
}
.narv4-section .v5-round-card:hover {
    transform: none;
    border-color: rgba(212,168,83,0.35);
    background: rgba(212,168,83,0.025);
}

/* 라운드 스탯 승자 상태 */
.narv4-section .v5-round-stat.pink.winner {
    border-color: rgba(212,168,83,0.4);
    background: rgba(212,168,83,0.07);
}
.narv4-section .v5-round-stat.blue.winner {
    border-color: rgba(124,189,232,0.35);
    background: rgba(124,189,232,0.06);
}
.narv4-section .v5-round-stat.pink .v5-rs-score { color: var(--ed-gold); }
.narv4-section .v5-round-stat.blue .v5-rs-score { color: var(--ed-blue); }
.narv4-section .v5-rs-score { font-size: 1.125rem; }
.narv4-section .v5-rs-label { font-size: 0.8125rem; }

/* 라운드 승자 배지 */
.narv4-section .v5-round-winner-badge { border-radius: 0; font-size: 0.8125rem; }
.narv4-section .v5-round-winner-badge.pink {
    background: rgba(212,168,83,0.12);
    color: var(--ed-gold);
    border-color: rgba(212,168,83,0.35);
}
.narv4-section .v5-round-winner-badge.blue {
    background: rgba(124,189,232,0.1);
    color: var(--ed-blue);
    border-color: rgba(124,189,232,0.3);
}
