/* ===================================================
   webinar.css — VANFLYTA On-Air Webinar 사이트 공통 스타일 (2026nurseacademy 구조 기반)
   pd-on.sympolive.com(pdon-public.css) 레이아웃 기반
   브랜드: 주조 #2A1B6E(딥퍼플) · 보조 #4B2C8F · 포인트 #D0102A(반플리타 레드)
   entry / main / watch 페이지 공통
   =================================================== */

/* ── Pretendard 웹폰트 (자체 호스팅) ── */
@font-face {
    font-family: 'Pretendard'; font-weight: 400; font-style: normal; font-display: swap;
    src: url('/assets/fonts/Pretendard-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard'; font-weight: 500; font-style: normal; font-display: swap;
    src: url('/assets/fonts/Pretendard-Medium.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard'; font-weight: 600; font-style: normal; font-display: swap;
    src: url('/assets/fonts/Pretendard-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard'; font-weight: 700; font-style: normal; font-display: swap;
    src: url('/assets/fonts/Pretendard-Bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Pretendard'; font-weight: 800; font-style: normal; font-display: swap;
    src: url('/assets/fonts/Pretendard-ExtraBold.woff2') format('woff2');
}

/* ── 리셋 ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── CSS 변수 — 변수명은 pd-on 원본(teal) 그대로, 값만 새 브랜드로 교체 ── */
:root {
    --teal:    #4B2C8F;   /* 강조/보조 (시안) */
    --teal-d:  #2A1B6E;   /* 배경/주조 (네이비) — 진한 텍스트·타이틀에 사용 */
    --teal-l:  #6A4BB0;
    --plum:    #2A1B6E;
    --txt:     #1a1b20;
    --muted:   #5c6270;
    --border:  rgba(42,27,110,0.20);
    --danger:  #ef4444;

    --radius-card: 24px;
    --shadow-card:
        0 1px 1px rgba(42,27,110,0.04),
        0 12px 28px rgba(42,27,110,0.12),
        0 40px 80px rgba(42,27,110,0.10);
    --shadow-soft:
        0 1px 1px rgba(42,27,110,0.03),
        0 8px 22px rgba(42,27,110,0.08);
    --grad-teal:   linear-gradient(180deg, #5A3AA0 0%, var(--teal) 100%);
    --grad-teal-h: linear-gradient(180deg, var(--teal) 0%, var(--teal-d) 100%);
    --bg-page: radial-gradient(140% 90% at 50% -10%, #ffffff 0%, #f2f6fc 45%, #e6edf8 100%);
}

/* ── 베이스 ── */
html, body { min-height: 100%; }
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--txt);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    position: relative;
    min-height: 100vh;
}

/* ── 페이지 좌측 상단 로고 ── */
.page-logo {
    position: fixed; top: 22px; left: 26px; z-index: 20;
}
.page-logo-img { height: 27px; width: auto; display: block; }

/* ── 우측 상단 배지 ── */
.page-badge {
    position: fixed; top: 26px; right: 26px; z-index: 20;
    font-size: 11px; font-weight: 700; letter-spacing: .06em;
    color: var(--teal-d);
    background: transparent;
    border: 1px solid rgba(42,27,110,0.28);
    padding: 6px 12px; border-radius: 0;
}

/* ── 카드 진입 애니메이션 ── */
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.u-card-in { animation: cardIn .65s cubic-bezier(.16,.84,.44,1) both; }

/* ── eyebrow 라벨 ── */
.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 10px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--teal-d);
    margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.eyebrow.is-live::before { animation: eyebrowPulse 2s ease-out infinite; }
@keyframes eyebrowPulse {
    0%   { box-shadow: 0 0 0 0 rgba(42,27,110,0.45); }
    70%  { box-shadow: 0 0 0 7px rgba(42,27,110,0); }
    100% { box-shadow: 0 0 0 0 rgba(42,27,110,0); }
}

/* ── 상단 브랜드 액센트 라인 ── */
.accent-line {
    position: absolute; top: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal) 50%, transparent);
    border-radius: 2px; opacity: .9;
}

/* ── 가는 구분선 ── */
.panel-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42,27,110,0.16) 20%, rgba(42,27,110,0.16) 80%, transparent);
    margin: 0 0 14px;
}

/* ── 폼 ── */
.form-control {
    width: 100%; padding: 13px 15px;
    font-family: inherit; font-size: 14px; color: var(--txt);
    background: #fff;
    border: 1px solid var(--border); border-radius: 11px;
    transition: border-color .18s, box-shadow .18s;
}
.form-control::placeholder { color: #9aa1ad; }
.form-control:focus {
    outline: none; border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(42,27,110,0.14);
}

/* ── 입장 버튼 ── */
.btn-enter {
    width: 100%; padding: 14px;
    background: var(--grad-teal); color: #fff;
    border: none; border-radius: 11px;
    font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: .01em;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 9px;
    margin-top: 6px;
    box-shadow: 0 6px 16px rgba(42,27,110,0.26);
    transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-enter:hover {
    background: var(--grad-teal-h);
    box-shadow: 0 10px 24px rgba(42,27,110,0.32);
    transform: translateY(-1px);
}
.btn-enter:active { transform: translateY(0); }
.btn-enter svg { width: 18px; height: 18px; stroke: #fff; transition: transform .2s; }
.btn-enter:hover svg { transform: translateX(3px); }

/* ── 사전 등록 버튼 (입장 버튼 아래, 보조) ── */
.btn-register {
    width: 100%; padding: 12px;
    margin-top: 10px;
    background: #fff; color: var(--teal-d);
    border: 1.5px solid var(--teal);
    border-radius: 11px;
    font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: .01em;
    text-decoration: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background .18s, color .18s, box-shadow .18s;
}
.btn-register:hover { background: rgba(42,27,110,0.08); box-shadow: 0 6px 16px rgba(42,27,110,0.14); }
.btn-register svg { width: 18px; height: 18px; stroke: currentColor; }

/* 하단 토스트 (입장 오류 — 레이아웃에 영향 없음) */
.form-toast {
    position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 18px);
    z-index: 700; display: inline-flex; align-items: center; gap: 9px;
    max-width: 90vw; padding: 13px 20px; border-radius: 12px;
    background: linear-gradient(180deg,#ef5168,#e23b54); color: #fff;
    font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
    box-shadow: 0 14px 34px rgba(180,30,55,0.34);
    opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.form-toast.show { opacity: 1; transform: translate(-50%, 0); }
.form-toast svg { width: 18px; height: 18px; stroke: #fff; flex-shrink: 0; }

/* 인풋 위 안내 박스 */
.form-lead {
    display: flex; align-items: center; gap: 9px;
    font-size: 12px; font-weight: 600; color: var(--teal-d); line-height: 1.45;
    background: linear-gradient(180deg, #f2f8fc 0%, #e9f3fb 100%);
    border: 1px solid rgba(42,27,110,0.22); border-radius: 11px;
    padding: 11px 14px; margin-bottom: 14px;
}
.form-lead svg { width: 17px; height: 17px; stroke: var(--teal); flex-shrink: 0; }
.form-lead b { font-weight: 800; }

/* 버튼 하단 안내 문구 */
.login-note { text-align: left; font-size: 11px; color: var(--muted); line-height: 1.45; margin-top: 5px; }

/* 법적 안내 박스 */
.legal-note {
    margin-top: 16px; padding: 12px 14px;
    background: #f4f8fc; border: 1px solid rgba(42,27,110,0.18); border-radius: 10px;
}
.legal-note p { font-size: 11px; line-height: 1.65; color: #6b7682; }
.legal-note p + p { margin-top: 7px; }

/* ── 알림 박스 ── */
.alert-error, .alert-success {
    font-size: 13px; line-height: 1.5; padding: 11px 14px;
    border-radius: 10px; margin-bottom: 14px;
}
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-success { background: #eefafd; border: 1px solid #9adcea; color: var(--teal-d); }

/* ═══════════════ index 레이아웃 ═══════════════ */
body.page-index {
    display: flex; flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 86px 16px 0;   /* 하단 패딩 0 — 풋터가 화면 바닥에 붙음 */
}
.card-wrap {
    width: auto; max-width: 100%;
    display: inline-flex; align-items: stretch;   /* 좌우 한 카드처럼 동일 높이 */
    position: relative; z-index: 1;
    margin: auto;                                 /* 화면 정중앙 (PC는 아래 미디어쿼리에서 상단 정렬) */
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
/* 좌측: 정보 + 폼 */
.left-panel {
    width: 460px; flex-shrink: 0;
    padding: 30px 48px;
    display: flex; flex-direction: column; justify-content: center;
    background: #fff;
    position: relative; z-index: 2;
}
.left-panel .accent-line { left: 48px; right: 48px; }

.event-title {
    font-size: clamp(21px, 3vw, 29px); font-weight: 800;
    color: var(--txt); letter-spacing: -0.025em; line-height: 1.32;
    margin-bottom: 10px;
}
.event-meta { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.event-date { font-size: 17px; font-weight: 700; color: var(--teal-d); line-height: 1.45; margin-bottom: 6px; letter-spacing: -.01em; }
.event-meta b { color: var(--teal-d); font-weight: 600; }

/* 카운트다운 (Jeisys 동일 구조, 틸 테마) */
.countdown-box {
    background: linear-gradient(180deg, #f4f9fd 0%, #ecf4fb 100%);
    border: 1px solid rgba(42,27,110,0.18);
    border-radius: 14px;
    padding: 14px 16px 16px;
    margin-bottom: 22px;
}
.countdown-label {
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    color: var(--teal-d); text-align: center; margin-bottom: 12px;
}
.countdown-inner {
    display: flex; align-items: stretch; justify-content: space-between;
    gap: 8px; text-align: center;
}
.countdown-unit {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 8px 2px;
    background: #fff;
    border: 1px solid rgba(42,27,110,0.12);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(42,27,110,0.05);
}
.countdown-num {
    font-size: 28px; font-weight: 800; color: var(--teal-d);
    line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; min-width: 2ch;
}
.countdown-text {
    font-size: 9px; color: var(--muted); letter-spacing: .1em;
    text-transform: uppercase; margin-top: 7px;
}
.countdown-sep {
    display: flex; align-items: center;
    font-size: 20px; color: #bfe0ee; font-weight: 300;
    padding-bottom: 14px; -webkit-user-select: none; user-select: none;
}

.form-group { margin-bottom: 11px; }
.register-link { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.register-link a { color: var(--teal-d); font-weight: 600; text-decoration: none; }
.register-link a:hover { text-decoration: underline; }

/* 우측: 히어로 */
.right-panel {
    width: 480px; flex-shrink: 0;
    background: rgba(255,255,255,0.62);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    backdrop-filter: blur(16px) saturate(1.1);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.right-content { position: relative; z-index: 1; text-align: center; padding: 48px; }
.right-tagline {
    font-size: clamp(18px, 2.2vw, 25px); font-weight: 800;
    color: var(--teal-d); letter-spacing: -0.025em; line-height: 1.4; margin-bottom: 12px;
}
.right-sub { font-size: 13px; color: var(--muted); line-height: 1.75; }
.illust-svg { width: clamp(180px, 22vw, 260px); height: auto; margin: 0 auto 34px; display: block; opacity: .96; }

/* 히어로 있을 때: 우측 폭을 이미지 실제 크기에 맞춤 (높이는 좌측과 동일) */
.right-panel.has-image {
    width: auto; flex: 0 0 auto;
    background: #ffffff;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border-left: 1px solid rgba(42,27,110,0.12);
}
.hero-image {
    display: block;
    width: auto; height: auto;
    max-width: min(520px, 40vw);                       /* 비율 유지 */
    max-height: min(68vh, calc(100vh - 200px));        /* 화면 안 + 과대 확대 방지 */
}
.right-panel.has-image::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);   /* 라운드 가장자리 정리 */
}

/* ═══════════════ 사전 등록 페이지 ═══════════════ */
body.page-register {
    display: flex; flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 74px 16px 0;
}
.reg-card {
    width: 100%; max-width: 720px;
    margin: 14px auto 32px;          /* 떠있는 탭 여백 + 풋터와 간격 */
    background: #fff;
    border: 1px solid rgba(42,27,110,0.30);
    border-radius: 20px;
    padding: 56px 46px 42px;
    position: relative;
    box-shadow: 0 22px 50px rgba(42,27,110,0.15), 0 4px 14px rgba(42,27,110,0.07);
}
/* 상단 브랜드 액센트 라인 */
/* 상단 '사전 등록' 타이틀 (떠 있는 펄 — 아이콘 + 헤일로) */
.reg-tab {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, #5A3AA0 0%, var(--teal) 55%, var(--teal-d) 100%);
    color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .1em;
    padding: 13px 42px; border-radius: 999px;
    box-shadow: 0 12px 26px rgba(42,27,110,0.38), 0 0 0 5px rgba(42,27,110,0.12);
    white-space: nowrap; overflow: hidden;
}
.reg-tab svg { width: 18px; height: 18px; stroke: #fff; position: relative; z-index: 1; }
.reg-tab span { position: relative; z-index: 1; }
.reg-tab::after {   /* 상단 광택 */
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.30), transparent 55%);
    pointer-events: none;
}

.reg-intro { text-align: center; margin-bottom: 26px; }
.reg-intro-title { font-size: 19px; font-weight: 800; color: var(--txt); letter-spacing: -.02em; line-height: 1.4; }
.reg-intro-title b { color: var(--teal-d); }
.reg-intro-sub { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.55; }
.reg-intro-sub b { color: #4b5563; font-weight: 700; }
.reg-intro-date {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 15px;
    padding: 8px 17px; border-radius: 999px;
    background: linear-gradient(180deg,#eff7fd,#e4f1fa); border: 1px solid rgba(42,27,110,0.24);
    color: var(--teal-d); font-size: 13px; font-weight: 700; letter-spacing: -.01em;
}
.reg-intro-date svg { width: 15px; height: 15px; stroke: var(--teal); flex-shrink: 0; }

/* 입력 행: 라벨 + 입력 */
.reg-row {
    display: grid;
    grid-template-columns: 76px 1fr;   /* 라벨 고정 폭 → 모든 인풋 시작점·너비 동일 */
    align-items: start;
    gap: 8px 14px;
    margin-bottom: 16px;
}
.reg-label {
    font-size: 15px; font-weight: 700; color: #2c3138;
    line-height: 50px;            /* 입력칸 높이에 맞춰 정렬 */
    white-space: nowrap;
    display: flex; align-items: baseline;
}
/* 입력한 공백 그대로 적용(자간 수동 조절) */
.reg-label .lt { white-space: pre; }
.reg-label .req { color: var(--teal); margin-left: 1px; flex: none; }
.reg-field { min-width: 0; }
.reg-input {
    width: 100%; height: 50px; padding: 0 16px;
    font-family: inherit; font-size: 15px; color: var(--txt);
    background: #fff;
    border: 1.5px solid #e1e6e9; border-radius: 11px;
    transition: border-color .18s, box-shadow .18s;
}
.reg-input::placeholder { color: #aab0b8; }
.reg-input:focus {
    outline: none; border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(42,27,110,0.14);
}
.reg-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; padding-left: 2px; }

/* 로그인 화면으로 (등록 버튼 하단) */
.reg-tologin {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    margin-top: 16px; padding: 12px; border-radius: 11px;
    border: 1px solid var(--border); background: #fff;
    font-size: 13.5px; color: var(--muted); text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}
.reg-tologin:hover { border-color: var(--teal); color: var(--teal-d); background: rgba(42,27,110,0.05); }
.reg-tologin b { font-weight: 700; }
.reg-tologin svg { width: 16px; height: 16px; stroke: currentColor; }

/* 개인정보 동의 박스 */
.reg-privacy {
    background: linear-gradient(180deg, #f3f8fd 0%, #edf4fb 100%);
    border: 1px solid rgba(42,27,110,0.22); border-radius: 14px;
    padding: 20px 22px; margin: 28px 0 20px;
}
.reg-privacy-title {
    display: flex; align-items: center; gap: 7px;
    font-size: 14.5px; font-weight: 800; color: var(--teal-d); margin-bottom: 11px;
}
.reg-privacy-title svg { width: 17px; height: 17px; stroke: var(--teal-d); flex-shrink: 0; }
.reg-privacy-body {
    font-size: 12.5px; line-height: 1.9; color: #586068; text-align: justify;
    max-height: 172px; overflow-y: auto; padding-right: 8px;
}
.reg-privacy-body::-webkit-scrollbar { width: 6px; }
.reg-privacy-body::-webkit-scrollbar-thumb { background: rgba(42,27,110,0.35); border-radius: 6px; }

/* 동의 체크 라인 */
.reg-agree {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 9px; margin: 0 auto 26px; width: max-content; max-width: 100%;
    padding: 12px 24px;
    background: rgba(42,27,110,0.07); border: 1px solid rgba(42,27,110,0.22);
    border-radius: 12px;
    font-size: 14.5px; font-weight: 700; color: var(--teal-d);
    cursor: pointer; text-align: center;
}
.reg-agree input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--teal); cursor: pointer; }

/* Submit (네이비) */
.reg-submit {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    margin: 0 auto; min-width: 240px; padding: 15px 44px;
    background: linear-gradient(180deg, #4B2C8F 0%, #2A1B6E 100%);
    color: #fff; border: none; border-radius: 999px;
    font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(42,27,110,0.32);
    transition: transform .18s, box-shadow .18s, filter .18s;
}
.reg-submit svg { width: 18px; height: 18px; stroke: #fff; }
.reg-submit:hover { filter: brightness(1.08); box-shadow: 0 14px 28px rgba(42,27,110,0.40); transform: translateY(-1px); }
.reg-submit:active { transform: translateY(0); }

@media (max-width: 560px) {
    .reg-card { padding: 48px 18px 32px; border-radius: 16px; }
    .reg-tab { padding: 11px 34px; font-size: 16px; }
    .reg-row { grid-template-columns: 1fr; gap: 5px; margin-bottom: 14px; }
    .reg-label { display: block; text-align: left; line-height: 1.6; }
    .reg-label .lt { text-align-last: left; }
    .reg-privacy-body { max-height: 200px; }
}

/* ═══════════════ 인비테이션 페이지 ═══════════════ */
body.page-invitation {
    display: flex; flex-direction: column; align-items: center;
    min-height: 100vh;
    padding: 30px 16px 0;
    background: radial-gradient(120% 80% at 50% 0%, #eff6fc 0%, #e0ebf6 100%);
}
.inv-wrap {
    width: 100%; max-width: 760px;
    margin: 0 auto 32px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 26px 64px rgba(42,27,110,0.18), 0 6px 18px rgba(42,27,110,0.08);
}

/* 인비테이션 상단 배너 (main.php 배너 방식 채택) */
.inv-banner-top .main-banner-inner { min-height: 270px; padding: 28px 38px 0; }
.inv-banner-top .main-bn-text { padding-bottom: 32px; }
.inv-banner-top .main-bn-text h1 .t1 { font-size: 54px; }
.inv-banner-top .main-bn-text h1 .t2 { font-size: 44px; }
.inv-banner-top .main-bn-meta { font-size: 16px; margin-top: 18px; gap: 4px 16px; }
.inv-banner-top .main-bn-illust img { height: 224px; }
@media (max-width: 620px) {
    .inv-banner-top .main-banner-inner { padding: 26px 22px 0; }
    .inv-banner-top .main-bn-text h1 .t1 { font-size: 40px; }
    .inv-banner-top .main-bn-text h1 .t2 { font-size: 33px; }
    .inv-banner-top .main-bn-meta { font-size: 14px; }
    .inv-banner-top .main-bn-illust img { height: 168px; }
}

/* 헤더 (구버전 — 미사용) */
.inv-header {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #5A3AA0 0%, var(--teal) 58%, var(--teal-d) 100%);
    color: #fff;
    padding: 46px 46px 40px;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 18px;
}
.inv-header::before, .inv-header::after {   /* 은은한 장식 원 */
    content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.inv-header::before { width: 240px; height: 240px; right: -70px; top: -100px; background: rgba(255,255,255,0.10); }
.inv-header::after  { width: 130px; height: 130px; right: 110px; bottom: -80px; background: rgba(255,255,255,0.07); }
.inv-htitle, .inv-hlogo { position: relative; z-index: 1; }
.inv-htitle h1 {
    font-size: 44px; font-weight: 800; line-height: 1.02; letter-spacing: -.01em;
}
.inv-htitle h1 .nt { display: block; color: #2A1B6E; margin-top: 2px; }
.inv-hmeta { margin-top: 22px; list-style: none; }
.inv-hmeta li { font-size: 16px; font-weight: 600; line-height: 1.85; }
.inv-hlogo { flex-shrink: 0; text-align: center; min-width: 156px; }
.inv-hlogo-cap { font-size: 12.5px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.inv-hlogo img {
    width: 140px; height: auto; display: block; margin: 0 auto;
    background: #fff; padding: 12px 16px; border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}
.inv-hlogo-sub { font-size: 15px; font-weight: 800; letter-spacing: .02em; margin-top: 9px; }

/* 인사말 */
.inv-greet { padding: 34px 44px 26px; text-align: center; font-family: 'NanumMyeongjo', serif; }
.inv-greet p {
    font-size: 16px; font-weight: 600; line-height: 1.95; color: #2a3138; letter-spacing: -.01em;
    text-align: left;
}
.inv-greet .hl { color: var(--teal); font-weight: 700; }
.inv-sign { margin-top: 24px; text-align: right; padding-right: 6px; }
.inv-sign .ty { font-size: 19px; font-weight: 700; color: #2a3138; }
.inv-sign .by { font-size: 13px; color: var(--muted); margin-top: 4px; }
.inv-sign .by b { color: #2a3138; font-weight: 800; font-size: 18px; }

/* 버튼 (고도화) */
.inv-actions { display: flex; justify-content: center; gap: 18px; padding: 8px 44px 32px; flex-wrap: wrap; }
.inv-btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 218px; padding: 17px 34px;
    font-size: 18px; font-weight: 800; letter-spacing: .01em; text-decoration: none;
    border-radius: 14px; color: #fff;
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.inv-btn svg { width: 19px; height: 19px; stroke: currentColor; flex-shrink: 0; position: relative; z-index: 1; transition: transform .2s; }
.inv-btn span { position: relative; z-index: 1; }
.inv-btn::after {   /* 상단 광택 */
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent 52%);
    pointer-events: none;
}
.inv-btn.teal { background: linear-gradient(135deg, #5A3AA0 0%, var(--teal) 60%, var(--teal-d) 100%); box-shadow: 0 12px 26px rgba(42,27,110,0.32); }
.inv-btn.navy { background: linear-gradient(135deg, #5A3AA0 0%, #2A1B6E 100%); box-shadow: 0 12px 26px rgba(42,27,110,0.32); }
.inv-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.inv-btn.teal:hover { box-shadow: 0 16px 32px rgba(42,27,110,0.40); }
.inv-btn.navy:hover { box-shadow: 0 16px 32px rgba(42,27,110,0.40); }
.inv-btn:active { transform: translateY(0); }
.inv-btn .arr { transition: transform .2s; }
.inv-btn:hover .arr { transform: translateX(4px); }

/* 섹션 배너 (Agenda / 참여방법) */
.inv-banner { position: relative; text-align: center; margin: 30px 0 22px; }
.inv-banner::before {
    content: ''; position: absolute; top: 50%; left: 30px; right: 30px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(42,27,110,0.55) 18%, rgba(42,27,110,0.55) 82%, transparent);
    transform: translateY(-50%);
}
.inv-banner span {
    position: relative; display: inline-block;
    background: linear-gradient(180deg, #5A3AA0 0%, var(--teal) 100%);
    color: #fff; font-size: 21px; font-weight: 800; letter-spacing: .04em;
    padding: 12px 56px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 18px 100%);
    box-shadow: 0 8px 16px rgba(42,27,110,0.22);
}

/* Agenda 표 */
.inv-tablewrap {
    margin: 0 34px;
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 20px rgba(42,27,110,0.12);
    border: 1px solid rgba(42,27,110,0.18);
}
.inv-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.inv-table th {
    background: linear-gradient(180deg, #5A3AA0 0%, var(--teal) 100%);
    color: #fff; font-weight: 800; font-size: 16px;
    padding: 13px 14px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.22);
}
.inv-table th:last-child { border-right: none; }
.inv-table td {
    padding: 14px 14px; border-bottom: 1px solid rgba(42,27,110,0.18);
    color: #2a3138; font-weight: 600;
}
.inv-table td:first-child { color: var(--teal-d); font-weight: 700; white-space: nowrap; text-align: center; }
.inv-table tbody tr:nth-child(even) { background: #f2f8fc; }
.inv-table td .sub { color: var(--muted); font-weight: 500; font-size: 14px; }

/* 참여방법 단계 */
.inv-steps {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 4px; padding: 4px 24px 0; flex-wrap: wrap;
}
.inv-step { width: 128px; text-align: center; }
.inv-step-ico {
    width: 64px; height: 64px; margin: 0 auto 11px;
    border: 2.5px solid var(--teal); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); background: #fff;
    box-shadow: 0 7px 16px rgba(42,27,110,0.16);
}
.inv-step.on .inv-step-ico {
    background: linear-gradient(180deg, #5A3AA0 0%, var(--teal) 100%);
    color: #fff; border-color: transparent;
    box-shadow: 0 9px 20px rgba(42,27,110,0.32);
}
.inv-step-ico svg { width: 26px; height: 26px; stroke: currentColor; }
.inv-step-ico.qa { font-size: 16px; font-weight: 800; }
.inv-step-cap { font-size: 13px; line-height: 1.5; }
.inv-step-cap b { display: block; color: var(--teal-d); font-weight: 700; font-size: 13.5px; }
.inv-step-cap span { color: var(--muted); }

/* 참여방법 하단 안내 */
.inv-stepnote { text-align: center; margin: 20px 30px 4px; font-size: 13.5px; line-height: 1.6; color: #586068; }
.inv-stepnote b { color: var(--teal-d); font-weight: 700; }
.inv-arrow { color: #9bcede; font-size: 22px; font-weight: 700; padding-top: 16px; }

/* zoom 안내 */
.inv-zoomnote {
    display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
    margin: 22px 30px 8px; font-size: 14.5px; font-weight: 600; color: #2a3138;
}
.inv-zoomnote .ex {
    width: 22px; height: 22px; border: 2px solid #f59e0b; color: #f59e0b;
    border-radius: 50%; font-weight: 800; font-size: 14px;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.inv-zoomnote .pill {
    background: var(--teal); color: #fff; font-weight: 700;
    padding: 3px 12px; border-radius: 999px;
}

/* 안내 말씀 */
.inv-guide {
    margin: 22px 30px 36px; padding: 20px 24px;
    border: 1px solid rgba(42,27,110,0.25); border-radius: 12px;
    background: #f5f9fd;
}
.inv-guide-title { text-align: center; font-size: 16px; font-weight: 800; color: var(--teal-d); margin-bottom: 12px; }
.inv-guide p { font-size: 12.5px; line-height: 1.8; color: #5a6068; margin-bottom: 6px; }
.inv-guide p:last-child { margin-bottom: 0; }

@media (max-width: 620px) {
    .inv-header { flex-direction: column; align-items: center; text-align: center; padding: 34px 24px 28px; }
    .inv-htitle h1 { font-size: 36px; }
    .inv-hmeta li { font-size: 15px; }
    .inv-greet { padding: 28px 24px 22px; }
    .inv-greet p { font-size: 15px; }
    .inv-actions { padding: 6px 24px 26px; gap: 14px; }
    .inv-btn { min-width: 140px; flex: 1; font-size: 17px; padding: 14px 18px; }
    .inv-tablewrap { margin: 0 16px; }
    .inv-table, .inv-table th, .inv-table td { font-size: 13.5px; }
    .inv-table td { padding: 11px 10px; }
    .inv-steps { gap: 2px; }
    .inv-step { width: 70px; }
    .inv-step-ico { width: 50px; height: 50px; }
    .inv-arrow { padding-top: 12px; font-size: 16px; }
    .inv-guide { margin: 20px 16px 28px; }
}

/* ═══════════════ 입장 후 메인 (main.php) ═══════════════ */
body.page-main {
    display: flex; flex-direction: column;
    min-height: 100vh;
    padding: 0;
    background: #f2f6fc;
}

/* 상단 네비 (로고 + 회원 상태) — watch.php 스타일 */
.site-nav {
    position: sticky; top: 0; z-index: 100; height: 64px;
    padding: 0 28px; display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid rgba(42,27,110,0.16);
}
.sn-logo { display: flex; align-items: center; text-decoration: none; }
.sn-logo img { height: 27px; width: auto; display: block; }
.sn-logo-txt { font-size: 20px; font-weight: 800; color: #2A1B6E; letter-spacing: -.02em; }
.sn-right { display: flex; align-items: center; gap: 12px; }
.sn-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sn-info { display: flex; flex-direction: column; line-height: 1.3; }
.sn-name { font-size: 13.5px; font-weight: 700; color: var(--txt); }
.sn-hosp { font-size: 11px; color: var(--muted); }
.sn-logout { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); font-size: 13px; text-decoration: none; transition: border-color .15s, color .15s; }
.sn-logout:hover { border-color: var(--teal); color: var(--teal-d); }
/* 내 정보 수정 — 이름 클릭 버튼 */
.sn-profile { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 4px; background: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s; }
.sn-profile:hover { background: #eef6fc; border-color: rgba(42,27,110,0.28); }
.sn-name { display: inline-flex; align-items: center; gap: 5px; }
.sn-edit-ico { width: 12px; height: 12px; color: var(--muted); flex-shrink: 0; }
.sn-profile:hover .sn-edit-ico { color: var(--teal-d); }
@media (max-width: 520px) { .site-nav { padding: 0 16px; } .sn-info { display: none; } }
/* 정보 수정 완료 토스트 */
.profile-toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 700; padding: 13px 24px; border-radius: 999px; background: rgba(15,28,40,.9); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(15,28,40,.32); animation: certFade .25s ease; }
.profile-toast.hide { opacity: 0; transition: opacity .4s ease; }

/* 상단 배너 */
.main-banner {
    position: relative; overflow: hidden;
    width: 100%;
    background: linear-gradient(135deg, #4B2C8F 0%, #2A1B6E 62%);
}
/* 은은한 장식 원 — 단색 배너의 밋밋함 보완 */
.main-banner::before, .main-banner::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
}
.main-banner::before { width: 340px; height: 340px; right: -90px; top: -150px; background: rgba(255,255,255,0.06); }
.main-banner::after  { width: 190px; height: 190px; right: 190px; bottom: -110px; background: rgba(255,255,255,0.05); }
.main-banner-inner {
    position: relative; z-index: 2;
    max-width: 972px; margin: 0 auto;   /* 하단 카드(940px)와 좌우 정렬선 일치 */
    min-height: 330px;
    padding: 30px 16px 0;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.main-bn-text { color: #fff; flex-shrink: 0; padding-bottom: 46px; }
/* 지금 진행중 — 라이브 배지(깜빡임) */
.live-badge {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 16px; padding: 7px 16px 7px 13px; border-radius: 999px;
    background: rgba(255,255,255,0.95); color: #e11d48;
    font-size: 14px; font-weight: 800; letter-spacing: .01em;
    box-shadow: 0 6px 16px rgba(15,28,40,.18);
    animation: liveBlink 1.1s ease-in-out infinite;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #e11d48; animation: liveDot 1.1s ease-in-out infinite; }
@keyframes liveBlink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.55); } 70% { box-shadow: 0 0 0 7px rgba(225,29,72,0); } 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); } }
.main-bn-text h1 { line-height: 1.05; letter-spacing: -.01em; }
.main-bn-text h1 .t1 { display: block; font-size: clamp(40px, 6.5vw, 66px); font-weight: 800; color: #fff; }
.main-bn-text h1 .t2 { display: block; font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; color: #2A1B6E; margin-top: 4px; }
.main-bn-meta {
    margin-top: 24px; display: flex; flex-direction: column; gap: 9px;
    font-size: 20px; font-weight: 600; color: rgba(255,255,255,0.94); letter-spacing: .01em;
}
.main-bn-meta .bn-sched { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; } /* 숫자 고정폭 — PD/HD 두 줄 끝 정렬 */
/* 회차 태그 (PD/HD) */
.bn-tag {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; padding: 3px 10px; border-radius: 8px;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.45);
    font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #fff;
}
/* 배너 입장 버튼 */
.main-bn-enter {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    margin-top: 26px; padding: 15px 42px; border-radius: 12px; border: none;
    font-size: 18px; font-weight: 800; letter-spacing: .01em; text-decoration: none; cursor: pointer;
    background: linear-gradient(180deg, #4B2C8F 0%, #2A1B6E 100%); color: #fff;
    box-shadow: 0 12px 26px rgba(42,27,110,0.32);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.main-bn-enter:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(42,27,110,0.42); filter: brightness(1.06); }
.main-bn-enter svg { width: 20px; height: 20px; stroke: currentColor; }
/* 진행 예정 — 프로스티드 글래스 + 펄스(대기 느낌) */
.main-bn-enter.is-locked {
    background: rgba(255,255,255,0.16);
    color: #fff; font-weight: 700;
    border: 1.6px solid rgba(255,255,255,0.6);
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
    animation: enterPulse 2.4s ease-in-out infinite;
}
.main-bn-enter.is-locked:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); filter: none; }
.main-bn-enter.is-locked svg { opacity: .95; }
@keyframes enterPulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,0.14), 0 0 0 0 rgba(255,255,255,0.45); }
    55%      { box-shadow: 0 10px 24px rgba(0,0,0,0.14), 0 0 0 9px rgba(255,255,255,0); }
}

.main-bn-illust { flex-shrink: 0; align-self: flex-end; }
.main-bn-illust img { display: block; height: 300px; width: auto; max-width: 100%; }

/* 카운트다운 바 (DATE & TIME · 타이머 · 입장 버튼) */
.main-info { padding: 28px 16px 6px; }
.cd-bar {
    max-width: 940px; margin: 0 auto;
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    background: #fff; border: 1px solid rgba(42,27,110,0.18); border-radius: 16px;
    padding: 18px 28px;
    box-shadow: 0 14px 34px rgba(42,27,110,0.10);
}
.cd-left { flex-shrink: 0; }
.cd-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d);
}
.cd-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.cd-date { font-size: 22px; font-weight: 800; color: #1f2937; letter-spacing: -.01em; margin-top: 7px; }
.cd-divider { width: 1px; align-self: stretch; min-height: 48px; background: rgba(42,27,110,0.25); }
.cd-timer { display: flex; align-items: flex-start; gap: 8px; }
.cd-unit {
    min-width: 60px;
    display: flex; flex-direction: column; align-items: center;
    padding: 7px 9px;
    background: linear-gradient(180deg, #f2f8fc 0%, #e9f3fb 100%);
    border: 1px solid rgba(42,27,110,0.20); border-radius: 12px;
}
.cd-num { font-size: 30px; font-weight: 800; color: var(--teal-d); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cd-lbl { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #8a97a8; margin-top: 7px; }
.cd-colon { font-size: 26px; font-weight: 700; color: #a8d8e8; padding-top: 8px; }
/* 생방송(LIVE) 상태 표시 */
.cd-live { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #e11d48; letter-spacing: -.01em; }
.cd-live-dot {
    width: 12px; height: 12px; border-radius: 50%; background: #e11d48;
    box-shadow: 0 0 0 0 rgba(225,29,72,0.5); animation: livePulse 1.4s ease-out infinite;
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(225,29,72,0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(225,29,72,0); }
    100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); }
}
.cd-actions { margin-left: auto; display: flex; align-items: stretch; gap: 10px; }
.cd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 32px; border-radius: 12px;
    font-size: 17px; font-weight: 800; letter-spacing: .01em; text-decoration: none;
    background: linear-gradient(180deg, #4B2C8F 0%, #2A1B6E 100%); color: #fff;
    box-shadow: 0 10px 22px rgba(42,27,110,0.26);
    transition: transform .18s, box-shadow .18s, filter .18s;
}
.cd-btn svg { width: 18px; height: 18px; stroke: currentColor; }
.cd-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 28px rgba(42,27,110,0.34); }
.cd-btn.is-locked {
    background: #eef1f4; color: #aeb6bf; box-shadow: none;
    cursor: default; pointer-events: none;
}
/* 수료증 다운로드 — 활성 시 틸 아웃라인(잠금 시 위 is-locked 회색) */
.cd-btn-cert {
    background: #fff; color: var(--teal-d);
    border: 1.5px solid var(--teal); box-shadow: none;
}
.cd-btn-cert:hover { background: rgba(42,27,110,0.08); box-shadow: 0 6px 14px rgba(42,27,110,0.16); }

/* 콘텐츠 흰 패널 (프로세스 + 아젠다) */
.main-panel {
    flex: 1 0 auto;
    width: 100%; max-width: 940px; margin: 16px auto 46px;
    background: #fff; border: 1px solid rgba(42,27,110,0.14); border-radius: 24px;
    box-shadow: 0 22px 54px rgba(42,27,110,0.12), 0 4px 14px rgba(42,27,110,0.05);
    padding: 38px 34px 42px;
}

/* 진행 프로세스 */
.main-process { padding: 4px 0 10px; }

/* Agenda (프로세스 아래) */
.main-agenda { padding: 14px 0 0; }
.main-agenda .inv-banner { margin: 10px 0 22px; }
.main-agenda .inv-tablewrap { margin: 0; }
/* 아젠다 이미지 (관리자 업로드) — 패널 하단을 꽉 채우는 풀블리드 */
.main-agenda { padding: 0; margin: 24px -34px -42px; }
.agenda-img-wrap { line-height: 0; }
.agenda-img { display: block; width: 100%; height: auto; border: none; box-shadow: none; border-radius: 0 0 24px 24px; }
/* main.php: 패널에 아젠다만 → 상단까지 딱 붙임 */
.page-main .main-agenda { margin-top: -38px; }
.page-main .agenda-img { border-radius: 24px; }
.proc-title { text-align: center; font-size: 18px; font-weight: 800; color: var(--teal-d); letter-spacing: .02em; margin-bottom: 26px; }
.proc-steps { display: flex; align-items: flex-start; justify-content: center; gap: 6px; flex-wrap: wrap; max-width: 740px; margin: 0 auto; }
.proc-step { width: 132px; text-align: center; }
.proc-ico {
    width: 80px; height: 80px; margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f2f8fc 0%, #e5f0fa 100%);
    border: 2px solid var(--teal);
    display: flex; align-items: center; justify-content: center;
    color: var(--teal-d);
    box-shadow: 0 8px 18px rgba(42,27,110,0.16);
}
.proc-ico svg { width: 38px; height: 38px; stroke: var(--teal-d); }
.proc-num { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--teal); }
.proc-label { font-size: 14.5px; font-weight: 700; color: var(--txt); margin-top: 3px; line-height: 1.35; }
.proc-arrow { color: #9bcede; font-size: 26px; font-weight: 700; padding-top: 28px; }

@media (max-width: 620px) {
    .cd-bar { padding: 16px 18px; gap: 14px; }
    .cd-left { width: 100%; }
    .cd-divider { display: none; }
    .cd-timer { width: 100%; justify-content: space-between; }
    .cd-unit { min-width: 0; flex: 1; }
    .cd-num { font-size: 24px; }
    .cd-actions { margin-left: 0; width: 100%; flex-direction: column; }
    .cd-btn { width: 100%; justify-content: center; padding: 14px; }
    .main-panel { padding: 26px 14px 30px; margin: 12px auto 30px; border-radius: 18px; }
    .main-agenda { margin: 20px -14px -30px; }
    .agenda-img { border-radius: 0 0 18px 18px; }
    .page-main .main-agenda { margin-top: -26px; }
    .page-main .agenda-img { border-radius: 18px; }
    .proc-steps { gap: 2px; }
    .proc-step { width: 78px; }
    .proc-ico { width: 60px; height: 60px; }
    .proc-ico svg { width: 28px; height: 28px; }
    .proc-num { font-size: 10px; }
    .proc-label { font-size: 12.5px; }
    .proc-arrow { padding-top: 18px; font-size: 18px; }
}

@media (max-width: 760px) {
    .main-banner-inner { flex-direction: column; align-items: center; text-align: center; min-height: 0; padding: 26px 18px 32px; gap: 6px; }
    .main-bn-text { padding-bottom: 0; }
    .live-badge { margin-bottom: 12px; font-size: 13px; padding: 6px 14px 6px 11px; }
    .main-bn-text h1 .t1 { font-size: clamp(28px, 8.5vw, 40px); line-height: 1.12; }
    .main-bn-text h1 .t2 { font-size: clamp(24px, 7vw, 34px); }
    .main-bn-meta { align-items: center; margin-top: 14px; gap: 8px; }
    .main-bn-enter { margin-top: 20px; }
    .main-bn-illust img { height: 210px; }
    .main-enter { padding: 40px 16px; }
    .main-welcome { font-size: 21px; }
}

/* 시청 페이지(watch.php) 스타일은 watch.php 내부 <style> 에 인라인 정의 (Jeisys 룸 구조) */

/* ── 안내 카드 (시스템 가이드 / 문의) ── */
.guide-cards { width: 100%; max-width: 972px; margin: 16px auto 0; padding: 0 16px; display: flex; gap: 18px; flex-wrap: wrap; }
.guide-card {
    flex: 1 1 0; min-width: 270px; min-height: 90px; display: flex; align-items: center; gap: 16px; text-align: left;
    text-decoration: none; color: inherit;
    padding: 16px 18px; border-radius: 16px; position: relative; overflow: hidden;
    background: linear-gradient(180deg,#ffffff,#f5fbfe);
    border: 1px solid rgba(42,27,110,0.18);
    box-shadow: 0 6px 18px rgba(42,27,110,.07); cursor: pointer; font: inherit;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.guide-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:linear-gradient(180deg,var(--teal),var(--teal-d)); opacity:0; transition:opacity .16s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(42,27,110,.16); border-color: rgba(42,27,110,0.5); }
/* 이수증 발급 가능 시 강조 — 상태 조회로 실시간 부여 */
.guide-card.cert-ready { border-color: rgba(16,185,129,.55); box-shadow: 0 0 0 2px rgba(16,185,129,.18), 0 10px 22px rgba(16,185,129,.14); }
.guide-card:hover::before { opacity:1; }
.guide-ico { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(140deg,#5A3AA0 0%,var(--teal) 55%,var(--teal-d) 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(42,27,110,.30); }
.guide-ico svg { width: 28px; height: 28px; stroke: #fff; }
.guide-txt { flex: 1; display: flex; flex-direction: column; }
.guide-title { font-size: 16px; font-weight: 800; color: var(--txt); letter-spacing: -.01em; }
.guide-desc { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.guide-arrow { flex-shrink: 0; display: flex; align-items: center; color: var(--teal); transition: transform .16s ease, color .16s ease; }
.guide-arrow svg { width: 20px; height: 20px; stroke: currentColor; }
.guide-card:hover .guide-arrow { transform: translateX(4px); color: var(--teal-d); }
.guide-card.is-disabled { cursor: default; opacity: .6; pointer-events: none; box-shadow: none; }
.guide-card.is-disabled .guide-ico { background: #c2cdd2; box-shadow: none; }
@media (max-width: 620px) { .guide-cards { flex-direction: column; } .guide-card { min-width: 0; } }

/* ── 안내 팝업 (시스템 가이드/문의 공통) ── */
.pop-modal { display:none; position:fixed; inset:0; z-index:660; background:rgba(15,28,40,.55); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); align-items:center; justify-content:center; padding:20px; }
.pop-modal.open { display:flex; animation:certFade .22s ease; }
.pop-card { background:#fff; border-radius:18px; width:100%; max-width:460px; max-height:86vh; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 26px 60px rgba(15,28,40,.32); animation:svPop .3s cubic-bezier(.16,.84,.44,1); }
.pop-head { padding:16px 20px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #eef2f1; }
.pop-head-left { display:flex; align-items:center; gap:11px; }
.pop-head-ico { width:38px; height:38px; flex-shrink:0; border-radius:10px; background:linear-gradient(140deg,#5A3AA0,var(--teal),var(--teal-d)); display:flex; align-items:center; justify-content:center; }
.pop-head-ico svg { width:20px; height:20px; stroke:#fff; }
.pop-title { font-size:16px; font-weight:800; color:var(--txt); }
.pop-close { width:32px; height:32px; border:1px solid #e2e8f0; background:#fff; border-radius:8px; cursor:pointer; color:#94a3b8; font-size:19px; line-height:1; display:flex; align-items:center; justify-content:center; }
.pop-close:hover { border-color:#cbd5e1; color:#64748b; }
.pop-body { padding:20px 22px; overflow-y:auto; font-size:13.5px; color:#475569; line-height:1.75; }
.pop-body p { margin:0 0 12px; }
.pop-body ul { margin:0; padding-left:18px; }
.pop-body li { margin-bottom:7px; }
.pop-body b { color:var(--teal-d); font-weight:700; }
.pop-body .pop-note { margin:14px 0 0; padding-top:12px; border-top:1px solid #eef2f1; font-size:12px; color:var(--muted); }

/* ── 등록완료 모달 ── */
.done-modal { display:none; position:fixed; inset:0; z-index:650; background:rgba(15,28,40,.55); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); align-items:center; justify-content:center; padding:20px; }
.done-modal.open { display:flex; animation:certFade .22s ease; }
.done-card { background:#fff; border-radius:20px; width:100%; max-width:380px; padding:34px 28px 26px; text-align:center; box-shadow:0 26px 60px rgba(15,28,40,.32); animation:svPop .3s cubic-bezier(.16,.84,.44,1); }
.done-ico { width:64px; height:64px; margin:0 auto 18px; border-radius:50%; background:linear-gradient(180deg,#5A3AA0,var(--teal)); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 22px rgba(42,27,110,.32); }
.done-ico svg { width:32px; height:32px; stroke:#fff; }
.done-title { font-size:17px; font-weight:800; color:var(--txt); line-height:1.5; letter-spacing:-.01em; }
.done-sub { font-size:13px; color:var(--muted); margin-top:10px; line-height:1.5; }
.done-btn { margin-top:22px; width:100%; padding:13px; border:none; border-radius:12px; background:linear-gradient(180deg,#5A3AA0,var(--teal)); color:#fff; font-size:15px; font-weight:800; cursor:pointer; box-shadow:0 10px 22px rgba(42,27,110,.28); transition:transform .15s, filter .15s; }
.done-btn:hover { transform:translateY(-1px); filter:brightness(1.05); }

/* ── 수료증 모달 (고급 금장 액자) ── */
.cert-modal { display:none; position:fixed; inset:0; z-index:600; background:rgba(12,14,20,.74); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); align-items:center; justify-content:center; padding:26px; }
.cert-modal.open { display:flex; animation:certFade .25s ease; }
@keyframes certFade { from{opacity:0} to{opacity:1} }
.cert-modal-card { position:relative; width:100%; max-width:960px; background:transparent; animation:certPop .34s cubic-bezier(.16,.84,.44,1); }
@keyframes certPop { from{opacity:0; transform:translateY(16px) scale(.985)} to{opacity:1; transform:none} }

/* 금장 프레임 */
/* 진한 갈색 나무 질감 액자 */
.cert-frame {
    padding:20px; border-radius:5px;
    background:
        repeating-linear-gradient(90deg,
            rgba(0,0,0,0.14) 0px, rgba(0,0,0,0) 3px,
            rgba(255,225,180,0.05) 5px, rgba(0,0,0,0) 9px),       /* 나뭇결 라인 */
        linear-gradient(135deg, #4a2c16 0%, #6e421f 22%, #3a2210 48%, #5c351a 72%, #43280f 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255,214,160,0.22),                  /* 안쪽 얇은 하이라이트 */
        inset 0 0 0 7px rgba(38,20,8,0.50),                      /* 베벨(깊이) */
        inset 0 0 24px rgba(18,9,3,0.42),
        0 28px 60px rgba(0,0,0,0.50);
}
/* 매트(passe-partout) — 흰 여백 + 헤어라인 */
.cert-mat {
    padding:16px;
    background:#ffffff;
    box-shadow: inset 0 0 0 1px rgba(60,34,16,0.18);
}
.cert-canvas { width:100%; height:auto; display:block; box-shadow:0 2px 10px rgba(0,0,0,0.16); }

.cert-close {
    position:absolute; top:-16px; right:-16px; z-index:2;
    width:38px; height:38px; border-radius:50%; border:none; background:#fff; color:#475569;
    font-size:20px; line-height:1; cursor:pointer; box-shadow:0 8px 20px rgba(0,0,0,0.4);
    transition:transform .15s, color .15s;
}
.cert-close:hover { color:#1e293b; transform:scale(1.06); }

.cert-actions { text-align:center; margin-top:20px; }
.cert-dl { display:inline-flex; align-items:center; gap:8px; padding:13px 34px; border:none; border-radius:11px; background:linear-gradient(180deg, #4B2C8F 0%, #2A1B6E 100%); color:#fff; font-size:15px; font-weight:800; cursor:pointer; box-shadow:0 12px 26px rgba(42,27,110,.34); transition:transform .15s, box-shadow .15s, filter .15s; }
.cert-dl svg { width:18px; height:18px; stroke:#fff; }
.cert-dl:hover { transform:translateY(-1px); filter:brightness(1.08); }

@media (max-width:560px) {
    .cert-frame { padding:12px; }
    .cert-mat { padding:11px; }
    .cert-close { top:-12px; right:-12px; width:34px; height:34px; }
}

/* ── 풋터 (#4B2C8F) — 슬림, 화면 바닥 고정 ── */
.page-footer {
    position: relative; z-index: 1; width: 100%;
    background: var(--teal);
    color: #eaf6fb;
    padding: 13px 24px;
    margin-top: 0;   /* card-wrap 의 margin:auto 가 바닥으로 밀어줌 */
}
.footer-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px 28px; flex-wrap: wrap;
}
.footer-logo-img { height: 24px; width: auto; display: block; opacity: .97; }
.footer-contacts { display: flex; align-items: center; gap: 6px 26px; flex-wrap: wrap; }
.footer-contact { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #eaf6fb; line-height: 1.5; }
.footer-contact b { font-weight: 700; letter-spacing: .01em; }
.footer-contact .muted { opacity: .82; }
.footer-contact svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }
@media (max-width: 560px) {
    .footer-inner { justify-content: center; }
    .footer-contacts { justify-content: center; gap: 4px 16px; }
}

/* ── 반응형 ── */
/* PC: 중앙 카드를 상단(로고 쪽)에 가깝게 */
@media (min-width: 861px) {
    body.page-index { padding-top: 70px; }
    .card-wrap { margin-top: 6vh; margin-bottom: auto; }
}
@media (max-width: 860px) {
    .card-wrap { flex-direction: column; align-items: stretch; max-width: 440px; transform: none; margin-bottom: 16px; }   /* 하단 풋터와 살짝 띄움 */
    .left-panel { width: 100%; padding: 44px 30px; }
    .left-panel .accent-line { left: 30px; right: 30px; }
    .right-panel { width: 100%; min-height: 200px; }
    .right-panel.has-image { width: 100%; border-left: none; border-top: 1px solid rgba(42,27,110,0.12); }
    .hero-image { width: 100%; max-width: 100%; max-height: none; margin: 0 auto; }   /* 폭 기준 꽉 채움 (비율 유지) */
    .illust-svg { width: 120px; margin-bottom: 16px; }
}
@media (max-width: 480px) {
    body.page-index { padding: 84px 12px 0; }
    .page-badge { display: none; }
    .page-logo { top: 14px; left: 14px; }
    .page-logo-img { height: 28px; }
    .left-panel { padding: 34px 22px; }
    .left-panel .accent-line { left: 22px; right: 22px; }
}

/* ═══════════════ 2026 PD NurseAcademy 브랜드 개편 오버라이드 ═══════════════
   주조 #2A1B6E(네이비) · 강조 #4B2C8F(시안) — 로고·폰트 확대
   같은 선택자를 뒤에서 다시 선언해 기존 값을 덮는다 (원본 레이아웃 수치는 위에 보존) */

/* 로고 확대 (46px 에서 15% 축소) */
.page-logo-img { height: 39px; }
.sn-logo img { height: 44px; }
.sn-logo-txt { font-size: 24px; }
.footer-logo-img { height: 30px; }

/* 중앙 카드 확대 (~25%) — 입장(entry), PC 전용
   ⚠️ 미디어쿼리 없이 선언하면 위 860px 이하 반응형 규칙(width:100%)을 덮어써
   모바일에서 카드가 화면 밖으로 넘친다 — 반드시 min-width 로 감싼다 */
@media (min-width: 861px) {
    .left-panel { width: 575px; padding: 38px 56px; }
    .left-panel .accent-line { left: 56px; right: 56px; }
    .right-panel { width: 600px; }
    .illust-svg { width: clamp(220px, 27vw, 320px); }
}
/* 세로 확대 — PC에서만 (모바일 세로 스택에는 강제 높이를 주지 않는다) */
@media (min-width: 861px) {
    .card-wrap { min-height: min(600px, 70vh); }
}
/* 화면이 카드보다 좁은 구간은 한 단계 줄여 넘침 방지 */
@media (min-width: 861px) and (max-width: 1280px) {
    .left-panel { width: 500px; padding: 34px 48px; }
    .left-panel .accent-line { left: 48px; right: 48px; }
    .right-panel { width: 520px; }
    .hero-image { max-width: min(460px, 38vw); }
    .card-wrap { min-height: min(540px, 66vh); }
}

/* 폰트 확대 — 입장(entry) */
.page-badge { font-size: 13px; }
.eyebrow { font-size: 12px; }
.event-title { font-size: clamp(24px, 3.2vw, 34px); }
.event-meta { font-size: 15px; }
.event-date { font-size: 20px; }
.form-control { font-size: 16px; padding: 15px 16px; }
.form-lead { font-size: 13.5px; }
.btn-enter { font-size: 16px; padding: 16px; }
.btn-register { font-size: 15.5px; padding: 13px; }
.login-note { font-size: 12.5px; }
.legal-note p { font-size: 12.5px; }
.right-tagline { font-size: clamp(20px, 2.4vw, 28px); }
.right-sub { font-size: 15px; }
.form-toast { font-size: 15px; }

/* 폰트 확대 — 로비(main) */
.sn-name { font-size: 15px; }
.sn-hosp { font-size: 12.5px; }
.sn-avatar { width: 40px; height: 40px; font-size: 16px; }
.sn-logout { font-size: 14.5px; }
.main-bn-enter { font-size: 20px; }
.live-badge { font-size: 15px; }
.guide-title { font-size: 18px; }
.guide-desc { font-size: 14px; }
.pop-title { font-size: 17.5px; }
.pop-body { font-size: 15px; }
.pop-body .pop-note { font-size: 13px; }
.done-title { font-size: 18px; }
.done-sub { font-size: 14px; }

/* 폰트 확대 — 사전등록(reg) */
.reg-label { font-size: 16px; }
.reg-input { font-size: 16px; }
.reg-note { font-size: 13.5px; }
.reg-submit { font-size: 17px; }

/* 풋터 — 주조색(네이비) */
.page-footer { background: #2A1B6E; }
.footer-contact { font-size: 14px; }

/* 배너(네이비 배경) 위 보정 — 두 줄 타이틀(t2)은 시안 (네이비 배경에 묻히지 않게) */
.main-bn-text h1 .t2 { color: #4B2C8F; }
/* 배너 입장 버튼 — 메인컬러 버튼이 네이비 배경에 묻히므로 흰 바탕 + 네이비 글자로 대비 */
.main-bn-enter {
    background: #fff; color: #2A1B6E;
    box-shadow: 0 12px 26px rgba(0,0,0,0.30);
}
.main-bn-enter:hover { background: #eef2fb; filter: none; box-shadow: 0 16px 34px rgba(0,0,0,0.38); }
.main-bn-enter.is-locked { background: rgba(255,255,255,0.16); color: #fff; }

/* ── 주요 버튼 메인컬러(#2A1B6E) 통일 ── */
.btn-enter {
    background: linear-gradient(180deg, #4B2C8F 0%, #2A1B6E 100%);
    box-shadow: 0 6px 16px rgba(42,27,110,0.28);
}
.btn-enter:hover {
    background: linear-gradient(180deg, #4A2E92 0%, #2A1B6E 100%);
    box-shadow: 0 10px 24px rgba(42,27,110,0.36);
}
.btn-register { color: #2A1B6E; border-color: #2A1B6E; }
.btn-register:hover { background: rgba(42,27,110,0.06); box-shadow: 0 6px 16px rgba(42,27,110,0.14); }
.done-btn {
    background: linear-gradient(180deg, #4B2C8F 0%, #2A1B6E 100%);
    box-shadow: 0 10px 22px rgba(42,27,110,0.28);
}
.reg-tab { background: linear-gradient(135deg, #5A3AA0 0%, #2A1B6E 100%); box-shadow: 0 12px 26px rgba(42,27,110,0.38), 0 0 0 5px rgba(42,27,110,0.10); }

/* 모바일 로고 크기 (위 기본값보다 뒤에 선언해야 적용됨 — 15% 축소 반영) */
@media (max-width: 480px) {
    .page-logo-img { height: 31px; }
}
@media (max-width: 520px) {
    .sn-logo img { height: 36px; }
}

/* ── 입장 카드 위치 + 로그인 입력칸 강조 ── */
/* 카드 시작점을 상단 고정 로고(22px + 46px) 아래로 — 겹침 방지 + 숨 쉴 여백 */
@media (min-width: 861px) {
    body.page-index { padding-top: 92px; }
    .card-wrap { margin-top: 2vh; }
}
/* 전화번호 입력칸 — 흐릿하다는 피드백 반영: 굵은 테두리·밝은 배경·큰 글씨 */
.form-control {
    border: 2px solid #9db1d6;
    background: #f7f9fd;
    font-size: 17px; font-weight: 600; letter-spacing: .02em;
    padding: 16px;
}
.form-control::placeholder { color: #7c8aa5; font-weight: 500; }
.form-control:focus {
    border-color: #2A1B6E; background: #fff;
    box-shadow: 0 0 0 4px rgba(42,27,110,0.12);
}

/* ── 입장 좌측 패널 재배치: 타이틀 최상단 · 안내문은 입장 버튼 아래 · 사전등록 버튼 최하단 ── */
@media (min-width: 861px) {
    .left-panel { justify-content: flex-start; padding-top: 46px; padding-bottom: 34px; }
    .left-panel .panel-divider { margin-top: 18px; }
    .login-note { margin-top: 14px; }
    .btn-register { margin-top: auto; }   /* 남는 공간을 위로 밀어 최하단 고정 */
}

/* ── 모바일 로고 — fixed 해제: 스크롤 시 따라오지 않고 페이지와 함께 올라감 ── */
@media (max-width: 860px) {
    .page-logo { position: absolute; }
}

/* ── 카드 ↔ 풋터 여백 (PC) — 모바일은 반응형 블록의 16px 유지 ── */
@media (min-width: 861px) {
    .card-wrap { margin-bottom: 40px; }
}

/* ── 입장(index) 우측 히어로 — 패널을 이미지로 꽉 채움 (여백 없이 cover) ── */
@media (min-width: 861px) {
    .right-panel.has-image { width: 600px; }
    .right-panel.has-image .hero-image {
        width: 100%; height: 100%;
        max-width: none; max-height: none;
        object-fit: cover;   /* 비율 유지하며 패널 전체 커버 (넘치는 부분은 크롭) */
    }
}
@media (min-width: 861px) and (max-width: 1280px) {
    .right-panel.has-image { width: 520px; }
}

/* ── 입장(index) 카드 — 회차 일정 (main.php 배너와 동일 구성, 흰 배경용 태그) ── */
.event-date .ev-sched { display: flex; align-items: center; gap: 9px; font-variant-numeric: tabular-nums; } /* 숫자 고정폭 — PD/HD 두 줄 끝 정렬 */
.event-date .ev-sched + .ev-sched { margin-top: 7px; }
.event-date .bn-tag {
    background: rgba(42,27,110,0.08);
    border-color: rgba(42,27,110,0.42);
    color: #2A1B6E;
}
@media (max-width: 520px) {
    .event-date { font-size: 16px; }   /* 두 줄 일정이 좁은 화면에서 넘치지 않게 */
}

/* ── 모바일 재보정 — 위 폰트 확대(전역)가 앞선 미디어쿼리 값을 덮으므로 여기서 복원 ── */
@media (max-width: 760px) {
    .main-bn-meta { font-size: 15px; }
    .main-bn-meta .bn-sched { gap: 8px; justify-content: center; }
    .bn-tag { min-width: 36px; padding: 2px 8px; font-size: 11px; }
    .main-bn-enter { width: 100%; font-size: 17px; padding: 15px 20px; }
    .guide-title { font-size: 16px; }
    .guide-desc { font-size: 13px; }
}
@media (max-width: 620px) {
    .guide-cards { gap: 10px; margin-top: 12px; }
    .guide-card { min-height: 0; padding: 14px 16px; gap: 13px; }
    .guide-ico { width: 46px; height: 46px; border-radius: 12px; }
    .guide-ico svg { width: 23px; height: 23px; }
}

/* ═══════════════ 입장(entry) 디자인 개선 오버라이드 ═══════════════
   배경 깊이감 · 카드 라운드/그림자 · 일정 칩 · 진입 스태거 애니메이션
   page-index 한정 스코프 — main/watch/register 페이지에는 영향 없음 */

/* ── 배경 — 은은한 네이비 글로우 2겹 + 기존 라디얼 유지 ── */
body.page-index {
    background:
        radial-gradient(900px 480px at 12% -8%, rgba(11,61,145,0.10), transparent 60%),
        radial-gradient(760px 420px at 88% 4%, rgba(42,27,110,0.08), transparent 62%),
        radial-gradient(140% 90% at 50% -10%, #ffffff 0%, #f2f6fc 45%, #e6edf8 100%);
}
/* 상단 도트 그리드 — 아래로 갈수록 사라지게 마스크 (fixed: 스크롤 무관) */
body.page-index::before {
    content: ''; position: fixed; top: 0; left: 0; right: 0; height: 46vh;
    pointer-events: none; z-index: 0;
    background-image: radial-gradient(rgba(42,27,110,0.13) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent);
}

/* ── 카드 — 라운드 + 정제된 그림자 + 헤어라인 보더 ── */
.page-index .card-wrap {
    border-radius: 22px;
    border: 1px solid rgba(42,27,110,0.10);
    box-shadow:
        0 1px 1px rgba(42,27,110,0.04),
        0 16px 40px rgba(42,27,110,0.12),
        0 48px 90px rgba(42,27,110,0.10);
}
/* 카드 상단 브랜드 액센트 라인 — 우측(히어로)으로 갈수록 페이드 */
.page-index .card-wrap::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, #4B2C8F, #2A1B6E 45%, rgba(42,27,110,0) 92%);
}

/* ── 우측 상단 배지 — 필 형태 + 유리 질감 (라운드 카드와 톤 통일) ── */
.page-index .page-badge {
    border-radius: 999px;
    background: rgba(255,255,255,0.65);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border-color: rgba(42,27,110,0.30);
    box-shadow: 0 4px 12px rgba(42,27,110,0.08);
    padding: 6px 14px;
}

/* ── 회차 일정 — 칩(박스) 형태로 위계 강화 ── */
.page-index .event-date { margin: 2px 0 10px; }
.page-index .event-date .ev-sched {
    padding: 9px 14px; border-radius: 12px;
    background: linear-gradient(180deg, #f6f9fe 0%, #eef4fc 100%);
    border: 1px solid rgba(42,27,110,0.14);
    font-size: 18px;
}
.page-index .event-date .ev-sched + .ev-sched { margin-top: 8px; }
@media (max-width: 520px) {
    .page-index .event-date .ev-sched { font-size: 15px; padding: 8px 11px; gap: 8px; }
}

/* ── 입장 버튼 — 호버 시 광택 스윕 ── */
.page-index .btn-enter { position: relative; overflow: hidden; }
.page-index .btn-enter::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-18deg); pointer-events: none;
    transition: left .5s ease;
}
.page-index .btn-enter:hover::after { left: 120%; }

/* ── 히어로 패널 — 좌측 경계에 은은한 안쪽 그림자 (패널 분리감) ── */
@media (min-width: 861px) {
    .page-index .right-panel.has-image::after {
        box-shadow:
            inset 0 0 0 1px rgba(0,0,0,0.04),
            inset 24px 0 40px -30px rgba(42,27,110,0.25);
    }
}

/* ── 좌측 패널 진입 스태거 — 카드 등장 후 순차 페이드 (모션 최소화 설정 시 생략) ── */
@media (prefers-reduced-motion: no-preference) {
    .page-index .left-panel > * {
        opacity: 0;
        animation: cardIn .5s cubic-bezier(.16,.84,.44,1) both;
    }
    .page-index .left-panel > *:nth-child(1) { animation-delay: .10s; }
    .page-index .left-panel > *:nth-child(2) { animation-delay: .16s; }
    .page-index .left-panel > *:nth-child(3) { animation-delay: .22s; }
    .page-index .left-panel > *:nth-child(4) { animation-delay: .28s; }
    .page-index .left-panel > *:nth-child(5) { animation-delay: .34s; }
    .page-index .left-panel > *:nth-child(6) { animation-delay: .40s; }
    .page-index .left-panel > *:nth-child(7) { animation-delay: .46s; }
}

/* ═══════════════ VANFLYTA On-Air 브랜드 오버라이드 (2026-12-09) ═══════════════
   키비주얼 톤 — 흰 바탕 + 딥퍼플(#2A1B6E) 글자 + 반플리타 레드(#D0102A) 포인트,
   하단 퍼플→레드 그라데이션 띠. 위 네이비 계열 값은 일괄 치환된 상태이고 여기서 마무리만 한다. */
:root {
    --vf-red:    #D0102A;
    --vf-purple: #2A1B6E;
    --vf-grad:   linear-gradient(90deg, #2A1B6E 0%, #5B1F6E 50%, #D0102A 100%);
}

/* 배경 — 푸른 기 없는 은은한 라벤더·로즈 글로우 */
body.page-index {
    background:
        radial-gradient(900px 480px at 10% -8%, rgba(42,27,110,0.08), transparent 60%),
        radial-gradient(760px 420px at 92% 6%, rgba(208,16,42,0.06), transparent 62%),
        radial-gradient(140% 90% at 50% -10%, #ffffff 0%, #f6f5fa 45%, #eeecf4 100%);
}
body.page-main { background: #f5f4f9; }

/* 반플리타 로고 — 가로형이 아니라 세로로 쌓인 로고라 높이를 키운다 */
.page-logo-img { height: 58px; }
.sn-logo img { height: 46px; }
@media (max-width: 480px) { .page-logo-img { height: 44px; } }
@media (max-width: 520px) { .sn-logo img { height: 38px; } }
@media (min-width: 861px) { body.page-index { padding-top: 104px; } }

/* 우측 상단 '보건의료전문가용' — 키비주얼처럼 각진 테두리 */
.page-index .page-badge { border-radius: 0; background: #fff; color: #3a3a40; border-color: #8a8a92; box-shadow: none; font-weight: 600; letter-spacing: .02em; }

/* 입장 카드 타이틀 — VANFLYTA(레드) On-Air(레드→퍼플) Webinar(퍼플) */
.vf-title { font-weight: 800; letter-spacing: -.01em; line-height: 1.15; color: var(--vf-purple); }
.vf-title .vf-brand { color: var(--vf-red); }
.vf-title .vf-brand sup { font-size: .42em; font-weight: 600; vertical-align: super; margin-left: 1px; }
.vf-title .vf-onair {
    background: linear-gradient(90deg, var(--vf-red) 0%, var(--vf-red) 45%, var(--vf-purple) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vf-title .vf-web { font-weight: 500; }
.page-index .event-title { font-size: clamp(25px, 3.1vw, 34px); }

/* 일정 칩 — 회차 태그 없이 날짜만 */
.page-index .event-date .ev-sched {
    background: linear-gradient(180deg, #f8f7fc 0%, #f1eff8 100%);
    border-color: rgba(42,27,110,0.16); color: var(--vf-purple); font-weight: 800;
}

/* 카드 상단 액센트 라인 — 퍼플→레드 */
.page-index .card-wrap::after { background: var(--vf-grad); opacity: .95; }
/* eyebrow 점 — 레드 */
.eyebrow::before { background: var(--vf-red); }

/* 우측 히어로 아래 일정·연자 띠 (시안의 Date & Time / Speaker) */
.right-panel.has-image { flex-direction: column; align-items: stretch; }
@media (min-width: 861px) {
    .right-panel.has-image .hero-image { flex: 1 1 auto; min-height: 0; height: auto; }
}
.hero-info {
    flex: 0 0 auto; background: #fff; padding: 14px 26px 16px;
    border-top: 1px solid rgba(42,27,110,0.10);
    display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: baseline;
}
.hero-info dt { font-size: 12.5px; font-weight: 600; color: #8a8a96; white-space: nowrap; }
.hero-info dd { font-size: 17px; font-weight: 800; color: var(--vf-purple); letter-spacing: -.01em; }
.hero-info dd small { font-size: 13px; font-weight: 600; color: #5c5c6a; margin-left: 4px; }
@media (max-width: 480px) { .hero-info { padding: 12px 18px 14px; } .hero-info dd { font-size: 15px; } }

/* 로비 배너 — 흰 바탕 키비주얼 톤 (배경 이미지는 main.php 가 있으면 깐다) + 하단 퍼플→레드 띠 */
.main-banner {
    background: radial-gradient(120% 140% at 85% 0%, #ffffff 0%, #f4f2fa 55%, #ebe8f4 100%);
    background-size: cover; background-position: center right;
    border-bottom: 0;
}
.main-banner::before, .main-banner::after { display: none; }
.main-banner .vf-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--vf-grad); z-index: 3; }
.main-bn-text { color: var(--vf-purple); }
.main-bn-text h1 .t1 { color: var(--vf-purple); font-size: clamp(34px, 5.2vw, 56px); }
.main-bn-meta { color: var(--vf-purple); font-weight: 700; }
.main-bn-enter { background: linear-gradient(90deg, #2A1B6E 0%, #D0102A 100%); color: #fff; box-shadow: 0 12px 26px rgba(42,27,110,0.28); }
.main-bn-enter:hover { background: linear-gradient(90deg, #2A1B6E 0%, #D0102A 100%); filter: brightness(1.08); }
.main-bn-enter.is-locked {
    background: rgba(42,27,110,0.08); color: var(--vf-purple);
    border-color: rgba(42,27,110,0.45); text-shadow: none;
}
.main-bn-enter.is-locked:hover { background: rgba(42,27,110,0.14); }

/* 로비 아젠다 패널 — 상단 로고 바 + 'Agenda / Dec 09(Wed)' 머리글 */
.page-main .main-panel { padding: 0; overflow: hidden; }
.page-main .main-agenda { margin: 0; }
.page-main .agenda-img { border-radius: 0; }
.agenda-logo { padding: 22px 30px 14px; background: #f7f6fb; border-bottom: 1px solid rgba(42,27,110,0.08); }
.agenda-logo img { height: 52px; width: auto; display: block; }
.agenda-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 22px 30px 14px; }
.agenda-head h2 { font-size: 30px; font-weight: 800; color: var(--vf-purple); letter-spacing: -.01em; }
.agenda-head .agenda-day { font-size: 24px; font-weight: 800; color: var(--vf-red); }
@media (max-width: 560px) {
    .agenda-logo { padding: 16px 18px 10px; }
    .agenda-logo img { height: 40px; }
    .agenda-head { padding: 16px 18px 10px; }
    .agenda-head h2 { font-size: 23px; }
    .agenda-head .agenda-day { font-size: 18px; }
}

/* 아이콘 칩·아바타 — 퍼플 */
.sn-avatar { background: var(--vf-purple); }
/* 로비 패널 — 내용(아젠다) 높이만큼만. 남는 세로 공간은 풋터 위 여백으로 */
.page-main .main-panel { flex: 0 0 auto; }

/* ── 로비 상단 배너 이미지 (시안 2번, 1200×200) ──
   원본보다 크게 늘리면 글자가 흐려지므로 1200px 에서 멈추고,
   넓은 화면의 양옆은 이미지 가장자리 색(좌 #ECE9F9 / 우 #FEFBFA)과 하단 띠 색(좌 #B5B3CF / 우 #C71329)으로 이어 붙인다 */
.vf-top-banner {
    line-height: 0; text-align: center;
    background:
        linear-gradient(90deg, #B5B3CF 50%, #C71329 50%) bottom / 100% 10px no-repeat,
        linear-gradient(90deg, #ECE9F9 50%, #FEFBFA 50%);
}
.vf-top-banner img { display: inline-block; width: 100%; max-width: 1200px; height: auto; }

/* 배너 이미지 아래 — 일정 + 입장 버튼 한 줄 (제목은 이미지에 있음) */
.main-banner.has-top-banner { background: #fff; border-bottom: 1px solid rgba(42,27,110,0.10); }
.main-banner.has-top-banner .main-banner-inner { min-height: 0; padding: 22px 16px; align-items: center; justify-content: center; }
.main-banner.has-top-banner .main-bn-text {
    padding-bottom: 0; width: 100%;
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px;
}
.main-banner.has-top-banner .live-badge { margin-bottom: 0; }
.main-banner.has-top-banner .main-bn-meta { margin-top: 0; font-size: 22px; font-weight: 800; }
.main-banner.has-top-banner .main-bn-enter { margin-top: 0; padding: 13px 38px; font-size: 18px; }
@media (max-width: 760px) {
    .main-banner.has-top-banner .main-banner-inner { padding: 18px 16px; }
    .main-banner.has-top-banner .main-bn-text { flex-direction: column; gap: 12px; }
    .main-banner.has-top-banner .main-bn-meta { font-size: 17px; }
}

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

/* 배너 양옆 — 단색 대신 같은 이미지를 크게 흐려 깔고, 이미지 좌우 끝은 마스크로 녹인다.
   하단 띠는 이미지 안의 띠 위에 화면 전체 폭으로 다시 그어 끊김 없이 잇는다 */
.vf-top-banner { position: relative; overflow: hidden; background: #F3F1F8; }
.vf-top-banner::before {
    content: ''; position: absolute; inset: -40px; z-index: 0;
    background: url('/assets/img/banner.jpg') center / 100% 100% no-repeat;
    filter: blur(40px) saturate(1.1); opacity: .85;
}
.vf-top-banner::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: 2;
    background: linear-gradient(90deg, #2A1B6E 0%, #5B1F6E 50%, #D0102A 100%);
}
.vf-top-banner img {
    position: relative; z-index: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
/* 1200px 이하에서는 이미지가 화면 폭을 꽉 채우므로 마스크를 쓰지 않는다 */
@media (max-width: 1200px) {
    .vf-top-banner img { -webkit-mask-image: none; mask-image: none; }
    .vf-top-banner::after { height: 5%; }
}

/* 안내 카드 — 세로로 쌓일 때 flex-basis 0 이면 높이가 0 으로 눌려 내용이 잘린다 (원본 버그) */
@media (max-width: 620px) {
    .guide-card { flex: 0 0 auto; }
}

/* ── 승인번호 보호 (2026-10-21, V2 이미지) ──
   모든 시안 이미지 오른쪽 끝에 승인번호(P26-321-2028.10-V1)가 세로로 들어 있다.
   → 가장자리를 자르거나(cover) 흐리게(mask) 하거나 위에 무언가 덮는 처리를 하지 않는다 */
/* 로비 배너 — 양옆 흐린 배경은 실제 배너 이미지(관리자 업로드 포함)를 따라가고, 이미지 자체는 그대로 보인다 */
.vf-top-banner::before { background: var(--vf-banner, url('/assets/img/banner.jpg')) center / 100% 100% no-repeat; }
.vf-top-banner img { -webkit-mask-image: none !important; mask-image: none !important; }
.vf-top-banner::after { z-index: 0; }   /* 하단 띠는 이미지 뒤(양옆)에만 — 이미지 위를 덮지 않는다 */
/* 입장 우측 포스터 — 잘리지 않게 비율 유지 */
.right-panel.has-image .hero-image { object-fit: contain !important; background: #fff; }

/* ── 입장 우측 포스터 칸 폭 축소 (2026-10-21 요청) — 600/520 → 460/400 ──
   포스터(3:4)는 폭에 맞춰 비율 그대로 줄어든다. 승인번호가 있는 가장자리는 자르지 않는다 */
@media (min-width: 861px) {
    .right-panel.has-image { width: 460px; }
    .page-index .card-wrap { min-height: 0; }
}
@media (min-width: 861px) and (max-width: 1280px) {
    .right-panel.has-image { width: 400px; }
}
.hero-info { padding: 12px 20px 14px; gap: 5px 12px; }
.hero-info dd { font-size: 15.5px; }
.hero-info dd small { font-size: 12px; }
