/*
 * 퀀트픽 공개 종목 화면 (.qpr)
 * 블로그(/pol/quantpick.php)와 앱 서비스 페이지(wrapsonpick_public.php)가 같은 파일을 쓴다.
 * 블로그 쪽은 blog/cron/auto_make_quantpick.php 가 이 파일을 pol/quantpick/qpr.css 로 복사한다.
 * 모든 선택자는 .qpr 안에서만 동작한다. (원본: 261123 홍보 블로그게시글 시안)
 */
.qpr {
    --ink: #181614; --ink-soft: #2E2A27; --sub: #57524B; --mute: #8C8377;
    --line: #E5DDD0; --line-strong: #D2C6B4; --line-2: #F0EAE0;
    --warm: #FBF7F0; --warm-2: #F2EBE0; --warm-3: #E6DDD0;
    --up: #E60012; --up-soft: #FFF2F2; --up-line: #F5C2C2;
    --down: #0457D8; --down-soft: #F0F6FF; --down-line: #C9DDF8;
    --for: #1565C0; --ins: #2E7D32; --pen: #C62828;
    --coral-top: #D78A79; --coral-mid: #D96D57; --coral-btm: #C85A49; --coral-box: #FBE7E1;
    --coral-ink: #4B2E2A; --coral-sub: #6F5B56; --coral-pill-bg: #FFF4E6; --coral-pill-fg: #D96852;
    background:
        radial-gradient(circle at 18% 2%, rgba(255, 244, 226, 0.85), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(242, 235, 224, 0.72), transparent 30%),
        #F5F2EC;
    border-radius: 24px;
    color: var(--ink);
    font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 15px;
    letter-spacing: -0.02em;
    line-height: 1.5;
    margin: 0 0 8px;
    padding: 18px 16px 6px;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
.qpr *, .qpr *::before, .qpr *::after { box-sizing: border-box; }
.qpr p, .qpr ul, .qpr ol, .qpr h2, .qpr h3, .qpr figure, .qpr table { margin: 0; }
.qpr ul, .qpr ol { padding: 0; }
.qpr h2, .qpr h3 { font: inherit; color: inherit; letter-spacing: inherit; }
.qpr a { color: inherit; }
.qpr table { border: 0; border-collapse: collapse; width: 100%; }
.qpr th, .qpr td { border: 0; }
.qpr .up { color: var(--up); }
.qpr .down { color: var(--down); }
.qpr .num { font-family: Georgia, "Times New Roman", serif; font-variant-numeric: tabular-nums; }

/* 섹션 레일 (앱 .wsp-sec 그대로) */
.qpr .sec { margin: 0 0 20px; }
.qpr .sec-hd { align-items: center; display: grid; gap: 9px; grid-template-columns: 28px minmax(0, 1fr) auto; margin: 0 3px 9px; padding-left: 11px; position: relative; }
.qpr .sec-hd::before { background: linear-gradient(180deg, var(--up) 0%, var(--ink) 100%); border-radius: 3px; bottom: 2px; content: ""; left: 0; position: absolute; top: 2px; width: 4px; }
.qpr .sec-ico { align-items: center; background: var(--warm-2); border: 1px solid var(--line); border-radius: 9px; display: flex; font-size: 15px; height: 28px; justify-content: center; line-height: 1; width: 28px; }
.qpr .sec-tt { min-width: 0; }
.qpr .sec-tt h2 { color: var(--ink); display: block; font-size: 19px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.2; }
.qpr .sec-tt small { color: var(--mute); display: block; font-size: 12px; font-weight: 750; line-height: 1.3; margin-top: 2px; }
.qpr .sec-act { background: var(--warm-2); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 12.5px; font-weight: 900; line-height: 1.2; padding: 5px 10px; white-space: nowrap; }
.qpr .sec-act.lock { background: var(--ink); border-color: var(--ink); color: #fff; }
.qpr .card { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; box-shadow: 0 10px 26px rgba(90, 60, 20, 0.06); padding: 15px 14px 16px; position: relative; }
.qpr .card.ink { border-color: var(--ink); box-shadow: 0 12px 28px rgba(24, 22, 20, 0.08); }
.qpr .card.flush { padding: 0; overflow: hidden; }

/* 0. 한눈에 보기 */
.qpr .sum-list { display: grid; gap: 8px; list-style: none; }
.qpr .sum-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--ink-soft); }
.qpr .sum-list li i { align-items: center; background: var(--warm-2); border: 1px solid var(--line); border-radius: 10px; display: flex; font-size: 17px; font-style: normal; height: 34px; justify-content: center; width: 34px; }
.qpr .sum-list b { color: var(--ink); font-weight: 900; }
.qpr .basis { color: var(--mute); font-size: 12.5px; font-weight: 750; margin-top: 10px; }
.qpr .mini-cta { align-items: center; background: var(--warm); border: 1.5px solid var(--ink); border-radius: 12px; color: var(--ink); display: flex; gap: 9px; font-size: 14px; font-weight: 900; margin-top: 11px; padding: 9px 11px; text-decoration: none; }
.qpr .mini-cta img { border: 1px solid var(--line); border-radius: 8px; height: 28px; width: 28px; }
.qpr .mini-cta span { flex: 1 1 auto; }
.qpr .mini-cta em { font-style: normal; color: var(--mute); }

/* 1. 종목 가격 (앱 가격 카드) */
.qpr .price-row { align-items: flex-end; display: flex; justify-content: space-between; gap: 10px; }
.qpr .price-num { font-family: Georgia, "Times New Roman", serif; font-size: 33px; font-variant-numeric: tabular-nums; font-weight: 900; line-height: 1.05; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.qpr .price-num small { font-family: inherit; font-size: 17.5px; font-weight: 700; }
.qpr .tag-leader { background: var(--warm-2); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); font-size: 13px; font-weight: 900; padding: 6px 10px; white-space: nowrap; }
.qpr .price-subjects { color: var(--sub); display: flex; flex-wrap: wrap; font-size: 13.5px; font-weight: 750; gap: 4px 12px; margin-top: 10px; }
.qpr .price-subjects b { font-weight: 900; }
.qpr .risk { background: var(--up-soft); border: 1px solid var(--up-line); border-radius: 12px; color: #B91C1C; font-size: 13px; font-weight: 850; margin: 12px 4px 0; padding: 10px 12px; text-align: center; }

/* 2. 스마트머니 포착 정보 */
.qpr .basis-row { align-items: center; background: var(--warm); border: 1px solid var(--line); border-radius: 12px; color: var(--ink-soft); display: flex; flex-wrap: wrap; font-size: 13px; font-weight: 750; gap: 6px; line-height: 1.45; margin: 0 0 11px; padding: 8px 11px; }
.qpr .basis-row .lbl { background: var(--warm-2); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 12px; font-weight: 900; padding: 3px 8px; }
.qpr .basis-row strong { color: var(--coral-btm); font-size: 14px; font-weight: 950; }
.qpr .capture { background: linear-gradient(135deg, var(--coral-top) 0%, var(--coral-mid) 58%, var(--coral-btm) 100%); border: 1px solid rgba(255, 244, 230, 0.34); border-radius: 14px; box-shadow: 0 12px 26px rgba(200, 90, 73, 0.24); color: #fff; margin: 0 0 12px; padding: 13px 13px 12px; }
.qpr .capture-head { align-items: flex-start; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; }
.qpr .capture-eyebrow { color: rgba(255, 255, 255, 0.86); display: block; font-size: 13px; font-weight: 900; }
.qpr .capture-title { color: #fff; display: block; font-size: 19px; font-weight: 950; line-height: 1.25; margin-top: 2px; }
.qpr .capture-pill { background: var(--coral-pill-bg); border: 1px solid rgba(255, 244, 230, 0.88); border-radius: 10px; color: var(--coral-pill-fg); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 950; padding: 8px 11px; white-space: nowrap; }
.qpr .capture-desc { color: rgba(255, 255, 255, 0.88); font-size: 13px; font-weight: 800; line-height: 1.45; margin: 6px 0 10px; }
.qpr .capture-grid { background: var(--coral-box); border: 1px solid rgba(255, 244, 230, 0.62); border-radius: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
.qpr .capture-metric { min-width: 0; padding: 10px 9px; }
.qpr .capture-metric + .capture-metric { border-left: 1px solid rgba(75, 46, 42, 0.12); }
.qpr .capture-label { color: var(--coral-ink); display: block; font-size: 12px; font-weight: 850; }
.qpr .capture-value { color: var(--coral-ink); display: block; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 950; margin: 4px 0 2px; }
.qpr .capture-value.up { color: #D96852; }
.qpr .capture-sub { color: var(--coral-sub); display: block; font-size: 11.5px; font-weight: 800; }

.qpr .badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.qpr .badge { align-items: center; border-radius: 12px; display: inline-flex; font-size: 13px; font-weight: 900; gap: 6px; line-height: 1; padding: 7px 10px; }
.qpr .badge.rank { background: var(--warm-2); border: 1px solid var(--line-strong); color: var(--ink); }
.qpr .badge.mega { background: var(--warm); border: 1px solid var(--line-strong); color: var(--ink); }
.qpr .badge.conviction { background: #C62828; color: #fff; }
.qpr .badge.confirm { background: #FFF0E5; box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.18); color: #C2410C; }
.qpr .badge.scout { background: #E3F2FD; box-shadow: inset 0 0 0 1px rgba(21, 101, 192, 0.14); color: #1565C0; }
.qpr .badge.s-for { background: #E3F2FD; color: var(--for); }
.qpr .badge.s-ins { background: #E8F5E9; color: var(--ins); }
.qpr .badge.s-pen { background: #FFE8EC; color: var(--pen); }
.qpr .badge.plain { background: var(--warm-2); border: 1px solid var(--line); color: var(--ink-soft); }

.qpr .kv-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 13px; }
.qpr .kv { background: var(--warm); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 5px 14px rgba(40, 30, 15, 0.04); min-height: 82px; padding: 13px 10px 12px 48px; position: relative; }
.qpr .kv::before { align-items: center; background: linear-gradient(145deg, #181614, #2E2A27); border-radius: 999px; color: #fff; content: attr(data-ico); display: inline-flex; font-size: 15px; font-weight: 900; height: 30px; justify-content: center; left: 10px; position: absolute; top: 15px; width: 30px; }
.qpr .kv.hot::before { background: linear-gradient(145deg, #B3151F, #E60012); }
.qpr .kv-label { color: var(--sub); display: block; font-size: 13px; font-weight: 850; line-height: 1.22; }
.qpr .kv-value { color: var(--ink); display: block; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 900; line-height: 1.1; margin-top: 5px; }
.qpr .kv-suffix { color: var(--mute); display: block; font-size: 12px; font-weight: 800; margin-top: 3px; }

.qpr details.guide { background: var(--warm); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; }
.qpr details.guide summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; font-weight: 900; list-style: none; }
.qpr details.guide summary::-webkit-details-marker { display: none; }
.qpr details.guide summary::after { content: "▼"; color: var(--sub); font-size: 11px; transition: transform .2s ease; }
.qpr details.guide[open] summary::after { transform: rotate(180deg); }
.qpr .guide-list { color: var(--sub); font-size: 13.5px; font-weight: 650; line-height: 1.58; margin: 8px 0 0; padding-left: 17px; }
.qpr .guide-list li + li { margin-top: 3px; }

/* 3. AI 정밀 분석 (잠금) */
.qpr .cmp { align-items: center; background: var(--warm); border: 1px solid var(--line); border-radius: 13px; display: flex; gap: 8px; margin-bottom: 12px; padding: 8px 9px; }
.qpr .cmp-cell { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; flex: 1 1 0; min-width: 0; padding: 7px 9px; }
.qpr .cmp-cell.on { border-color: var(--ink); }
.qpr .cmp-when { color: var(--mute); display: block; font-size: 11.5px; font-weight: 850; }
.qpr .cmp-label { color: #C2410C; display: block; font-size: 14.5px; font-weight: 950; margin-top: 2px; }
.qpr .cmp-label.lk { color: var(--mute); }
.qpr .cmp-arrow { color: var(--mute); font-weight: 900; }
.qpr .lock-area { position: relative; }
.qpr .lock-fake { filter: blur(3.5px); opacity: .7; pointer-events: none; user-select: none; }
.qpr .lock-fake .fk-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.qpr .lock-fake .fk-tags i { background: var(--warm-2); border-radius: 999px; display: block; height: 24px; width: 82px; }
.qpr .lock-fake .fk-line { background: var(--warm-3); border-radius: 6px; height: 13px; margin: 0 0 9px; }
.qpr .lock-box { align-items: center; display: flex; flex-direction: column; gap: 6px; inset: 0; justify-content: center; padding: 10px; position: absolute; text-align: center; }
.qpr .lock-box .lk-ico { align-items: center; background: var(--ink); border-radius: 999px; box-shadow: 0 8px 18px rgba(24,22,20,.25); color: #fff; display: flex; font-size: 19px; height: 42px; justify-content: center; width: 42px; }
.qpr .lock-box strong { font-size: 15px; font-weight: 950; }
.qpr .lock-box span { color: var(--sub); font-size: 13px; font-weight: 750; line-height: 1.45; }
.qpr .lock-items { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 2px; }
.qpr .lock-items em { background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); font-size: 12px; font-style: normal; font-weight: 850; padding: 3px 8px; }
.qpr .note { color: var(--mute); font-size: 12.5px; line-height: 1.5; margin-top: 10px; }

/* 4. 관련 뉴스 (앱 타임라인) */
@keyframes qprPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 95, 0.42); transform: scale(1); }
    52% { box-shadow: 0 0 0 9px rgba(255, 107, 95, 0); transform: scale(1.16); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 95, 0); transform: scale(1); }
}
.qpr .news { list-style: none; position: relative; }
.qpr .news::before { background: var(--line); bottom: 12px; content: ""; left: 7px; position: absolute; top: 12px; width: 2px; }
.qpr .news li { align-items: start; column-gap: 9px; display: grid; grid-template-columns: 16px minmax(0, 1fr); position: relative; }
.qpr .news li + li { margin-top: 10px; }
.qpr .news-dot { background: var(--line-strong); border: 3px solid #fff; border-radius: 999px; height: 16px; margin-top: 15px; position: relative; width: 16px; z-index: 1; }
.qpr .news li.latest .news-dot { animation: qprPulse 1.55s ease-in-out infinite; background: #FF6B5F; }
.qpr .news-body { background: var(--warm); border: 1px solid var(--line); border-radius: 13px; padding: 12px 13px; }
.qpr .news-link { color: var(--ink); display: block; font-size: 15.5px; font-weight: 900; line-height: 1.38; text-decoration: none; }
.qpr .news-meta { color: var(--mute); font-size: 12.5px; font-weight: 750; margin-top: 5px; }

/* 5. 포착가 히스토리 */
.qpr .hb-hero { background: linear-gradient(135deg, var(--coral-top) 0%, var(--coral-mid) 58%, var(--coral-btm) 100%); border-radius: 14px; color: #fff; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(112px, 0.64fr); margin-bottom: 11px; padding: 13px; }
.qpr .hb-box { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 11px; padding: 10px 11px; }
.qpr .hb-box.r { text-align: right; }
.qpr .hb-box span { color: rgba(255, 255, 255, 0.9); display: block; font-size: 12.5px; font-weight: 850; }
.qpr .hb-box strong { color: #fff; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 950; margin: 4px 0 2px; }
.qpr .hb-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 10px; }
.qpr .hb-metric { background: var(--warm); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.qpr .hb-metric.wide { grid-column: 1 / -1; }
.qpr .hb-metric span { color: var(--sub); display: block; font-size: 12px; font-weight: 800; }
.qpr .hb-metric strong { color: var(--ink); display: block; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 900; margin: 4px 0 2px; }
.qpr .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.qpr .chip { border-radius: 999px; font-size: 12.5px; font-weight: 900; padding: 5px 10px; }
.qpr .chip.up { background: var(--up-soft); border: 1px solid var(--up-line); color: var(--up); }
.qpr .chip.neutral { background: var(--warm-2); border: 1px solid var(--line); color: var(--ink-soft); }
.qpr .hb-table { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin: 0 -14px 11px; width: calc(100% + 28px); }
.qpr .hb-table th { background: var(--warm); border-bottom: 1px solid var(--line); color: var(--mute); font-size: 11.5px; font-weight: 900; padding: 8px 6px; text-align: left; white-space: nowrap; }
.qpr .hb-table td { border-top: 1px solid var(--line-2); padding: 9px 6px; vertical-align: middle; white-space: nowrap; }
.qpr .hb-table th:first-child, .qpr .hb-table td:first-child { padding-left: 14px; }
.qpr .hb-table th:last-child, .qpr .hb-table td:last-child { padding-right: 14px; }
.qpr .hb-table .d { color: var(--sub); font-size: 13px; font-weight: 900; }
.qpr .hb-table .p { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 950; }
.qpr .hb-table .r { color: var(--up); font-size: 13px; font-weight: 950; }
.qpr .hb-table .a { color: var(--ink); font-size: 13px; font-weight: 900; text-align: right; }
.qpr .hb-table .g { font-size: 12.5px; font-weight: 850; }
.qpr .hb-table .g.confirm { color: #C2410C; }
.qpr .hb-table .g.scout { color: #1565C0; }
.qpr .hb-table .g.conviction { color: #C62828; }
.qpr .sj { align-items: center; border-radius: 999px; color: #fff; display: inline-flex; font-size: 11px; font-weight: 900; height: 18px; justify-content: center; margin-right: 2px; width: 18px; }
.qpr .sj.for { background: var(--for); }
.qpr .sj.ins { background: var(--ins); }
.qpr .sj.pen { background: var(--pen); }
.qpr .guide-text { color: var(--mute); font-size: 13px; line-height: 1.5; }
.qpr .guide-text strong { color: var(--ink-soft); font-weight: 850; }

/* 6. 포착 이후 흐름 (그림 + 표) */
.qpr .chart-box { padding: 14px 12px 6px; }
.qpr .chart-box svg { display: block; height: auto; width: 100%; }
.qpr .chart-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 4px 14px 12px; color: var(--sub); font-size: 12.5px; font-weight: 850; }
.qpr .chart-legend i { display: inline-block; height: 3px; width: 16px; border-radius: 999px; margin-right: 5px; vertical-align: 3px; }
.qpr .chart-legend i.price { background: var(--coral-btm); }
.qpr .chart-legend i.dash { background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 9px); border-radius: 0; }
.qpr .chart-legend i.for { background: var(--for); height: 10px; width: 10px; border-radius: 3px; vertical-align: -1px; }
.qpr .chart-legend i.ins { background: var(--ins); height: 10px; width: 10px; border-radius: 3px; vertical-align: -1px; }
.qpr .day-table { border-top: 1px solid var(--line); }
.qpr .day-table th { background: var(--warm); border-bottom: 1px solid var(--line); color: var(--mute); font-size: 11.5px; font-weight: 900; padding: 8px 8px; text-align: right; white-space: nowrap; }
.qpr .day-table th:first-child { text-align: left; padding-left: 14px; }
.qpr .day-table td { border-top: 1px solid var(--line-2); font-size: 13.5px; font-weight: 800; padding: 8px 8px; text-align: right; white-space: nowrap; }
.qpr .day-table td:first-child { color: var(--sub); text-align: left; padding-left: 14px; }
.qpr .day-table th:last-child, .qpr .day-table td:last-child { padding-right: 14px; }
.qpr .day-table tr.cap td { background: var(--warm); }
.qpr .day-table tr.today td { background: var(--up-soft); }
.qpr .day-table .tg { background: var(--ink); border-radius: 6px; color: #fff; font-size: 10.5px; font-weight: 900; margin-left: 4px; padding: 1px 5px; }
.qpr .day-table .tg.c { background: var(--coral-btm); }

/* 7. 투자주체별 순매수 */
.qpr .sb-head, .qpr .sb-row { align-items: center; display: grid; gap: 8px; grid-template-columns: 86px repeat(3, minmax(0, 1fr)); padding: 10px 14px; }
.qpr .sb-head { background: var(--warm); border-bottom: 1px solid var(--line); color: var(--mute); font-size: 12px; font-weight: 900; text-align: right; }
.qpr .sb-head span:first-child { text-align: left; }
.qpr .sb-row { min-height: 58px; text-align: right; }
.qpr .sb-row + .sb-row { border-top: 1px solid var(--line-2); }
.qpr .sb-name { align-items: center; display: flex; gap: 6px; text-align: left; }
.qpr .sb-name i { border-radius: 999px; display: inline-block; height: 10px; width: 10px; }
.qpr .sb-name.for i { background: var(--for); }
.qpr .sb-name.ins i { background: var(--ins); }
.qpr .sb-name span { color: var(--ink); font-size: 15.5px; font-weight: 900; }
.qpr .sb-num { display: flex; flex-direction: column; gap: 2px; }
.qpr .sb-num b { color: var(--ink); font-size: 16px; font-weight: 950; }
.qpr .sb-num b.up { color: var(--up); }
.qpr .sb-num b.down { color: var(--down); }
.qpr .sb-num small { color: var(--mute); font-size: 11.5px; font-weight: 850; }
.qpr .sb-chart { border-top: 1px solid var(--line); padding: 13px 14px 4px; }
.qpr .sb-chart-hd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; margin-bottom: 6px; }
.qpr .sb-chart-hd strong { font-size: 14.5px; font-weight: 900; }
.qpr .sb-chart-hd span { color: var(--mute); font-size: 12px; font-weight: 750; }
.qpr .sb-chart svg { display: block; height: auto; width: 100%; }

/* 8. 같은 기간 전체 포착 성적 */
.qpr .all-stats { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 11px; }
.qpr .all-stat { background: var(--warm); border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; text-align: center; }
.qpr .all-stat span { color: var(--sub); display: block; font-size: 12px; font-weight: 850; }
.qpr .all-stat strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 950; margin-top: 3px; }
.qpr .grade-rows { display: grid; gap: 6px; margin-bottom: 11px; }
.qpr .grade-row { align-items: center; display: grid; gap: 8px; grid-template-columns: 118px minmax(0, 1fr) 64px; font-size: 13.5px; font-weight: 850; }
.qpr .grade-row .bar { background: var(--warm-2); border-radius: 999px; height: 10px; overflow: hidden; position: relative; }
.qpr .grade-row .bar i { display: block; height: 100%; border-radius: 999px; }
.qpr .grade-row .v { text-align: right; font-family: Georgia, "Times New Roman", serif; font-weight: 950; }
.qpr .rule-note { align-items: flex-start; background: var(--down-soft); border: 1px solid var(--down-line); border-radius: 12px; color: #1E3A6E; display: flex; font-size: 13px; font-weight: 750; gap: 8px; line-height: 1.5; padding: 10px 11px; }
.qpr .rule-note i { font-style: normal; font-size: 16px; line-height: 1.3; }

/* 9. 앱 안내 */
.qpr .app-card { background: var(--ink); border: 0; color: #fff; }
.qpr .app-top { align-items: center; display: flex; gap: 12px; }
.qpr .app-top img { background: #fff; border-radius: 16px; height: 60px; width: 60px; flex: 0 0 auto; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.qpr .app-top strong { display: block; font-size: 21px; font-weight: 950; }
.qpr .app-top span { color: rgba(255,255,255,.75); display: block; font-size: 13px; font-weight: 750; margin-top: 2px; }
.qpr .app-feats { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 14px 0; }
.qpr .app-feats li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; font-size: 13px; font-weight: 800; line-height: 1.4; padding: 9px 10px; }
.qpr .app-feats li i { display: block; font-size: 19px; font-style: normal; margin-bottom: 3px; }
.qpr .app-preview-hd { align-items: center; color: rgba(255,255,255,.85); display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; font-weight: 850; justify-content: space-between; margin-bottom: 8px; }
.qpr .app-preview-hd b { color: #fff; }
.qpr .lk-cards { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.qpr .lk-card { background: #fff; border-radius: 16px; color: var(--ink); padding: 12px 12px 11px; }
.qpr .lk-head { align-items: flex-start; display: flex; justify-content: space-between; gap: 6px; }
.qpr .lk-name { color: var(--sub); display: block; font-size: 15px; font-weight: 950; }
.qpr .lk-name::before { content: "🔒 "; }
.qpr .lk-code { color: var(--mute); display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; }
.qpr .lk-rank { background: var(--warm-2); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; font-weight: 950; padding: 3px 8px; white-space: nowrap; }
.qpr .lk-price { align-items: baseline; display: flex; justify-content: space-between; gap: 6px; margin: 8px 0; }
.qpr .lk-price span { color: var(--mute); font-size: 12px; font-weight: 850; }
.qpr .lk-price b { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 950; }
.qpr .lk-card .badges { margin-bottom: 8px; gap: 4px; }
.qpr .lk-card .badge { font-size: 11.5px; padding: 5px 7px; border-radius: 9px; }
.qpr .lk-kv { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; margin-bottom: 8px; }
.qpr .lk-kv div { background: var(--warm); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; }
.qpr .lk-kv span { color: var(--sub); display: block; font-size: 11px; font-weight: 850; }
.qpr .lk-kv b { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 950; }
.qpr .lk-note { background: var(--warm); border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--sub); font-size: 11.5px; font-weight: 750; line-height: 1.45; padding: 6px 8px; }
.qpr .lk-note b { color: var(--ink); display: block; font-size: 12px; font-weight: 900; }
.qpr .play-btn { align-items: center; background: #fff; border-radius: 14px; color: var(--ink); display: flex; gap: 10px; justify-content: center; padding: 12px; text-decoration: none; }
.qpr .play-btn .pi { align-items: center; background: var(--ink); border-radius: 999px; color: #fff; display: inline-flex; font-size: 12px; height: 26px; justify-content: center; padding-left: 2px; width: 26px; }
.qpr .play-btn strong { font-size: 16px; font-weight: 950; }
.qpr .play-btn small { color: var(--mute); display: block; font-size: 11.5px; font-weight: 800; }
.qpr .play-hint { align-items: center; color: rgba(255,255,255,.85); display: flex; flex-wrap: wrap; font-size: 13px; font-weight: 750; gap: 4px 6px; justify-content: center; margin-top: 10px; text-align: center; }
.qpr .play-hint b { background: rgba(255,255,255,.14); border-radius: 8px; color: #fff; padding: 2px 8px; }

/* 10. FAQ · 지난 리포트 · 면책 */
.qpr .faq { display: grid; gap: 8px; }
.qpr .faq details { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 13px; }
.qpr .faq summary { cursor: pointer; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 6px; align-items: center; font-size: 14.5px; font-weight: 900; list-style: none; }
.qpr .faq summary::-webkit-details-marker { display: none; }
.qpr .faq summary i { font-style: normal; }
.qpr .faq summary::after { content: "＋"; color: var(--mute); font-weight: 900; }
.qpr .faq details[open] summary::after { content: "－"; }
.qpr .faq p { color: var(--sub); font-size: 13.5px; font-weight: 650; line-height: 1.6; margin-top: 8px; padding-left: 30px; }
.qpr .rel { display: grid; gap: 8px; list-style: none; }
.qpr .rel a { align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; display: grid; gap: 10px; grid-template-columns: 34px minmax(0, 1fr) auto; padding: 10px 12px; text-decoration: none; }
.qpr .rel a i { align-items: center; background: var(--warm-2); border: 1px solid var(--line); border-radius: 10px; display: flex; font-size: 16px; font-style: normal; height: 34px; justify-content: center; width: 34px; }
.qpr .rel a b { display: block; font-size: 14px; font-weight: 900; line-height: 1.35; }
.qpr .rel a small { color: var(--mute); display: block; font-size: 12px; font-weight: 750; }
.qpr .rel a em { color: var(--mute); font-style: normal; font-weight: 900; }
.qpr .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.qpr .tags a, .qpr .tags span { background: var(--warm-2); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 12.5px; font-weight: 850; padding: 4px 10px; text-decoration: none; }
.qpr .tags a { border-color: var(--line-strong); color: var(--ink); }
.qpr .disc { background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--mute); font-size: 12.5px; line-height: 1.6; padding: 11px 13px; }
.qpr .disc b { color: var(--sub); }

@media (max-width: 480px) {
    .qpr { border-radius: 18px; padding: 14px 10px 4px; }
    .qpr .card { padding: 13px 12px 14px; }
    .qpr .hb-table { margin: 0 -12px 11px; width: calc(100% + 24px); }
    .qpr .capture-value { font-size: 16px; }
    .qpr .capture-metric { padding: 9px 7px; }
    .qpr .kv { padding-left: 44px; }
    .qpr .kv::before { left: 8px; }
    .qpr .kv-value { font-size: 20px; }
    .qpr .all-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qpr .lk-cards { grid-template-columns: minmax(0, 1fr); }
    .qpr .hb-table .p { font-size: 15px; }
    .qpr .sb-head, .qpr .sb-row { grid-template-columns: 70px repeat(3, minmax(0, 1fr)); padding: 10px 12px; }
    .qpr .sb-num b { font-size: 14.5px; }
    .qpr .grade-row { grid-template-columns: 96px minmax(0, 1fr) 56px; }
    .qpr .hb-hero { grid-template-columns: minmax(0, 1fr) auto; }
    .qpr .hb-box strong { font-size: 23px; }
    .qpr .hb-table th.a, .qpr .hb-table td.a { display: none; }
    .qpr .hb-table th, .qpr .hb-table td { padding-left: 4px; padding-right: 4px; }
    .qpr .hb-table th:first-child, .qpr .hb-table td:first-child { padding-left: 12px; }
    .qpr .hb-table th:last-child, .qpr .hb-table td:last-child { padding-right: 12px; }
    .qpr .hb-table .g { white-space: normal; line-height: 1.25; }
    .qpr .day-table th, .qpr .day-table td { padding: 7px 4px; font-size: 12.5px; }
    .qpr .day-table th:first-child, .qpr .day-table td:first-child { padding-left: 10px; }
    .qpr .day-table th:last-child, .qpr .day-table td:last-child { padding-right: 10px; }
    .qpr .day-table .tg { display: block; width: fit-content; margin: 2px 0 0; }
}
@media (max-width: 380px) {
    .qpr .hb-hero { grid-template-columns: minmax(0, 1fr); }
    .qpr .hb-box.r { text-align: left; }
    .qpr .app-feats { grid-template-columns: minmax(0, 1fr); }
    .qpr .capture-value { font-size: 14.5px; }
    .qpr .capture-label { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .qpr .news li.latest .news-dot { animation: none; }
}
