/* 닉네임을 누르면 뜨는 프로필 카드(2026-11-12, js/lx_profile_pop.js). 역량 카드 v2 모양을 .lx-pop 안으로 한정해 다시 둔다
   (community.css 가 없는 문제 목록·실습 화면에서도 같은 모양). */
.lx-name-link { cursor: pointer; }
.lx-name-link:hover, .lx-name-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; outline: 0; }
.lx-pop { position: fixed; z-index: 10060; width: 380px; max-width: calc(100vw - 24px); box-sizing: border-box; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e5e7eb, 0 18px 40px -12px rgba(15, 23, 42, .28); font-family: inherit; color: #0f172a; animation: lxPopIn .14s ease-out; }
@keyframes lxPopIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.lx-pop-head { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; }
.lx-pop-head strong { font-size: 15px; font-weight: 800; }
.lx-pop-head em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #1d4ed8; background: #eff6ff; border-radius: 999px; padding: 1px 7px; }
.lx-pop-msg { margin: 6px 2px 4px; font-size: 13.5px; color: #64748b; line-height: 1.6; }
.lx-pop-note { margin: 10px 2px 0; font-size: 12px; color: #94a3b8; }
.lx-pop-note a { color: #2563eb; font-weight: 700; text-decoration: none; }
.lx-pop-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 2px 0; }
.lx-pop-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #f8fafc; box-shadow: inset 0 0 0 1px #e2e8f0; font-size: 12.5px; font-weight: 600; color: #475569; white-space: nowrap; }
.lx-pop-badge b { color: #0f172a; font-weight: 800; }
.lx-pop-badge.is-gold { background: #fffbeb; box-shadow: inset 0 0 0 1px #f5deb0; color: #92400e; }
.lx-pop-badge.is-gold b { color: #b45309; }
.lx-pop-badge.is-live { background: #eff6ff; box-shadow: inset 0 0 0 1px #cfe0fb; color: #1d4ed8; }
/* 역량 카드(v2) */
.lx-pop .lx-pcard.is-row { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border-radius: 14px; background: linear-gradient(120deg, #fff 0%, #f7f9ff 55%, #eef3ff 100%); box-shadow: inset 0 0 0 1px #e3e8f3; }
.lx-pop .lx-pcard > * { position: relative; z-index: 1; }
.lx-pop .lx-pcard-tile { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e6ebf5; display: grid; place-items: center; }
.lx-pop .lx-pcard-mini { width: 44px; height: 44px; display: block; }
.lx-pop .lx-pcard-mini .ring { fill: none; stroke: #e9ecf1; stroke-width: 1.2; }
.lx-pop .lx-pcard-mini .ring.outer { stroke: #d5dae2; }
.lx-pop .lx-pcard-mini .area { fill: rgba(37, 99, 235, .18); stroke: #2563eb; stroke-width: 2; stroke-linejoin: round; }
.lx-pop .lx-pcard-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lx-pop .lx-pcard-eyebrow { display: flex; gap: 6px; font-size: 11px; }
.lx-pop .lx-pcard-eyebrow span { font-weight: 800; color: #2563eb; letter-spacing: .04em; }
.lx-pop .lx-pcard-eyebrow em { font-style: normal; color: #94a3b8; }
.lx-pop .lx-pcard-eyebrow em::before { content: "·"; margin-right: 6px; color: #cbd5e1; }
.lx-pop .lx-pcard-row-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.lx-pop .lx-pcard-row-title strong { font-size: 15px; font-weight: 800; letter-spacing: -.02em; color: #0f172a; }
.lx-pop .lx-pcard-row-title i { font-style: normal; font-size: 11.5px; font-weight: 700; color: #334155; background: #fff; box-shadow: inset 0 0 0 1px #e2e8f0; border-radius: 999px; padding: 1px 7px; }
.lx-pop .lx-pcard-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.lx-pop .lx-pcard-chips span { display: inline-flex; align-items: baseline; gap: 3px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px #e2e8f0; font-size: 12px; color: #64748b; white-space: nowrap; }
.lx-pop .lx-pcard-chips b { font-size: 12.5px; font-weight: 800; color: #0f172a; }
.lx-pop .lx-pcard-chips small { font-size: 11.5px; color: #94a3b8; }
.lx-pop .lx-pcard-chips .is-top { background: #2563eb; box-shadow: none; color: #dbeafe; }
.lx-pop .lx-pcard-chips .is-top b { color: #fff; }
.lx-pop .lx-pcard.tier-t4 { background: linear-gradient(120deg, #fff 0%, #fffaf0 55%, #fdf1d8 100%); box-shadow: inset 0 0 0 1px #f1e2bf; }
.lx-pop .lx-pcard.tier-t4 .lx-pcard-mini .area { fill: rgba(217, 119, 6, .2); stroke: #d97706; }
.lx-pop .lx-pcard.tier-t4 .lx-pcard-eyebrow span { color: #b45309; }
.lx-pop .lx-pcard.tier-t4 .lx-pcard-chips .is-top { background: #d97706; color: #fef3c7; }
.lx-pop-backdrop { position: fixed; inset: 0; z-index: 10059; background: rgba(15, 23, 42, .25); }
@media (max-width: 600px) {
  .lx-pop { left: 8px !important; right: 8px; top: auto !important; bottom: 8px; width: auto; max-width: none; border-radius: 18px; }
}
/* 닫기 버튼 = 공통 .terms-modal-close-btn(style_common.css). 공통 CSS 가 없는 페이지 대비 최소 모양도 둔다 */
.lx-pop .lx-pop-close { position: absolute; top: 10px !important; right: 10px !important; margin: 0; width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: #6B7280; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.lx-pop .lx-pop-close:hover { background: #F3F4F6; color: #111827; }
.lx-pop .lx-pop-close svg { width: 18px; height: 18px; }
.lx-pop-head { padding-right: 36px; min-height: 28px; }
.lx-pop:focus { outline: 0; }
