@charset "UTF-8";
/* ==========================================================================
   로또명당 site.css — 2026 리디자인 공통 레이어
   모든 페이지 CSS 뒤에 불러와 최종 스타일을 정한다 (head-end.jspf).
   ========================================================================== */

/* ── 1. 토큰 ─────────────────────────────────────────────────────────────── */
:root {
    --c-brand: #9a6400;
    --c-brand-strong: #7a4e00;
    --c-brand-soft: #fdf5e2;
    --c-brand-line: #efdcaa;
    --c-ink: #221e19;
    --c-ink-2: #4a433b;
    --c-muted: #6e665c;
    --c-faint: #7d756b;
    --c-line: #ebe5da;
    --c-line-soft: #f3efe7;
    --c-bg: #ffffff;
    --c-bg-soft: #faf7f1;
    --c-bg-card: #fcfaf6;
    --c-navy: #221e19;
    --c-navy-2: #3a332b;
    --c-gold: #e0a100;
    --c-gold-soft: #fff4d6;
    --c-gold-ink: #7a5600;
    --c-silver-soft: #f1efeb;
    --c-bronze: #b86e36;
    --c-bronze-soft: #f8e6d8;
    --c-red: #d94b4b;
    --c-green: #2f8f57;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(50, 44, 36, .06);
    --shadow-md: 0 8px 24px rgba(50, 44, 36, .08);
    --shadow-lg: 0 16px 40px rgba(50, 44, 36, .14);
    --container: 1180px;
    --gutter: 24px;
    --header-h: 68px;
    --tabbar-h: 64px;
    /* 기존 CSS 변수도 새 팔레트로 맞춘다 */
    --ink: var(--c-ink);
    --muted: var(--c-muted);
    --blue: var(--c-brand);
    --line: var(--c-line);
    --paper: #fff;
    --surface: var(--c-bg-soft);
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    color: var(--c-ink);
    background: var(--c-bg);
}

/* ── 2. 기본 요소 ────────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body { background: var(--c-bg); color: var(--c-ink); line-height: 1.5; letter-spacing: -.2px; word-break: keep-all; overflow-wrap: anywhere; }
button, input, select, textarea { font-family: inherit; letter-spacing: inherit; }
button, input, select { border-radius: var(--r-sm); }
::selection { background: #f0eade; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #f0a119; outline-offset: 2px; }
h1, h2, h3 { color: var(--c-ink); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--c-brand); margin: 0 0 6px; text-transform: none; }
.hint { color: var(--c-muted); }
.skip-link { border-radius: var(--r-sm); }

/* 외부 스프라이트(<use>)는 루트 속성을 물려받지 않으므로 선 아이콘 기본값을 CSS로 준다 */
svg:has(> use) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 공용 컨테이너 */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* 공용 버튼 */
.button { border-radius: var(--r-md); min-height: 44px; font-weight: 700; font-size: 14px; padding: 0 16px; transition: background .15s, border-color .15s, color .15s; }
.button.primary { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.button.primary:hover { background: var(--c-brand-strong); border-color: var(--c-brand-strong); }
.button.secondary { background: #fff; border: 1px solid #e5e1da; color: var(--c-ink); }
.button.secondary:hover { border-color: #cdc7bf; background: #fdfdfc; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 18px; border-radius: var(--r-md); font-size: 15px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--c-brand); color: #fff; } .btn-primary:hover { background: var(--c-brand-strong); }
.btn-dark { background: var(--c-navy); color: #fff; } .btn-dark:hover { background: #231f1a; }
.btn-line { background: #fff; border-color: #e5e1da; color: var(--c-ink); } .btn-line:hover { border-color: #cdc7bf; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; } .btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn svg, .more-link svg, .header-near svg { width: 18px; height: 18px; flex-shrink: 0; }

.more-link { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--c-brand); white-space: nowrap; padding: 8px 0; }
.more-link:hover { color: var(--c-brand-strong); }
.more-link svg { width: 16px; height: 16px; }

/* 섹션 머리 */
.sec { padding-bottom: 72px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.sec-head h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.9px; margin: 0; }
.sec-head p.sub { margin: 6px 0 0; font-size: 15px; color: var(--c-muted); }
.footnote { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--c-faint); }

/* 로또 공 */
.ball { border-radius: 50%; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); font-weight: 800; }
.ls-ball { --s: 48px; width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0; color: #fff; font-weight: 800; font-size: calc(var(--s) * .39); box-shadow: inset 0 -3px 0 rgba(0,0,0,.13); }
.ls-ball.y { background: #e0a800; } .ls-ball.b { background: #3a7dd3; } .ls-ball.r { background: #d94b4b; } .ls-ball.g { background: #7b8696; } .ls-ball.gr { background: #3d9a5b; }
.ls-balls { display: flex; align-items: center; gap: 8px; }
.ls-plus { color: #a9a39c; font-size: 18px; font-weight: 500; padding: 0 2px; }

/* 메달 배지 */
.medal { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.medal.gold { background: var(--c-gold-soft); color: var(--c-gold-ink); }
.medal.silver { background: var(--c-silver-soft); color: var(--c-ink-2); }
.medal.bronze { background: var(--c-bronze-soft); color: #7a4318; }
.medal.blue { background: var(--c-brand-soft); color: var(--c-brand-strong); }

/* 막대 */
.ls-bar { display: block; height: 6px; border-radius: 3px; background: var(--c-line-soft); overflow: hidden; }
.ls-bar > i { display: block; height: 100%; border-radius: 3px; background: var(--c-brand); }

/* 칩 */
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 999px; background: #f6f5f3; color: var(--c-ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; border: 0; }
.chip:hover { background: #f0eeea; }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--c-navy); color: #fff; }

/* 세그먼트 */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-md); background: var(--c-bg-soft); }
.seg > a, .seg > button, .seg > label { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--c-ink-2); white-space: nowrap; border: 0; background: none; cursor: pointer; }
.seg > [aria-current="page"], .seg > [aria-pressed="true"], .seg > label:has(input:checked) { background: #fff; color: var(--c-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(50, 44, 36,.12); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }

/* 밑줄 탭 */
.ls-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--c-line); margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; }
.ls-tabs::-webkit-scrollbar { display: none; }
.ls-tabs a { padding: 14px 0 13px; font-size: 16px; font-weight: 500; color: var(--c-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ls-tabs a:hover { color: var(--c-ink); }
.ls-tabs a[aria-current="page"] { color: var(--c-ink); font-weight: 700; border-bottom-color: var(--c-ink); }

/* 카드 공통 */
.ls-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-xl); }

/* ── 3. 헤더 ─────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 60; height: auto; padding: 0; display: block; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--c-line); backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px); }
.site-header-inner { max-width: var(--container); height: var(--header-h); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 36px; }
.site-header .brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; height: auto; font-size: 20px; font-weight: 800; letter-spacing: -.7px; color: var(--c-ink); }
.site-header .brand-logo { width: 38px; height: 38px; object-fit: contain; }
.site-header .brand-wordmark { display: inline; font-size: 20px; }
.site-header .main-nav { display: flex; flex: 1; gap: 2px; margin: 0; padding: 0; border: 0; background: none; }
.site-header .main-nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; color: var(--c-ink-2); white-space: nowrap; background: none; }
.site-header .main-nav a:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.site-header .main-nav a[aria-current="page"] { color: var(--c-brand); background: var(--c-brand-soft); font-weight: 700; }
.header-near { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: var(--r-md); background: var(--c-brand); color: #fff; font-size: 14px; font-weight: 700; flex-shrink: 0; white-space: nowrap; }
.header-near:hover { background: var(--c-brand-strong); }
.header-near svg { width: 18px; height: 18px; }
.mobile-navigation { display: none !important; }

/* 하단 탭 (모바일) */
.tabbar { display: none; }
.tabbar svg { width: 22px; height: 22px; }

/* ── 4. 푸터 ─────────────────────────────────────────────────────────────── */
.site-footer { max-width: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); background: var(--c-bg-card); color: var(--c-faint); font-size: 13px; line-height: 1.7; }
.site-footer-inner { max-width: var(--container); margin: 0 auto; padding: 32px var(--gutter) 44px; display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.footer-brand strong { font-size: 16px; color: var(--c-ink); letter-spacing: -.4px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a { min-height: 36px; display: inline-flex; align-items: center; color: var(--c-ink-2); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-privacy { font-weight: 700; color: var(--c-ink); }
.site-footer p { margin: 0; }

/* ── 5. 광고 자리 ────────────────────────────────────────────────────────── */
.ad-placement { margin: 0 0 40px; padding: 14px 16px 16px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-bg-card); box-shadow: none; max-width: none; }
.ad-placement .ad-label { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .2px; color: var(--c-faint); text-transform: none; }
.ad-placement ins.ad-unit { min-height: 120px; }
.ad-preview .ad-preview-frame { border-radius: var(--r-md); border: 1px dashed #d7d1cb; background: #f5f3f0; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--c-muted); text-align: center; padding: 18px; }
.ad-preview .ad-preview-frame strong { color: var(--c-ink-2); font-size: 15px; }
.ad-preview .ad-preview-frame small { color: var(--c-faint); }
.ad-preview .ad-preview-badge { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: #fff; border: 1px solid #d7d1cb; font-size: 11px; font-weight: 800; color: var(--c-muted); }
.ad-placement.ad-inline { margin: 0; }
.ad-card { border-radius: var(--r-lg); }
.ad-card .ad-card-layout { display: flex; align-items: center; gap: 14px; }
.ad-card .ad-card-media { width: 72px; height: 72px; border-radius: var(--r-md); background: #f2efea; display: grid; place-items: center; color: var(--c-faint); font-weight: 800; font-size: 12px; flex-shrink: 0; }
.ad-card .ad-card-media .ui-icon { width: 20px; height: 20px; }
.ad-card .ad-card-copy strong { display: block; font-size: 15px; margin-bottom: 4px; }
.ad-card .ad-card-copy p { margin: 0; font-size: 13px; color: var(--c-muted); }
.ad-card .ad-card-note { margin: 10px 0 0; font-size: 11px; color: var(--c-faint); }
.ad-preview-notice { max-width: var(--container); margin: 12px auto 0; padding: 12px 16px; border-radius: var(--r-md); background: #fff8e6; border: 1px solid #f1dfb1; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.ad-preview-notice p { margin: 2px 0 0; color: #6b5a2e; }
.ad-preview-actions { display: flex; gap: 12px; }
.ad-preview-actions a { font-weight: 700; color: #7a5600; }

/* ── 6. 공통 페이지 머리 ─────────────────────────────────────────────────── */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 40px 0 26px; }
.page-head h1 { margin: 0; font-size: 34px; line-height: 1.25; letter-spacing: -1.3px; }
.page-head .desc { margin: 8px 0 0; font-size: 16px; color: var(--c-muted); line-height: 1.6; }
.page-head .head-art { width: 88px; height: 88px; object-fit: contain; }

/* ── 7. 반응형: 공통 ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .site-header-inner { gap: 18px; }
    .site-header .main-nav a { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 860px) {
    :root { --header-h: 56px; --gutter: 16px; }
    body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
    .site-header-inner { gap: 12px; justify-content: space-between; }
    .site-header .brand-logo { width: 32px; height: 32px; }
    .site-header .brand-wordmark { font-size: 18px; }
    .site-header .main-nav { display: none; }
    .header-near { height: 38px; padding: 0 12px; font-size: 13px; border-radius: var(--r-sm); }
    .header-near svg { width: 16px; height: 16px; }

    .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.97); border-top: 1px solid var(--c-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
    .tabbar > a, .tabbar summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--tabbar-h); font-size: 11px; font-weight: 500; color: var(--c-faint); list-style: none; cursor: pointer; }
    .tabbar summary::-webkit-details-marker { display: none; }
    .tabbar [aria-current="page"] { color: var(--c-brand); font-weight: 700; }
    .tabbar-more[open] summary { color: var(--c-ink); }
    .tabbar-sheet { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); padding: 18px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-lg); }
    .tabbar-sheet-title { margin: 0 0 12px; font-size: 15px; font-weight: 800; }
    .tabbar-sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .tabbar-sheet-grid a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 6px; border-radius: var(--r-md); background: var(--c-bg-soft); font-size: 13px; font-weight: 600; color: var(--c-ink); text-align: center; }
    .tabbar-sheet-links { display: flex; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line-soft); }
    .tabbar-sheet-links a { font-size: 13px; color: var(--c-muted); min-height: 32px; display: inline-flex; align-items: center; }

    .site-footer-inner { padding: 24px var(--gutter) 28px; }
    .site-footer nav { gap: 0 16px; }

    .sec { padding-bottom: 48px; }
    .sec-head { margin-bottom: 16px; }
    .sec-head h2 { font-size: 21px; letter-spacing: -.7px; }
    .sec-head p.sub { font-size: 14px; }
    .eyebrow { font-size: 12px; margin-bottom: 4px; }
    .more-link { font-size: 13px; }
    .page-head { padding: 24px 0 18px; gap: 14px; }
    .page-head h1 { font-size: 26px; letter-spacing: -1px; }
    .page-head .desc { font-size: 14px; }
    .page-head .head-art { display: none; }
    .ad-placement { margin-bottom: 28px; }
    .ad-preview .ad-preview-frame { min-height: 250px; }
    .ad-preview-notice { margin: 10px 16px 0; flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   랜딩 (.lp)
   ========================================================================== */
.landing-page { background: #fff; }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.lp-hero-copy { min-width: 0; }
.lp-hero .eyebrow { font-size: 14px; margin-bottom: 16px; }
.lp-hero h1 { margin: 0 0 18px; font-size: 54px; line-height: 1.18; letter-spacing: -2.6px; font-weight: 800; }
.lp-lead { margin: 0 0 30px; font-size: 18px; line-height: 1.65; color: var(--c-muted); }
.lp-search-wrap { position: relative; z-index: 15; }
.lp-search { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 18px; border: 2px solid var(--c-brand); border-radius: var(--r-lg); background: #fff; box-shadow: 0 10px 28px rgba(95, 83, 68, .09); }
.lp-search > svg { width: 22px; height: 22px; color: var(--c-muted); flex-shrink: 0; }
.lp-search input { flex: 1; min-width: 0; height: 50px; border: 0; padding: 0; background: transparent; font-size: 17px; color: var(--c-ink); box-shadow: none; outline-offset: 4px; }
.lp-search input::placeholder { color: #9a948d; }
.lp-search .btn { min-height: 52px; padding: 0 26px; font-size: 16px; }
.lp-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lp-quick .chip svg { width: 16px; height: 16px; margin-right: 4px; }
.lp-quick .lp-near { background: var(--c-brand-soft); color: var(--c-brand-strong); font-weight: 700; }

.lp-draw { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 24px; background: linear-gradient(180deg, #fbf9f5 0%, #fcfbf9 100%); border: 1px solid #f0ece4; min-width: 0; }
.lp-draw-pouch { position: absolute; top: -44px; right: -18px; width: 116px; height: 116px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(50, 44, 36,.18)); }
.lp-draw-head { display: flex; align-items: center; gap: 10px; padding-right: 80px; }
.lp-draw-head h2 { margin: 0; font-size: 20px; letter-spacing: -.6px; }
.lp-draw-date { font-size: 14px; color: var(--c-faint); }
.lp-draw-balls { justify-content: space-between; gap: 6px; padding: 18px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid #e3eaf4; }
.lp-draw-balls .ls-ball { --s: 46px; }
.lp-draw-stats { display: grid; grid-template-columns: 1.6fr 1fr; border-radius: var(--r-lg); background: #fff; border: 1px solid #f0ede7; }
.lp-draw-stats > div { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.lp-draw-stats > div + div { border-left: 1px solid #f3f0eb; }
.lp-draw-stats span { font-size: 13px; color: var(--c-muted); }
.lp-draw-stats strong { font-size: 30px; letter-spacing: -1.2px; line-height: 1.2; color: var(--c-brand-strong); white-space: nowrap; }
.lp-draw-stats div + div strong { color: var(--c-ink); }
.lp-draw-stats small { font-size: 17px; margin-left: 1px; }
.lp-draw-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-draw-actions .btn { min-height: 50px; }

/* TOP */
.lp-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.lp-champ { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: radial-gradient(120% 90% at 100% 0%, #564b3e 0%, var(--c-navy) 55%); color: #fff; min-height: 100%; }
.lp-champ-rank { display: flex; align-items: center; gap: 8px; color: #f5c84b; font-weight: 800; font-size: 15px; }
.lp-champ-rank svg { width: 26px; height: 26px; }
.lp-champ h3 { margin: 14px 0 4px; font-size: 34px; letter-spacing: -1.2px; color: #fff; }
.lp-champ h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-champ-addr { margin: 0; font-size: 14px; color: #cfc9c2; line-height: 1.5; max-width: 80%; }
.lp-champ-count { display: flex; align-items: flex-end; gap: 12px; margin: 26px 0 18px; position: relative; z-index: 1; }
.lp-champ-count strong { font-size: 88px; line-height: .9; letter-spacing: -4px; font-weight: 800; background: linear-gradient(180deg, #ffe39a 0%, #e0a100 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-champ-count span { font-size: 14px; line-height: 1.5; color: #e5e1d8; padding-bottom: 6px; }
.lp-champ-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 13px; color: #cfc9c2; position: relative; z-index: 1; }
.lp-champ-recent > span { margin-right: 4px; }
.lp-champ-recent a { height: 30px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.1); color: #f7f5f1; font-weight: 600; }
.lp-champ-recent a:hover { background: rgba(255,255,255,.18); }
.lp-champ-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; position: relative; z-index: 1; }
.lp-champ-actions .btn-line { border: 0; }
.lp-champ-deco { position: absolute; right: 22px; bottom: 96px; width: 190px; height: 114px; color: rgba(224, 161, 0, .32); }

.lp-rank { list-style: none; margin: 0; padding: 6px 0; border: 1px solid var(--c-line); border-radius: 24px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.lp-rank a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 84px; align-items: center; gap: 14px; padding: 13px 26px; }
.lp-rank a:hover { background: var(--c-bg-card); }
.lp-rank-no { display: flex; flex-direction: column; align-items: center; font-size: 18px; font-weight: 800; color: #9f9993; line-height: 1.1; }
.lp-rank-no small { font-size: 10px; font-weight: 600; color: var(--c-faint); }
.lp-rank-no.silver { color: #888178; } .lp-rank-no.bronze { color: var(--c-bronze); }
.lp-rank-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lp-rank-title { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.lp-rank-title strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-rank-title span { font-size: 13px; color: var(--c-muted); white-space: nowrap; }
.lp-rank-cnt { text-align: right; font-size: 13px; color: var(--c-muted); white-space: nowrap; }
.lp-rank-cnt b { font-size: 21px; color: var(--c-ink); margin-left: 3px; letter-spacing: -.5px; }

/* 이번 주 명당 */
.lp-weekly-sec { background: var(--c-bg-soft); padding-top: 64px; margin-bottom: 72px; }
.lp-weekly { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-winner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); transition: border-color .15s, box-shadow .15s; }
.lp-winner:hover { border-color: #f0a119; box-shadow: var(--shadow-md); }
.lp-winner-main { display: flex; align-items: center; gap: 12px; min-width: 0; width: 100%; }
.lp-winner-main img { width: 44px; height: 48px; flex-shrink: 0; }
.lp-winner-main > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-winner-main strong { font-size: 17px; letter-spacing: -.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-winner-main span span { font-size: 13px; color: var(--c-muted); }
.lp-winner-meta { font-size: 13px; color: var(--c-faint); padding-top: 10px; border-top: 1px solid var(--c-line-soft); width: 100%; }
.lp-weekly .lp-weekly-ad { grid-column: span 2; margin: 0; background: #fff; display: flex; flex-direction: column; }
.lp-weekly .lp-weekly-ad .ad-preview-frame { flex: 1; min-height: 120px; }

/* 지역 */
.lp-regions { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lp-region { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); transition: border-color .15s, background .15s; }
.lp-region:hover { border-color: #f0a119; background: var(--c-bg-card); }
.lp-region-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.lp-region-top strong { font-size: 18px; letter-spacing: -.4px; }
.lp-region-top span { font-size: 12px; color: var(--c-faint); }
.lp-region-cnt { font-size: 13px; color: var(--c-ink-2); }
.lp-region-cnt b { font-size: 18px; color: var(--c-brand); letter-spacing: -.4px; }
.lp-region .ls-bar { height: 4px; }
.lp-region-all { flex-direction: row; align-items: center; justify-content: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--c-ink-2); background: var(--c-bg-soft); border-style: dashed; }
.lp-region-all svg { width: 16px; height: 16px; }

/* 도구 카드 */
.lp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-tool { position: relative; display: flex; align-items: center; gap: 16px; padding: 24px 52px 24px 24px; border-radius: 22px; transition: transform .15s; }
.lp-tool:hover { transform: translateY(-2px); }
.lp-tool strong { display: block; font-size: 19px; letter-spacing: -.5px; margin-bottom: 4px; }
.lp-tool span span { font-size: 14px; line-height: 1.5; }
.lp-tool-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; background: #fff; }
.lp-tool-icon svg { width: 28px; height: 28px; }
.lp-tool-art { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.lp-tool-go { position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; opacity: .55; }
.lp-tool.blue { background: var(--c-brand-soft); } .lp-tool.blue .lp-tool-icon { color: var(--c-brand); } .lp-tool.blue span span { color: #655e55; }
.lp-tool.mint { background: #eaf6f0; } .lp-tool.mint .lp-tool-icon { color: var(--c-green); } .lp-tool.mint span span { color: #3f5a4c; }
.lp-tool.gold { background: #fdf4df; } .lp-tool.gold span span { color: #5c4f2e; }

@media (max-width: 1100px) {
    .lp-hero { gap: 36px; }
    .lp-hero h1 { font-size: 44px; }
    .lp-weekly { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lp-tools { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .lp-hero { grid-template-columns: 1fr; gap: 44px; padding-top: 28px; padding-bottom: 44px; }
    .lp-hero .eyebrow { font-size: 12px; margin-bottom: 10px; }
    .lp-hero h1 { font-size: 31px; letter-spacing: -1.4px; margin-bottom: 10px; }
    .lp-lead { font-size: 15px; margin-bottom: 20px; }
    .lp-lead br { display: none; }
    .lp-search { padding: 5px 5px 5px 14px; border-radius: var(--r-md); }
    .lp-search input { height: 44px; font-size: 16px; }
    .lp-search .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
    .lp-quick { flex-wrap: nowrap; overflow-x: auto; margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); scrollbar-width: none; }
    .lp-quick::-webkit-scrollbar { display: none; }
    .lp-draw { padding: 18px; gap: 14px; border-radius: 20px; }
    .lp-draw-pouch { width: 76px; height: 76px; top: -28px; right: -4px; }
    .lp-draw-head { padding-right: 56px; flex-wrap: wrap; gap: 6px 8px; }
    .lp-draw-head h2 { font-size: 17px; }
    .lp-draw-balls { padding: 12px 10px; gap: 4px; }
    .lp-draw-balls .ls-ball { --s: 36px; }
    .lp-draw-balls .ls-plus { font-size: 14px; padding: 0; }
    .lp-draw-stats > div { padding: 12px 14px; }
    .lp-draw-stats strong { font-size: 22px; }
    .lp-draw-stats small { font-size: 14px; }
    .lp-draw-actions .btn { min-height: 46px; font-size: 14px; padding: 0 10px; }

    .lp-top { grid-template-columns: 1fr; gap: 10px; }
    .lp-champ { padding: 22px; border-radius: 20px; }
    .lp-champ h3 { font-size: 26px; margin-top: 10px; }
    .lp-champ-addr { max-width: none; font-size: 13px; }
    .lp-champ-count { margin: 18px 0 14px; }
    .lp-champ-count strong { font-size: 64px; }
    .lp-champ-deco { width: 130px; height: 80px; right: 16px; bottom: 92px; }
    .lp-champ-recent { margin-bottom: 18px; }
    .lp-rank { border-radius: 18px; padding: 4px 0; }
    .lp-rank a { grid-template-columns: 32px minmax(0, 1fr) 62px; gap: 10px; padding: 12px 16px; }
    .lp-rank-cnt b { font-size: 18px; }

    .lp-weekly-sec { padding-top: 40px; margin-bottom: 48px; }
    .lp-weekly { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .lp-winner { padding: 14px; gap: 10px; }
    .lp-winner-main { flex-direction: column; align-items: flex-start; gap: 8px; }
    .lp-winner-main strong { font-size: 15px; max-width: 100%; }
    .lp-winner-meta { font-size: 12px; padding-top: 8px; }
    .lp-weekly .lp-weekly-ad { grid-column: 1 / -1; }

    .lp-regions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .lp-region { padding: 12px; gap: 6px; border-radius: var(--r-md); }
    .lp-region-top span { display: none; }
    .lp-region-top strong { font-size: 15px; }
    .lp-region-cnt { font-size: 12px; } .lp-region-cnt b { font-size: 15px; }

    .lp-tools { gap: 10px; }
    .lp-tool { padding: 18px 44px 18px 18px; border-radius: 18px; }
    .lp-tool strong { font-size: 17px; }
    .lp-tool span span { font-size: 13px; }
    .lp-tool-icon { width: 46px; height: 46px; border-radius: 14px; }
    .lp-tool-art { width: 50px; height: 50px; }
}
@media (max-width: 860px) { .lp-champ-deco { display: none; } }

/* ==========================================================================
   판매점 찾기 (body.explorer-page) — DOM은 home.js 그대로, 배치/모양만 재정의
   ========================================================================== */
body.explorer-page { --finder-list-w: 420px; background: #fff; }
body.explorer-page .finder { background: #fff; }
body.explorer-page .finder-workspace { display: grid; grid-template-columns: var(--finder-list-w) minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr); }
body.explorer-page .finder-searchbox { grid-column: 1; grid-row: 1; position: relative; z-index: 41; top: auto; left: auto; width: auto; padding: 14px 16px 14px 24px; margin: 0; background: #fff; border-bottom: 1px solid var(--c-line); }
body.explorer-page .finder-search { grid-column: 2; grid-row: 1; position: relative; z-index: 40; min-height: 0; margin: 0; padding: 14px 24px 14px 0; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; background: #fff; box-shadow: none; display: flex; align-items: center; }
body.explorer-page .finder-search .region-browser { width: 100%; }
body.explorer-page #search-error, body.explorer-page #period-result-note { grid-column: 1 / -1; margin: 6px 24px; }
body.explorer-page .finder-toolbar { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 24px; border-bottom: 1px solid var(--c-line); background: var(--c-bg-card); }
body.explorer-page .finder-results { grid-column: 1 / -1; grid-row: 4; }

/* 검색창 */
body.explorer-page .search-form { display: flex; align-items: center; gap: 0; height: 46px; padding: 3px; border: 1.5px solid #ddd8d2; border-radius: var(--r-md); background: #fff; box-shadow: none; overflow: visible; }
body.explorer-page .search-form:focus-within { border-color: var(--c-brand); }
body.explorer-page .search-form input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 12px; font-size: 15px; background: transparent; box-shadow: none; }
body.explorer-page .search-form .button.primary { min-height: 0; height: 100%; padding: 0 16px; border-radius: 9px; font-size: 14px; }
body.explorer-page .search-form .button .ui-icon { width: 16px; height: 16px; }
body.explorer-page .search-suggestions { left: 24px; right: 16px; }

/* 필터 버튼 */
body.explorer-page .filter-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; overflow: visible; }
body.explorer-page .filter-popover > summary, body.explorer-page .nearby-filter { display: inline-flex; align-items: center; gap: 6px; height: 42px; min-height: 0; padding: 0 14px; border: 1px solid #e5e1da; border-radius: var(--r-md); background: #fff; color: var(--c-ink-2); font-size: 14px; font-weight: 500; box-shadow: none; }
body.explorer-page .filter-popover > summary:hover, body.explorer-page .nearby-filter:hover { border-color: #cdc7bf; }
body.explorer-page .filter-popover[open] > summary { border-color: var(--c-brand); background: var(--c-brand-soft); color: var(--c-brand-strong); }
body.explorer-page .filter-popover .ui-icon, body.explorer-page .nearby-filter .ui-icon { width: 17px; height: 17px; color: var(--c-faint); }
body.explorer-page .nearby-filter { color: var(--c-brand-strong); border-color: var(--c-brand-line); background: var(--c-brand-soft); font-weight: 700; }
body.explorer-page .nearby-filter .ui-icon { color: var(--c-brand); }
body.explorer-page .filter-panel, body.explorer-page .search-options-body { border-radius: var(--r-lg); border: 1px solid var(--c-line); box-shadow: var(--shadow-lg); padding: 18px; background: #fff; }
body.explorer-page .filter-controls .filter-panel, body.explorer-page .filter-controls .search-options-body { position: absolute; top: calc(100% + 8px); left: 0; width: 460px; max-width: calc(100vw - 32px); }
body.explorer-page .filter-popover { position: relative; }
body.explorer-page .period-presets button[aria-pressed="true"] { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
body.explorer-page .explorer-condition-row { margin: 0; }
body.explorer-page .finder-search .explorer-condition-row { display: none; }

/* 결과 줄 */
body.explorer-page .results-heading { display: flex; align-items: baseline; gap: 10px; }
body.explorer-page .results-heading h2 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 17px; letter-spacing: -.4px; color: var(--c-ink); }
body.explorer-page .results-heading h2 .ui-icon { width: 18px; height: 18px; color: var(--c-brand); }
body.explorer-page .count { font-size: 13px; color: var(--c-muted); }
body.explorer-page .view-switch { display: inline-flex; gap: 2px; padding: 3px; border: 0; border-radius: var(--r-md); background: #f2f0ec; box-shadow: none; }
body.explorer-page .view-switch button { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--c-muted); font-size: 13px; font-weight: 600; box-shadow: none; min-width: 0; }
body.explorer-page .view-switch button[aria-pressed="true"] { background: #fff; color: var(--c-ink); box-shadow: 0 1px 3px rgba(50, 44, 36,.14); }
body.explorer-page .view-switch .ui-icon { width: 15px; height: 15px; }

/* 목록 행 */
body.explorer-page .store-list { display: flex; flex-direction: column; gap: 0; }
body.explorer-page .finder-workspace .store-card[data-rank] { position: relative; display: flex; flex-direction: row; align-items: center; gap: 0; padding: 0; border: 0; border-bottom: 1px solid var(--c-line-soft); border-radius: 0; background: #fff; box-shadow: none; transition: background .12s; }
body.explorer-page .finder-workspace .store-card[data-rank]:hover { background: var(--c-bg-card); }
body.explorer-page .store-card.is-active, body.explorer-page .store-card[aria-current="true"] { background: var(--c-brand-soft); box-shadow: inset 3px 0 0 var(--c-brand); }
body.explorer-page .store-row { flex: 1; min-width: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 6px 14px 20px; color: var(--c-ink); }
body.explorer-page .store-medal { display: grid; place-items: center; }
body.explorer-page .store-medal .rank-art { width: 30px; height: 32px; }
body.explorer-page .store-no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--c-bg-soft); color: var(--c-ink-2); font-size: 13px; font-weight: 800; }
body.explorer-page .store-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.explorer-page .store-name { font-size: 16px; font-weight: 700; letter-spacing: -.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.explorer-page .store-addr { font-size: 13px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.explorer-page .store-dist { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--c-brand); }
body.explorer-page .store-dist .ui-icon { width: 13px; height: 13px; }
body.explorer-page .store-count { display: flex; flex-direction: column; align-items: flex-end; gap: 0; text-align: right; white-space: nowrap; }
body.explorer-page .store-count b { font-size: 24px; line-height: 1.15; letter-spacing: -1px; color: var(--c-brand-strong); font-variant-numeric: tabular-nums; }
body.explorer-page .store-count small { font-size: 11px; color: var(--c-faint); }
body.explorer-page .store-card[data-rank="gold"] .store-count b { color: #b07d00; }
body.explorer-page .store-locate { flex-shrink: 0; width: 40px; height: 40px; margin-right: 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--c-line); background: #fff; color: var(--c-faint); cursor: pointer; }
body.explorer-page .store-locate:hover { color: var(--c-brand); border-color: var(--c-brand-line); }
body.explorer-page .store-locate .ui-icon { width: 18px; height: 18px; }
body.explorer-page .store-list > .ad-placement { margin: 12px 16px; border-radius: var(--r-lg); }
body.explorer-page .store-list > .empty { padding: 48px 20px; text-align: center; color: var(--c-muted); }
body.explorer-page #load-more { display: block; width: calc(100% - 32px); max-width: 360px; margin: 18px auto; min-height: 46px; border-radius: var(--r-md); }
body.explorer-page #load-more[hidden] { display: none; }
body.explorer-page .panel-footnote { margin: 8px 20px 16px; font-size: 12px; color: var(--c-faint); }
body.explorer-page .finder-list > .ad-placement { margin: 8px 16px 20px; }

/* 지도 + 목록 */
body.explorer-page[data-view="map"] .finder-results { display: grid; grid-template-columns: var(--finder-list-w) minmax(0, 1fr); min-height: 0; }
body.explorer-page[data-view="map"] .finder-list { height: 100%; overflow-y: auto; padding: 0; border-right: 1px solid var(--c-line); background: #fff; }
body.explorer-page .map-section { border: 0; border-radius: 0; }
body.explorer-page .map-section > .explorer-condition-row { position: absolute; top: 14px; left: 14px; z-index: 6; max-width: calc(100% - 140px); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.95); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); }
body.explorer-page .map-section > .explorer-condition-row .hint { margin: 0; font-size: 12px; color: var(--c-ink-2); }
body.explorer-page .map-tools { top: 14px; right: 62px; gap: 8px; }
body.explorer-page .map-tools button { width: 46px; height: 46px; border-radius: var(--r-md); border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow-md); font-size: 10px; color: var(--c-ink-2); }
body.explorer-page .map-search { top: 14px; left: 50%; bottom: auto; transform: translateX(-50%); height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--c-brand-strong); border: 1px solid var(--c-line); box-shadow: var(--shadow-md); font-size: 14px; font-weight: 700; }
body.explorer-page .map-search .ui-icon { width: 16px; height: 16px; }
body.explorer-page .selected-store { left: 20px; bottom: 20px; width: 340px; max-width: calc(100% - 40px); padding: 18px; border-radius: var(--r-xl); border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow-lg); transform: none; }
body.explorer-page .selected-store h3 { margin: 6px 0 2px; font-size: 21px; letter-spacing: -.6px; padding-right: 32px; }
body.explorer-page .selected-store > p { margin: 0 0 10px; font-size: 13px; color: var(--c-muted); }
body.explorer-page .selected-store .selection-art { display: none; }
body.explorer-page .selected-store .store-badges { display: flex; gap: 6px; }
body.explorer-page .selected-store .rank-badge { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 4px; border-radius: 999px; background: var(--c-gold-soft); color: var(--c-gold-ink); font-size: 12px; font-weight: 800; border: 0; }
body.explorer-page .selected-store .rank-badge img { width: 18px; height: 20px; }
body.explorer-page .selected-store .hotspot-badge { display: none; }
body.explorer-page .selected-store .record-row { display: flex; gap: 16px; padding: 12px 0; margin: 0 0 12px; border-top: 1px solid var(--c-line-soft); border-bottom: 1px solid var(--c-line-soft); background: none; font-size: 13px; color: var(--c-muted); }
body.explorer-page .selected-store .record-row strong { font-size: 15px; color: var(--c-ink); }
body.explorer-page .selected-store .record-row .ui-icon { width: 15px; height: 15px; color: var(--c-gold); }
body.explorer-page .selected-store .card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.explorer-page .selected-store .card-actions .button { min-height: 44px; font-size: 14px; }
body.explorer-page .close-selection { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--c-bg-soft); display: grid; place-items: center; }
body.explorer-page .close-selection .ui-icon { width: 16px; height: 16px; }
.poi-label { border-radius: 999px !important; font-family: inherit; }
.search-center-label, .search-radius-label { border-radius: 999px; font-family: inherit; }

/* 목록만 보기: 가운데 2열 */
body.explorer-page[data-view="list"] .finder-results { display: block; overflow-y: auto; background: var(--c-bg-soft); }
body.explorer-page[data-view="list"] .finder-list { max-width: var(--container); height: auto; margin: 0 auto; padding: 24px var(--gutter) 48px; border: 0; background: transparent; overflow: visible; }
body.explorer-page[data-view="list"] .store-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.explorer-page[data-view="list"] .finder-workspace .store-card[data-rank] { border: 1px solid var(--c-line); border-radius: var(--r-lg); }
body.explorer-page[data-view="list"] .store-row { padding: 16px 6px 16px 18px; }
body.explorer-page[data-view="list"] .store-list > .ad-placement, body.explorer-page[data-view="list"] .store-list > .empty { grid-column: 1 / -1; margin: 6px 0; background: #fff; }
body.explorer-page[data-view="list"] .finder-list > .ad-placement { margin: 20px 0 0; background: #fff; }

@media (min-width: 861px) and (max-width: 1100px) {
    body.explorer-page { --finder-list-w: 360px; }
    body.explorer-page .finder-searchbox { padding-left: 16px; }
    body.explorer-page .filter-popover > summary, body.explorer-page .nearby-filter { padding: 0 10px; font-size: 13px; }
}

@media (max-width: 860px) {
    body.explorer-page .finder-workspace { display: flex; flex-direction: column; }
    body.explorer-page .finder-searchbox { padding: 10px 16px 0; border: 0; }
    body.explorer-page .finder-search { padding: 8px 16px 10px; border-bottom: 1px solid var(--c-line); }
    body.explorer-page .filter-controls { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
    body.explorer-page .filter-controls::-webkit-scrollbar { display: none; }
    body.explorer-page .filter-popover > summary, body.explorer-page .nearby-filter { height: 36px; padding: 0 11px; font-size: 13px; white-space: nowrap; }
    body.explorer-page .filter-controls .filter-panel, body.explorer-page .filter-controls .search-options-body { position: fixed; top: auto; bottom: calc(var(--tabbar-h) + 12px); left: 12px; right: 12px; width: auto; max-height: 64dvh; overflow-y: auto; z-index: 80; }
    body.explorer-page .finder-toolbar { padding: 8px 16px; flex-wrap: nowrap; }
    body.explorer-page .results-heading { min-width: 0; }
    body.explorer-page .results-heading { flex-direction: row; align-items: baseline; }
    body.explorer-page .results-heading h2 { font-size: 15px; }
    body.explorer-page .count { font-size: 12px; }
    body.explorer-page .view-switch button { height: 32px; padding: 0 10px; font-size: 12px; }
    body.explorer-page .finder-results { flex: 1; min-height: 0; }
    body.explorer-page[data-view="list"] .finder-list { padding: 12px 12px 24px; }
    body.explorer-page[data-view="list"] .store-list { grid-template-columns: 1fr; gap: 8px; }
    body.explorer-page .store-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 13px 4px 13px 14px; }
    body.explorer-page .store-count b { font-size: 22px; }
    body.explorer-page .store-locate { width: 38px; height: 38px; margin-right: 10px; }
    body.explorer-page[data-view="map"] .finder-results { display: block; position: relative; }
    body.explorer-page[data-view="map"] .finder-list { position: absolute; left: 0; right: 0; bottom: 0; height: 44%; z-index: 5; border: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -8px 28px rgba(50, 44, 36,.16); }
    body.explorer-page[data-sheet="expanded"][data-view="map"] .finder-list { height: 84%; }
    body.explorer-page[data-view="map"] .results-handle { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 34px; padding: 0; position: sticky; top: 0; z-index: 2; border: 0; background: #fff; font-size: 12px; color: var(--c-faint); }
    body.explorer-page[data-view="map"] .results-handle::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #ddd9d5; }
    body.explorer-page .selected-store { left: 12px; right: 12px; width: auto; bottom: calc(44% + 12px); max-height: 50%; }
    body.explorer-page .map-section > .explorer-condition-row { display: none; }
    body.explorer-page .map-tools { top: 12px; right: 52px; }
    body.explorer-page .map-tools button { width: 42px; height: 42px; }
    body.explorer-page .map-search { top: 12px; font-size: 13px; height: 38px; }
}

/* ==========================================================================
   랭킹·통계 (insights.jsp, .ip)
   ========================================================================== */
.insights-page { background: #fff; }
.ip { padding-bottom: 80px; }
.ip .ls-tabs { margin-bottom: 20px; }
.ip-filters.is-auto .ip-submit { display: none; }
.ip-basis { margin-left: auto; font-size: 13px; color: var(--c-faint); }

/* 시상대 */
.ip-podium { display: grid; grid-template-columns: 1fr 1.16fr 1fr; gap: 16px; align-items: end; margin: 8px 0 28px; }
.ip-pod { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 20px 24px; border-radius: 22px; border: 1px solid var(--c-line); background: linear-gradient(180deg, #faf9f7 0%, #fff 100%); transition: transform .15s, box-shadow .15s; }
.ip-pod:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ip-pod.p1 { order: 2; padding: 34px 22px 30px; border: 0; background: radial-gradient(120% 90% at 50% 0%, #564b3e 0%, var(--c-navy) 60%); color: #fff; box-shadow: 0 18px 40px rgba(50, 44, 36,.24); }
.ip-pod.p2 { order: 1; } .ip-pod.p3 { order: 3; }
.ip-pod::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -8px; height: 8px; border-radius: 0 0 12px 12px; background: #dfdbd6; }
.ip-pod.gold::after { background: linear-gradient(90deg, #c88f00, #f2c24a, #c88f00); }
.ip-pod.bronze::after { background: #e3c2a6; }
.ip-pod-crown { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ip-pod-crown svg { width: 30px; height: 30px; color: #b1aba4; }
.ip-pod.gold .ip-pod-crown svg { color: #f5c84b; width: 36px; height: 36px; }
.ip-pod.bronze .ip-pod-crown svg { color: var(--c-bronze); }
.ip-pod-crown b { font-size: 14px; font-weight: 800; }
.ip-pod img { width: 64px; height: 70px; object-fit: contain; margin: 4px 0; }
.ip-pod.p1 img { width: 78px; height: 84px; background: #fff; border-radius: 18px; padding: 6px; }
.ip-pod-name { font-size: 21px; letter-spacing: -.6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-pod.p1 .ip-pod-name { font-size: 26px; }
.ip-pod-area { font-size: 13px; color: var(--c-muted); }
.ip-pod.p1 .ip-pod-area, .ip-pod.p1 .ip-pod-sub { color: #cfc9c2; }
.ip-pod-count { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; font-size: 44px; font-weight: 800; letter-spacing: -1.6px; line-height: 1; color: var(--c-brand-strong); }
.ip-pod.bronze .ip-pod-count { color: #9a5a2a; }
.ip-pod.p1 .ip-pod-count { font-size: 64px; background: linear-gradient(180deg, #ffe39a 0%, #e0a100 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ip-pod-count small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--c-muted); -webkit-text-fill-color: currentColor; }
.ip-pod.p1 .ip-pod-count small { color: #e5e1d8; -webkit-text-fill-color: #e5e1d8; }
.ip-pod-sub { font-size: 13px; color: var(--c-faint); }

/* 목록 표 */
.ip-list { border: 1px solid var(--c-line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.ip-list-head, .ip-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 90px 240px 80px; align-items: center; gap: 16px; padding: 0 24px; }
.ip-list-head { height: 44px; background: var(--c-bg-soft); font-size: 13px; color: var(--c-faint); font-weight: 600; }
.ip-list-head .r, .ip-row .r { text-align: right; }
.ip-row { min-height: 66px; border-top: 1px solid var(--c-line-soft); color: var(--c-ink); transition: background .12s; }
.ip-row:hover { background: var(--c-bg-card); }
.ip-row-no, .ip-row-event { display: flex; flex-direction: column; font-size: 17px; font-weight: 800; line-height: 1.15; color: var(--c-ink-2); }
.ip-row-no small, .ip-row-event small { font-size: 11px; font-weight: 600; color: var(--c-faint); }
.ip-row-event { flex-direction: row; align-items: baseline; gap: 1px; font-size: 15px; color: var(--c-brand-strong); }
.ip-row-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ip-row-name strong { font-size: 16px; letter-spacing: -.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-row-name span { font-size: 13px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-row-area { font-size: 13px; color: var(--c-ink-2); }
.ip-row-area::before { content: ""; }
.ip-row-first { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 12px; }
.ip-row-first b { text-align: right; font-size: 19px; letter-spacing: -.5px; color: var(--c-brand-strong); }
.ip-row-first.plain { display: flex; justify-content: flex-end; align-items: baseline; gap: 2px; }
.ip-row-first.plain small { font-size: 12px; color: var(--c-faint); }
.ip-row-second { text-align: right; font-size: 14px; color: var(--c-muted); }
.ip-list > .ad-placement { margin: 0; border: 0; border-top: 1px solid var(--c-line-soft); border-radius: 0; background: var(--c-bg-card); padding: 14px 24px 18px; }
.ip-list-winners .ip-list-head, .ip-list-winners .ip-row { grid-template-columns: 72px minmax(0, 1fr) 90px 110px 80px; }

/* 패널·표 */
.ip-panel { padding: 24px; margin-bottom: 20px; }
.ip-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ip-panel-head h2 { margin: 0; font-size: 20px; letter-spacing: -.6px; }
.ip-panel-head > span:not(.medal) { font-size: 13px; color: var(--c-faint); }
.ip-table-wrap { overflow-x: auto; margin: 0 -8px; }
.ip-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ip-table th { padding: 10px 8px; text-align: left; font-size: 12px; font-weight: 600; color: var(--c-faint); border-bottom: 1px solid var(--c-line); white-space: nowrap; }
.ip-table td { padding: 14px 8px; border-bottom: 1px solid var(--c-line-soft); white-space: nowrap; }
.ip-table .r { text-align: right; }
.ip-table .strong { font-weight: 700; }
.ip-table a { font-weight: 700; color: var(--c-brand-strong); }
.ip-table a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ip-table tr.is-current td { background: var(--c-brand-soft); }
.ip-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; font-size: 14px; color: var(--c-muted); }
.ip-pager .btn { min-height: 42px; font-size: 14px; }
.ip-section-title { margin: 8px 0 16px; font-size: 22px; letter-spacing: -.7px; }
.ip-section-title small { font-size: 13px; font-weight: 500; color: var(--c-faint); margin-left: 6px; letter-spacing: 0; }
.ip-empty { padding: 48px 20px; text-align: center; color: var(--c-muted); border: 1px dashed var(--c-line); border-radius: var(--r-lg); }
.ip-empty.sm { padding: 24px; }
.ip-notice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; padding: 14px 16px; border-radius: var(--r-md); background: var(--c-bg-soft); font-size: 13px; line-height: 1.6; color: var(--c-ink-2); }
.ip-notice svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--c-brand); margin-top: 1px; }
.ip-notice p { margin: 0; }

/* KPI */
.ip-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; }
.ip-kpi { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--r-xl); background: linear-gradient(180deg, #fbf9f5, #fcfbf9); border: 1px solid #f0ece5; }
.ip-kpi-label { font-size: 14px; font-weight: 700; color: var(--c-ink-2); }
.ip-kpi strong { font-size: 32px; letter-spacing: -1.2px; line-height: 1.15; color: var(--c-brand-strong); }
.ip-kpi strong small { font-size: 16px; margin-left: 2px; letter-spacing: 0; }
.ip-kpi-sub { font-size: 13px; color: var(--c-faint); }
.ip-kpi-row { display: flex; align-items: center; gap: 12px; }
.ip-kpi-row .ls-ball { --s: 46px; }
.ip-kpi .more-link { padding: 0; }

/* 번호 차트 */
.ip-chart { display: grid; grid-template-columns: repeat(45, minmax(0, 1fr)); align-items: end; gap: 4px; height: 280px; padding-top: 22px; }
.ip-chart-col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.ip-chart-val { font-size: 10px; font-weight: 700; color: var(--c-faint); white-space: nowrap; }
.ip-chart-bar { width: 100%; max-width: 18px; border-radius: 5px 5px 2px 2px; }
.ip-chart-bar.c1 { background: #e0a800; } .ip-chart-bar.c2 { background: #f0a119; } .ip-chart-bar.c3 { background: #d94b4b; } .ip-chart-bar.c4 { background: #9c9791; } .ip-chart-bar.c5 { background: #3d9a5b; }
.ip-chart-no { font-size: 11px; font-weight: 700; color: var(--c-ink-2); }
.ip-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ip-grid-2 .ip-panel { margin: 0; }
.ip-top10 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.ip-top10 li { display: grid; grid-template-columns: 22px 34px minmax(0, 1fr); align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--c-line-soft); }
.ip-top10-no { font-size: 13px; font-weight: 700; color: var(--c-faint); }
.ip-top10 .ls-ball { --s: 32px; }
.ip-top10 strong { text-align: right; font-size: 16px; }
.ip-top10 strong small { font-size: 12px; color: var(--c-faint); font-weight: 500; margin-left: 1px; }

/* 당첨금 추이 */
.ip-prize-trend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ip-prize-trend a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--c-bg-soft); transition: background .15s; }
.ip-prize-trend a:hover { background: #f4f1ec; }
.ip-prize-trend span { font-size: 13px; font-weight: 700; color: var(--c-brand-strong); }
.ip-prize-trend strong { font-size: 18px; letter-spacing: -.5px; }
.ip-prize-trend strong small { font-size: 13px; margin-left: 1px; }
.ip-prize-trend em { font-style: normal; font-size: 12px; color: var(--c-faint); }

/* 최근 1등 배출점 */
.ip-draws { display: flex; flex-direction: column; gap: 18px; }
.ip-draws > .ad-placement { margin: 0; }
.ip-draw { padding: 22px 24px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: #fff; }
.ip-draw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ip-draw-head h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 21px; letter-spacing: -.6px; }
.ip-draw-head p { margin: 0; font-size: 13px; color: var(--c-faint); }
.ip-draw-tools { display: flex; align-items: center; gap: 6px; }
.ip-draw-tools button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.ip-draw-tools button svg { width: 16px; height: 16px; }
.ip-draw-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.ip-draw-track::-webkit-scrollbar { display: none; }
.ip-draw-card { scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: var(--r-lg); background: var(--c-bg-soft); min-width: 0; transition: background .15s; }
.ip-draw-card:hover { background: #f4f1ec; }
.ip-draw-card strong { font-size: 16px; letter-spacing: -.4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-draw-addr { font-size: 12px; color: var(--c-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-draw-foot { font-size: 12px; color: var(--c-faint); margin-top: 2px; }
.ip-draw-foot b { color: var(--c-ink); }

@media (max-width: 1100px) {
    .ip-list-head, .ip-row { grid-template-columns: 56px minmax(0, 1fr) 200px 60px; }
    .ip-row-area, .ip-list-head span:nth-child(3) { display: none; }
    .ip-list-winners .ip-list-head, .ip-list-winners .ip-row { grid-template-columns: 64px minmax(0, 1fr) 90px 70px; }
    .ip-chart-val { display: none; }
    .ip-prize-trend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .ip { padding-bottom: 48px; }
    .ip .ls-tabs { gap: 20px; margin: 0 calc(var(--gutter) * -1) 14px; padding: 0 var(--gutter); }
    .ip .ls-tabs a { font-size: 15px; padding: 12px 0 11px; }
    .ip-basis { display: none; }
    .ip-podium { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
    .ip-pod.p1 { grid-column: 1 / -1; order: 0; flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; gap: 4px 14px; padding: 20px; }
    .ip-pod.p1 .ip-pod-crown { flex-direction: row; gap: 6px; width: 100%; }
    .ip-pod.p1 .ip-pod-crown svg { width: 24px; height: 24px; }
    .ip-pod.p1 img { width: 60px; height: 64px; margin: 0; order: 1; }
    .ip-pod.p1 .ip-pod-name { order: 2; font-size: 22px; flex: 1; }
    .ip-pod.p1 .ip-pod-area { order: 4; width: 100%; }
    .ip-pod.p1 .ip-pod-count { order: 3; font-size: 48px; margin: 0; }
    .ip-pod.p1 .ip-pod-sub { order: 5; }
    .ip-pod.p2 { order: 1; } .ip-pod.p3 { order: 2; }
    .ip-pod { padding: 16px 12px 18px; gap: 4px; border-radius: 18px; }
    .ip-pod-crown svg { width: 22px; height: 22px; }
    .ip-pod img { width: 46px; height: 50px; }
    .ip-pod-name { font-size: 16px; }
    .ip-pod-count { font-size: 32px; margin-top: 4px; }
    .ip-list { border-radius: 16px; }
    .ip-list-head { display: none; }
    .ip-row, .ip-list-winners .ip-row { grid-template-columns: 42px minmax(0, 1fr) 56px; gap: 10px; padding: 0 14px; min-height: 64px; }
    .ip-row-first .ls-bar, .ip-row-second { display: none; }
    .ip-row-first { display: block; text-align: right; }
    .ip-row-first.plain { display: flex; }
    .ip-row-name strong { font-size: 15px; }
    .ip-row-name span { font-size: 12px; }
    .ip-list > .ad-placement { padding: 12px 14px 14px; }
    .ip-panel { padding: 18px; border-radius: 18px; }
    .ip-panel-head h2 { font-size: 17px; }
    .ip-kpis { grid-template-columns: 1fr; gap: 8px; }
    .ip-kpi { padding: 16px 18px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
    .ip-kpi strong { font-size: 24px; }
    .ip-kpi-row .ls-ball { --s: 36px; }
    .ip-kpi-sub { width: 100%; }
    .ip-chart { grid-template-columns: repeat(15, minmax(0, 1fr)); height: auto; row-gap: 18px; padding-top: 0; }
    .ip-chart-col { height: 120px; }
    .ip-chart-bar { max-width: 14px; }
    .ip-grid-2 { grid-template-columns: 1fr; gap: 12px; }
    .ip-top10 { column-gap: 16px; }
    .ip-prize-trend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ip-prize-trend strong { font-size: 16px; }
    .ip-draw { padding: 16px; border-radius: 18px; }
    .ip-draw-head h2 { font-size: 18px; }
    .ip-draw-tools button { display: none; }
    .ip-draw-track { grid-auto-columns: 70%; margin: 0 -16px; padding: 0 16px; scroll-padding: 16px; }
    .ip-section-title { font-size: 19px; }
    .ip-table td, .ip-table th { padding-left: 6px; padding-right: 6px; }
}
.ip-grid-2 + .ip-notice { margin-top: 16px; }

/* ==========================================================================
   당첨번호 (draw.jsp, .dp)
   ========================================================================== */
.draw-page-body { background: #fff; }
.dp { padding-bottom: 80px; }
.dp-round { display: flex; align-items: center; gap: 8px; }
.dp-icon-btn { width: 46px; height: 46px; border-radius: var(--r-md); border: 1px solid #e5e1da; background: #fff; display: grid; place-items: center; color: var(--c-ink); cursor: pointer; }
.dp-icon-btn svg { width: 18px; height: 18px; }
.dp-icon-btn:disabled { opacity: .35; cursor: default; }
.dp-round-form { display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 4px 0 14px; border: 1px solid #e5e1da; border-radius: var(--r-md); background: #fff; }
.dp-round-form input { width: 64px; height: 40px; border: 0; padding: 0; font-size: 17px; font-weight: 800; color: var(--c-brand-strong); text-align: right; background: transparent; -moz-appearance: textfield; }
.dp-round-form input::-webkit-inner-spin-button, .dp-round-form input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.dp-round-form > span { font-size: 15px; font-weight: 700; color: var(--c-ink-2); margin-right: 6px; }
.dp-go { height: 36px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--c-bg-soft); font-size: 13px; font-weight: 700; color: var(--c-ink-2); cursor: pointer; }
.dp-go:hover { background: #f2efea; }
.dp-latest { min-height: 46px; }
.dp-latest:disabled { opacity: .45; }

.dp-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.dp-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.dp-main > .ad-placement { margin: 0; }
.dp-result { padding: 28px; }
.dp-result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dp-result-head h2 { margin: 0; font-size: 24px; letter-spacing: -.8px; }
.dp-result-head p { margin: 0; font-size: 14px; color: var(--c-faint); }
.dp-balls { gap: 10px; align-items: flex-start; padding: 22px 20px 16px; border-radius: var(--r-lg); background: var(--c-bg-soft); justify-content: center; }
.dp-balls .ls-ball { --s: 58px; }
.dp-balls .ls-plus { align-self: center; margin-top: -18px; font-size: 22px; }
.dp-bonus { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dp-bonus small { font-size: 11px; font-weight: 600; color: var(--c-faint); }
.dp-first { display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 0; margin-top: 18px; border-radius: var(--r-lg); background: linear-gradient(180deg, #fff7e2, #fffbf0); border: 1px solid #f3e2b3; overflow: hidden; }
.dp-first-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 76px; align-self: stretch; background: #fdecb8; color: var(--c-gold-ink); font-size: 15px; font-weight: 800; }
.dp-first-badge svg { width: 24px; height: 24px; color: #c88f00; }
.dp-first-amount, .dp-first-count { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; min-width: 0; }
.dp-first-count { border-left: 1px solid #f1e2bb; }
.dp-first span { font-size: 13px; color: #6b5a2e; }
.dp-first strong { font-size: 32px; letter-spacing: -1.2px; line-height: 1.2; color: var(--c-ink); white-space: nowrap; }
.dp-first-amount strong { color: #9a6c00; }
.dp-first strong small { font-size: 17px; margin-left: 2px; letter-spacing: 0; }
.dp-first em { font-style: normal; font-size: 12px; color: #8a7a4f; }
.dp-prizes { width: 100%; margin-top: 10px; border-collapse: collapse; }
.dp-prizes th, .dp-prizes td { padding: 15px 4px; border-bottom: 1px solid var(--c-line-soft); text-align: left; font-size: 15px; }
.dp-prizes thead th { padding: 12px 4px 10px; font-size: 12px; font-weight: 600; color: var(--c-faint); border-bottom-color: var(--c-line); }
.dp-prizes tbody th { width: 64px; font-weight: 800; }
.dp-prizes .dp-amount { font-weight: 700; font-size: 17px; color: var(--c-brand-strong); }
.dp-prizes .r { text-align: right; }
.dp-prizes .dp-cond { color: var(--c-faint); font-size: 13px; }
.dp-prizes tr:last-child td, .dp-prizes tr:last-child th { border-bottom: 0; }
.dp-sales { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-brand-soft); font-size: 14px; color: var(--c-brand-strong); font-weight: 600; }
.dp-sales:empty { display: none; }
.dp-sales strong { font-size: 18px; color: var(--c-ink); }

.dp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dp-card-head h2 { margin: 0; font-size: 20px; letter-spacing: -.6px; }
.dp-past { padding: 24px; }
.dp-past-list { display: flex; flex-direction: column; gap: 8px; }
.dp-past-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--c-line-soft); transition: border-color .15s, background .15s; }
.dp-past-row:hover { border-color: #f0a119; background: var(--c-bg-card); }
.dp-past-no { display: flex; flex-direction: column; min-width: 0; }
.dp-past-no strong { font-size: 16px; }
.dp-past-no span { font-size: 12px; color: var(--c-faint); white-space: nowrap; }
.dp-past-row .ls-balls { gap: 5px; flex-wrap: nowrap; }
.dp-past-row .ls-ball { --s: 34px; }
.dp-past-row .ls-plus { font-size: 14px; padding: 0; }

.dp-side { position: sticky; top: calc(var(--header-h) + 16px); min-width: 0; }
.dp-winners { padding: 24px; }
.dp-count { font-size: 14px; font-weight: 700; color: var(--c-brand); }
.dp-winners .winner-tabs { display: flex; width: 100%; margin-bottom: 12px; }
.dp-winners .winner-tabs button { flex: 1; justify-content: center; }
.dp-split { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.dp-split:empty { display: none; }
.dp-method { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.dp-method.auto { background: var(--c-brand-soft); color: var(--c-brand-strong); }
.dp-method.manual { background: #fdf0e4; color: #8a4512; }
.dp-method.semi { background: #eaf6ef; color: #2c6b3c; }
.dp-method.none { background: var(--c-bg-soft); color: var(--c-muted); }
.dp-winner-list { display: flex; flex-direction: column; }
.dp-winner { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--c-line-soft); color: var(--c-ink); }
a.dp-winner:hover { background: var(--c-bg-card); }
.dp-winner-no { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c-bg-soft); font-size: 12px; font-weight: 800; color: var(--c-ink-2); }
.dp-winner-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dp-winner-main strong { font-size: 15px; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-winner-main span { font-size: 12px; color: var(--c-muted); }
.dp-winner-meta { display: flex; align-items: center; gap: 4px; }
.dp-winner-meta b { font-size: 12px; color: var(--c-ink-2); margin-left: 2px; }
.dp-winner-list > .ad-placement { margin: 12px 0; }
.dp-empty { padding: 28px 12px; text-align: center; color: var(--c-muted); font-size: 14px; line-height: 1.7; }
.dp-empty p { margin: 0; }

@media (max-width: 1100px) {
    .dp-layout { grid-template-columns: 1fr; }
    .dp-side { position: static; }
}
@media (max-width: 860px) {
    .dp { padding-bottom: 40px; }
    .dp .page-head { padding-bottom: 14px; }
    .dp-round { width: 100%; }
    .dp-round-form { flex: 1; }
    .dp-round-form input { flex: 1; text-align: center; }
    .dp-icon-btn { width: 44px; height: 44px; }
    .dp-latest { display: none; }
    .dp .ls-tabs { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); gap: 20px; margin-bottom: 16px; }
    .dp .ls-tabs a { font-size: 15px; padding: 12px 0 11px; }
    .dp-layout, .dp-main { gap: 14px; }
    .dp-result { padding: 18px; border-radius: 18px; }
    .dp-result-head { flex-direction: column; gap: 2px; margin-bottom: 14px; }
    .dp-result-head h2 { font-size: 20px; }
    .dp-balls { gap: 4px; padding: 14px 8px 10px; flex-wrap: nowrap; }
    .dp-balls .ls-ball { --s: 38px; }
    .dp-balls .ls-plus { font-size: 15px; margin-top: -14px; padding: 0; }
    .dp-first { grid-template-columns: 1fr 1fr; }
    .dp-first-badge { grid-column: 1 / -1; flex-direction: row; width: auto; padding: 8px; gap: 6px; font-size: 14px; }
    .dp-first-badge svg { width: 18px; height: 18px; }
    .dp-first-amount, .dp-first-count { padding: 12px 14px; }
    .dp-first strong { font-size: 22px; }
    .dp-first strong small { font-size: 14px; }
    .dp-prizes .dp-cond { display: none; }
    .dp-prizes th, .dp-prizes td { font-size: 14px; padding: 13px 2px; }
    .dp-prizes .dp-amount { font-size: 15px; }
    .dp-past, .dp-winners { padding: 18px; border-radius: 18px; }
    .dp-card-head h2 { font-size: 17px; }
    .dp-past-row { padding: 10px 12px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .dp-past-no { flex-direction: row; gap: 8px; align-items: baseline; }
    .dp-past-row .ls-balls { gap: 4px; }
    .dp-past-row .ls-ball { --s: 32px; }
}
@media (max-width: 1100px) { .dp-main { display: contents; } .dp-main > .dp-past { order: 3; } }

/* ==========================================================================
   판매점 상세 (store.jsp) — 구조는 유지하고 새 토큰으로 정돈
   ========================================================================== */
.store-detail-page { background: #fff; }
.store-detail-page .store-detail-main { max-width: var(--container); padding: 20px var(--gutter) 80px; }
.store-detail-page .back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--c-muted); margin-bottom: 16px; }
.store-detail-page .back-link .ui-icon { width: 16px; height: 16px; }
.store-detail-page .store-street-hero { border-radius: 24px 24px 0 0; overflow: hidden; }
.store-detail-page .store-overview { border-radius: 24px; border: 1px solid var(--c-line); overflow: hidden; box-shadow: var(--shadow-sm); }
.store-detail-page .store-heading h1 { font-size: 44px; letter-spacing: -1.6px; }
.store-detail-page .store-heading .eyebrow { color: #f1ebe1; }
.store-detail-page .store-visit-bar { border-radius: 0 0 24px 24px; }
.store-detail-page .stat-grid { gap: 0; }
.store-detail-page #store-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.store-detail-page #store-stats .stat { padding: 4px 16px; border-left: 1px solid var(--c-line-soft); }
.store-detail-page #store-stats .stat:first-child { border-left: 0; padding-left: 0; }
.store-detail-page #store-stats .stat-value { font-size: 36px; letter-spacing: -1.4px; color: var(--c-ink); }
.store-detail-page #store-stats .stat-value.accent { color: var(--c-brand-strong); }
.store-detail-page #store-stats .stat-recent .stat-value { color: #9a6c00; }
.store-detail-page #store-stats .stat-recent .stat-value:hover { text-decoration: underline; text-underline-offset: 4px; }
.store-detail-page .directions-app { border-radius: var(--r-md); }
.store-detail-page .detail-section-nav { display: flex; gap: 28px; margin: 28px 0 20px; border-bottom: 1px solid var(--c-line); position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.96); }
.store-detail-page .detail-section-nav a { padding: 14px 0 13px; font-size: 16px; font-weight: 600; color: var(--c-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.store-detail-page .detail-section-nav a:hover, .store-detail-page .detail-section-nav a:first-child { color: var(--c-ink); border-bottom-color: var(--c-ink); }
.store-detail-page .card { border-radius: var(--r-xl); border: 1px solid var(--c-line); box-shadow: none; }
.store-detail-page .history-card { padding: 26px; margin-top: 20px; }
.store-detail-page .section-heading h2 { font-size: 21px; letter-spacing: -.6px; }
.store-detail-page .heading-icon { border-radius: 10px; }
.store-detail-page .table-wrap table { border-collapse: collapse; width: 100%; }
.store-detail-page .table-wrap th { background: var(--c-bg-soft); font-size: 12px; font-weight: 600; color: var(--c-faint); padding: 11px 14px; text-align: left; }
.store-detail-page .table-wrap td { padding: 13px 14px; border-bottom: 1px solid var(--c-line-soft); font-size: 14px; }
.store-detail-page .table-wrap td a { font-weight: 700; color: var(--c-brand-strong); }
.hist-rank { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--c-bg-soft); color: var(--c-ink-2); }
.hist-rank.first { background: var(--c-gold-soft); color: var(--c-gold-ink); }
.hist-rank.second { background: var(--c-brand-soft); color: var(--c-brand-strong); }
.store-detail-page .history-more { width: 100%; margin-top: 14px; border-radius: var(--r-md); }
.store-detail-page #winning-history > .ad-placement { margin: 16px 0; }
.store-detail-page .nearby-controls select { border-radius: var(--r-sm); }
.store-detail-page #nearby-stores > .ad-placement { grid-column: 1 / -1; margin: 4px 0; }
.store-detail-page .store-detail-main > article > .ad-placement { margin: 24px 0 0; }

@media (max-width: 860px) {
    .store-detail-page .store-detail-main { padding: 12px var(--gutter) 40px; }
    .store-detail-page .store-overview, .store-detail-page .store-street-hero { border-radius: 18px 18px 0 0; }
    .store-detail-page .store-overview { border-radius: 18px; }
    .store-detail-page .store-heading h1 { font-size: 30px; }
    .store-detail-page #store-stats .stat { padding: 2px 10px; }
    .store-detail-page #store-stats .stat-value { font-size: 26px; }
    .store-detail-page .detail-section-nav { gap: 20px; margin: 20px 0 14px; }
    .store-detail-page .detail-section-nav a { font-size: 15px; padding: 12px 0 11px; }
    .store-detail-page .history-card { padding: 18px; }
    .store-detail-page .table-wrap td, .store-detail-page .table-wrap th { padding: 11px 8px; }
}

/* ==========================================================================
   번호 추첨 · 지역별 판매점 · 정보 페이지
   ========================================================================== */
.random-page { background: #fff; }
.random-page .draw-studio { max-width: var(--container); padding: 36px var(--gutter) 72px; }
.random-page .draw-studio .ad-placement { margin-top: 24px; }

.region-page { background: #fff; }
.region-page .region-main { max-width: var(--container); margin: 0 auto; padding: 24px var(--gutter) 72px; }
.region-page .region-breadcrumb { font-size: 13px; color: var(--c-faint); display: flex; gap: 6px; margin-bottom: 8px; }
.region-page .region-intro h1 { font-size: 34px; letter-spacing: -1.3px; }
.region-page .region-eyebrow { color: var(--c-brand); font-weight: 700; font-size: 13px; }
.region-page .region-hero-art { width: 88px; height: 88px; }
.region-page .region-map-link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: var(--r-md); background: var(--c-brand); color: #fff; font-weight: 700; font-size: 14px; }
.region-page .region-map-link .ui-icon { width: 16px; height: 16px; }
.region-page .region-results-heading h2 { font-size: 21px; letter-spacing: -.6px; }
.region-page .region-list { border: 1px solid var(--c-line); border-radius: var(--r-xl); overflow: hidden; background: #fff; gap: 0; }
.region-page .region-store-row { display: grid; grid-template-columns: 48px 44px minmax(0, 1fr) auto 32px; align-items: center; gap: 14px; padding: 12px 20px; border: 0; border-top: 1px solid var(--c-line-soft); border-radius: 0; box-shadow: none; background: #fff; margin: 0; }
.region-page .region-store-row:first-child { border-top: 0; }
.region-page .region-store-row:hover { background: var(--c-bg-card); }
.region-page .region-store-rank { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.region-page .region-store-rank strong { font-size: 18px; color: var(--c-ink-2); }
.region-page .region-store-rank small { font-size: 10px; color: var(--c-faint); }
.region-page .region-store-art { width: 40px; height: 44px; }
.region-page .region-store-info h3 { margin: 0 0 2px; font-size: 16px; letter-spacing: -.4px; }
.region-page .region-store-info p { margin: 0; font-size: 13px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.region-page .region-store-map { display: none; }
.region-page .region-store-records { display: flex; gap: 18px; margin: 0; }
.region-page .region-store-records div { display: flex; flex-direction: column; align-items: flex-end; }
.region-page .region-store-records dt { font-size: 11px; color: var(--c-faint); }
.region-page .region-store-records dd { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.6px; color: var(--c-brand-strong); }
.region-page .region-store-records div + div dd { color: var(--c-ink-2); font-weight: 700; font-size: 17px; }
.region-page .region-store-records small { font-size: 12px; font-weight: 500; color: var(--c-faint); }
.region-page .region-store-detail { color: var(--c-faint); }
.region-page .region-list > .ad-placement { margin: 0; border: 0; border-top: 1px solid var(--c-line-soft); border-radius: 0; background: var(--c-bg-card); padding: 14px 20px 18px; }
.region-page .region-other { margin-top: 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 14px 18px; }
.region-page .region-other nav a { border-radius: 999px; }

.information-page { max-width: 880px; margin: 0 auto; padding: 40px var(--gutter) 72px; }
.information-page h1 { font-size: 34px; letter-spacing: -1.3px; }
.information-page .card { border-radius: var(--r-xl); border: 1px solid var(--c-line); box-shadow: none; padding: 26px 28px; }
.information-page .card h2 { font-size: 20px; letter-spacing: -.6px; }
.information-page .card p, .information-page .card li { font-size: 15px; line-height: 1.75; color: var(--c-ink-2); }

@media (max-width: 860px) {
    .random-page .draw-studio { padding: 20px var(--gutter) 40px; }
    .region-page .region-main { padding: 14px var(--gutter) 40px; }
    .region-page .region-intro h1 { font-size: 26px; }
    .region-page .region-hero-art { display: none; }
    .region-page .region-store-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 12px 14px; }
    .region-page .region-store-art, .region-page .region-store-detail { display: none; }
    .region-page .region-store-records { gap: 12px; }
    .region-page .region-store-records dd { font-size: 18px; }
    .region-page .region-store-records div + div dd { font-size: 15px; }
    .information-page { padding: 24px var(--gutter) 40px; }
    .information-page h1 { font-size: 26px; }
    .information-page .card { padding: 18px; }
}

/* ==========================================================================
   안내 페이지 (약관·개인정보·FAQ·가이드·공지) — 옛 마크업을 공통 레이아웃에 맞춤
   ========================================================================== */
.legacy-page { background: #fff; }
.doc { max-width: 920px; padding-bottom: 72px; }
.doc .content { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; max-width: none; background: none; }
.doc h2 { font-size: 19px; letter-spacing: -.5px; margin: 0 0 10px; }
.doc p, .doc li { font-size: 15px; line-height: 1.8; color: var(--c-ink-2); }
.doc ul, .doc ol { padding-left: 20px; margin: 6px 0 10px; }
.doc a { color: var(--c-brand-strong); text-decoration: underline; text-underline-offset: 3px; }

/* 약관 · 개인정보 */
.doc .privacy-card, .doc .terms-card { padding: 8px 32px 28px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: #fff; box-shadow: none; }
.doc .privacy-header, .doc .terms-header { padding: 18px 0 6px; border: 0; margin: 0; text-align: left; }
.doc .privacy-title, .doc .terms-title { display: none; }
.doc .privacy-date, .doc .terms-date { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--c-bg-soft); font-size: 13px; color: var(--c-muted); }
.doc .privacy-section, .doc .terms-section { padding: 22px 0; border-bottom: 1px solid var(--c-line-soft); }
.doc .privacy-section:last-child, .doc .terms-section:last-child { border-bottom: 0; }
.doc .privacy-section p + p, .doc .terms-section p + p { margin-top: 6px; }
.doc .privacy-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.doc .privacy-table th { background: var(--c-bg-soft); color: var(--c-ink-2); font-weight: 700; padding: 10px 12px; text-align: left; border: 1px solid var(--c-line); }
.doc .privacy-table td { padding: 10px 12px; border: 1px solid var(--c-line); color: var(--c-ink-2); }
.doc .contact-box { margin-top: 10px; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-bg-soft); }

/* FAQ */
.legacy-faq .search-container { margin: 0 0 16px; padding: 0; background: none; }
.legacy-faq .search-box { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1.5px solid #ddd8d2; border-radius: var(--r-md); background: #fff; }
.legacy-faq .search-box:focus-within { border-color: var(--c-brand); }
.legacy-faq .search-icon { color: var(--c-faint); flex-shrink: 0; }
.legacy-faq .search-input { flex: 1; height: 100%; border: 0; background: transparent; font-size: 16px; outline: none; }
.legacy-faq .faq-item { border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: none; margin: 0; }
.legacy-faq .faq-question { display: flex; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; }
.legacy-faq .faq-question:hover { background: var(--c-bg-card); }
.legacy-faq .faq-icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; background: var(--c-brand-soft); color: var(--c-brand); font-weight: 800; font-size: 14px; }
.legacy-faq .faq-title { flex: 1; margin: 0; font-size: 16px; letter-spacing: -.4px; }
.legacy-faq .faq-arrow { font-size: 11px; color: var(--c-faint); transition: transform .2s; }
.legacy-faq .faq-item.open .faq-arrow { transform: rotate(180deg); }
.legacy-faq .faq-answer { display: none; max-height: none; }
.legacy-faq .faq-item.open .faq-answer { display: block; }
.legacy-faq .faq-answer-content { padding: 0 20px 18px 60px; }
.legacy-faq .faq-empty { padding: 28px; text-align: center; color: var(--c-muted); }
.legacy-faq .contact-cta { margin-top: 12px; padding: 28px; border-radius: var(--r-xl); background: var(--c-bg-soft); text-align: center; border: 0; }
.legacy-faq .contact-title { margin: 0 0 4px; font-size: 18px; }
.legacy-faq .contact-desc { margin: 0 0 16px; }
.legacy-faq .contact-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: var(--r-md); background: var(--c-brand); color: #fff; font-weight: 700; text-decoration: none; }

/* 가이드 */
.legacy-guide .hero { padding: 28px; border-radius: var(--r-xl); background: linear-gradient(180deg, #fbf9f5, #fcfbf9); border: 1px solid #f0ece5; text-align: left; color: var(--c-ink); margin: 0; }
.legacy-guide .hero-icon { font-size: 32px; margin-bottom: 8px; }
.legacy-guide .hero-title { font-size: 22px; color: var(--c-ink); margin: 0 0 6px; }
.legacy-guide .hero-desc { color: var(--c-muted); margin: 0; }
.legacy-guide .guide-section { padding: 26px 28px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: #fff; box-shadow: none; margin: 0; }
.legacy-guide .guide-section-title { display: flex; align-items: center; gap: 8px; font-size: 19px; margin: 0 0 16px; }
.legacy-guide .guide-step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--c-line-soft); }
.legacy-guide .guide-step:last-child { border-bottom: 0; }
.legacy-guide .step-number { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--c-navy); color: #fff; font-weight: 800; font-size: 14px; }
.legacy-guide .step-title { font-size: 16px; margin: 2px 0 4px; }
.legacy-guide .step-desc { font-size: 14px; color: var(--c-muted); margin: 0; }
.legacy-guide .feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.legacy-guide .feature-card { padding: 18px; border-radius: var(--r-lg); background: var(--c-bg-soft); border: 0; box-shadow: none; }
.legacy-guide .feature-title { font-size: 16px; margin: 6px 0 4px; }
.legacy-guide .feature-desc { font-size: 14px; color: var(--c-muted); margin: 0; }
.legacy-guide .tip-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line-soft); }
.legacy-guide .tip-title { font-size: 15px; margin: 0 0 2px; }
.legacy-guide .tip-desc { font-size: 14px; color: var(--c-muted); margin: 0; }
.legacy-guide .cta-section { padding: 28px; border-radius: var(--r-xl); background: var(--c-navy); color: #fff; text-align: center; }
.legacy-guide .cta-title { color: #fff; font-size: 20px; margin: 0 0 6px; }
.legacy-guide .cta-desc { color: #dad5d0; margin: 0 0 16px; }
.legacy-guide .cta-btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: var(--r-md); background: #fff; color: var(--c-ink); font-weight: 700; text-decoration: none; }

/* 공지 */
.legacy-notice .tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 16px; border-radius: var(--r-md); background: var(--c-bg-soft); width: fit-content; border: 0; position: static; }
.legacy-notice .tab { height: 38px; padding: 0 16px; border-radius: 9px; border: 0; background: transparent; color: var(--c-ink-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.legacy-notice .tab.active { background: #fff; color: var(--c-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(50, 44, 36,.12); }
.legacy-notice .notice-item { border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: none; margin: 0; }
.legacy-notice .notice-item.important { border-color: #f1d79a; background: #fffcf3; }
.legacy-notice .notice-header { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; }
.legacy-notice .notice-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--c-brand-soft); color: var(--c-brand); }
.legacy-notice .notice-icon svg { width: 20px; height: 20px; }
.legacy-notice .notice-info { flex: 1; min-width: 0; }
.legacy-notice .notice-badges { display: flex; gap: 4px; margin-bottom: 4px; }
.legacy-notice .notice-badge { display: inline-flex; height: 22px; align-items: center; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; background: var(--c-bg-soft); color: var(--c-ink-2); }
.legacy-notice .notice-badge.important { background: var(--c-gold-soft); color: var(--c-gold-ink); }
.legacy-notice .notice-badge.update { background: var(--c-brand-soft); color: var(--c-brand-strong); }
.legacy-notice .notice-title { margin: 0; font-size: 16px; letter-spacing: -.4px; }
.legacy-notice .notice-date { margin: 2px 0 0; font-size: 13px; color: var(--c-faint); }
.legacy-notice .notice-arrow { font-size: 11px; color: var(--c-faint); transition: transform .2s; }
.legacy-notice .notice-item.open .notice-arrow { transform: rotate(180deg); }
.legacy-notice .notice-content { display: none; max-height: none; }
.legacy-notice .notice-item.open .notice-content { display: block; }
.legacy-notice .notice-body { padding: 0 20px 20px 74px; }
.legacy-notice .notice-text { font-size: 15px; line-height: 1.8; color: var(--c-ink-2); white-space: pre-line; }
.legacy-notice .notice-empty { padding: 48px 16px; text-align: center; color: var(--c-muted); }
.legacy-notice .notice-empty.is-error { color: var(--c-red); }
.legacy-notice .notice-loading { padding: 40px; text-align: center; color: var(--c-muted); }
.legacy-notice .pagination { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.legacy-notice .pagination:empty { display: none; }
.legacy-notice .page-btn { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--c-line); background: #fff; font-weight: 700; cursor: pointer; }
.legacy-notice .page-btn.active { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.legacy-notice .page-btn.disabled { opacity: .4; cursor: default; }

/* 문의하기 */
.inquiry-page { max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 72px; }
.inquiry-page .inquiry-form { padding: 26px; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: #fff; }
.inquiry-page input, .inquiry-page textarea, .inquiry-page select { border-radius: var(--r-md); border: 1px solid #e5e1da; }
.inquiry-page button[type="submit"] { border-radius: var(--r-md); }

@media (max-width: 860px) {
    .doc { padding-bottom: 40px; }
    .doc .privacy-card, .doc .terms-card { padding: 4px 18px 18px; border-radius: 18px; }
    .doc .privacy-section, .doc .terms-section { padding: 18px 0; }
    .doc .privacy-table { font-size: 13px; }
    .legacy-faq .faq-question { padding: 16px; }
    .legacy-faq .faq-answer-content { padding: 0 16px 16px; }
    .legacy-guide .guide-section { padding: 18px; }
    .legacy-guide .feature-grid { grid-template-columns: 1fr; }
    .legacy-notice .notice-header { padding: 16px; gap: 12px; }
    .legacy-notice .notice-body { padding: 0 16px 16px; }
    .inquiry-page { padding: 20px var(--gutter) 40px; }
}

/* 안내·오류 페이지 */
.status-page { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 72px; padding-bottom: 96px; }
.status-page img { width: 140px; height: 140px; object-fit: contain; margin-bottom: 18px; }
.status-page h1 { margin: 0 0 10px; font-size: 32px; letter-spacing: -1.2px; }
.status-page .desc { margin: 0 0 26px; font-size: 16px; line-height: 1.7; color: var(--c-muted); }
.status-actions { display: flex; gap: 10px; }
.tabbar-sheet-links { flex-wrap: wrap; row-gap: 0; }
.tabbar-sheet-links a { white-space: nowrap; }
.doc .privacy-table { display: block; overflow-x: auto; white-space: nowrap; }
@media (max-width: 860px) { .status-page { padding-top: 40px; padding-bottom: 56px; } .status-page h1 { font-size: 24px; } }
.tabbar-more:not([open]) .tabbar-sheet { display: none; }
.store-detail-page #store-stats .stat-value { white-space: nowrap; }
@media (max-width: 860px) { .store-detail-page #store-stats .stat-value { font-size: 22px; } .store-detail-page #store-stats .stat-value small { font-size: 12px; } }

/* ── 랭킹·통계 필터 (v2): 라벨 | 칩 한 줄 ─────────────────────────────── */
.ip-filters { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 0 0 28px; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-bg-card); }
.ip-filters > label, .ip-filters > .ip-frow { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 12px; height: auto; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--c-ink-2); white-space: nowrap; }
.ip-filters > label > .choice-buttons, .ip-filters > label > select { grid-column: 2; }
.ip-flabel { padding-top: 9px; font-size: 13px; font-weight: 700; color: var(--c-ink-2); }
.ip-filters .choice-buttons { display: flex; flex-wrap: wrap; gap: 6px; width: auto; min-width: 0; }
.ip-filters .choice-buttons > button { min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid #eae6df; background: #fff; font-size: 13px; font-weight: 500; color: var(--c-ink-2); }
.ip-filters .choice-buttons > button:hover { border-color: #cdc7bf; background: #fff; }
.ip-filters .choice-buttons > button[aria-pressed="true"] { background: var(--c-navy); border-color: var(--c-navy); color: #fff; font-weight: 700; }
.ip-filters select { height: 38px; border: 1px solid #e5e1da; border-radius: var(--r-sm); padding: 0 10px; background: #fff; font-weight: 600; }
.ip-frow-period { grid-template-columns: 72px auto 1fr auto !important; align-items: center !important; }
.ip-frow-period .ip-flabel { padding-top: 0; }
.ip-frow-period .ip-basis { margin: 0; justify-self: start; font-weight: 500; }
.ip-filters .seg { background: #fff; border: 1px solid var(--c-line); }
.ip-view { justify-self: end; }
.ip-view button { gap: 5px; }
.ip-view svg { width: 16px; height: 16px; }

/* 더 보기 */
.ip-list .is-more, .ip-draws .is-more { display: none !important; }
.ip-more-wrap { display: flex; justify-content: center; margin: 16px 0 4px; }
.ip-more-wrap[hidden] { display: none; }
.ip-more-btn { min-width: 220px; }
.ip-more-btn span { color: var(--c-faint); font-weight: 500; font-size: 13px; }

/* 랭킹 지도 */
.ip-map-wrap { position: relative; height: 640px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-line); background: #ebe8e3; }
.ip-map { position: absolute; inset: 0; }
.ip-map-wrap .map-status { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(249, 248, 246,.9); }
.ip-map-wrap .map-status[hidden] { display: none; }
.ip-map-card { position: absolute; left: 18px; bottom: 18px; z-index: 5; width: 320px; max-width: calc(100% - 36px); padding: 18px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-lg); }
.ip-map-card h3 { margin: 8px 0 2px; font-size: 20px; letter-spacing: -.6px; padding-right: 28px; }
.ip-map-card p { margin: 0 0 12px; font-size: 13px; color: var(--c-muted); }
.ip-map-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--c-bg-soft); font-size: 18px; line-height: 1; cursor: pointer; }
.ip-map-nums { display: flex; gap: 18px; padding: 10px 0; margin-bottom: 12px; border-top: 1px solid var(--c-line-soft); border-bottom: 1px solid var(--c-line-soft); font-size: 13px; color: var(--c-muted); }
.ip-map-nums b { font-size: 18px; color: var(--c-ink); margin-left: 4px; }
.ip-map-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ip-map-actions .btn { min-height: 42px; font-size: 14px; }
.ip-map-view > .ad-placement { margin-top: 20px; }

@media (max-width: 860px) {
    .ip-filters { padding: 12px; gap: 8px; margin-bottom: 18px; overflow: visible; flex-wrap: nowrap; margin-left: 0; margin-right: 0; }
    .ip-filters > label, .ip-filters > .ip-frow { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
    .ip-filters .choice-buttons { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .ip-filters .choice-buttons::-webkit-scrollbar { display: none; }
    .ip-frow-period { grid-template-columns: 52px minmax(0, 1fr) !important; row-gap: 8px !important; }
    .ip-frow-period .seg { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
    .ip-frow-period .seg > label { padding: 0 11px; font-size: 13px; }
    .ip-frow-period .ip-basis { display: none; }
    .ip-view { grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; }
    .ip-view button { justify-content: center; }
    .ip-map-wrap { height: 70vh; min-height: 420px; border-radius: 18px; }
    .ip-map-card { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; }
}
.ip-grid-2 > .ad-placement { grid-column: 1 / -1; margin: 0; }
.doc .content > .ad-placement, .doc > .ad-placement { margin: 8px 0; }
.information-page > .ad-placement { margin: 16px 0; }
.dp > .ad-placement { margin: 24px 0 0; }
.random-page > .ad-placement, .random-page main > .ad-placement { max-width: var(--container); margin: 0 auto 40px; }
body.explorer-page .filter-controls .filter-panel, body.explorer-page .filter-controls .search-options-body { max-height: calc(100dvh - var(--header-h) - 120px); overflow-y: auto; }
@media (max-width: 860px) { body.explorer-page .filter-controls .filter-panel, body.explorer-page .filter-controls .search-options-body { max-height: 64dvh; } }
@media (min-width: 861px) and (max-width: 1280px) { body.explorer-page #search-options .search-options-body { left: auto; right: 0; } }

/* ── 지도 라벨·로드뷰 (v2) ─────────────────────────────────────────── */
.poi-holder { display: flex; justify-content: center; padding-bottom: 58px; pointer-events: none; }
.poi-holder .poi-label { pointer-events: auto; }
.poi-label.is-covered { visibility: hidden; }
#roadview-dialog { position: absolute; inset: 12px; z-index: 30; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 1px solid var(--c-line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
#roadview-dialog[open] { display: flex; flex-direction: column; }
#roadview-dialog .roadview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--c-line); }
#roadview-dialog .roadview-heading strong { font-size: 15px; }
#roadview-close { height: 38px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid #e5e1da; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
#roadview-close:hover { border-color: #cdc7bf; }
#roadview-canvas { flex: 1; min-height: 0; width: 100%; height: auto; }

/* ==========================================================================
   실수령액 (계산기 · 당첨번호 · 당첨금 현황 · 랜딩)
   ========================================================================== */
.dp-free { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: #eaf6ef; color: #2c6b3c; font-size: 12px; font-weight: 700; }
.dp-net { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: #6b5a2e; }
.dp-net b { color: var(--c-ink); }
.dp-net a { margin-left: 4px; color: var(--c-brand-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dp-net-cell { font-weight: 700; color: var(--c-ink); }
.dp-taxnote { margin: 10px 0 0; font-size: 12px; color: var(--c-faint); line-height: 1.6; }
.dp-taxnote a { color: var(--c-brand-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ip-kpi-net { font-size: 14px; font-weight: 700; color: var(--c-ink-2); }
.ip-trend-net { font-size: 12px; font-weight: 600; color: var(--c-ink-2); }
.ip-net { color: var(--c-ink-2); }
.ip-calc-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--c-navy); color: #fff; }
.ip-calc-banner strong { display: block; font-size: 17px; margin-bottom: 2px; }
.ip-calc-banner span span { font-size: 14px; color: #dad5d0; }
.ip-calc-banner > svg { width: 22px; height: 22px; flex-shrink: 0; }
.lp-draw-net { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 10px 20px; border-bottom: 1px solid #f3f0eb; font-size: 13px; color: var(--c-muted); }
.lp-draw-stats { grid-template-columns: 1.6fr 1fr; }
.lp-draw-stats > .lp-draw-net + div { border-left: 0; }
.lp-draw-net b { font-size: 15px; color: var(--c-ink); }
.lp-draw-net a { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--c-brand-strong); }
.lp-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-tool { flex-direction: column; align-items: flex-start; padding: 22px 22px 22px; }
.lp-tool-go { top: 24px; margin-top: 0; }
.lp-tool.coral { background: #fdeee9; } .lp-tool.coral .lp-tool-icon { color: #c2410c; } .lp-tool.coral span span { color: #6b3a28; }

.tax-page { background: #fff; }
.tx { padding-bottom: 80px; }
.tx-calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; margin-bottom: 32px; }
.tx-input { padding: 26px; }
.tx-label { display: block; font-size: 14px; font-weight: 700; color: var(--c-ink-2); margin-bottom: 10px; }
.tx-field { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 18px; border: 2px solid var(--c-brand); border-radius: var(--r-lg); background: #fff; }
.tx-field input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; font-size: 28px; font-weight: 800; letter-spacing: -.8px; color: var(--c-ink); text-align: right; outline: none; }
.tx-field span { font-size: 18px; font-weight: 700; color: var(--c-muted); }
.tx-words { min-height: 22px; margin: 8px 2px 0; text-align: right; font-size: 14px; color: var(--c-brand-strong); font-weight: 600; }
.tx-quick-title { margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--c-faint); }
.tx-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-quick .chip { cursor: pointer; }
.tx-result { padding: 26px 28px; border-radius: 24px; background: radial-gradient(120% 90% at 100% 0%, #564b3e 0%, var(--c-navy) 60%); color: #fff; }
.tx-result-label { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #f5c84b; }
.tx-net { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.tx-net strong { font-size: 46px; letter-spacing: -1.8px; line-height: 1.15; }
.tx-net span { font-size: 20px; font-weight: 700; color: #e5e1d8; }
.tx-net-words { min-height: 20px; margin: 4px 0 16px; font-size: 15px; color: #dad5d0; }
.tx-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.tx-summary div { padding: 12px 14px; border-radius: var(--r-md); background: rgba(255,255,255,.08); }
.tx-summary span { display: block; font-size: 12px; color: #cfc9c2; }
.tx-summary b { font-size: 18px; }
.tx-breakdown { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-breakdown th, .tx-breakdown td { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); }
.tx-breakdown th { text-align: left; font-weight: 500; color: #dad5d0; }
.tx-breakdown th small { display: block; font-size: 11px; color: #aea79f; font-weight: 400; }
.tx-breakdown td { text-align: right; font-weight: 700; white-space: nowrap; }
.tx-total-row th, .tx-total-row td { color: #ffd77a; }
.tx-note { margin: 12px 0 0; font-size: 13px; color: #9fe0b5; }
.tx-table-card { padding: 8px 18px; }
.tx-rank-table th[scope="row"] { font-weight: 800; }
.tx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.tx-info { padding: 24px; }
.tx-info h2 { margin: 0 0 14px; font-size: 19px; letter-spacing: -.5px; }
.tx-mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-mini th { padding: 8px 0; font-size: 12px; font-weight: 600; color: var(--c-faint); text-align: left; border-bottom: 1px solid var(--c-line); }
.tx-mini td { padding: 11px 0; border-bottom: 1px solid var(--c-line-soft); color: var(--c-ink-2); }
.tx-mini .r { text-align: right; }
.tx-mini small { display: block; font-size: 11px; color: var(--c-faint); }
.tx-info-note { margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: var(--c-muted); }
.tx-disclaimer a { color: var(--c-brand-strong); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
    .lp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .lp-tools { grid-template-columns: 1fr 1fr; }
    .lp-tool { padding: 16px; gap: 10px; }
    .lp-tool span span { display: none; }
    .lp-tool-go { top: 16px; right: 14px; }
    .lp-draw-net { padding: 8px 14px; }
    .ip-calc-banner { padding: 14px 16px; }
    .ip-calc-banner strong { font-size: 15px; }
    .ip-calc-banner span span { font-size: 12px; }
    .tx { padding-bottom: 40px; }
    .tx .ls-tabs { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); gap: 20px; margin-bottom: 16px; }
    .tx .ls-tabs a { font-size: 15px; padding: 12px 0 11px; }
    .tx-calc { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
    .tx-input { padding: 18px; border-radius: 18px; }
    .tx-field { height: 56px; padding: 0 14px; }
    .tx-field input { font-size: 22px; }
    .tx-quick { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: none; }
    .tx-result { padding: 20px; border-radius: 20px; }
    .tx-net strong { font-size: 34px; }
    .tx-grid { grid-template-columns: 1fr; gap: 12px; }
    .tx-info { padding: 18px; }
    .tx-rank-table td:nth-child(2), .tx-rank-table th:nth-child(2) { display: none; }
    .dp-prizes .dp-net-cell { font-size: 14px; }
}
.legacy-guide .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legacy-guide a.feature-card, .legacy-guide .cta-btn { text-decoration: none; color: inherit; }
.legacy-guide a.feature-card { display: block; transition: background .15s; }
.legacy-guide a.feature-card:hover { background: #f4f1ec; }
.legacy-guide a.feature-card .feature-title { color: var(--c-brand-strong); }
.legacy-guide .cta-btn { color: var(--c-ink); }
.legacy-faq .faq-answer-content ul { margin: 6px 0 8px; }
@media (max-width: 860px) { .legacy-guide .feature-grid { grid-template-columns: 1fr 1fr; } }
.tx-calc > * { min-width: 0; }
.tx-breakdown th, .tx-breakdown td { background: transparent !important; }
/* 랜딩 카드: 세후 줄은 금액·당첨자 아래 한 줄 전체 */
.lp-draw-stats .lp-draw-net { grid-row: 2; border-bottom: 0; border-top: 1px solid #f3f0eb; }
.lp-draw-stats > div + div { border-left: 1px solid #f3f0eb; }
@media (max-width: 860px) { .tx-rank-table td:nth-child(4), .tx-rank-table th:nth-child(4) { display: none; } }

/* ── 모바일 마감: iOS 입력 확대 방지 · 터치 영역 44px ──────────────────── */
@media (max-width: 860px) {
    body.explorer-page .search-form input, body.explorer-page .filter-panel select, body.explorer-page .search-options-body select,
    body.explorer-page .search-options-body input, .ip-filters select, .inquiry-page input, .inquiry-page textarea, .legacy-faq .search-input { font-size: 16px; }
    .lp-draw-net a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin: -12px -4px -12px auto; }
    .ip-table td a { display: inline-flex; align-items: center; min-height: 40px; }
    .region-page .region-breadcrumb a { display: inline-flex; align-items: center; min-height: 40px; }
}
/* 지역 판매점 목록: 행 전체를 누르면 상세로 간다 */
.region-page .region-store-row { position: relative; }
.region-page .region-store-info h3 a::after { content: ""; position: absolute; inset: 0; }
.region-page .region-store-detail { position: relative; z-index: 1; }
.random-page label:has(> input[type="checkbox"]) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* ── 랜딩 1위 카드 (v2) ─────────────────────────────────────────────── */
.lp-champ { padding: 30px 30px 28px; gap: 0; background: radial-gradient(90% 60% at 100% 0%, rgba(224,161,0,.22) 0%, rgba(224,161,0,0) 60%), radial-gradient(120% 90% at 100% 0%, #564b3e 0%, var(--c-navy) 58%); }
.lp-champ-art { position: absolute; top: 24px; right: 24px; width: 92px; height: 100px; padding: 8px; border-radius: 22px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.25); object-fit: contain; }
.lp-champ-rank { gap: 6px; padding-right: 110px; }
.lp-champ-rank svg { width: 22px; height: 22px; }
.lp-champ-rank em { font-style: normal; font-weight: 500; font-size: 13px; color: #cfc9c2; margin-left: 4px; }
.lp-champ h3 { margin: 12px 0 4px; padding-right: 110px; font-size: 32px; }
.lp-champ-addr { max-width: none; padding-right: 110px; font-size: 13px; }
.lp-champ-hero { display: flex; flex-direction: column; margin: 26px 0 0; }
.lp-champ-hero-label { font-size: 13px; font-weight: 700; color: #f5c84b; letter-spacing: .2px; }
.lp-champ-hero strong { display: flex; align-items: baseline; gap: 4px; font-size: 84px; line-height: 1; letter-spacing: -4px; font-weight: 800; background: linear-gradient(180deg, #ffe7a6 0%, #e6a800 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-champ-hero strong small { font-size: 26px; letter-spacing: 0; -webkit-text-fill-color: #e9c35c; }
.lp-champ-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.lp-champ-stats > div { padding: 0 14px; border-left: 1px solid rgba(255,255,255,.12); min-width: 0; }
.lp-champ-stats > div:first-child { padding-left: 0; border-left: 0; }
.lp-champ-stats dt { font-size: 12px; color: #bbb4ab; margin-bottom: 4px; }
.lp-champ-stats dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 22px; font-weight: 800; letter-spacing: -.6px; color: #fff; }
.lp-champ-stats dd a { color: #fff; }
.lp-champ-stats dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-champ-stats dd small { font-size: 13px; font-weight: 600; color: #dad5d0; margin-left: 1px; }
.lp-champ-stats dd span { font-size: 12px; font-weight: 600; color: #f5c84b; letter-spacing: 0; }
.lp-champ-timeline { margin: 20px 0 24px; }
.lp-champ-tl-title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; font-size: 13px; color: #dad5d0; }
.lp-champ-tl-title b { color: #f5c84b; font-weight: 700; }
.lp-champ-tl-track { position: relative; height: 28px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.1)); overflow: hidden; }
.lp-champ-tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.18); }
.lp-champ-tl-track i { position: absolute; top: 5px; bottom: 5px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: linear-gradient(180deg, #ffe39a, #e0a100); box-shadow: 0 0 6px rgba(245,200,75,.55); }
.lp-champ-tl-axis { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: 11px; color: #a59e95; }
.lp-champ-actions { margin-top: auto; }
.lp-champ-count, .lp-champ-recent, .lp-champ-deco { display: none !important; }

@media (max-width: 860px) {
    .lp-champ { padding: 22px 20px 20px; }
    .lp-champ-art { top: 18px; right: 18px; width: 64px; height: 70px; padding: 6px; border-radius: 16px; }
    .lp-champ-rank, .lp-champ h3, .lp-champ-addr { padding-right: 76px; }
    .lp-champ h3 { font-size: 26px; }
    .lp-champ-addr { font-size: 12px; }
    .lp-champ-hero { margin-top: 18px; }
    .lp-champ-hero strong { font-size: 64px; letter-spacing: -3px; }
    .lp-champ-hero strong small { font-size: 20px; }
    .lp-champ-stats { margin-top: 16px; padding: 12px 0; }
    .lp-champ-stats > div { padding: 0 10px; }
    .lp-champ-stats dd { font-size: 18px; }
    .lp-champ-stats dd small { font-size: 11px; }
    .lp-champ-stats dd span { width: 100%; font-size: 11px; }
    .lp-champ-timeline { margin: 16px 0 18px; }
}
.lp-champ-stats dd { gap: 2px 4px; }
.lp-champ-stats dd small { margin-left: 0; }
.lp-champ-tl-track i:first-child { margin-left: -3px; }
/* 1위 카드 머리: 금색 배지 + 지역 배지 */
.lp-champ-rank { align-items: center; gap: 8px; }
.lp-champ-badge { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px 0 9px; border-radius: 999px; background: linear-gradient(180deg, #ffd96a 0%, #e8a800 100%); color: #362f27; font-size: 14px; font-weight: 800; box-shadow: 0 4px 12px rgba(232,168,0,.35); }
.lp-champ-badge svg { width: 18px; height: 18px; color: #362f27; }
.lp-champ-rank em { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; margin: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #f0ede7; font-size: 13px; font-weight: 600; }

/* 1위 카드: 네이비 대신 밝은 금색 톤 */
.lp-champ { background: radial-gradient(80% 60% at 100% 0%, rgba(255,214,102,.45) 0%, rgba(255,214,102,0) 65%), linear-gradient(165deg, #fffbf1 0%, #fff3d4 100%); color: #2b2312; border: 1px solid #f0dca4; box-shadow: 0 10px 30px rgba(184,134,11,.12); }
.lp-champ-art { box-shadow: 0 8px 20px rgba(184,134,11,.18); }
.lp-champ h3 { color: #231c0e; }
.lp-champ-addr { color: #7a6a4a; }
.lp-champ-badge { color: #3a2a00; box-shadow: 0 4px 12px rgba(224,161,0,.3); }
.lp-champ-badge svg { color: #3a2a00; }
.lp-champ-rank em { background: #fff; color: #6b5527; box-shadow: inset 0 0 0 1px #ecd9a6; }
.lp-champ-hero-label { color: #a87400; }
.lp-champ-hero strong { background: linear-gradient(180deg, #f2b705 0%, #b67c00 100%); -webkit-background-clip: text; background-clip: text; }
.lp-champ-hero strong small { -webkit-text-fill-color: #b67c00; }
.lp-champ-stats { border-color: rgba(168,116,0,.18); }
.lp-champ-stats > div { border-left-color: rgba(168,116,0,.18); }
.lp-champ-stats dt { color: #8a7a58; }
.lp-champ-stats dd, .lp-champ-stats dd a { color: #231c0e; }
.lp-champ-stats dd small { color: #7a6a4a; }
.lp-champ-stats dd span { color: #b07800; }
.lp-champ-tl-title { color: #6b5b3c; }
.lp-champ-tl-title b { color: #a87400; }
.lp-champ-tl-track { background: linear-gradient(90deg, rgba(224,161,0,.06), rgba(224,161,0,.14)); }
.lp-champ-tl-track::before { background: rgba(168,116,0,.2); }
.lp-champ-tl-track i { background: linear-gradient(180deg, #f2b705, #c88a00); box-shadow: 0 0 5px rgba(224,161,0,.45); }
.lp-champ-tl-axis { color: #9a8a68; }
.lp-champ-actions .btn-line { background: #231c0e; color: #fff; }
.lp-champ-actions .btn-line:hover { background: #3a2f18; }
.lp-champ-actions .btn-ghost { background: #fff; border-color: #ecd9a6; color: #3a2a00; }
.lp-champ-actions .btn-ghost:hover { background: #fffaf0; border-color: #e0c27a; }

/* 2~10위: 2·3위 카드 + 4~10위 한 줄 목록 */
.lp-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-duo-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px 22px 18px; border: 1px solid var(--c-line); border-radius: 22px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lp-duo-card:hover { border-color: #e2ded7; box-shadow: 0 10px 24px rgba(50, 44, 36,.08); transform: translateY(-2px); }
.lp-duo-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.lp-duo-top img { width: 44px; height: 48px; }
.lp-duo-medal { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--c-bg-soft); color: var(--c-ink-2); }
.lp-duo-card.is-silver .lp-duo-medal { background: linear-gradient(180deg, #f7f6f4 0%, #dedbd8 100%); color: #5b5042; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.lp-duo-card.is-bronze .lp-duo-medal { background: linear-gradient(180deg, #fae6d3 0%, #e0a77a 100%); color: #6a3a12; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.lp-duo-name { font-size: 19px; font-weight: 800; letter-spacing: -.5px; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-duo-region { margin-top: 2px; font-size: 13px; color: var(--c-muted); }
.lp-duo-count { display: flex; align-items: baseline; gap: 2px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line-soft); }
.lp-duo-count b { font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -1.2px; color: var(--c-ink); }
.lp-duo-count small { font-size: 15px; font-weight: 700; color: var(--c-ink-2); }
.lp-duo-count em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--c-faint); }
.lp-side .lp-rank { flex: 1; justify-content: center; padding: 6px 0; border-radius: 22px; }
.lp-side .lp-rank li + li a { border-top: 1px solid var(--c-line-soft); }
.lp-side .lp-rank a { grid-template-columns: 30px minmax(0, auto) minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 12px 24px; background-clip: padding-box; }
.lp-side .lp-rank a:hover { background: var(--c-bg-card); }
.lp-side .lp-rank-no { flex-direction: row; align-items: baseline; gap: 3px; font-size: 15px; font-weight: 800; color: #9f9993; }
.lp-side .lp-rank-no small { font-size: 10px; font-weight: 600; }
.lp-rank-name { font-size: 15px; font-weight: 700; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-rank-region { font-size: 13px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-side .lp-rank-cnt { font-size: 13px; color: var(--c-muted); }
.lp-side .lp-rank-cnt b { margin: 0 1px 0 0; font-size: 18px; font-weight: 800; color: var(--c-ink); }
@media (max-width: 640px) {
    .lp-side, .lp-duo { gap: 10px; }
    .lp-duo-card { padding: 16px 16px 14px; border-radius: 18px; }
    .lp-duo-top { margin-bottom: 10px; }
    .lp-duo-top img { width: 34px; height: 37px; }
    .lp-duo-medal { height: 26px; padding: 0 9px; font-size: 12px; }
    .lp-duo-name { font-size: 16px; }
    .lp-duo-region { font-size: 12px; }
    .lp-duo-count { flex-wrap: wrap; margin-top: 10px; padding-top: 10px; }
    .lp-duo-count b { font-size: 28px; }
    .lp-duo-count em { width: 100%; margin: 4px 0 0; }
    .lp-side .lp-rank { border-radius: 18px; }
    .lp-side .lp-rank a { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "no name cnt" "no region cnt"; row-gap: 2px; column-gap: 10px; align-items: center; padding: 11px 16px; }
    .lp-side .lp-rank-no { grid-area: no; flex-direction: column; align-items: center; gap: 2px; line-height: 1; }
    .lp-side .lp-rank-no small { font-size: 9px; white-space: nowrap; }
    .lp-rank-name { grid-area: name; }
    .lp-rank-region { grid-area: region; font-size: 12px; }
    .lp-side .lp-rank-cnt { grid-area: cnt; }
}

/* ── 웜 팔레트 마감: 네이비 면을 크림 골드로, 주요 버튼은 차콜 ─────────────── */
.btn-primary { background: var(--c-ink); } .btn-primary:hover { background: #3a332b; }
.btn-dark:hover { background: #3a332b; }
.ls-bar > i { background: linear-gradient(90deg, #f3c94f 0%, #d99a00 100%); }
::selection { background: #f7e2a6; }
.ip-pod.p1, .tx-result, .ip-calc-banner, .legacy-guide .cta-section {
    background: radial-gradient(80% 60% at 100% 0%, rgba(255,214,102,.45) 0%, rgba(255,214,102,0) 65%), linear-gradient(165deg, #fffbf1 0%, #fff3d4 100%);
    border: 1px solid #f0dca4; color: #2b2312; box-shadow: 0 10px 30px rgba(184,134,11,.12);
}
.ip-pod.p1 img { box-shadow: 0 8px 20px rgba(184,134,11,.18); }
.ip-pod.p1 .ip-pod-area, .ip-pod.p1 .ip-pod-sub { color: #7a6a4a; }
.ip-pod.p1 .ip-pod-count { background: linear-gradient(180deg, #f2b705 0%, #b67c00 100%); -webkit-background-clip: text; background-clip: text; }
.ip-pod.p1 .ip-pod-count small { color: #7a6a4a; -webkit-text-fill-color: #7a6a4a; }
.legacy-guide .cta-title { color: #231c0e; }
.legacy-guide .cta-desc { color: #6b5b3c; }
.legacy-guide .cta-btn { background: #231c0e; color: #fff; }
.ip-calc-banner span span { color: #6b5b3c; }
.ip-calc-banner > svg { color: #a87400; }
.tx-result-label { color: #a87400; }
.tx-net strong { color: #231c0e; }
.tx-net span { color: #6b5b3c; }
.tx-net-words { color: #7a6a4a; }
.tx-summary div { background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px #f0dca4; }
.tx-summary span { color: #8a7a58; }
.tx-summary b { color: #231c0e; }
.tx-breakdown th, .tx-breakdown td { border-top-color: rgba(168,116,0,.16); }
.tx-breakdown th { color: #5c4e33; }
.tx-breakdown th small { color: #9a8a68; }
.tx-breakdown td { color: #231c0e; }
.tx-total-row th, .tx-total-row td { color: #a06a00; }
.tx-note { color: #2f8f57; }
.dp-method.auto { background: #f1eee9; color: #4a433b; }

/* 이번 주 로또명당: 복권 티켓 모양 */
.lp-tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-ticket { --notch: 96px; position: relative; display: grid; grid-template-columns: var(--notch) minmax(0, 1fr); min-height: 104px; border-radius: 16px; background: #fff; transition: transform .15s;
    -webkit-mask: radial-gradient(circle 9px at var(--notch) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--notch) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 9px at var(--notch) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--notch) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.lp-ticket:hover { transform: translateY(-2px); }
.lp-ticket:hover strong { color: var(--c-brand); }
.lp-ticket-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 8px; background: linear-gradient(160deg, #ffd765 0%, #eeb017 100%); color: #3a2a00; text-align: center; }
.lp-ticket-stub b { font-size: 22px; font-weight: 800; letter-spacing: -.6px; line-height: 1.1; }
.lp-ticket-stub small { font-size: 12px; font-weight: 600; color: #6b4e00; word-break: keep-all; }
.lp-ticket-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 14px 18px; border-left: 2px dashed #ecdcb6; }
.lp-ticket-tag { font-size: 12px; font-weight: 700; color: var(--c-brand); letter-spacing: .2px; }
.lp-ticket-body strong { font-size: 18px; font-weight: 800; letter-spacing: -.5px; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.lp-ticket-note { font-size: 13px; color: var(--c-muted); }
.lp-ticket-note b { color: var(--c-ink); }
.lp-ticket-note.is-first { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: #fdecea; color: #b8352a; font-size: 12px; font-weight: 700; }
.lp-weekly-sec .lp-weekly-ad { margin: 14px 0 0; }

/* 지역별 명당: 1등이 많을수록 진한 금색 히트맵 타일 */
.lp-heat { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(104px, auto); gap: 8px; }
.lp-heat-cell { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-width: 0; padding: 14px 16px; border-radius: 14px; color: #2b2312;
    background: #fdf6e6; background: color-mix(in srgb, #f2b307 var(--heat, 10%), #fffaf0); transition: transform .15s, box-shadow .15s; }
.lp-heat-cell:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(160,110,0,.16); }
.lp-heat-rank { position: absolute; top: 12px; left: 16px; font-size: 12px; font-weight: 800; color: rgba(58,42,0,.45); }
.lp-heat-cell strong { font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.lp-heat-cnt { font-size: 13px; font-weight: 600; color: #5a4a2a; }
.lp-heat-cnt b { font-size: 20px; font-weight: 800; letter-spacing: -.6px; color: #2b2312; margin-right: 1px; }
.lp-heat-sub { display: none; font-size: 12px; color: #5a4a2a; }
.lp-heat-cell.is-top { grid-column: span 2; grid-row: span 2; padding: 20px 22px; }
.lp-heat-cell.is-top .lp-heat-rank { top: 18px; left: 22px; font-size: 13px; }
.lp-heat-cell.is-top strong { font-size: 30px; }
.lp-heat-cell.is-top .lp-heat-cnt b { font-size: 44px; letter-spacing: -1.6px; }
.lp-heat-cell.is-wide { grid-column: span 2; }
.lp-heat-cell.is-wide strong { font-size: 20px; }
.lp-heat-cell.is-wide .lp-heat-cnt b { font-size: 26px; }
.lp-heat-cell.is-top .lp-heat-sub, .lp-heat-cell.is-wide .lp-heat-sub { display: block; margin-top: 2px; }
.lp-heat-all { grid-column: span 2; flex-direction: row; align-items: center; justify-content: center; gap: 4px; background: #fff; border: 1px dashed #e3d3ad; font-size: 14px; font-weight: 700; color: var(--c-ink-2); }
.lp-heat-all svg { width: 16px; height: 16px; }
@media (max-width: 960px) {
    .lp-tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .lp-tickets { grid-template-columns: 1fr; gap: 10px; }
    .lp-ticket { --notch: 84px; min-height: 88px; }
    .lp-ticket-stub b { font-size: 19px; }
    .lp-ticket-body { padding: 12px 16px; }
    .lp-ticket-body strong { font-size: 17px; }
    .lp-heat { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(84px, auto); gap: 6px; }
    .lp-heat-cell { padding: 10px 12px; border-radius: 12px; }
    .lp-heat-rank { top: 9px; left: 12px; font-size: 11px; }
    .lp-heat-cell strong { font-size: 15px; }
    .lp-heat-cnt b { font-size: 17px; }
    .lp-heat-cell.is-top { grid-column: 1 / -1; grid-row: span 1; padding: 16px 18px; min-height: 120px; }
    .lp-heat-cell.is-top .lp-heat-rank { top: 14px; left: 18px; }
    .lp-heat-cell.is-top strong { font-size: 24px; }
    .lp-heat-cell.is-top .lp-heat-cnt b { font-size: 34px; }
    .lp-heat-cell.is-wide { grid-column: span 1; }
    .lp-heat-cell.is-wide strong { font-size: 15px; }
    .lp-heat-cell.is-wide .lp-heat-cnt b { font-size: 17px; }
    .lp-heat-cell.is-wide .lp-heat-sub { display: none; }
    .lp-heat-all { grid-column: span 2; }
}

/* 시·도 단계구분도 (지역별 로또 명당) + 지도·목록 나란히 */
.kmap { display: block; width: 100%; height: auto; }
.kmap-area path { fill: #fdf3dc; fill: color-mix(in srgb, #e9a400 var(--heat, 0%), #fff8e8); stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; transition: fill .15s, stroke .15s; }
.kmap-area:hover path, .kmap-area:focus-visible path { stroke: #221e19; stroke-width: 1.6; }
.kmap-area.is-current path { stroke: #221e19; stroke-width: 2; }
.kmap-area:focus { outline: none; }
.kmap-inset { fill: none; stroke: #d9c8a0; stroke-dasharray: 3 3; }
.kmap-label { pointer-events: none; text-anchor: middle; paint-order: stroke; stroke: rgba(255,250,238,.85); stroke-width: 3px; stroke-linejoin: round; }
.kmap-name { font-size: 12px; font-weight: 800; fill: #2b2312; }
.kmap-num { font-size: 11px; font-weight: 700; fill: #6b4e00; }
.kmap-label.is-small .kmap-name { font-size: 10px; }
.kmap-label.is-small .kmap-num { font-size: 9.5px; }
.ip-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; margin-bottom: 24px; }
.ip-split > * { min-width: 0; }
.ip-split .ip-panel { margin: 0; }
.ip-split-map { position: sticky; top: calc(var(--header-h) + 16px); }
.ip-kmap { margin: 0; padding: 18px 18px 14px; border: 1px solid var(--c-line); border-radius: 20px; background: linear-gradient(180deg, #fffdf8 0%, #fff 100%); }
.ip-kmap figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--c-muted); }
.ip-kmap-legend { display: inline-flex; align-items: center; gap: 6px; }
.ip-kmap-legend i { display: block; width: 72px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #fff8e8, #e9a400); box-shadow: inset 0 0 0 1px rgba(168,116,0,.15); }
.ip-kmap-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; }
.ip-kmap-head h2 { margin: 0; font-size: 18px; letter-spacing: -.4px; }
.ip-kmap-head span { font-size: 12px; color: var(--c-muted); }
.ip-newmap { border: 1px solid var(--c-line); border-radius: 20px; overflow: hidden; background: #fff; }
.ip-newmap .ip-map-wrap { height: min(640px, calc(100vh - var(--header-h) - 120px)); min-height: 420px; border: 0; border-radius: 0; }
.ip-newmap-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--c-line-soft); }
.ip-newmap-head h2 { margin: 0; font-size: 16px; }
.ip-newmap-head span { font-size: 12px; color: var(--c-muted); }
.ip-split .ip-list { margin-top: 0; }
@media (max-width: 960px) {
    .ip-split { grid-template-columns: 1fr; }
    .ip-split-map { position: static; }
    .ip-kmap { max-width: 520px; width: 100%; margin: 0 auto; }
    .ip-newmap .ip-map-wrap { height: 360px; min-height: 0; }
}
.lp-heat-rank, .lp-heat-cell.is-top .lp-heat-rank { position: static; margin-bottom: auto; padding-bottom: 6px; }
@media (max-width: 640px) { .lp-heat-rank, .lp-heat-cell.is-top .lp-heat-rank { padding-bottom: 4px; } }
/* 지역 타일: 시·도 실루엣 */
.lp-heat-cell { overflow: hidden; }
.lp-heat-shape { position: absolute; right: 10px; top: 10px; width: 56px; height: 56px; fill: rgba(122,82,0,.22); pointer-events: none; }
.lp-heat-cell.is-wide .lp-heat-shape { width: 84px; height: 84px; right: 16px; top: 50%; transform: translateY(-50%); }
.lp-heat-cell.is-top .lp-heat-shape { width: 190px; height: 190px; right: 18px; top: 50%; transform: translateY(-50%); fill: rgba(122,82,0,.2); }
.lp-heat-cell > :not(.lp-heat-shape) { position: relative; }
@media (max-width: 640px) {
    .lp-heat-shape { width: 40px; height: 40px; right: 8px; top: 8px; }
    .lp-heat-cell.is-wide .lp-heat-shape { width: 40px; height: 40px; right: 8px; top: 8px; transform: none; }
    .lp-heat-cell.is-top .lp-heat-shape { width: 104px; height: 104px; right: 14px; }
}
.lp-heat-shape, .lp-heat-cell .lp-heat-shape use { stroke: rgba(122,82,0,.35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lp-heat-cell .lp-heat-rank { top: 0; left: 0; }
/* 티켓 그루터기: 지역 랜드마크 */
.lp-ticket { --notch: 112px; min-height: 124px; }
.lp-ticket-stub { gap: 0; padding: 10px 8px; background: linear-gradient(165deg, #fff8e4 0%, #ffe9b0 100%); }
.lp-ticket-stub img { width: 60px; height: 60px; margin-bottom: 4px; filter: drop-shadow(0 3px 4px rgba(120,80,0,.15)); transition: transform .2s; }
.lp-ticket:hover .lp-ticket-stub img { transform: translateY(-3px) scale(1.04); }
.lp-ticket-stub b { font-size: 16px; }
.lp-ticket-stub small { font-size: 11px; }
.lp-ticket-body { border-left-color: #f0dfb6; }
@media (max-width: 640px) {
    .lp-ticket { --notch: 96px; min-height: 104px; }
    .lp-ticket-stub img { width: 48px; height: 48px; }
    .lp-ticket-stub b { font-size: 15px; }
}
