/* 프로모션 카드 추가 요소 + 인플루언서 선택 창 — 메인 페이지(index.php) · 프로모션 모음(/deals/) 공용 (2026-10-19)
   기본 카드 모양(.promo-card · .promo-media · .promo-body 등)은 각 페이지 스타일에 있음 */
.promo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.promo-meta .promo-with { align-self: auto; }
.promo-cat { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 800; }
.cat-stay { background: #eef2ff; color: #2348d4; }
.cat-travel { background: #e4f6ee; color: #047857; }
.promo-price { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; color: #0f172a; font-size: 14px; }
.promo-price span { color: #94a3b8; font-weight: 600; font-size: 13px; }
.promo-price b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.promo-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-weight: 800; font-size: 14.5px; color: #fff; background: linear-gradient(135deg, #2348d4, #3b6cf6); border: 0; border-radius: 10px; padding: 9px 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.promo-card[data-cat="travel"] .promo-cta { background: #047857; }
.promo-cta.is-off { background: #f1f5f9; color: #64748b; cursor: default; }
.promo-cta i { transition: transform .2s; }
.promo-card:hover .promo-cta:not(.is-off) i { transform: translateX(3px); }
[data-deal-card] { cursor: pointer; }
.promo-cta:focus-visible, .promo-card:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

/* ---------- 인플루언서 선택 창 (lib/deals_ui/chooser.php) ---------- */
.dc-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.dc-overlay[hidden] { display: none; }
.dc-box { width: 100%; max-width: 440px; max-height: min(640px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: 0 30px 70px rgba(15, 23, 42, .3); overflow: hidden; }
.dc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 22px 12px; }
.dc-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #7c3aed; }
.dc-head h3 { margin: 4px 0 2px; font-size: 20px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; line-height: 1.35; }
.dc-head p { font-size: 14px; color: #64748b; }
.dc-close { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f5f9; color: #64748b; font-size: 20px; line-height: 1; cursor: pointer; }
.dc-search { padding: 0 22px 10px; }
.dc-search input { width: 100%; padding: 11px 14px; border: 1px solid #e6eaf1; border-radius: 12px; font-size: 15px; font-family: inherit; }
.dc-list { overflow-y: auto; padding: 4px 14px 8px; display: grid; gap: 6px; }
.dc-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #e6eaf1; border-radius: 14px; color: #0f172a; text-decoration: none; font-weight: 700; font-size: 15.5px; }
.dc-item:hover, .dc-item:focus-visible { border-color: #7c3aed; background: #f3eeff; outline: none; }
.dc-avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; background: linear-gradient(135deg, #7c3aed, #3b6cf6); }
.dc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-item i { color: #94a3b8; }
.dc-empty { padding: 18px; text-align: center; color: #94a3b8; font-size: 14px; }
.dc-foot { padding: 12px 22px 20px; border-top: 1px solid #f1f5f9; display: grid; gap: 8px; }
.dc-note { font-size: 12.5px; color: #64748b; line-height: 1.6; }
.dc-skip { font-size: 13.5px; font-weight: 700; color: #64748b; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
@media (max-width: 560px) {
    .dc-overlay { align-items: flex-end; padding: 0; }
    .dc-box { max-width: none; border-radius: 20px 20px 0 0; max-height: 85vh; padding-bottom: env(safe-area-inset-bottom); }
}
