/* 창업이건물주다 — 지역별 상가 권리 매물
   Layout: sticky nav → hero search → explorer (list | map, app-like) → process → consult → footer. */
:root {
  --bg: #F5F6F4;
  --surface: #FFFFFF;
  --surface-2: #EEF1EE;
  --ink: #15201F;
  --ink-2: #3D4A48;
  --muted: #6A7674;
  --line: #E0E5E2;
  --brand: #0F3B3A;
  --brand-2: #17524F;
  --brand-soft: #E3EEEC;
  --accent: #E9B44C;
  --accent-ink: #2A1E05;
  --price: #0F3B3A;
  --plus: #1D7A4D;
  --warn: #A5512A;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 32, 30, .06), 0 6px 20px rgba(16, 32, 30, .06);
  --nav-h: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; letter-spacing: -.01em; word-break: keep-all; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)); }
.wrap-wide { padding-inline: max(16px, env(safe-area-inset-left)); }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-2); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #F0C163; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-block { width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; max-width: none; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-weight: 800; font-size: 19px; letter-spacing: -.04em; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo .site-name { color: var(--ink); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 550; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-call { margin-left: auto; height: 40px; }

/* hero */
.hero { background: var(--brand); color: #fff; padding: 48px 0 28px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 460px; height: 460px; border-radius: 50%; border: 70px solid rgba(233, 180, 76, .09); pointer-events: none; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .02em; margin-bottom: 10px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; }
.lede { margin-top: 14px; max-width: 620px; color: rgba(255, 255, 255, .78); font-size: 16px; }
.search { position: relative; z-index: 1; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; background: #fff; color: var(--ink); padding: 8px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); max-width: 860px; }
.search .field { border-radius: 10px; padding: 6px 12px; background: var(--surface-2); }
.search .field span { font-size: 12px; }
.search .field select { border: 0; background: transparent; padding: 0; height: 26px; font-weight: 650; }
.search .btn { height: auto; min-height: 52px; padding: 0 26px; }
.stats { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 13px; color: rgba(255, 255, 255, .65); }
.stats dd { margin: 0; font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
.stats dd small { font-size: 14px; font-weight: 600; margin-left: 2px; }

/* form fields */
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field em { font-style: normal; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }

/* explorer */
.explorer { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.toolbar { position: sticky; top: var(--nav-h); z-index: 900; background: var(--surface); border-bottom: 1px solid var(--line); }
.toolbar-in { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.chip b { font-weight: 600; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip[aria-pressed="true"] b { color: rgba(255, 255, 255, .7); }
.tools { display: flex; gap: 6px; flex: none; }
.mini select { height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 0 30px 0 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236A7674' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }

.split { display: grid; grid-template-columns: minmax(360px, 440px) 1fr; height: calc(100vh - var(--nav-h) - 57px); height: calc(100dvh - var(--nav-h) - 57px); min-height: 520px; }
.listpane { overflow-y: auto; border-right: 1px solid var(--line); background: var(--bg); overscroll-behavior: contain; }
.list-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(245, 246, 244, .95); backdrop-filter: blur(6px); }
#resultCount { font-size: 14px; color: var(--ink-2); }
#resultCount b { color: var(--ink); font-variant-numeric: tabular-nums; }
.toggle { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.toggle input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
.cards { list-style: none; margin: 0; padding: 0 12px 24px; display: flex; flex-direction: column; gap: 10px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.lcard { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; cursor: pointer; text-align: left; width: 100%; transition: border-color .15s, box-shadow .15s; }
.lcard:hover, .lcard.is-hot { border-color: var(--brand); box-shadow: var(--shadow); }
.thumb { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); position: relative; }
.thumb svg { width: 28px; height: 28px; }
.thumb[data-g="음식점"] { background: #F7EBDD; color: #8A4B14; }
.thumb[data-g="주점"] { background: #EDE6F3; color: #5B3A7A; }
.thumb[data-g="판매·서비스"] { background: #E3EAF4; color: #274E86; }
.lc-main { min-width: 0; }
.lc-top { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lc-id { font-variant-numeric: tabular-nums; }
.lc-title { margin-top: 2px; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-meta { margin-top: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-price { margin-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.lc-premium { font-size: 18px; font-weight: 800; color: var(--price); font-variant-numeric: tabular-nums; }
.lc-premium small { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.lc-sub { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lc-profit { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 650; background: var(--surface-2); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill.plus { background: #E3F2EA; color: var(--plus); }
.pill.gold { background: #FBF0D9; color: #7A5410; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px; font-size: 11px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); }
.tag.brand { background: var(--brand-soft); color: var(--brand); }

.empty { margin: 12px; padding: 24px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; color: var(--ink-2); }
.empty .btn { margin-top: 6px; }

.mappane { position: relative; }
#map { position: absolute; inset: 0; background: #E8ECE9; }
.map-note { position: absolute; z-index: 500; left: 12px; bottom: 12px; max-width: 360px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 12px; color: var(--ink-2); box-shadow: var(--shadow); }
.map-note b { color: var(--brand); }
.viewswitch { display: none; }

/* map markers */
.mk { background: none; border: 0; }
.mk-pill { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.mk-pill span { display: block; background: var(--brand); color: #fff; font-weight: 750; font-size: 13px; padding: 4px 9px; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); font-variant-numeric: tabular-nums; font-family: var(--font); }
.mk-pill i { width: 0; height: 0; border: 6px solid transparent; border-top-color: var(--brand); margin-top: -1px; }
.mk-pill.is-hot span { background: var(--accent); color: var(--accent-ink); }
.mk-pill.is-hot i { border-top-color: var(--accent); }
.mk-pill.is-hot { z-index: 1000; }
.mk-cluster span { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.mk-cluster i { border-top-color: var(--brand); }
.leaflet-container { font-family: var(--font); }
.leaflet-control-attribution { font-size: 10px; }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); padding: 48px 0; }
.section h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; }
.sub { margin-top: 10px; color: var(--muted); max-width: 620px; font-size: 16px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.step-n { font-size: 13px; font-weight: 800; color: var(--accent); background: var(--brand); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.steps h3 { margin-top: 14px; font-size: 18px; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principles h3 { font-size: 17px; padding-left: 12px; border-left: 3px solid var(--accent); }
.principles p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }

.consult { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.contact a, .contact div { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.contact a:hover { border-color: var(--brand); }
.contact .ci { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact small { display: block; color: var(--muted); font-size: 12px; }
.contact strong { font-size: 16px; }
.form { padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.agree input { margin: 2px 0 0; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; color: var(--muted); font-size: 13px; }
.privacy { font-size: 12px; color: var(--muted); background: var(--surface-2); padding: 10px 12px; border-radius: 8px; }
.form-msg { font-size: 14px; min-height: 0; }
.form-msg.ok { color: var(--plus); font-weight: 600; }
.form-msg.err { color: var(--warn); font-weight: 600; }

.footer { background: #0B2423; color: rgba(255, 255, 255, .7); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 13px; }
.foot-brand { color: #fff; font-weight: 800; font-size: 17px; }
.foot-info { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot-note { margin-top: 16px; max-width: 760px; color: rgba(255, 255, 255, .5); font-size: 12px; }
.foot-copy { margin-top: 16px; color: rgba(255, 255, 255, .5); font-size: 12px; }

/* detail drawer */
.scrim { position: fixed; inset: 0; z-index: 1100; background: rgba(10, 20, 19, .45); }
.drawer { position: fixed; z-index: 1200; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--bg); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.drawer-body { flex: 1; overflow-y: auto; padding: calc(20px + env(safe-area-inset-top)) 20px 24px; overscroll-behavior: contain; }
.drawer-cta { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.d-head { padding-right: 48px; }
.d-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.d-title { font-size: 24px; font-weight: 800; }
.d-loc { margin-top: 4px; color: var(--muted); font-size: 14px; }
.d-lock { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; background: #FBF0D9; color: #5E420C; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.d-lock svg { flex: none; margin-top: 1px; }
.d-sec { margin-top: 16px; padding: 18px; }
.d-sec h3 { font-size: 15px; font-weight: 750; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.d-sec h3 small { font-size: 12px; font-weight: 500; color: var(--muted); }
.keys { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.keys div { background: var(--surface); padding: 12px; }
.keys dt { font-size: 12px; color: var(--muted); }
.keys dd { margin: 2px 0 0; font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; }
.keys .hl dd { color: var(--price); font-size: 19px; }
.keys .wide { grid-column: span 3; display: flex; justify-content: space-between; align-items: baseline; background: var(--brand-soft); }
.keys .wide dd { color: var(--brand); }
.profit { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.profit div { background: var(--surface-2); border-radius: 10px; padding: 12px; }
.profit dt { font-size: 12px; color: var(--muted); }
.profit dd { margin: 2px 0 0; font-weight: 750; font-size: 17px; font-variant-numeric: tabular-nums; }
.profit .good { background: #E3F2EA; }
.profit .good dd { color: var(--plus); }
.bar { margin-top: 14px; display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--surface-2); gap: 2px; }
.bar i { display: block; height: 100%; }
.legend { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 8px; list-style: none; }
.legend span { flex: 1; color: var(--ink-2); }
.legend b { font-weight: 650; font-variant-numeric: tabular-nums; }
.legend .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend ul, ul.legend { padding: 0; margin-top: 10px; }
.facts { margin: 12px 0 0; display: grid; grid-template-columns: 108px 1fr; gap: 8px 12px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ck { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; }
.checks .ok .ck { background: #E3F2EA; color: var(--plus); }
.checks .pending .ck { background: var(--surface-2); color: var(--muted); }
.checks span b { font-weight: 650; }
.checks span em { font-style: normal; color: var(--muted); }
.d-map { margin-top: 12px; height: 200px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.d-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.d-sim { margin-top: 16px; }
.d-sim h3 { font-size: 15px; margin-bottom: 8px; }
.d-sim .lcard { margin-bottom: 8px; }

/* responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; gap: 20px; }
  .consult { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: minmax(320px, 380px) 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 56px; }
  .nav-links { display: none; }
  .logo { font-size: 17px; }
  .nav-call { height: 36px; padding: 0 14px; font-size: 14px; }
  .hero { padding: 32px 0 22px; }
  .lede { font-size: 15px; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .field:nth-child(3) { grid-column: span 2; }
  .search .btn { grid-column: span 2; min-height: 48px; }
  .stats { gap: 10px 22px; }
  .stats dd { font-size: 19px; }
  .toolbar-in { flex-direction: column; align-items: stretch; gap: 8px; }
  .tools { overflow-x: auto; scrollbar-width: none; }
  .tools::-webkit-scrollbar { display: none; }
  .split { display: block; height: auto; min-height: 0; }
  .listpane { overflow: visible; border-right: 0; }
  .list-head { position: static; }
  .mappane { display: none; position: fixed; z-index: 950; left: 0; right: 0; bottom: 0; top: calc(var(--nav-h) + env(safe-area-inset-top)); }
  .explorer.show-map .mappane { display: block; }
  .map-note { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); max-width: none; }
  .viewswitch { display: inline-flex; position: fixed; z-index: 960; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 700; align-items: center; gap: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
  .viewswitch.off { display: none; }
  .section { padding: 52px 0; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .form { padding: 18px; }
  .drawer { width: 100%; animation: up .22s ease-out; }
  @keyframes up { from { transform: translateY(24px); opacity: .4; } to { transform: none; opacity: 1; } }
  .keys { grid-template-columns: 1fr 1fr; }
  .profit dd { font-size: 15px; }
  .keys .wide { grid-column: span 2; }
  .legend { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 92px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer { animation: none; }
}

/* store photos */
.lcard { grid-template-columns: 84px 1fr; }
.thumb { width: 84px; height: 84px; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
.thumb.has-photo img { opacity: 1; }
.thumb.has-photo svg { visibility: hidden; }
.gallery { position: relative; margin-top: 14px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 2px; }
.g-track::-webkit-scrollbar { display: none; }
.g-track img { flex: 0 0 100%; height: 280px; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; display: block; }
.g-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .88); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; background: rgba(255, 255, 255, .15); color: #fff; border: 0; border-radius: 999px; height: 38px; padding: 0 16px; font-weight: 600; }
@media (max-width: 760px) {
  .lcard { grid-template-columns: 76px 1fr; }
  .thumb { width: 76px; height: 76px; }
  .g-track img { height: 220px; }
}

/* brand search */
.search { grid-template-columns: repeat(4, 1fr) auto; max-width: 1000px; }
.brand-quick { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.brand-quick > span { white-space: nowrap; flex: none; font-size: 13px; color: rgba(255, 255, 255, .6); margin-right: 2px; }
.bq { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.bq b { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.bq:hover, .bq[aria-pressed="true"] { background: #fff; color: var(--brand); border-color: #fff; }
.lc-brand { color: var(--brand); }
@media (max-width: 960px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: span 2; min-height: 48px; }
}
@media (max-width: 760px) {
  .search .field:nth-child(3) { grid-column: auto; }
  .brand-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .brand-quick::-webkit-scrollbar { display: none; }
  .bq { flex: none; }
}
.foot-legal { margin-top: 12px; max-width: 760px; color: rgba(255, 255, 255, .78); font-size: 12.5px; line-height: 1.6; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
