/**
 * 토요 라이브 원페이지 (시안 3a "화이트 · 2열 레일")
 * design_handoff_live_page/README.md §3~§6 스펙과 1:1.
 *
 * 시안 고유 팔레트(애플풍 뉴트럴 + 브랜드 그린 #1E875A)라 전역 :root 를
 * 오염시키지 않도록 .lop-card 스코프에 로컬 토큰을 정의하고 var() 로 참조한다.
 * 다크는 영상 프레임(#000)에만 남는다.
 */

/* ⚡ standalone 문서(get_header/get_footer 미로드, page-login.php 패턴) — 카드가 body 직속.
   공유 토큰을 body 에 두어 카드와 로그인 게이트가 함께 참조. 페이지 전체 너비 = 카드 width:100%. */
html{margin:0}
body.lop-standalone{
	--lop-cap:1440px; /* 헤더·본문 내용을 재중앙 정렬하는 상한(카드 자체는 풀폭) */
	--lop-panel:#F7F7F5;
	--lop-panel-bd:#EFEFED;
	--lop-ink:#1D1D1F;
	--lop-ink2:#3A463E;
	--lop-muted:#86868B;
	--lop-faint:#B0B5AF;
	--lop-faint2:#C6C6C4;
	--lop-line:#ECECEA;
	--lop-off:#EDEDEB;
	--lop-off-ink:#9A9A98;
	--lop-dash:#E2E2E0;
	--lop-brand:#1E875A;
	--lop-brand-hover:#1A7750;
	--lop-brand-soft:#EAF4EE;
	--lop-brand-bd:#CFE6DA;
	--lop-brand-tint:#F4FAF6;
	--lop-brand-strong:#BFE3D0;
	--lop-green:#2ED47A; /* 영상 프레임 위 라이브 포인트 · 참여 dot */
	margin:0;
	background:#fff;
	color:var(--lop-ink);
	font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
	-webkit-font-smoothing:antialiased;
}
body.lop-standalone *{box-sizing:border-box}
body.lop-standalone .mono{font-family:ui-monospace,Menlo,monospace}
body.lop-standalone [hidden]{display:none !important}

.lop-card{
	width:100%;
	margin:0;
	background:#fff;
	border-bottom:1px solid var(--lop-panel-bd);
	overflow:hidden;
}

@keyframes lopPulse{0%,100%{opacity:1}50%{opacity:.35}}

/* ── 헤더 ── 매거진 에디토리얼: 회차 kicker + 큰 제목 + 진행일시, 전부 가운데 정렬 */
.lop-hdr{padding:38px max(26px,calc((100% - var(--lop-cap)) / 2)) 30px;border-bottom:1px solid var(--lop-panel-bd)}
.lop-hdr-lead{max-width:860px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center}
.lop-ep{font-size:14px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--lop-brand)}
.lop-ep-coming{font-size:12px;letter-spacing:.22em}
.lop-title{margin:0;font-size:clamp(23px,2.7vw,30px);font-weight:800;letter-spacing:-.025em;line-height:1.3;color:var(--lop-ink);max-width:780px;text-wrap:balance}
.lop-hdr-when{display:inline-flex;align-items:center;gap:12px;font-size:14px;font-weight:700;letter-spacing:.01em;color:var(--lop-ink2)}
.lop-hdr-when::before,.lop-hdr-when::after{content:"";width:28px;height:1px;background:var(--lop-faint2)}

/* ── 본문 2열 (1fr / 레일 356px), 내용은 --lop-cap 중앙 정렬 ── */
.lop-body{padding:24px max(26px,calc((100% - var(--lop-cap)) / 2)) 32px;display:grid;grid-template-columns:1fr 356px;gap:24px;align-items:start}
.lop-col-main{min-width:0;display:flex;flex-direction:column;gap:16px}
.lop-col-rail{min-width:0;display:flex;flex-direction:column;gap:16px}

/* ── 영상 ── 풀폭에선 열 너비에 맞춰 16:9 로 꽉 참(레터박스 제거) ── */
.lop-video{position:relative;aspect-ratio:16/9;background:#000;border-radius:14px;overflow:hidden;box-shadow:0 8px 26px rgba(0,0,0,.16)}
.lop-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.lop-waiting{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
	background:repeating-linear-gradient(45deg,#141518,#141518 14px,#17181C 14px,#17181C 28px)}
.lop-waiting .lop-k{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--lop-green)}
.lop-waiting .lop-t{font-size:20px;font-weight:800;color:#fff;letter-spacing:-.02em}
.lop-waiting .lop-s{font-size:11px;color:rgba(255,255,255,.35)}
.lop-badge{position:absolute;left:14px;top:14px;display:flex;align-items:center;gap:8px;background:rgba(0,0,0,.55);border-radius:99px;padding:6px 12px 6px 11px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.lop-badge .lop-dot{width:8px;height:8px;border-radius:50%;background:var(--lop-green);animation:lopPulse 1.6s ease-in-out infinite}
.lop-badge .lop-live{font-size:11px;font-weight:800;letter-spacing:.08em;color:#fff}
.lop-badge .lop-cnt{font-size:11px;color:rgba(255,255,255,.65)}

/* 종료 안내(after) · 준비 중(prep) — iframe 대신 표시(다시보기 비공개/다음 회차 미정) */
.lop-ended,.lop-prep{background:radial-gradient(130% 100% at 72% 28%,rgba(30,135,90,.16) 0%,#15171b 46%,#0f1013 100%)}
.lop-ended-badge{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;margin-bottom:4px}
.lop-ended-badge svg{width:26px;height:26px;color:rgba(255,255,255,.9)}
.lop-ended .lop-t,.lop-prep .lop-t{font-size:21px}
.lop-ended .lop-s,.lop-prep .lop-s{font-size:12px;color:rgba(255,255,255,.5)}

/* ── 소개 ── (제목은 헤더로 이동, 여기선 본문만) */
.lop-intro{background:var(--lop-panel);border:1px solid var(--lop-panel-bd);border-radius:14px;padding:18px 22px}
.lop-intro p{margin:0;font-size:13.5px;line-height:1.75;color:var(--lop-ink2);max-width:640px}
.lop-intro a{color:var(--lop-brand);font-weight:600;text-decoration:none}
.lop-intro a:hover{text-decoration:underline}

/* ── 레일 패널 공통 ── */
.lop-panel{background:var(--lop-panel);border:1px solid var(--lop-panel-bd);border-radius:14px;padding:18px 18px 16px}
.lop-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:8px}
.lop-cap{font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--lop-ink)}
.lop-pill-green{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:var(--lop-brand);white-space:nowrap}
/* 비로그인 파일 패널 — 실제 화면을 blur 로 깔고 로그인 오버레이(프로스티드 페이월) */
.lop-files-gate{position:relative;overflow:hidden;padding:0;min-height:220px}
.lop-files-blur{padding:18px;filter:blur(7px);opacity:.6;pointer-events:none;user-select:none;transform:scale(1.04)}
.lop-files-gate-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px 18px;background:linear-gradient(180deg,rgba(247,247,245,.55),rgba(247,247,245,.82))}
.lop-files-gate-ic{color:var(--lop-brand);opacity:.92}
.lop-files-gate-ic svg{display:block}
.lop-files-gate-t{font-size:14.5px;font-weight:800;color:var(--lop-ink);line-height:1.45}
.lop-files-gate-overlay .lop-btn-attend{width:100%;max-width:220px}
/* 데스크탑 2열: 좌측 영상 높이에 맞춰 패널 늘림(오버레이가 세로 중앙 정렬) */
@media (min-width:901px){
	.lop-body:has(.lop-files-gate){align-items:stretch}
	.lop-body:has(.lop-files-gate) .lop-panel-files{flex:1}
}

/* 라이브 참여 인원 — 진행 중에만: dot(라이브 신호) + 1분 캐시 수치 */
.lop-live-count{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:var(--lop-brand);white-space:nowrap}
.lop-live-dot{width:7px;height:7px;border-radius:50%;background:var(--lop-green);box-shadow:0 0 0 3px rgba(46,212,122,.18);animation:lopPulse 1.6s ease-in-out infinite;flex:none}

/* ── 출석 버튼/상태 ── */
.lop-btn-attend{display:block;margin-top:10px;background:var(--lop-brand);color:#fff;border-radius:6px;padding:13px;text-align:center;font-weight:800;font-size:16px;cursor:pointer;border:0;width:100%;font-family:inherit;line-height:1.2;text-decoration:none;box-shadow:0 8px 22px rgba(30,135,90,.28)}
.lop-btn-attend:hover{background:var(--lop-brand-hover);color:#fff}
.lop-btn-attend:disabled{opacity:.7;cursor:default}
.lop-btn-sub{margin-top:8px;text-align:center;font-size:11px;color:var(--lop-muted)}
.lop-btn-sub.dim{color:var(--lop-faint)}
.lop-btn-off{background:var(--lop-off);color:var(--lop-off-ink);border-radius:11px;padding:16px;text-align:center;font-weight:700;font-size:14px}
/* 출석 완료 — 초록 원 안 흰 체크 + 아래 "출석 완료" (뱃지 박스 없음) */
.lop-attend-done{display:flex;flex-direction:column;align-items:center;gap:11px;padding:8px 0 4px}
.lop-attend-done .lop-check{position:relative;width:48px;height:48px;border-radius:50%;background:var(--lop-brand);display:inline-flex;align-items:center;justify-content:center;flex:none}
.lop-attend-done .lop-check svg{width:26px;height:26px;display:block;color:#fff}
.lop-attend-done .lop-check svg path{stroke-dasharray:26}
.lop-attend-done-t{font-size:15px;font-weight:800;color:var(--lop-ink);letter-spacing:-.01em}
/* 출석 대기 중(미출석) — 회색 원 + 회색 시계 아이콘(체크 아님) + 회색 라이브 펄스(심장처럼 퍼짐) */
.lop-attend-pre .lop-check{background:var(--lop-dash)}
.lop-attend-pre .lop-check svg{color:var(--lop-muted);position:relative;z-index:1}
.lop-attend-pre .lop-check svg *{stroke-dasharray:none}
.lop-attend-pre .lop-attend-done-t{color:var(--lop-muted)}
.lop-attend-pre .lop-check::before,.lop-attend-pre .lop-check::after{content:"";position:absolute;inset:0;border-radius:50%;border:1.5px solid var(--lop-faint);opacity:0;animation:lopWaitPulse 2.4s ease-out infinite}
.lop-attend-pre .lop-check::after{animation-delay:1.2s}
@keyframes lopWaitPulse{0%{transform:scale(1);opacity:.28}100%{transform:scale(2.1);opacity:0}}
@media (prefers-reduced-motion:reduce){.lop-attend-pre .lop-check::before,.lop-attend-pre .lop-check::after{animation:none}}
/* 토스식 완료 셀레브레이션 — 방금 출석 시(.lop-celebrate)만: 원 스프링 팝 + 체크 드로잉 + 링 뾰로롱 + 텍스트 페이드업 */
@keyframes lopPop{0%{transform:scale(.5);opacity:0}55%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
@keyframes lopCheckDraw{from{stroke-dashoffset:26}to{stroke-dashoffset:0}}
@keyframes lopRing{0%{transform:scale(.6);opacity:.55}100%{transform:scale(1.7);opacity:0}}
@keyframes lopFadeUp{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.lop-attend-done.lop-celebrate .lop-check{animation:lopPop .5s cubic-bezier(.34,1.56,.64,1) both}
.lop-attend-done.lop-celebrate .lop-check svg path{animation:lopCheckDraw .4s ease .14s both}
.lop-attend-done.lop-celebrate .lop-check::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2.5px solid var(--lop-brand);animation:lopRing .6s ease-out .1s both}
.lop-attend-done.lop-celebrate .lop-attend-done-t{animation:lopFadeUp .4s ease .24s both}
@media (prefers-reduced-motion:reduce){
	.lop-attend-done.lop-celebrate .lop-check,.lop-attend-done.lop-celebrate .lop-check svg path,.lop-attend-done.lop-celebrate .lop-check::after,.lop-attend-done.lop-celebrate .lop-attend-done-t{animation:none}
	.lop-attend-done.lop-celebrate .lop-check svg path{stroke-dashoffset:0}
}

/* ── 출석 현황 (펼침/접기) ── */
.lop-list-toggle{margin-top:12px;width:100%;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;border:1px solid var(--lop-dash);border-radius:10px;font-size:12px;font-weight:700;color:#5A5A5E;cursor:pointer;background:#fff;font-family:inherit}
.lop-list-toggle:hover{background:#FAFAF8}
#lop-list-box{margin-top:12px}
.lop-list{display:flex;flex-direction:column;gap:4px;max-height:404px;overflow-y:auto}
.lop-li{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:10px}
.lop-li.me{background:var(--lop-brand-soft);border:1px solid var(--lop-brand-strong)}
.lop-rank{font-family:ui-monospace,monospace;font-size:10.5px;font-weight:700;color:var(--lop-faint);flex:none;min-width:26px}
.lop-li.me .lop-rank{color:var(--lop-brand)}
.lop-av{width:24px;height:24px;border-radius:50%;font-size:10px;font-weight:800;display:grid;place-items:center;flex:none;background:#E4EBE6;color:#5A6B60;overflow:hidden}
.lop-av.me{background:var(--lop-brand);color:#fff}
.lop-av img{width:100%;height:100%;object-fit:cover;display:block}
.lop-name{flex:1;min-width:0;font-size:12.5px;font-weight:600;color:#3A3A3C;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lop-li.me .lop-name{font-weight:700;color:var(--lop-ink)}
.lop-tag-me{font-size:9.5px;font-weight:800;color:#fff;background:var(--lop-brand);border-radius:4px;padding:1.5px 5px;margin-left:3px}
.lop-streak{font-size:10.5px;font-weight:700;color:var(--lop-muted);flex:none}
.lop-li.me .lop-streak{color:var(--lop-brand)}
.lop-time{font-family:ui-monospace,monospace;font-size:10.5px;color:var(--lop-faint);flex:none}
.lop-li.me .lop-time{color:var(--lop-brand)}
.lop-list-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px}
.lop-more{font-size:11px;color:var(--lop-muted)}
.lop-list-all{border:0;background:none;padding:0;font-family:inherit;font-size:11px;font-weight:700;color:var(--lop-brand);cursor:pointer}
.lop-list-all:hover{text-decoration:underline}
.lop-list-collapse{display:flex;align-items:center;gap:5px;border:0;background:none;padding:0;font-family:inherit;font-size:11px;font-weight:700;color:var(--lop-muted);cursor:pointer}
.lop-list-collapse:hover{color:var(--lop-ink)}
.lop-list-loading{padding:14px 10px;text-align:center;font-size:11.5px;color:var(--lop-muted)}

/* ── 실습 파일 — 대표 1개 히어로 ── */
.lop-file-hero{padding:18px 16px;border-radius:11px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:8px}
.lop-file-hero.locked{border:1px dashed var(--lop-dash)}
.lop-file-hero.open{border:1px solid var(--lop-line)}
.lop-file-name-row{display:flex;align-items:center;gap:9px;max-width:100%}
.lop-file-name-row .lop-fname{font-size:13.5px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lop-link-tag{font-weight:800;color:var(--lop-brand)}
.lop-file-hero.locked .lop-fname{color:var(--lop-faint)}
.lop-file-hero.open .lop-fname{color:var(--lop-ink)}
.lop-file-name-row .lop-size{font-size:11px;flex:none}
.lop-file-hero.locked .lop-size{color:var(--lop-faint2)}
.lop-file-hero.open .lop-size{color:var(--lop-faint)}
.lop-btn-file{width:100%;padding:13px;border-radius:10px;text-align:center;font-weight:800;font-size:14.5px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.lop-btn-file.locked{background:var(--lop-off);color:var(--lop-off-ink);font-size:14px}
.lop-btn-file.open{background:var(--lop-brand);color:#fff;cursor:pointer;box-shadow:0 6px 16px rgba(30,135,90,.22)}
.lop-btn-file.open:hover{background:var(--lop-brand-hover);color:#fff}
.lop-file-unlock{font-size:11.5px;font-weight:700;color:var(--lop-brand)}
.lop-extra{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.lop-extra-label{font-size:10.5px;font-weight:700;letter-spacing:.04em;color:var(--lop-faint);padding:0 2px}
.lop-fi{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--lop-line);border-radius:10px;background:#fff}
.lop-fi .lop-fname{flex:1;min-width:0;font-size:12px;font-weight:600;color:var(--lop-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lop-dl-sm{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:var(--lop-brand) !important;border:1px solid var(--lop-brand-bd);border-radius:7px;padding:5px 9px;cursor:pointer;flex:none;text-decoration:none}
.lop-dl-sm:hover{background:var(--lop-brand-tint)}
.lop-files-none{padding:22px 14px;border:1px dashed var(--lop-dash);border-radius:11px;text-align:center;font-size:12px;line-height:1.6;color:var(--lop-muted);background:#fff}

/* 출석 완료 → 실습 파일 해금: 게임식 화려 이펙트 (글로우 플래시·스타버스트·충격파·파티클·오픈락 배지·샤인) */
.lop-files-unlock{position:relative}
.lop-unlock-fx{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:visible}
.lop-unlock-fx>span{position:absolute;left:50%;top:50%}
/* 글로우 플래시(뒤 블룸) */
.lop-unlock-glow{width:190px;height:190px;margin:-95px 0 0 -95px;border-radius:50%;background:radial-gradient(circle,rgba(46,212,122,.6) 0%,rgba(46,212,122,.28) 34%,transparent 70%);filter:blur(6px);opacity:0;animation:lopGlowFlash .9s ease-out forwards}
@keyframes lopGlowFlash{0%{opacity:0;transform:scale(.3)}18%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.6)}}
/* 스타버스트 광선(마스크로 링 형태) */
.lop-unlock-rays{width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(180,255,214,.9) 0deg 4deg,transparent 4deg 22deg);-webkit-mask:radial-gradient(circle,transparent 24px,#000 27px,#000 62px,transparent 70px);mask:radial-gradient(circle,transparent 24px,#000 27px,#000 62px,transparent 70px);opacity:0;animation:lopRays .7s ease-out forwards}
@keyframes lopRays{0%{opacity:0;transform:scale(.35) rotate(-24deg)}22%{opacity:.95}100%{opacity:0;transform:scale(1.35) rotate(18deg)}}
/* 충격파 링 2겹 */
.lop-unlock-ring{width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;border:3px solid var(--lop-green);opacity:0}
.lop-unlock-ring1{animation:lopShock .85s ease-out .04s forwards}
.lop-unlock-ring2{border-width:2px;animation:lopShock .85s ease-out .18s forwards}
@keyframes lopShock{0%{opacity:.8;transform:scale(.5)}100%{opacity:0;transform:scale(3.4)}}
/* 파티클 스파클(각도별 발사) */
.lop-unlock-particles{width:0;height:0}
.lop-unlock-particles i{position:absolute;left:0;top:0;width:var(--sz,7px);height:var(--sz,7px);margin:calc(var(--sz,7px) / -2);border-radius:50%;background:var(--lop-green);box-shadow:0 0 6px rgba(46,212,122,.9);opacity:0;animation:lopParticle .8s ease-out forwards}
.lop-unlock-particles i:nth-child(even){background:#B6FFD5}
@keyframes lopParticle{0%{opacity:0;transform:rotate(var(--a)) translateX(8px) scale(1.2)}18%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateX(var(--d,60px)) scale(.2)}}
/* 오픈락 배지(중앙, 글로우) */
.lop-unlock-badge{width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;background:linear-gradient(145deg,#43E58C,var(--lop-brand));display:flex;align-items:center;justify-content:center;box-shadow:0 6px 22px rgba(30,135,90,.55),0 0 24px rgba(46,212,122,.7);opacity:0;animation:lopBadgePop .95s cubic-bezier(.3,1.7,.5,1) forwards}
.lop-unlock-badge svg{color:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
@keyframes lopBadgePop{0%{opacity:0;transform:scale(.3) rotate(-14deg)}28%{opacity:1;transform:scale(1.14) rotate(3deg)}44%{transform:scale(.98) rotate(0)}66%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.5)}}
/* 콘텐츠 리빌 + 샤인 스윕 + 글로우 */
.lop-files-unlock .lop-file-hero{position:relative;overflow:hidden;animation:lopUnlockReveal .55s cubic-bezier(.2,.9,.3,1) .34s both,lopHeroGlow 1s ease .5s}
.lop-files-unlock .lop-extra{animation:lopUnlockReveal .55s ease .44s both}
.lop-files-unlock .lop-file-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.65) 50%,transparent 68%);transform:translateX(-130%);animation:lopShine .85s ease .5s both;pointer-events:none}
@keyframes lopUnlockReveal{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes lopShine{to{transform:translateX(130%)}}
@keyframes lopHeroGlow{0%,100%{box-shadow:0 0 0 0 transparent}40%{box-shadow:0 0 20px 2px rgba(46,212,122,.5)}}
@media (prefers-reduced-motion:reduce){
	.lop-unlock-fx{display:none}
	.lop-files-unlock .lop-file-hero,.lop-files-unlock .lop-extra,.lop-files-unlock .lop-file-hero::after{animation:none}
}

/* ── 이전 라이브 다시보기 (하단, 12h 캐시) ── */
.lop-prevlives{border-top:1px solid var(--lop-panel-bd);background:var(--lop-panel)}
.lop-prevlives-inner{padding:26px max(26px,calc((100% - var(--lop-cap)) / 2)) 34px}
.lop-prevlives-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.lop-prevlives-head h2{margin:0;font-size:15px;font-weight:800;letter-spacing:-.01em;color:var(--lop-ink)}
.lop-prevlives-all{font-size:12px;font-weight:700;color:var(--lop-muted) !important;flex:none;text-decoration:none}
.lop-prevlives-all:hover{color:var(--lop-brand) !important}
.lop-prevlives-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:8px;-webkit-overflow-scrolling:touch}
.lop-prevlives-grid::-webkit-scrollbar{height:6px}
.lop-prevlives-grid::-webkit-scrollbar-thumb{background:var(--lop-panel-bd);border-radius:3px}
.lop-prevlives-grid::-webkit-scrollbar-track{background:transparent}
.lop-pl-card{flex:0 0 210px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;text-decoration:none}
.lop-pl-thumb{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#E4EBE6;display:block}
.lop-pl-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.lop-pl-card:hover .lop-pl-thumb img{transform:scale(1.04)}
.lop-pl-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:50%;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.lop-pl-play svg{width:15px;height:15px;fill:#fff;margin-left:2px}
.lop-pl-title{font-size:12.5px;font-weight:700;color:var(--lop-ink);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lop-pl-card:hover .lop-pl-title{color:var(--lop-brand)}
.lop-pl-date{font-size:11px;font-weight:600;color:var(--lop-faint)}

/* ⚡ 비로그인 게이트(저부하) — 출석/명단/파일 쿼리 없이 렌더 */
.lop-gate{min-height:68vh;display:flex;align-items:center;justify-content:center;padding:48px 20px;background:var(--lop-panel)}
.lop-gate-card{width:100%;max-width:460px;background:#fff;border:1px solid var(--lop-panel-bd);border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,.06),0 14px 44px rgba(0,0,0,.07);padding:40px 32px;text-align:center}
.lop-gate-badge{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;font-weight:800;letter-spacing:.04em;color:var(--lop-brand);background:var(--lop-brand-soft);border-radius:99px;padding:5px 13px;margin-bottom:18px}
.lop-gate-title{margin:0;font-size:20px;font-weight:800;letter-spacing:-.02em;color:var(--lop-ink);line-height:1.4}
.lop-gate-when{margin:10px 0 0;font-size:13px;font-weight:600;color:var(--lop-muted)}
.lop-gate-desc{margin:16px 0 24px;font-size:13.5px;line-height:1.7;color:var(--lop-ink2)}
.lop-gate-btn{display:block;background:var(--lop-brand);color:#fff;border-radius:11px;padding:15px;font-weight:800;font-size:15px;text-decoration:none;box-shadow:0 8px 22px rgba(30,135,90,.24)}
.lop-gate-btn:hover{background:var(--lop-brand-hover);color:#fff}

/* ── 반응형 ── */
@media (max-width:900px){
	.lop-hdr{padding:26px 18px 22px}
	.lop-hdr-lead{gap:12px}
	.lop-title{font-size:20px}
	/* 1열 전환 + CTA 우선순위: 영상 → 출석 → 소개 → 파일 (README §6) */
	.lop-body{display:flex;flex-direction:column;gap:16px;padding:16px 18px 22px}
	.lop-col-main,.lop-col-rail{display:contents}
	.lop-video{order:1}
	.lop-panel-attend{order:2}
	.lop-intro{order:3}
	.lop-panel-files{order:4}
	.lop-btn-attend,.lop-btn-off,.lop-btn-file,.lop-list-toggle,.lop-gate-btn{min-height:44px}
	.lop-dl-sm{padding:8px 12px}
	.lop-gate-card{padding:32px 22px}
	.lop-prevlives-inner{padding:22px 18px 28px}
	.lop-prevlives-grid{grid-template-columns:repeat(2,1fr);gap:12px}
}
