/* v2/css/nt.css - new front (2026-12). Frames: body.fr-house / fr-shop / fr-adult. Phone first below 900px. */
:root {
	--navy: #1b4385; --navy-d: #11295a; --navy-l: #e8eef9;
	--hi: #ffe45c; --hi-ink: #1b2a4a;
	--acc: #ffd43b; --acc-ink: #1b2a4a;		/* 문자 상담 button */
	--ink: #1d2433; --sub: #4b5563; --muted: #8a93a3; --line: #e3e7ef; --bg: #f4f6fa;
	--r: 14px; --sh: 0 6px 24px rgba(20, 40, 90, .08);
	--band: linear-gradient(100deg, #11295a 0%, #1b4385 70%, #2b5aa8 100%);
	--hero: linear-gradient(115deg, rgba(10, 30, 70, .92) 0%, rgba(27, 67, 133, .80) 55%, rgba(27, 67, 133, .35) 100%), linear-gradient(180deg, #8fb7e8 0%, #4f7fc0 100%);
}
body.fr-house { --hero: linear-gradient(110deg, rgba(10, 32, 78, .88) 0%, rgba(27, 67, 133, .70) 50%, rgba(80, 140, 210, .25) 100%), linear-gradient(180deg, #a9d0f5 0%, #6fa3dc 60%, #8cc5a0 100%); }
body.fr-adult {
	--acc: #e6197f; --acc-ink: #fff;
	--band: radial-gradient(circle at 85% 50%, rgba(230, 25, 127, .55) 0, transparent 45%), radial-gradient(circle at 60% 0, rgba(120, 60, 255, .5) 0, transparent 40%), linear-gradient(100deg, #0d0a24 0%, #1a1145 60%, #2a0f4a 100%);
	--hero: radial-gradient(circle at 78% 30%, rgba(230, 25, 127, .55) 0, transparent 32%), radial-gradient(circle at 92% 70%, rgba(0, 200, 255, .35) 0, transparent 30%), radial-gradient(circle at 60% 85%, rgba(140, 70, 255, .45) 0, transparent 35%), linear-gradient(100deg, #0b0820 0%, #1a1046 55%, #2b0c4c 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", "맑은 고딕", sans-serif; color: var(--ink); background: #fff; font-size: 15px; line-height: 1.5; letter-spacing: -.01em; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.main { min-height: 50vh; }

/* ---------------------------------------------------------------- header */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 24px; height: 78px; }
.hd-menu { display: none; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { max-height: 54px; width: auto; }
.logo-mk { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); position: relative; flex: none; }
.logo-mk::after { content: ""; position: absolute; inset: 9px 8px 8px; background: #fff; clip-path: polygon(50% 0, 100% 42%, 88% 42%, 88% 100%, 12% 100%, 12% 42%, 0 42%); }
.fr-adult .logo-mk { background: linear-gradient(135deg, #e6197f, #7a2cff); }
.fr-adult .logo-mk::after { clip-path: polygon(0 0, 100% 0, 56% 52%, 56% 88%, 78% 100%, 22% 100%, 44% 88%, 44% 52%); inset: 8px 9px 7px; }
.logo-tx b { display: block; font-size: 23px; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.03em; }
.fr-adult .logo-tx b { color: #1a1046; }
.logo-tx small { display: block; font-size: 12px; color: var(--muted); }
.gnb { display: flex; flex: 1; gap: 2px; justify-content: center; flex-wrap: wrap; }
.gnb a { padding: 8px 12px; font-weight: 700; font-size: 16px; border-radius: 8px; white-space: nowrap; }
.gnb a:hover, .gnb a.on { color: var(--navy); background: var(--navy-l); }
.fr-adult .gnb a:hover, .fr-adult .gnb a.on { color: #c2116a; background: #fde8f2; }
.hd-tel { flex: none; text-align: right; background: var(--navy); color: #fff; border-radius: 12px; padding: 6px 16px; }
.hd-tel small { display: block; font-size: 11px; opacity: .85; }
.hd-tel b { font-size: 21px; color: var(--hi); letter-spacing: 0; }
.hd-call { display: none; }

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); visibility: hidden; opacity: 0; transition: .2s; }
.drawer.on { visibility: visible; opacity: 1; }
.drawer-in { width: 78%; max-width: 320px; height: 100%; background: #fff; overflow-y: auto; transform: translateX(-100%); transition: .2s; }
.drawer.on .drawer-in { transform: none; }
.drawer-hd { display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: #fff; padding: 16px 18px; font-size: 18px; }
.drawer-hd button { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.drawer a { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer .drawer-tel { color: var(--navy); font-size: 18px; font-weight: 800; }

/* ---------------------------------------------------------------- hero + search (first screen) */
.hero { background: var(--hero); color: #fff; padding: 56px 0 110px; position: relative; overflow: hidden; }
.fr-adult .hero::after { content: ""; position: absolute; right: 6%; top: 18%; width: 300px; height: 150px; border: 3px solid rgba(255, 90, 190, .85); border-radius: 18px; box-shadow: 0 0 18px #ff3fae, inset 0 0 18px #ff3fae; transform: rotate(-4deg); opacity: .8; }
.fr-adult .hero::before { content: ""; position: absolute; right: 22%; top: 46%; width: 170px; height: 90px; border: 3px solid rgba(80, 220, 255, .85); border-radius: 14px; box-shadow: 0 0 16px #35d4ff, inset 0 0 16px #35d4ff; transform: rotate(3deg); opacity: .7; }
.hero-in { position: relative; z-index: 1; }
.hero h1 { font-size: 44px; line-height: 1.22; font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--hi); }
.fr-adult .hero h1 em { color: #fff; background: linear-gradient(transparent 70%, rgba(230, 25, 127, .85) 70%); }
.hero p { margin-top: 14px; font-size: 18px; opacity: .92; }
.hero-chk { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; padding: 0; }
.hero-chk li { font-weight: 700; padding-left: 26px; position: relative; }
.hero-chk li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 13px; text-align: center; line-height: 20px; }
.fr-adult .hero-chk li::before { color: #e6197f; }

.search-box { margin-top: -74px; position: relative; z-index: 2; }
.sf { background: #fff; border-radius: 18px; box-shadow: var(--sh); padding: 22px 24px; border: 1px solid var(--line); }
.sf-tt { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.sf-tt::before { content: ""; display: inline-block; width: 18px; height: 18px; border: 3px solid var(--navy); border-radius: 50%; margin-right: 8px; vertical-align: -2px; }
.sf-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; }
.fld { display: flex; flex-direction: column; gap: 4px; min-width: 130px; flex: 1; }
.fld > span { font-size: 13px; font-weight: 700; color: var(--sub); }
.fld select, .fld input { height: 46px; border: 1px solid #cfd6e3; border-radius: 10px; padding: 0 12px; background: #fff; width: 100%; }
.fld select:focus, .fld input:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
.fld-q { flex: 2; min-width: 180px; }
.btn-go { height: 46px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; white-space: nowrap; }
.btn-go::before { content: ""; display: inline-block; width: 12px; height: 12px; border: 2.5px solid #fff; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.btn-go:hover { background: var(--navy-d); }

.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .seg-link a { display: inline-block; padding: 9px 20px; border-radius: 999px; border: 1px solid #cfd6e3; background: #f7f8fb; font-weight: 700; }
.seg input:checked + span, .seg-link a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.fr-adult .seg input:checked + span, .fr-adult .seg-link a.on { background: #e6197f; border-color: #e6197f; }
.seg-part span { min-width: 84px; text-align: center; }

/* ---------------------------------------------------------------- sections + cards */
.sec { margin-top: 44px; }
.sec-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.sec-hd h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; padding-left: 14px; border-left: 5px solid var(--navy); line-height: 1.15; }
.fr-adult .sec-hd h2 { border: 0; padding: 8px 34px 8px 18px; color: #fff; background: linear-gradient(90deg, #e6197f, #7a2cff); clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); border-radius: 8px 0 0 8px; }
.more { border: 1px solid #cfd6e3; border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.more:hover { border-color: var(--navy); color: var(--navy); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); }
.empty a { color: var(--navy); font-weight: 700; text-decoration: underline; }

.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.ph { position: relative; aspect-ratio: 16 / 10; background: #e9edf4; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(135deg, #eef1f6 0 12px, #e7ebf2 12px 24px); }
.tag { display: inline-block; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; padding: 4px 11px; border-radius: 6px; }
.ph .tag { position: absolute; left: 10px; top: 10px; }
.fr-adult .tag { background: #e6197f; }
.tag.p1 { background: #1b4385; } .tag.p2 { background: #0f8a6a; } .tag.p3 { background: #6a3fc8; }
.ph .done, .ph .hot { position: absolute; right: 10px; top: 10px; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 6px; }
.ph .done { background: rgba(30, 30, 30, .75); color: #fff; }
.ph .hot { background: #ff3b30; color: #fff; }
.bd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tt { font-size: 16px; font-weight: 800; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.02em; }
.pr { align-self: flex-start; background: var(--hi); color: var(--hi-ink); font-weight: 800; font-size: 16px; padding: 2px 8px; border-radius: 4px; letter-spacing: -.02em; }
.mt { list-style: none; margin: 2px 0 0; padding: 0; font-size: 14px; color: var(--sub); display: flex; flex-direction: column; gap: 2px; }
.mt li { padding-left: 20px; position: relative; }
.mt li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 12px; height: 12px; background: #9aa3b3; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.mt li em { font-style: normal; float: right; color: var(--sub); }
.i-key { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 14a5 5 0 1 1 4.9-6H22v4h-2v3h-3v-3h-5.1A5 5 0 0 1 7 14zm0-3a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E"); }
.i-size { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v2H6.4l5.3 5.3-1.4 1.4L5 6.4V11H3zm18 18h-8v-2h4.6l-5.3-5.3 1.4-1.4 5.3 5.3V13h2z'/%3E%3C/svg%3E"); }
.i-room { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18v-6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v6h-2v-2H5v2zm2-4h14v-2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1zM6 8V5h12v3h-2V7H8v1z'/%3E%3C/svg%3E"); }
.i-pin { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7zm0 4.5A2.5 2.5 0 1 0 12 11.5 2.5 2.5 0 0 0 12 6.5z'/%3E%3C/svg%3E"); }
.i-cal { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3v18H4V4h3zm-1 8v10h12V10z'/%3E%3C/svg%3E"); }

.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
.themes a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1px solid var(--line); border-radius: 12px; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.3; }
.themes a:hover { border-color: var(--navy); color: var(--navy); }
.th-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--navy-l); position: relative; }
.th-ic::after { content: ""; position: absolute; inset: 10px; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6h-2v6H6v-9H3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6h-2v6H6v-9H3z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------------------------------------------------------------- band (list / view) */
.band { background: var(--band); color: #fff; }
.band .wrap { display: flex; align-items: baseline; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.band h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.crumb { font-size: 14px; opacity: .85; }
.crumb span { margin: 0 4px; opacity: .7; }
.fr-adult .band h1 { text-shadow: 0 0 14px rgba(255, 80, 190, .7); }

/* ---------------------------------------------------------------- list */
.filter { margin-top: 20px; }
.filter .seg-link { margin-bottom: 12px; }
.sf-list { padding: 18px 20px; }
.flt-d > summary { display: none; }
.sf-list .fld { min-width: 120px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.chips b { margin-right: 4px; }
.chip { border: 1px solid #cfd6e3; border-radius: 999px; padding: 5px 12px; font-size: 14px; background: #fff; }
.chip i { font-style: normal; color: var(--muted); margin-left: 2px; }
.chip:hover { border-color: #e03; }
.chip-reset { margin-left: auto; font-size: 14px; color: var(--sub); text-decoration: underline; }
.list-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.total { font-size: 20px; font-weight: 700; }
.total b { color: var(--navy); font-size: 26px; }
.fr-adult .total b { color: #e6197f; }
.sorts { display: flex; border: 1px solid #cfd6e3; border-radius: 10px; overflow: hidden; }
.sorts a { padding: 8px 14px; font-size: 14px; font-weight: 600; border-left: 1px solid #cfd6e3; }
.sorts a:first-child { border-left: 0; }
.sorts a.on { background: var(--navy); color: #fff; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 32px 0 8px; }
.pager a { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid #cfd6e3; border-radius: 8px; font-weight: 700; }
.pager a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.more-btn { display: none; }

/* ---------------------------------------------------------------- view */
.vw-top { margin-top: 24px; }
.vw-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vw-title .sn { background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 8px; }
.fr-adult .vw-title .sn { background: #1a1046; }
.vw-title h2 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.vw-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vw-tags span { font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid #cfd6e3; }
.vw-tags .tag { border: 0; border-radius: 999px; }
.vw-tags .t-done { background: #333; color: #fff; border-color: #333; }
.vw-tags .t-hot { background: #ff3b30; color: #fff; border-color: #ff3b30; }
.vw-tags .t-chk::before { content: "✓ "; color: var(--navy); }
.vw-main { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: 24px; margin-top: 18px; align-items: start; }
.gal-main { position: relative; aspect-ratio: 16 / 10; background: #111; border-radius: var(--r); overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal-main img[hidden] { display: none; }
.gal-prev, .gal-next { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 30px; line-height: 1; cursor: pointer; color: #222; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.gal-prev { left: 14px; } .gal-next { right: 14px; }
.gal-cnt { position: absolute; right: 14px; top: 14px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.gal-th { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gal-th button { flex: 0 0 96px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #ddd; }
.gal-th button.on { border-color: var(--navy); }
.fr-adult .gal-th button.on { border-color: #e6197f; }
.gal-th img { width: 100%; height: 100%; object-fit: cover; }

.pbox { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh); position: sticky; top: 96px; }
.pbox-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pbox-price .lb { background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.pbox-price b { font-size: 28px; font-weight: 900; letter-spacing: -.03em; background: linear-gradient(transparent 55%, var(--hi) 55%); padding: 0 2px; }
.pbox-price i { font-style: normal; font-size: 24px; color: var(--muted); margin: 0 2px; }
.pbox-facts { list-style: none; margin: 10px 0 0; padding: 0; }
.pbox-facts li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.pbox-facts span { width: 70px; flex: none; color: var(--sub); font-weight: 700; }
.pbox-agent { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pbox-agent .av { width: 50px; height: 50px; border-radius: 50%; background: var(--navy-l); flex: none; position: relative; }
.pbox-agent .av::after { content: ""; position: absolute; inset: 12px; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-5 0-9 2.5-9 6v2h18v-2c0-3.5-4-6-9-6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-5 0-9 2.5-9 6v2h18v-2c0-3.5-4-6-9-6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pbox-agent small { display: block; color: var(--sub); font-weight: 700; }
.pbox-agent a { font-size: 26px; font-weight: 900; color: var(--navy); letter-spacing: -.02em; }
.pbox-btn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.btn-call, .btn-sms2 { height: 54px; border-radius: 12px; border: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; cursor: pointer; }
.btn-call { background: var(--navy); color: #fff; }
.btn-sms2 { background: var(--acc); color: var(--acc-ink); }

.vw-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 40px; }
.vw-main > *, .vw-info > * { min-width: 0; }
.h-ic { font-size: 21px; font-weight: 800; margin: 0 0 12px; padding-left: 30px; position: relative; }
.h-ic::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; background: var(--navy); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.h-info { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14v18H5zm3 4v2h8V7zm0 4v2h8v-2zm0 4v2h5v-2z'/%3E%3C/svg%3E"); }
.h-desc { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v12H8l-4 4zm4 4v2h8V8zm0 3v2h5v-2z'/%3E%3C/svg%3E"); }
.h-pin { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7zm0 4.5A2.5 2.5 0 1 0 12 11.5 2.5 2.5 0 0 0 12 6.5z'/%3E%3C/svg%3E"); margin-top: 28px; }
.h-sub { font-size: 16px; margin: 18px 0 8px; }
.itbl { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: 15px; }
.itbl th, .itbl td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.itbl th { width: 120px; background: #f5f7fb; color: var(--sub); font-weight: 700; white-space: nowrap; }
.opts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.opts li { border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 14px; }
.desc { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fafbfd; font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
.loc { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.loc .muted { font-size: 14px; margin-top: 4px; }
.loc-btn { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.loc-btn a { border: 1px solid #cfd6e3; border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.loc-btn a:first-child { background: #fee500; border-color: #fee500; }
.loc-btn a:last-child { background: #03c75a; border-color: #03c75a; color: #fff; }

/* ---------------------------------------------------------------- SMS form */
.sms-sec .smsf { display: grid; grid-template-columns: 300px 1fr 200px; gap: 20px 28px; align-items: center; background: var(--navy-l); border-radius: 18px; padding: 26px 30px; }
.fr-adult .sms-sec .smsf { background: #f6efff; }
.smsf-hd b { font-size: 24px; font-weight: 800; display: block; }
.smsf-hd b::before { content: ""; display: inline-block; width: 26px; height: 22px; border-radius: 6px; background: var(--navy); margin-right: 8px; vertical-align: -3px; }
.smsf-hd p { color: var(--sub); margin-top: 6px; }
.smsf-bd { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.smsf-bd label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 700; color: var(--sub); }
.smsf-bd .wide { grid-column: 1 / -1; }
.smsf-bd input, .smsf-bd textarea { border: 1px solid #cfd6e3; border-radius: 10px; padding: 10px 12px; background: #fff; font-size: 15px; resize: none; }
.smsf-cnt { grid-column: 1 / -1; text-align: right; font-size: 12px; color: var(--muted); margin-top: -4px; }
.smsf-cnt.over { color: #e03; font-weight: 700; }
.smsf-cnt em { font-style: normal; }
.btn-sms { height: 64px; border: 0; border-radius: 14px; background: var(--navy); color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; }
.fr-adult .btn-sms { background: #e6197f; }
.btn-sms:disabled { opacity: .6; }
.smsf-ok { grid-column: 1 / -1; background: #e7f7ee; color: #0b7a43; font-weight: 700; border-radius: 10px; padding: 10px 14px; }

.modal { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .5); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.on { display: flex; }
.modal-in { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 24px; max-height: 92vh; overflow-y: auto; }
.modal-x { position: absolute; right: 12px; top: 8px; border: 0; background: none; font-size: 30px; cursor: pointer; color: var(--muted); }
.modal .smsf { display: flex; flex-direction: column; gap: 14px; }
.modal .btn-sms { height: 54px; }

/* ---------------------------------------------------------------- footer + fixed buttons */
.ft { background: #14244a; color: #c8d1e3; margin-top: 60px; padding: 30px 0 34px; font-size: 14px; }
.fr-adult .ft { background: #120d2c; }
.ft-in { display: grid; grid-template-columns: 240px 1fr; gap: 6px 30px; }
.ft-logo b { display: block; color: #fff; font-size: 22px; font-weight: 800; }
.ft-logo small { color: #9aa6bf; }
.ft-info span { display: inline-block; margin-right: 14px; }
.ft-link { grid-column: 2; color: #9aa6bf; }
.ft-link a:hover { color: #fff; }
.bbar { display: none; }
.fab-sms { position: fixed; right: 24px; bottom: 24px; z-index: 40; height: 56px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 8px 24px rgba(20, 40, 90, .3); cursor: pointer; }
.fr-adult .fab-sms { background: #e6197f; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1180px) {
	.grid { grid-template-columns: repeat(3, 1fr); }
	.gnb a { padding: 8px 8px; font-size: 15px; }
	.sms-sec .smsf { grid-template-columns: 1fr; }
}
/* ---------------------------------------------------------------- phone */
@media (max-width: 900px) {
	body { padding-bottom: 64px; font-size: 15px; }
	.wrap { padding: 0 14px; }
	.hd { background: var(--navy); border: 0; }
	.fr-adult .hd { background: #120d2c; }
	.hd-in { height: 56px; gap: 0; justify-content: space-between; }
	.hd-menu { display: flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; justify-content: center; align-items: center; border: 0; background: none; cursor: pointer; }
	.hd-menu i { width: 22px; height: 2.5px; background: #fff; border-radius: 2px; }
	.logo { position: absolute; left: 50%; transform: translateX(-50%); }
	.logo img { max-height: 40px; background: #fff; border-radius: 6px; padding: 2px 6px; }
	.logo-mk { display: none; }
	.logo-tx b { color: #fff !important; font-size: 21px; }
	.logo-tx small { display: none; }
	.gnb, .hd-tel { display: none; }
	.hd-call { display: block; width: 40px; height: 40px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / 24px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / 24px no-repeat; }

	.hero { padding: 26px 0 70px; }
	.hero h1 { font-size: 27px; }
	.hero p { font-size: 15px; margin-top: 8px; }
	.hero-chk { gap: 6px 14px; font-size: 14px; margin-top: 12px; }
	.fr-adult .hero::after { width: 130px; height: 70px; right: -20px; top: 12px; }
	.fr-adult .hero::before { display: none; }
	.search-box { margin-top: -52px; }
	.sf { padding: 16px 14px; border-radius: 14px; }
	.sf-tt { font-size: 17px; }
	.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.fld { min-width: 0; }
	.fld-q, .btn-go { grid-column: 1 / -1; }
	.seg { gap: 6px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
	.seg span, .seg-link a { padding: 8px 14px; white-space: nowrap; font-size: 14px; }
	.seg-part { display: grid; grid-template-columns: repeat(4, 1fr); }
	.seg-part span { min-width: 0; display: block; }

	.sec { margin-top: 30px; }
	.sec-hd h2 { font-size: 20px; }
	.grid { grid-template-columns: 1fr; gap: 10px; }
	.card { flex-direction: row; border-radius: 12px; }
	.card .ph { flex: 0 0 38%; aspect-ratio: auto; min-height: 118px; }
	.ph .tag { left: 6px; top: 6px; font-size: 11px; padding: 3px 7px; }
	.ph .done, .ph .hot { right: auto; left: 6px; top: auto; bottom: 6px; font-size: 11px; }
	.bd { padding: 10px 12px; gap: 4px; }
	.tt { font-size: 15px; -webkit-line-clamp: 1; }
	.pr { font-size: 14px; }
	.mt { font-size: 13px; }
	.themes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 92px; overflow-x: auto; padding-bottom: 4px; }
	.themes a { padding: 12px 4px; font-size: 13px; }

	.band .wrap { padding-top: 14px; padding-bottom: 14px; gap: 10px; }
	.band h1 { font-size: 22px; }
	.crumb { font-size: 12px; }
	.filter { margin-top: 12px; }
	.flt-d > summary { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border: 1px solid #cfd6e3; border-radius: 12px; font-weight: 800; cursor: pointer; list-style: none; background: #fff; }
	.flt-d > summary::-webkit-details-marker { display: none; }
	.flt-d > summary::after { content: "▾"; color: var(--muted); }
	.flt-d[open] > summary { margin-bottom: 8px; }
	.flt-d > summary em { font-style: normal; background: var(--navy); color: #fff; border-radius: 999px; font-size: 12px; padding: 1px 7px; }
	.fr-adult .flt-d > summary em { background: #e6197f; }
	.chip-reset { margin-left: 0; }
	.total { font-size: 16px; } .total b { font-size: 20px; }
	.sorts { width: 100%; overflow-x: auto; }
	.sorts a { white-space: nowrap; flex: 1; text-align: center; padding: 8px 8px; }
	.pager { display: none; }
	.more-btn { display: block; width: 100%; height: 50px; margin-top: 16px; border: 1px solid #cfd6e3; border-radius: 12px; background: #fff; font-weight: 800; font-size: 16px; cursor: pointer; }

	.vw-top { margin-top: 14px; }
	.vw-title h2 { font-size: 20px; }
	.vw-main { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.vw-info { grid-template-columns: minmax(0, 1fr) !important; }
	html, body { overflow-x: clip; }
	.gal { margin: 0 -14px; }
	.gal-main { border-radius: 0; aspect-ratio: 4 / 3; }
	.gal-prev, .gal-next { width: 38px; height: 38px; font-size: 24px; }
	.gal-th { padding: 0 14px 4px; }
	.gal-th button { flex-basis: 70px; height: 50px; }
	.pbox { position: static; box-shadow: none; padding: 16px; }
	.pbox-price b { font-size: 24px; }
	.pbox-btn { display: none; }
	.vw-info { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
	.itbl th { width: 100px; }
	.h-pin { margin-top: 18px; }

	.sms-sec .smsf { padding: 18px 16px; gap: 12px; }
	.smsf-hd b { font-size: 20px; }
	.smsf-bd { grid-template-columns: 1fr; }
	.btn-sms { height: 52px; }
	.ft { margin-top: 36px; padding: 22px 0 26px; font-size: 12px; }
	.ft-in { grid-template-columns: 1fr; }
	.ft-link { grid-column: 1; }
	.fab-sms { display: none; }
	.bbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 60px; box-shadow: 0 -4px 14px rgba(0, 0, 0, .12); }
	.bbar a, .bbar button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; font-size: 18px; font-weight: 800; cursor: pointer; }
	.b-call { background: var(--navy); color: #fff; }
	.b-sms { background: var(--acc); color: var(--acc-ink); }
}
.gal[data-n="0"] .gal-main { aspect-ratio: 16 / 7; background: #eef1f6; }
.themes:has(.th-img) { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.themes a:has(.th-img) { padding: 8px 8px 10px; }
.th-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
@media (max-width: 900px) { .themes:has(.th-img) { grid-template-columns: none; grid-auto-columns: 112px; } }

/* 공지사항 */
.nt-board { max-width: 960px; }
.nt-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.nt-list a { display: flex; align-items: center; gap: 16px; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.nt-list a:hover strong { color: var(--navy); text-decoration: underline; }
.nt-list .no { width: 44px; flex: none; text-align: center; color: var(--muted); font-size: 14px; }
.nt-list strong { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-list .dt { flex: none; color: var(--muted); font-size: 14px; }
.nt-view header { border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); padding: 22px 6px 16px; }
.nt-view h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.35; }
.nt-view header .muted { margin-top: 6px; font-size: 14px; }
.nt-body { padding: 28px 6px 36px; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.nt-body img { max-width: 100%; height: auto; }
.nt-body table { max-width: 100%; }
.nt-nav { border-top: 1px solid var(--line); }
.nt-nav a { display: flex; gap: 16px; padding: 14px 6px; border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nt-nav a span { flex: none; width: 60px; color: var(--sub); font-weight: 700; }
.nt-nav a:hover { color: var(--navy); }
.nt-back { text-align: center; margin-top: 28px; }
.fr-adult .nt-list, .fr-adult .nt-view header { border-top-color: #e6197f; }

/* 오시는 길 */
.lc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.lc-info h2 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 14px; }
.lc-tb { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.fr-adult .lc-tb { border-top-color: #e6197f; }
.lc-tb th, .lc-tb td { padding: 13px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 16px; }
.lc-tb th { width: 96px; color: var(--sub); font-weight: 700; white-space: nowrap; }
.lc-tb td a { color: var(--navy); font-weight: 800; }
.nt-loc .pbox-btn { margin-top: 20px; }
.nt-loc .loc-btn { margin-top: 12px; }
.lc-photo { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.lc-photo img { display: block; width: 100%; height: auto; }
.lc-map { display: block; width: 100%; height: 380px; margin-top: 28px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #f6f6f6; }
@media (max-width: 900px) {
	.nt-list a { gap: 10px; padding: 15px 4px; flex-wrap: wrap; }
	.nt-list .no { display: none; }
	.nt-list strong { flex-basis: 100%; white-space: normal; font-size: 16px; }
	.nt-view h2 { font-size: 20px; }
	.nt-body { font-size: 15px; padding: 20px 4px 28px; }
	.lc-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.lc-photo { order: -1; }
	.lc-info h2 { font-size: 22px; }
	.lc-map { height: 300px; margin-top: 20px; }
	.lc-tb th { width: 80px; }
}
.nt-loc .loc-btn a { flex: 1; text-align: center; padding: 14px; font-size: 16px; }

/* 최근 본 매물 */
[hidden] { display: none !important; }
.fab-q { position: fixed; right: 24px; bottom: 92px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fab-recent { height: 46px; padding: 0 20px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-size: 15px; font-weight: 800; box-shadow: 0 6px 18px rgba(20, 40, 90, .18); }
.fab-recent b, .drawer .rc-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.drawer .rc-n:empty { display: none; }
.fr-adult .fab-recent { border-color: #e6197f; color: #c2116a; }
.fr-adult .fab-recent b, .fr-adult .drawer .rc-n { background: #e6197f; }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; }
.rc-top + .rc-sec { margin-top: 18px; }
.rc-clear { background: #fff; cursor: pointer; }
@media (max-width: 1180px) { .rc-short .grid > :nth-child(n+4) { display: none; } }
@media (max-width: 900px) {
	.fab-q { display: none; }
	.rc-short .grid > :nth-child(n+3) { display: none; }
	.rc-top { margin-top: 20px; align-items: flex-start; }
	.rc-top .muted { font-size: 14px; }
}

/* 관심 매물 (heart) */
.fav-h { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .12s; }
.fav-h:hover { transform: scale(1.08); }
.fav-h::before, .btn-fav::before, .fab-recent .hf { content: ""; width: 20px; height: 20px; background: #9aa3b2; -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.fav-h.on::before, .btn-fav.on::before, .fab-recent .hf { background: #ff3b5c; -webkit-mask-image: var(--heart-on); mask-image: var(--heart-on); }
:root {
	--heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round' d='M12 20.5S3 15 3 8.8A4.8 4.8 0 0 1 12 6.4a4.8 4.8 0 0 1 9 2.4C21 15 12 20.5 12 20.5z'/%3E%3C/svg%3E");
	--heart-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.5S2 15.6 2 8.8A5.6 5.6 0 0 1 12 5.6a5.6 5.6 0 0 1 10 3.2C22 15.6 12 21.5 12 21.5z'/%3E%3C/svg%3E");
}
.fab-recent .hf { display: inline-block; width: 16px; height: 16px; }
.btn-fav { width: 100%; height: 48px; margin-top: 10px; border: 1px solid #cfd6e3; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--ink); cursor: pointer; }
.btn-fav.on { border-color: #ff3b5c; color: #e0244a; background: #fff3f5; }
.toast { position: fixed; left: 50%; bottom: 40px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: .2s; background: rgba(20, 24, 36, .92); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.toast.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast a { color: var(--hi); font-weight: 800; margin-left: 8px; text-decoration: underline; }
@media (max-width: 900px) {
	.fav-h { right: 6px; bottom: 6px; width: 32px; height: 32px; }
	.fav-h::before { width: 17px; height: 17px; }
	.toast { bottom: 76px; font-size: 14px; }
}
