/* =========================================================
   All Slopes 웹 — Flutter 앱(theme.dart · common.dart)과 같은 토큰과 컴포넌트.
   흰 배경 + 짙은 블루, 회색 면(fill)과 구분선으로 나누고 카드 테두리는 쓰지 않는다.
   ========================================================= */
:root {
	--primary: #2455a8;
	--primary-hover: #1d4890;
	--primary-soft: #eaf2ff;
	--ink: #111827;
	--body: #374151;
	--sub: #6b7280;
	--hint: #9ca3af;
	--line: #e5e7eb;
	--line-soft: #f1f3f6;
	--surface: #ffffff;
	--muted: #f3f5f8;
	--chip: #f8fafc;
	--danger: #cc4b4b;
	--new: #ff5a4e;
	--star: #f2b01e;
	--gnb-h: 64px;
	--appbar-h: 56px;
	--tabbar-h: 62px;
	--wide: 1200px;
	--narrow: 720px;
	--font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.no-scroll, html.no-scroll body { overflow: hidden; }
body {
	margin: 0;
	min-height: 100vh;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.45;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
img { max-width: 100%; display: block; }
svg.i { width: 24px; height: 24px; flex-shrink: 0; fill: currentColor; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- PC 상단 내비게이션 ---------- */
.gnb { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.gnb-inner { max-width: var(--wide); height: var(--gnb-h); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 20px; font-weight: 900; letter-spacing: -0.03em; flex-shrink: 0; }
.brand img { width: 32px; height: auto; }
.gnb-tabs { display: flex; align-items: center; gap: 4px; height: 100%; }
.gnb-tabs a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 14px; color: var(--sub); font-size: 15.5px; font-weight: 700; }
.gnb-tabs a:hover { color: var(--ink); }
.gnb-tabs a.is-active { color: var(--ink); font-weight: 800; }
.gnb-tabs a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--ink); }
.gnb-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--body); }
.icon-btn:hover { background: var(--muted); }
.icon-btn .dot-badge { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--new); }
.icon-btn .num-badge { position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
.gnb-write { display: inline-flex; align-items: center; gap: 4px; height: 38px; margin-left: 8px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 800; }
.gnb-write:hover { background: var(--primary-hover); }
.gnb-write svg.i { width: 20px; height: 20px; }
.gnb-login { height: 38px; padding: 0 14px; border-radius: 999px; color: var(--body); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; }
.gnb-login:hover { background: var(--muted); }

/* ---------- 앱 바(모바일) / 페이지 제목(PC) ---------- */
.appbar { position: sticky; top: 0; z-index: 40; height: var(--appbar-h); display: flex; align-items: center; gap: 4px; padding: 0 4px 0 16px; background: var(--surface); }
.appbar.has-back { padding-left: 4px; }
.appbar-title { flex: 1; min-width: 0; margin: 0; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-title.brand-title { color: var(--primary); font-size: 19px; font-weight: 900; letter-spacing: -0.03em; }
.appbar-actions { display: flex; align-items: center; }
.appbar .text-action { height: 40px; padding: 0 12px; color: var(--primary); font-size: 15px; font-weight: 800; }
.appbar .text-action:disabled { color: var(--hint); }
.appbar .text-action.muted { color: var(--sub); font-weight: 600; }
.seg-title { display: flex; gap: 16px; }
.seg-title button { color: var(--hint); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.seg-title button.is-active { color: var(--ink); }

/* ---------- 레이아웃 ---------- */
.page { width: 100%; min-height: calc(100vh - var(--appbar-h)); padding-bottom: calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom)); }
.page.no-tabbar { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.wrap { width: 100%; }
.split-side { display: none; }

/* ---------- 하단 탭(모바일) ---------- */
.tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: flex; background: var(--surface); border-top: 1px solid var(--line-soft); }
.tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--sub); font-size: 10.5px; font-weight: 600; }
.tabbar a.is-active { color: var(--primary); font-weight: 800; }
.tabbar .tab-write span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; }
.tabbar .tab-write svg.i { width: 28px; height: 28px; }

/* ---------- 칩 (SelectChip / ChipRow) ---------- */
.chip-row { display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.35; white-space: nowrap; transition: background-color .14s, color .14s; }
.chip.dense { padding: 5px 10px; font-size: 12.5px; }
.chip:hover { background: #eef1f5; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--hint)); flex-shrink: 0; }
.chip .count { margin-left: -2px; color: var(--sub); font-size: 12px; font-weight: 600; }
.chip.is-on { background: var(--c, var(--primary)); color: #fff; }
.chip.is-on .dot { background: #fff; }
.chip.is-on .count { color: #e0eaff; }
.chip.plain { --c: var(--primary); }
.dropdown-chip { display: inline-flex; align-items: center; flex-shrink: 0; padding: 5px 6px 5px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.dropdown-chip svg.i { width: 16px; height: 16px; color: var(--sub); }
.dropdown-chip.is-on { background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); color: var(--primary); }
.dropdown-chip.is-on svg.i { color: var(--primary); }

/* ---------- 공통 조각 ---------- */
.divider { height: 1px; background: var(--line-soft); }
.divider.inset { margin: 0 16px; }
.divider.thick { height: 6px; }
.section-header { display: flex; align-items: center; padding: 22px 8px 8px 16px; }
.section-header h2 { flex: 1; margin: 0; color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.section-header a, .section-header button { padding: 4px 8px; color: var(--sub); font-size: 12.5px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); color: var(--c, var(--sub)); font-size: 11px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.tag.filled { box-shadow: none; background: color-mix(in srgb, var(--c, var(--sub)) 10%, transparent); }
.pill { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--c, var(--primary)) 8%, transparent); color: var(--c, var(--primary)); font-size: 12px; font-weight: 700; white-space: nowrap; }
.new-badge { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 999px; background: var(--new); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.avatar { display: inline-grid; place-items: center; flex-shrink: 0; width: var(--s, 34px); height: var(--s, 34px); border-radius: 50%; overflow: hidden; background: var(--primary-soft); color: var(--primary); font-size: calc(var(--s, 34px) * .42); font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.empty-view { display: flex; flex-direction: column; align-items: center; padding: 48px 24px; text-align: center; color: var(--sub); font-size: 13.5px; line-height: 1.4; white-space: pre-line; }
.empty-view svg.i { width: 34px; height: 34px; margin-bottom: 10px; color: var(--hint); }
.empty-view .btn { margin-top: 14px; }
.inline-empty { padding: 4px 16px 12px; color: var(--hint); font-size: 13px; }
.loading-view { display: flex; justify-content: center; padding: 40px 0; }
.spinner { width: 22px; height: 22px; border: 2.2px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.sm { width: 18px; height: 18px; border-width: 2px; }
.spinner.white { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 버튼 · 입력 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 20px; border-radius: 12px; font-size: 15px; font-weight: 800; transition: background-color .14s; }
.btn.block { width: 100%; }
.btn-filled { background: var(--primary); color: #fff; }
.btn-filled:hover { background: var(--primary-hover); }
.btn-filled:disabled { background: #a7b6d3; }
.btn-outlined { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 700; }
.btn-outlined:hover { background: var(--chip); }
.btn-outlined.is-on { box-shadow: inset 0 0 0 1px var(--primary); color: var(--primary); }
.btn-outlined.sm { min-height: 32px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; color: var(--body); }
.btn-text { min-height: 36px; padding: 0 8px; color: var(--sub); font-size: 13px; font-weight: 600; }
.link-primary { color: var(--primary); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.link-primary svg.i { width: 16px; height: 16px; }
.field { display: block; width: 100%; padding: 13px 14px; border: 0; border-radius: 10px; background: var(--muted); color: var(--ink); font-size: 15px; outline: none; box-shadow: inset 0 0 0 1.2px transparent; transition: box-shadow .12s; -webkit-appearance: none; appearance: none; }
.field::placeholder { color: var(--hint); font-size: 14px; }
.field:focus { box-shadow: inset 0 0 0 1.2px var(--primary); }
textarea.field { resize: vertical; line-height: 1.55; }
.field-label { display: block; padding: 18px 0 8px; color: var(--body); font-size: 13px; font-weight: 700; }
.bare-input { display: block; width: 100%; padding: 10px 0; border: 0; background: transparent; outline: none; color: var(--ink); }
.bare-input::placeholder { color: var(--hint); }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background-color .15s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(18px); }

/* ---------- 리스트 타일 ---------- */
.list-tile { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 8px 16px; text-align: left; }
.list-tile:hover { background: #fafbfc; }
.list-tile .lt-icon { color: var(--body); width: 22px; height: 22px; }
.list-tile .lt-body { flex: 1; min-width: 0; }
.list-tile .lt-title { color: var(--ink); font-size: 15px; }
.list-tile .lt-sub { margin-top: 2px; color: var(--sub); font-size: 12.5px; }
.list-tile .lt-trail { color: var(--hint); }
.list-tile.is-check .lt-title { color: var(--primary); font-weight: 800; }

/* ---------- 게시판 배너 (BoardBanner) ---------- */
.board-banner { display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px 12px; border-radius: 8px; background: var(--muted); text-align: left; transition: background-color .12s; }
.board-banner:hover { background: #eceff4; }
.board-banner > svg.i { width: 19px; height: 19px; color: var(--primary); }
.board-banner .bb-body { flex: 1; min-width: 0; }
.board-banner .bb-title { color: var(--ink); font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.board-banner .bb-sub { margin-top: 3px; color: var(--sub); font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-banner .bb-chev { width: 18px; height: 18px; color: var(--primary); }
.banner-list { display: grid; gap: 8px; padding: 0 16px; }

/* ---------- 슬로프 ---------- */
.slope-tile { display: flex; align-items: center; width: 100%; padding: 13px 6px 13px 16px; text-align: left; cursor: pointer; }
.slope-tile:hover { background: #fafbfc; }
.slope-tile .bar { width: 4px; height: 38px; margin-right: 12px; border-radius: 2px; background: var(--c, var(--hint)); flex-shrink: 0; }
.slope-tile .st-main { flex: 1; min-width: 0; }
.slope-tile .st-name { color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slope-tile .st-meta { display: block; margin-top: 3px; color: var(--sub); font-size: 12.5px; }
.slope-tile .st-meta.m-wide { display: none; }
.slope-tile .st-meta:empty { display: none; }
.slope-tile .st-nums { margin-left: 8px; text-align: right; flex-shrink: 0; }
.slope-tile .st-len { color: var(--ink); font-size: 15px; font-weight: 800; }
.slope-tile .st-grade { margin-top: 3px; color: var(--sub); font-size: 12px; white-space: nowrap; }
.slope-tile .st-cmp { display: grid; place-items: center; width: 48px; height: 48px; color: var(--hint); flex-shrink: 0; }
.slope-tile .st-cmp svg.i { width: 22px; height: 22px; }
.slope-tile .st-cmp.is-on { color: var(--primary); }
.slope-tile .st-col { display: none; }
.slope-head { display: none; }
.count-line { display: flex; align-items: center; padding: 12px 6px 2px 16px; }
.count-line strong { color: var(--ink); font-size: 14px; font-weight: 800; }
.count-line strong em { font-style: normal; color: var(--primary); }
.sort-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; color: var(--body); font-size: 13px; font-weight: 600; border-radius: 8px; }
.sort-btn svg.i { width: 18px; height: 18px; }
.sort-btn:hover { background: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 0; border-radius: 12px; background: var(--muted); }
.metric-grid > div { padding: 10px 4px; text-align: center; }
.metric-grid strong { display: block; color: var(--ink); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.metric-grid span { display: block; margin-top: 3px; color: var(--sub); font-size: 12px; }
.sub-title { margin: 0 0 8px; color: var(--ink); font-size: 15px; font-weight: 800; }
.map-thumb { display: block; width: 100%; height: 180px; border-radius: 10px; overflow: hidden; background: var(--muted); }
.map-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 게시글 타일 (PostTile) ---------- */
.post-tile { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.post-tile:hover { background: #fafbfc; }
.post-tile .pt-main { flex: 1; min-width: 0; }
.post-tile .pt-head { display: flex; align-items: center; gap: 6px; min-width: 0; }
.post-tile .pt-head span:last-child { color: var(--hint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-tile .pt-title { margin-top: 7px; color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-tile .pt-detail { margin-top: 3px; color: var(--sub); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-tile .pt-detail.recruit { color: var(--body); -webkit-line-clamp: 1; display: flex; align-items: center; gap: 6px; }
.post-tile .pt-detail.recruit span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-tile .pt-pills { display: flex; gap: 6px; margin-top: 3px; }
.post-tile .pt-foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--sub); font-size: 12px; font-weight: 600; }
.post-tile .pt-foot .count { display: inline-flex; align-items: center; gap: 3px; color: var(--hint); font-weight: 400; }
.post-tile .pt-foot .count svg.i { width: 13px; height: 13px; }
.post-tile .pt-foot .count + .count { margin-left: -2px; }
.post-tile .pt-thumb { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; background: var(--muted); flex-shrink: 0; }
.post-tile .pt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed > * { position: relative; }
.feed > * + *::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line-soft); }

/* ---------- 장터 타일 ---------- */
.market-tile { display: flex; align-items: flex-start; gap: 14px; padding: 16px; }
.market-tile:hover { background: #fafbfc; }
.market-tile .mt-thumb { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 10px; overflow: hidden; background: var(--muted); color: var(--hint); flex-shrink: 0; }
.market-tile .mt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.market-tile .mt-title { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.market-tile .mt-meta { margin-top: 4px; color: var(--hint); font-size: 12px; }
.market-tile .mt-price { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--ink); font-size: 15.5px; font-weight: 800; }

/* ---------- 홈 ---------- */
.greeting { margin: 0; padding: 6px 16px 0; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.resort-cards { display: flex; gap: 10px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.resort-cards::-webkit-scrollbar { display: none; }
.resort-card { display: flex; flex-direction: column; flex: 0 0 144px; height: 132px; padding: 13px; border-radius: 14px; background: color-mix(in srgb, var(--c, var(--primary)) 12%, white); }
.resort-card .rc-head { display: flex; align-items: center; color: var(--ink); font-size: 15px; font-weight: 800; }
.resort-card .rc-head span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resort-card .rc-head svg.i { width: 17px; height: 17px; color: var(--c); }
.resort-card .rc-temp { margin-top: auto; color: var(--ink); font-size: 25px; font-weight: 800; line-height: 1; min-height: 25px; }
.resort-card .rc-map { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 10px; padding: 7px 9px; border-radius: 8px; background: var(--c, var(--primary)); color: #fff; font-size: 12px; font-weight: 800; }
.resort-card .rc-map svg.i { width: 14px; height: 14px; }
.shortcut { display: flex; align-items: center; gap: 10px; margin: 16px 16px 0; padding: 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 14px; font-weight: 700; }
.shortcut span { flex: 1; }
.shortcut svg.i { width: 20px; height: 20px; }

/* ---------- 게시판 헤더 ---------- */
.resort-header { margin: 4px 16px; padding: 14px; border-radius: 12px; background: var(--muted); }
.resort-header .rh-row { display: flex; align-items: center; gap: 6px; }
.resort-header .rh-row svg.i { width: 18px; height: 18px; color: var(--primary); }
.resort-header .rh-weather { flex: 1; color: var(--ink); font-size: 14px; font-weight: 700; }
.resort-header .rh-count { color: var(--sub); font-size: 12.5px; }
.resort-header .rh-links { display: flex; gap: 8px; margin-top: 10px; }
.link-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--surface); color: var(--body); font-size: 12px; font-weight: 600; }
.link-chip svg.i { width: 15px; height: 15px; }
.fab { position: fixed; z-index: 44; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 3px 8px rgba(17, 24, 39, .22); }
.fab:hover { background: var(--primary-hover); }

/* ---------- 게시글 상세 ---------- */
.post-body { padding: 8px 16px 12px; }
.author-row { display: flex; align-items: center; gap: 10px; }
.author-row .ar-name { color: var(--ink); font-size: 14px; font-weight: 700; }
.author-row .ar-meta { margin-top: 2px; color: var(--hint); font-size: 12px; }
.post-title { margin: 16px 0 0; color: var(--ink); font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.info-box { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--muted); }
.info-box > div { display: flex; padding: 4px 0; }
.info-box dt { width: 64px; flex-shrink: 0; color: var(--sub); font-size: 13px; }
.info-box dd { margin: 0; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.post-content { margin-top: 14px; color: var(--body); font-size: 15px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.post-images { display: grid; gap: 8px; margin-top: 14px; }
.post-images img { width: 100%; border-radius: 10px; background: var(--muted); }
.action-row { display: flex; align-items: center; gap: 8px; padding: 4px 16px 16px; }
.action-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--body); font-size: 13px; font-weight: 700; }
.action-btn svg.i { width: 16px; height: 16px; }
.action-btn.is-on { background: var(--primary-soft); box-shadow: none; color: var(--primary); }
.view-count { margin-left: auto; color: var(--hint); font-size: 12px; }
.comment-title { padding: 16px 16px 6px; color: var(--ink); font-size: 14px; font-weight: 800; }
.comment { display: flex; gap: 10px; padding: 10px 8px 6px 16px; }
.comment.reply { padding-left: 48px; }
.comment .cm-main { flex: 1; min-width: 0; }
.comment .cm-head { display: flex; align-items: baseline; gap: 6px; }
.comment .cm-head strong { color: var(--ink); font-size: 13px; font-weight: 700; }
.comment .cm-head span { color: var(--hint); font-size: 11.5px; }
.comment .cm-text { margin-top: 3px; color: var(--body); font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.comment .cm-actions { display: flex; gap: 10px; }
.comment .cm-actions button { min-height: 28px; color: var(--sub); font-size: 12px; }
.comment .cm-actions button + button { color: var(--hint); }
.comment-input { position: sticky; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line-soft); padding-bottom: env(safe-area-inset-bottom); }
.comment-input .ci-reply { display: flex; align-items: center; padding: 8px 8px 0 16px; color: var(--sub); font-size: 12px; }
.comment-input .ci-reply span { flex: 1; }
.comment-input .ci-row { display: flex; align-items: flex-end; gap: 4px; padding: 8px 8px 8px 12px; }
.comment-input textarea { flex: 1; max-height: 120px; padding: 11px 14px; resize: none; }
.comment-input .send { display: grid; place-items: center; width: 44px; height: 44px; color: var(--primary); }
.comment-input .send:disabled { color: var(--hint); }

/* ---------- 글쓰기 ---------- */
.field-row { display: flex; align-items: center; width: 100%; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.field-row .fr-label { width: 64px; color: var(--sub); font-size: 14px; flex-shrink: 0; }
.field-row .fr-value { flex: 1; color: var(--hint); font-size: 14.5px; font-weight: 500; }
.field-row .fr-value.is-set { color: var(--ink); font-weight: 700; }
.field-row svg.i { width: 20px; height: 20px; color: var(--hint); }
.field-row input[type="date"] { border: 0; background: transparent; font-size: 14.5px; color: var(--ink); font-weight: 700; }
.write-section { padding: 16px 16px 4px; }
.write-section h3 { margin: 0 0 10px; color: var(--ink); font-size: 14px; font-weight: 800; }
.write-section .field + .field, .write-section .two > .field { margin-top: 0; }
.write-section .stack { display: grid; gap: 8px; }
.write-section .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.title-input { padding: 12px 16px 0; }
.title-input input { font-size: 17px; font-weight: 700; }
.content-input { padding: 0 16px; }
.content-input textarea { min-height: 200px; padding: 12px 0; font-size: 15px; line-height: 1.55; resize: vertical; }
.photo-strip { display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.photo-strip .ps-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 76px; height: 76px; border-radius: 10px; background: var(--muted); color: var(--sub); font-size: 11.5px; flex-shrink: 0; }
.photo-strip .ps-item { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--muted); }
.photo-strip .ps-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip .ps-item button { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; }
.photo-strip .ps-item button svg.i { width: 14px; height: 14px; }
.write-note { padding: 16px 16px 0; color: var(--hint); font-size: 12px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 14.5px; }

/* ---------- 장터 상세 ---------- */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 300px; background: var(--muted); }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.buy-bar { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line-soft); }
.buy-bar strong { flex: 1; font-size: 19px; font-weight: 800; }
.buy-bar .btn { width: 150px; }
.tag-wrap { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ---------- 마이 ---------- */
.profile-head { padding: 8px 16px 12px; }
.profile-head .ph-row { display: flex; align-items: center; gap: 14px; }
.profile-head .ph-name { color: var(--ink); font-size: 18px; font-weight: 800; }
.profile-head .ph-meta { margin-top: 3px; color: var(--sub); font-size: 13px; }
.profile-head .ph-bio { margin-top: 12px; color: var(--body); font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.stat-box { margin-top: 14px; padding: 12px 0; border-radius: 10px; background: var(--muted); text-align: center; }
.stat-box strong { display: block; color: var(--ink); font-size: 17px; font-weight: 800; }
.stat-box span { display: block; margin-top: 2px; color: var(--sub); font-size: 12px; }
.guest-head { padding: 8px 16px 12px; }
.guest-head h2 { margin: 0; color: var(--ink); font-size: 18px; font-weight: 800; }
.guest-head p { margin: 4px 0 14px; color: var(--sub); font-size: 13.5px; }
.withdraw { margin: 12px 16px 0; color: var(--hint); font-size: 12.5px; text-decoration: underline; }
.notification { background: var(--surface); }
.notification.unread { background: #f6f9ff; }
.chat-bubble-row { display: flex; padding: 4px 12px; }
.chat-bubble-row.mine { justify-content: flex-end; }
.chat-bubble { max-width: 75%; padding: 10px 14px; border-radius: 16px; background: var(--surface); color: var(--ink); font-size: 14.5px; line-height: 1.4; white-space: pre-wrap; box-shadow: 0 0 0 1px var(--line-soft); }
.chat-bubble-row.mine .chat-bubble { background: var(--primary); color: #fff; box-shadow: none; }
.chat-room { min-height: calc(100vh - var(--appbar-h) - 70px); padding: 12px 0; background: var(--muted); }

/* ---------- 로그인 ---------- */
.auth { max-width: 420px; margin: 0 auto; padding: 24px 24px 32px; }
.auth-brand { display: flex; flex-direction: column; align-items: center; padding: 28px 0 32px; text-align: center; }
.auth-brand img { width: 76px; height: 48px; object-fit: contain; }
.auth-brand strong { margin-top: 10px; color: var(--ink); font-size: 26px; font-weight: 900; letter-spacing: -0.03em; }
.auth-brand span { margin-top: 6px; color: var(--sub); font-size: 14px; }
.auth .stack { display: grid; gap: 10px; }
.auth .btn { margin-top: 6px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; color: var(--hint); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-row { display: flex; justify-content: center; gap: 16px; }
.social-btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; }
.social-btn.kakao { background: #fee500; color: #191919; }
.social-btn svg.i { width: 24px; height: 24px; }
.auth-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 24px; color: var(--hint); font-size: 11.5px; }
.auth-error { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: var(--danger); font-size: 13px; font-weight: 600; }
.consent-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 14.5px; }
.consent-row input { width: 20px; height: 20px; accent-color: var(--primary); }
.consent-row a { margin-left: auto; color: var(--sub); font-size: 12.5px; text-decoration: underline; }
.consent-row.all { font-weight: 800; border-bottom: 1px solid var(--line-soft); }

/* ---------- 시트 · 다이얼로그 · 스낵바 ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .4); animation: fade .18s ease; }
.sheet { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 calc(8px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--surface); animation: up .22s ease; outline: none; }
.sheet .handle { width: 32px; height: 4px; margin: 10px auto 14px; border-radius: 2px; background: #c9ced6; }
.sheet .sheet-title { margin: 0; padding: 0 20px 8px; color: var(--ink); font-size: 16px; font-weight: 800; }
.sheet .sheet-body { padding: 0 20px 16px; }
.sheet .list-tile { padding-left: 20px; padding-right: 20px; }
.sheet.tall { height: 72vh; }
.dialog-wrap { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 24px; }
.dialog { position: relative; width: min(360px, 100%); padding: 22px 22px 10px; border-radius: 20px; background: var(--surface); animation: pop .18s ease; }
.dialog h3 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 800; }
.dialog p { margin: 12px 0 0; color: var(--body); font-size: 14px; line-height: 1.5; }
.dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 14px; }
.dialog .dialog-actions button { min-height: 40px; padding: 0 12px; color: var(--primary); font-size: 14.5px; font-weight: 700; }
.snack { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.snack div { max-width: 560px; width: 100%; padding: 14px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); animation: up .2s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: .6; } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }

/* ---------- 슬로프맵 뷰어 ---------- */
.viewer { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #000; color: #fff; }
.viewer header { display: flex; align-items: center; height: 56px; padding: 0 4px 0 16px; }
.viewer header h3 { flex: 1; margin: 0; font-size: 17px; font-weight: 700; }
.viewer header .icon-btn { color: #fff; }
.viewer header .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.viewer .viewer-body { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; }
.viewer .viewer-body img { max-width: none; width: 100%; height: auto; cursor: zoom-in; }
.viewer .viewer-body.zoom img { width: 220%; cursor: zoom-out; }

/* ---------- 비교 ---------- */
.compare-table { padding: 8px 16px 24px; }
.compare-head { display: flex; }
.compare-head .ch-label, .compare-row .cr-label { width: 72px; flex-shrink: 0; }
.compare-head .ch-col { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.compare-head .ch-col i { width: 28px; height: 4px; border-radius: 2px; background: var(--c); margin-bottom: 8px; }
.compare-head .ch-col strong { color: var(--ink); font-size: 14px; font-weight: 800; }
.compare-head .ch-col span { margin-top: 2px; color: var(--sub); font-size: 12px; }
.compare-head .ch-col button { margin-top: 4px; color: var(--hint); width: 32px; height: 32px; display: grid; place-items: center; }
.compare-head .ch-col button svg.i { width: 16px; height: 16px; }
.compare-row { display: flex; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.compare-row .cr-label { color: var(--sub); font-size: 13px; }
.compare-row .cr-val { flex: 1; text-align: center; color: var(--ink); font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.compare-row .cr-val.best { color: var(--primary); }

/* ---------- 슬로프 상세(SEO 페이지) · 공개 페이지 ---------- */
.prose { padding: 8px 16px 16px; color: var(--body); font-size: 15.5px; line-height: 1.8; }
.prose h1 { margin: 8px 0 16px; color: var(--ink); font-size: 24px; line-height: 1.35; font-weight: 800; letter-spacing: -0.03em; }
.prose h2 { margin: 28px 0 8px; color: var(--ink); font-size: 17px; font-weight: 800; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 20px; }
.prose strong { color: var(--ink); }
.prose .notice, .prose blockquote { margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: var(--muted); color: var(--body); font-size: 14.5px; }
.prose a { color: var(--primary); text-decoration: underline; }
.footer { display: none; }
.policy-tabs { padding-top: 4px; padding-bottom: 12px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--muted); }
.kpi span { display: block; color: var(--sub); font-size: 12px; }
.kpi strong { display: block; margin-top: 2px; color: var(--ink); font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.chart-area { position: relative; height: 260px; margin: 16px 16px 0; }
.chart-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--sub); font-size: 13.5px; background: var(--surface); }
.stat-table { width: calc(100% - 32px); margin: 8px 16px 0; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.stat-table td { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.stat-table td:last-child { text-align: right; font-weight: 700; }
.partner { margin: 24px 16px 0; padding: 14px 16px; border-radius: 12px; background: var(--muted); text-align: center; }
.partner a strong { display: block; color: var(--ink); font-size: 13.5px; }
.partner a span { display: block; margin-top: 4px; color: var(--sub); font-size: 12px; line-height: 1.5; }
.partner .pw { display: flex; justify-content: center; margin-top: 10px; overflow: hidden; }
.partner p { margin: 8px 0 0; color: var(--hint); font-size: 11px; }
.visit-line { margin: 16px 0 0; text-align: center; color: var(--hint); font-size: 12px; }
.visit-line strong { color: var(--sub); font-weight: 700; }
.mobile-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 20px 16px 8px; color: var(--hint); font-size: 12px; }

/* =========================================================
   PC (넓은 화면)
   ========================================================= */
.gnb { display: none; }
@media (min-width: 1024px) {
	.gnb { display: block; }
	.tabbar, .appbar.tab-root { display: none; }
	.page { padding: 0 32px 64px; min-height: calc(100vh - var(--gnb-h) - 120px); }
	.page.no-tabbar { padding-bottom: 64px; }
	.wrap { max-width: var(--wide); margin: 0 auto; }
	.wrap.narrow { max-width: var(--narrow); }
	.appbar { position: static; height: auto; padding: 28px 0 12px; background: transparent; }
	.appbar.has-back { padding-left: 0; margin-left: -8px; }
	.appbar-title { font-size: 24px; }
	.seg-title button { font-size: 24px; }
	.appbar.sub { padding-top: 20px; }
	.fab { right: max(32px, calc((100vw - var(--wide)) / 2)); bottom: 32px; }
	.snack { bottom: 32px; }
	.comment-input, .buy-bar { position: static; border-top: 0; padding: 12px 0 0; }
	.comment-input .ci-row { padding-left: 0; padding-right: 0; }
	.chip-row { flex-wrap: wrap; overflow: visible; padding: 0; }
	.chip-row.scroll { flex-wrap: nowrap; overflow-x: auto; }
	.banner-list, .resort-cards, .shortcut, .inline-empty, .greeting, .count-line, .resort-header { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
	.resort-header { padding: 14px; }
	.shortcut { padding: 14px; }
	.section-header { padding-left: 0; padding-right: 0; }
	.section-header a, .section-header button { margin-right: -8px; }
	.post-tile, .market-tile { padding-left: 0; padding-right: 0; }
	.post-tile:hover, .market-tile:hover, .slope-tile:hover { background: transparent; }
	.post-tile:hover .pt-title, .market-tile:hover .mt-title { text-decoration: underline; text-underline-offset: 3px; }
	.feed > * + *::before { left: 0; right: 0; }
	.divider.inset { margin: 0; }
	.divider.thick { height: 1px; margin: 24px 0 0; }
	.post-body, .action-row, .comment-title, .profile-head, .guest-head, .write-section, .title-input, .content-input, .photo-strip, .write-note, .switch-row, .prose, .compare-table { padding-left: 0; padding-right: 0; }
	.comment { padding-left: 0; }
	.comment.reply { padding-left: 40px; }
	.field-row { padding-left: 0; padding-right: 0; }
	.list-tile { padding-left: 4px; padding-right: 4px; border-radius: 8px; }
	.withdraw { margin-left: 0; }
	.kpi-row, .chart-area { margin-left: 0; margin-right: 0; padding: 0; }
	.stat-table { width: 100%; margin-left: 0; }
	.partner { margin-left: auto; margin-right: auto; max-width: 720px; }
	.post-title { font-size: 24px; }
	.post-content { font-size: 16px; }
	.gallery { height: 420px; border-radius: 14px; }
	.auth { padding-top: 48px; }

	/* 2단 (본문 + 오른쪽 사이드) */
	.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
	.split-side { display: block; position: sticky; top: calc(var(--gnb-h) + 24px); padding-top: 28px; }
	.split-side h3 { margin: 0 0 12px; color: var(--ink); font-size: 15px; font-weight: 800; }
	.split-side .banner-list { gap: 6px; }
	.split-side .btn { margin-bottom: 20px; }

	/* 홈: 2열 */
	.home-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
	.resort-cards { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; }
	.resort-card { flex: none; }
	.greeting { padding-top: 32px; font-size: 26px; }

	/* 슬로프: 표 */
	.slopes-top { display: grid; grid-template-columns: minmax(0, 1fr); }
	.banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.slope-head { display: flex; align-items: center; height: 40px; padding: 0 0 0 16px; border-radius: 8px; background: var(--muted); color: var(--sub); font-size: 12.5px; font-weight: 700; position: sticky; top: var(--gnb-h); z-index: 5; }
	.slope-head > span, .slope-tile .st-col { width: 92px; text-align: right; flex-shrink: 0; }
	.slope-head .h-name { flex: 1; text-align: left; padding-left: 16px; }
	.slope-head .h-resort, .slope-tile .st-col.c-resort { width: 120px; text-align: left; }
	.slope-head .h-diff, .slope-tile .st-col.c-diff { width: 100px; text-align: left; }
	.slope-head .h-cmp { width: 64px; text-align: center; }
	.slope-tile { padding: 12px 0 12px 16px; }
	.slope-tile .st-col { display: block; color: var(--ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
	.slope-tile .st-col.c-resort { color: var(--body); font-weight: 600; font-size: 14px; }
	.slope-tile .st-col.c-diff { font-size: 13px; }
	.slope-tile .st-nums, .slope-tile .st-meta.m-mobile { display: none; }
	.slope-tile .st-meta.m-wide { display: block; }
	.slope-tile .st-meta.m-wide:empty { display: none; }
	.slope-tile .st-cmp { width: 64px; }
	.slope-tile:hover .st-name { text-decoration: underline; text-underline-offset: 3px; }

	/* 시트 → 가운데 다이얼로그 */
	.sheet-wrap { align-items: center; padding: 24px; }
	.sheet { width: min(560px, 100%); max-height: 86vh; border-radius: 18px; padding-bottom: 12px; animation: pop .18s ease; }
	.sheet.wide { width: min(720px, 100%); }
	.sheet .handle { visibility: hidden; margin-bottom: 6px; }

	.footer { display: block; border-top: 1px solid var(--line-soft); background: var(--chip); }
	.footer-inner { max-width: var(--wide); margin: 0 auto; padding: 28px 32px 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
	.footer .brand { font-size: 16px; }
	.footer .brand img { width: 26px; }
	.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
	.footer nav a { color: var(--sub); font-size: 13px; }
	.footer nav a:hover { color: var(--ink); }
	.footer p { flex-basis: 100%; margin: 0; color: var(--hint); font-size: 12px; }
	.mobile-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* 보완 */
a.chip { text-decoration: none; }
@media (min-width: 1024px) {
	.home-cols .home-split { display: none; }
	.banner-list.banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { .fab { display: none; } }
