/* 홈 팝업 카드 (WEB-N-135, 대표 2026-11-29) — 카드 425px (처음 340px 의 1.25배) · 높이 약 1.6배 (530px),
   넓은 화면(1000px 이상) 2장 나란히 · 그보다 좁으면 1장. 배경은 홈이 비치게 35% */
.pd-overlay { position:fixed; inset:0; z-index:100; background:rgba(0,0,0,.35); display:flex; align-items:center; justify-content:center; padding:16px; }
.pd-overlay[hidden] { display:none; }
.pd-deck { display:flex; flex-direction:column; align-items:center; gap:10px; max-width:100%; animation:pdIn .25s ease-out; }
@keyframes pdIn { from { opacity:0; transform:translateY(8px) scale(.98); } to { opacity:1; transform:none; } }
.pd-row { display:flex; align-items:center; gap:10px; }
.pd-cards { display:flex; gap:14px; align-items:stretch; }
.pd-card { width:425px; max-width:calc(100vw - 32px); min-height:min(530px, calc(100vh - 140px)); background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 16px 40px rgba(0,0,0,.3); display:flex; flex-direction:column; max-height:calc(100vh - 140px); }
.pd-card[hidden] { display:none; }
.pd-img { position:relative; aspect-ratio:16 / 9; flex-shrink:0; background:#f3f4f6; }
.pd-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }   /* 16:9 칸을 그림 크기가 늘리지 않게 (YouTube 4:3 썸네일의 검은 띠도 잘린다) */
.pd-announcement .pd-img.pd-noimg { background:linear-gradient(135deg,#fef3c7,#fff 55%,#ffedd5); }
.pd-update .pd-img.pd-noimg { background:linear-gradient(135deg,#dbeafe,#fff 55%,#ede9fe); }
.pd-yt { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:64px; height:45px; border-radius:12px; background:#ef4444; color:#fff; display:grid; place-items:center; font-size:19px; padding-left:3px; }
.pd-badge { position:absolute; left:12px; top:12px; font-size:12px; font-weight:800; padding:3px 10px; border-radius:999px; color:#fff; }
.pd-announcement .pd-badge { background:#d97706; } .pd-update .pd-badge { background:#2563eb; }
.pd-x { position:absolute; right:10px; top:10px; width:28px; height:28px; border:0; border-radius:50%; background:rgba(0,0,0,.45); color:#fff; font-size:13px; cursor:pointer; }
.pd-x:hover { background:rgba(0,0,0,.7); }
.pd-body { padding:16px 20px 6px; flex:1; min-height:0; overflow:hidden; }
.pd-meta { display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:12px; color:#9a9087; }
.pd-meta .pd-imp { background:#fee2e2; color:#b91c1c; font-weight:800; border-radius:5px; padding:0 6px; }
.pd-meta .pd-ver { background:#fef3c7; color:#92400e; font-weight:800; border-radius:5px; padding:0 6px; }
.pd-meta .pd-prod { background:#dbeafe; color:#1d4ed8; font-weight:800; border-radius:5px; padding:0 6px; }
.pd-body h3 { margin:8px 0 8px; font-size:18px; line-height:1.35; color:#1f1a14; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pd-body p { margin:0; color:#555; font-size:14.5px; line-height:1.6; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; }
.pd-go { display:block; margin:12px 20px 18px; text-align:center; padding:11px; font-size:15px; border-radius:10px; font-weight:800; color:#fff; text-decoration:none; }
.pd-announcement .pd-go { background:#d97706; } .pd-announcement .pd-go:hover { background:#b45309; }
.pd-update .pd-go { background:#2563eb; } .pd-update .pd-go:hover { background:#1d4ed8; }
.pd-arrow { width:38px; height:38px; flex-shrink:0; border:0; border-radius:50%; background:#fff; color:#333; font-size:22px; font-weight:900; line-height:1; cursor:pointer; box-shadow:0 4px 12px rgba(0,0,0,.25); }
.pd-arrow[hidden] { display:none; }
.pd-arrow:disabled { opacity:.35; cursor:default; }
.pd-bar { display:flex; align-items:center; gap:10px; background:rgba(20,14,10,.82); color:#fff; border-radius:999px; padding:6px 8px 6px 16px; font-size:13px; }
.pd-bar label { display:flex; gap:6px; align-items:center; cursor:pointer; user-select:none; }
.pd-page { font-weight:800; }
.pd-page:empty { display:none; }
.pd-close { border:0; background:#fff; color:#1f1a14; border-radius:999px; padding:5px 14px; font-weight:800; cursor:pointer; }
.pd-dots { display:none; gap:6px; }
.pd-dots i { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.55); }
.pd-dots i.on { width:18px; border-radius:4px; background:#fff; }
@media (max-width:767px) {
  .pd-arrow { display:none !important; }
  .pd-dots { display:flex; }
  .pd-card { width:360px; min-height:0; }
  .pd-body p { -webkit-line-clamp:4; }
  .pd-bar { font-size:12px; }
}
