/* 잣두루 산막 — 지형도 바탕 · 먹 · 안전 주황 하나 */
@font-face { font-family: 'NanumSquareNeo'; font-weight: 400; font-display: swap;
  src: url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquareNeo@1.0/NanumSquareNeoTTF-bRg.woff2) format('woff2'); }
@font-face { font-family: 'NanumSquareNeo'; font-weight: 800; font-display: swap;
  src: url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquareNeo@1.0/NanumSquareNeoTTF-dEb.woff2) format('woff2'); }

:root {
  --paper: #E6EAE1;
  --panel: #D8DDD1;
  --field: #F4F6F1;
  --ink: #191B18;
  --ink-2: #474D44;
  --orange: #FF6A13;
  --rule: #9AA38F;
  --grid: rgba(25, 27, 24, .09);
  --ko: 'NanumSquareNeo', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --num: 'Overpass', 'NanumSquareNeo', sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --ease-out: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.7 var(--ko); word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; text-decoration-color: var(--orange); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--orange); }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.25; }
p { margin: 0 0 1em; }
small { font-size: .62em; font-weight: 700; }
button, input, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 8px; }
.big, .ph-num, .c-n, .hr-seat, .sd-d, .sd-n, .post-no, .post-d, .post-t, output, .cal-d, .cal-n, .sum-total b, .lay-el { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* 알림 띠 */
.notice { background: var(--ink); color: var(--paper); font-size: 14px; padding: 0 12px; }
.notice p { max-width: var(--max); margin: 0 auto; padding: 8px calc(var(--gut) - 12px); }
.notice a { color: var(--paper); font-weight: 800; margin-left: 6px; white-space: nowrap; }
.nd { display: inline-block; width: 10px; height: 10px; background: var(--orange); margin-right: 10px; vertical-align: 0; }

/* 머리 */
.hd { display: flex; align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 14px var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.01em; }
.mark { width: 22px; height: 22px; flex: none; }
.mark path { fill: var(--orange); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; font-weight: 800; font-size: 15px; text-decoration: none; }
.nav a:hover { background: var(--panel); }
.nav a[aria-current] { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; margin-left: auto; background: var(--ink); color: var(--paper); border: 0; padding: 10px 16px; font-weight: 800; cursor: pointer; min-height: 44px; }
.menu { position: fixed; inset: 0; top: 0; background: var(--paper); z-index: 40; padding: 88px var(--gut) 32px; overflow: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.menu .sign { font-size: 22px; padding: 12px 40px 12px 16px; }
.menu-foot { margin-top: 28px; color: var(--ink-2); font-size: 14px; }
.hd { position: relative; z-index: 45; }

/* 이정표 판 */
.sign {
  display: inline-flex; align-items: baseline; gap: 10px; background: var(--ink); color: var(--paper);
  padding: 6px 30px 6px 12px; font-weight: 800; text-decoration: none; line-height: 1.35;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  transition: background-color .15s, color .15s;
}
.sign small { font-weight: 400; font-size: 12px; }
a.sign:hover, a:hover .sign { background: var(--orange); color: var(--ink); }
.sign-back { clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); padding: 6px 12px 6px 30px; }

/* 페이지 머리 */
main { display: block; }
.ph, .band, .split, .crumb, .hut-top, .pn, .rsv, .prep, .rules { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut); }
.ph { padding-top: 40px; padding-bottom: 32px; }
.ph-num { font-weight: 800; font-size: clamp(64px, 11vw, 168px); line-height: .9; letter-spacing: -.02em; margin: 0 0 12px; }
.ph-num small { font-size: clamp(22px, 3.2vw, 50px); letter-spacing: 0; }
.ph h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 12px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 36em; }
.ph-note { font-size: 14px; color: var(--ink-2); margin-top: -4px; }
.crumb { padding-top: 24px; font-size: 14px; display: flex; gap: 10px; color: var(--ink-2); }
.crumb a { color: var(--ink); font-weight: 800; }

/* 섹션 — 도곽 눈금 */
.band { padding-top: 40px; padding-bottom: 40px; }
.sh {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-size: 26px; padding-top: 14px; margin-bottom: 20px; position: relative; border-top: 2px solid var(--ink);
}
.sh::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='10'%3E%3Crect width='2' height='10' fill='%23191B18'/%3E%3C/svg%3E") 0 0 / 48px 10px repeat-x; }
.sh-m { font: 700 14px var(--num); color: var(--ink-2); }
.band-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.band-split > div > p { max-width: 38em; }
.more { margin-top: 16px; font-weight: 800; }
.more a::after { content: ' ▸'; }
.note { font-size: 14px; color: var(--ink-2); max-width: 44em; }
.sub { font-size: 20px; margin: 28px 0 10px; }
.plain { padding-left: 20px; max-width: 44em; }
.plain li { margin-bottom: 6px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; background: var(--ink); color: var(--paper);
  font-weight: 800; border: 2px solid var(--ink); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn:hover { background: var(--orange); color: var(--ink); text-decoration: none; }
.btn-l { background: transparent; color: var(--ink); }
.btn-l:hover { background: var(--ink); color: var(--paper); }
.btn-s { min-height: 40px; padding: 6px 14px; font-size: 14px; }
.btn-full { width: 100%; }
.btn[aria-pressed="true"] { background: var(--orange); color: var(--ink); }

/* 칩 */
.chip { min-height: 40px; padding: 6px 14px; border: 2px solid var(--ink); background: transparent; font-weight: 800; font-size: 14px; cursor: pointer; }
.chip:hover { background: var(--panel); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip-n { font-family: var(--num); font-weight: 700; margin-left: 4px; }

/* 지도 */
.mapwrap { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.map-box { position: relative; min-width: 720px; }
.map-svg { display: block; width: 100%; height: auto; font-family: var(--ko); }
.hit { position: absolute; display: block; }
.hit:focus-visible { outline: 3px solid var(--ink); box-shadow: 0 0 0 6px var(--orange); }
.map-svg .bg { fill: var(--paper); }
.map-svg .grid, .hut-map .grid { stroke: var(--grid); stroke-width: .8; fill: none; }
.map-svg .frame, .hut-map .frame { fill: none; stroke: var(--ink); stroke-width: 2; }
.map-svg .ticks { stroke: var(--ink); stroke-width: 1.2; }
.map-svg .tl text { font: 700 12px var(--num); fill: var(--ink-2); }
.map-svg text, .hut-map text { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.tr { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 7 5; stroke-linejoin: round; stroke-linecap: round; }
.tr.on { stroke: var(--ink); stroke-dasharray: none; stroke-width: 3; }
.tr-hi { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.cur { fill: var(--orange); stroke: var(--ink); stroke-width: 3; pointer-events: none; }
.pk path { fill: var(--ink); }
.pk text { font-size: 15px; font-weight: 800; fill: var(--ink); }
.pk .n { font: 800 15px var(--num); }
.ps text { font-size: 12px; font-weight: 800; fill: var(--ink-2); }
.gt circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.gt text { font-size: 13px; font-weight: 800; fill: var(--ink); }
.sp { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.ht .pl { fill: var(--ink); }
.ht .ld { stroke: var(--ink); stroke-width: 1.5; }
.ht .t1 { font-size: 14px; font-weight: 800; fill: var(--paper); stroke: none; }
.ht .t2 { font: 700 12px var(--num); fill: var(--orange); stroke: none; }
.ht .mk { fill: var(--orange); stroke: var(--ink); stroke-width: 2.5; }
.ht.hl .pl { fill: var(--orange); }
.ht.hl .t1, .ht.hl .t2 { fill: var(--ink); }
.ht.hl .mk { stroke-width: 4; }
.split .ht.off .t1, .split .ht.off .t2 { display: none; }
.ht.off .pl, .ht.off .t1, .ht.off .t2, .ht.off .ld { display: none; }
.ht.off .mk { fill: var(--paper); }
.sc path { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.sc rect { fill: var(--ink); }
.sc text { font: 700 12px var(--num); fill: var(--ink); }
.nt path { fill: var(--ink); }
.nt text { font: 800 13px var(--num); fill: var(--ink); }
.map-cap { font-size: 13px; color: var(--ink-2); margin: 10px 0 0; }

/* 쪼갠 지도(목록 옆) — 이름판 대신 큰 짧은 이름 */
.split .ht .pl, .split .ht .ld { display: none; }
.split .ht .t1 { fill: var(--ink); font-size: 22px; stroke: var(--paper); stroke-width: 5px; paint-order: stroke; }
.split .ht .t2 { fill: var(--ink); font-size: 18px; stroke: var(--paper); stroke-width: 5px; paint-order: stroke; }
.split .ht.hl .t1 { text-decoration: underline; }
.split .pk text { font-size: 19px; }
.split .pk .n { font-size: 19px; }
.split .gt text { font-size: 18px; }
.split .ps text { font-size: 16px; }
.split .map-svg .tl text, .split .sc text { font-size: 16px; }

/* 홈 첫 화면 */
.hero { position: relative; max-width: 1440px; margin: 0 auto; padding: 16px var(--gut) 8px; }
.hero-txt { position: absolute; left: calc(var(--gut) + 3.8%); top: calc(16px + 4.2%); z-index: 2; width: min(440px, 34%);
  background: var(--paper); border: 2px solid var(--ink); padding: 22px 24px 20px; }
.hero-txt .ph-num { font-size: clamp(56px, 6.4vw, 104px); }
.hero-txt h1 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; }
.hero-txt .lede { font-size: 16px; margin-bottom: 12px; }
.hero-fact { font: 700 14px var(--num); color: var(--ink-2); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }

/* 표 */
.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
thead th { font-size: 13px; color: var(--ink-2); border-bottom: 2px solid var(--ink); padding-top: 0; }
.c-n { text-align: right; white-space: nowrap; }
.t-huts .c-el { width: 1%; white-space: nowrap; }
.t-huts .big { font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
.t-huts td.z { font-weight: 800; }
.u { font: 700 14px var(--num); margin-left: 3px; color: var(--ink-2); }
.t-huts th[scope="row"] { white-space: nowrap; }

/* 홈 코스 이정표 */
.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.post { display: grid; grid-template-columns: 44px minmax(0, 1fr) 96px 110px 104px; align-items: center; gap: 14px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.post-no { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 17px; }
.post-name { font-weight: 800; font-size: 17px; }
.post-d { font-weight: 800; font-size: 26px; text-align: right; }
.post-d small { font-size: 13px; }
.post-t { font-size: 15px; font-weight: 700; text-align: right; }
.post:hover .post-name { text-decoration: underline 3px var(--orange); text-underline-offset: 4px; }
.lv { display: inline-block; font-size: 13px; font-weight: 800; padding: 3px 10px; border: 2px solid var(--ink); text-align: center; white-space: nowrap; }
.lv-normal { box-shadow: inset 0 -5px 0 var(--ink); padding-bottom: 6px; }
.lv-hard { background: var(--ink); color: var(--paper); }
.lv-expert { background: var(--orange); color: var(--ink); }

/* 날씨 요약 */
.wx-now { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; margin: 0; }
.wx-now div { border-top: 1px solid var(--rule); padding: 10px 0 8px; }
.wx-now dt { font-size: 14px; color: var(--ink-2); font-weight: 800; }
.wx-now dd { margin: 0; font: 700 18px var(--num); }
.wx-now .big { font-size: 52px; font-weight: 800; letter-spacing: -.02em; }
.wx-now small { display: block; font-size: 14px; color: var(--ink-2); }

/* 예약 순서 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { display: grid; gap: 4px; align-content: start; }
.steps b { font-size: 19px; }
.steps span:last-child { color: var(--ink-2); font-size: 15px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--ink); color: var(--paper); font: 800 17px var(--num); margin-right: 10px; }
.steps .step-n { margin-bottom: 8px; }

/* 사진 */
.fig { margin: 0; }
.fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); }
.fig figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.fig-tall img { aspect-ratio: 3 / 4; }

/* 쪼갠 화면 */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 48px; }
.sticky { position: sticky; top: 16px; }
.split-map { position: sticky; top: 16px; }
.filters { display: grid; gap: 14px; margin-bottom: 18px; }
.filters fieldset, .seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters legend, .seg legend { float: left; width: 64px; font-size: 14px; font-weight: 800; color: var(--ink-2); padding: 0; }
.sel select, select, input[type="text"], input[type="tel"], input[type="number"] {
  min-height: 44px; border: 2px solid var(--ink); background: var(--field); padding: 8px 12px; border-radius: 0; width: 100%;
}
.sel select { width: auto; min-width: 180px; }
input::placeholder { color: #5A6157; }
.count { font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.empty { border: 2px dashed var(--ink); padding: 24px; }

/* 대피소 목록 */
.hut-list { list-style: none; padding: 8px 0 0; margin: 0; border-top: 2px solid var(--ink); }
.hut-row { border-bottom: 1px solid var(--rule); }
.hut-link { display: grid; grid-template-columns: 132px minmax(0, 1fr) 92px; grid-template-areas: 'el name seat' 'el facts seat'; column-gap: 18px; row-gap: 6px; padding: 16px 0; text-decoration: none; align-items: center; }
.hut-link:hover { background: var(--panel); }
.hr-el { grid-area: el; }
.hr-el .big { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.hr-name { grid-area: name; }
.hr-facts { grid-area: facts; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.hr-facts b { color: var(--ink-2); margin-right: 5px; }
.hr-seat { grid-area: seat; text-align: right; }
.seat-n { display: block; font-size: 24px; font-weight: 800; }
.seat-d { font-size: 12px; color: var(--ink-2); }
.hut-row.hl .hut-link { background: var(--panel); }

/* 대피소 상세 */
.alert { max-width: var(--max); margin: 0 auto 8px; padding: 12px var(--gut); }
.alert b { background: var(--orange); color: var(--ink); padding: 2px 8px; margin-right: 8px; }
.hut-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; padding-bottom: 16px; }
.hut-body > p { max-width: 36em; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 24px 0 0; border-top: 2px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-weight: 800; color: var(--ink-2); font-size: 14px; }
.spec dd { margin: 0; }
.seatstrip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.seatstrip li > * { display: grid; justify-items: center; gap: 2px; padding: 10px 2px; border: 2px solid var(--ink); text-decoration: none; min-height: 88px; }
.seatstrip a:hover { background: var(--orange); }
.seatstrip .full > span { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M-3 3l6-6M0 12L12 0M9 15l6-6' stroke='%23D8DDD1' stroke-width='4.25'/%3E%3C/svg%3E") 0 0 / 12px 12px repeat; border-color: var(--rule); }
.seatstrip .off > span { border-style: dashed; border-color: var(--rule); }
.sd-w { font-size: 12px; color: var(--ink-2); }
.sd-d { font-size: 22px; font-weight: 800; line-height: 1.1; }
.sd-n { font-size: 13px; font-weight: 700; }
.map-fig .hut-map { width: 100%; height: auto; display: block; font-family: var(--ko); }
.hut-map .bg { fill: var(--paper); }
.hut-map .cmin { fill: none; stroke: #A7B09D; stroke-width: .35; }
.hut-map .cmaj { fill: none; stroke: #737D6A; stroke-width: .7; }
.hut-map .tr { stroke-width: 1.3; stroke-dasharray: 3.5 2.5; }
.hut-map text { font-size: 7.5px; font-weight: 800; fill: var(--ink); stroke-width: 2px; }
.hut-map .pk path { fill: var(--ink); }
.hut-map .gt circle { stroke-width: 1.2; }
.hut-map .oh rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.hut-map .me rect { fill: var(--orange); stroke: var(--ink); stroke-width: 1.4; }
.hut-map .me text { font-size: 8px; }
.hut-map .sp { stroke-width: .9; }
.hut-map .sc path { stroke-width: 1; }
.hut-map .sc text { font: 700 6.5px var(--num); }
.pn { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 56px; }

/* 코스 */
.trail-list { list-style: none; padding: 0; margin: 0; }
.trail { border-top: 2px solid var(--ink); padding: 18px 0 26px; }
.trail-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trail-name { font-size: 21px; display: flex; align-items: center; gap: 12px; margin-right: auto; }
.trail-route { color: var(--ink-2); font-size: 14px; margin: 6px 0 12px; }
.trail-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin: 0 0 12px; }
.trail-nums dt { font-size: 12px; color: var(--ink-2); font-weight: 800; }
.trail-nums dd { margin: 0; font: 700 13px var(--num); white-space: nowrap; }
.trail-nums .big { font-size: 22px; font-weight: 800; }
.trail-note { font-size: 15px; max-width: 40em; margin: 6px 0 0; }
.trail.sel { background: linear-gradient(var(--panel), var(--panel)) no-repeat 0 0 / 100% 100%; }
.readout { font: 700 14px var(--num); min-height: 1.5em; margin: 2px 0 0; }
.prof { display: block; width: 100%; height: auto; font-family: var(--ko); touch-action: pan-y; cursor: crosshair; }
.prof:focus-visible { outline-offset: 4px; }
.prof .pg { stroke: rgba(25, 27, 24, .16); stroke-width: 1; fill: none; }
.prof text { font-size: 16px; fill: var(--ink-2); }
.prof .pyl text, .prof .pxl text { font: 700 15px var(--num); fill: var(--ink-2); }
.prof .pa { fill: var(--panel); }
.prof .pl { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.prof .nm path { stroke: var(--ink); stroke-width: 1; }
.prof .nm circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.prof .nm text { font-size: 16px; font-weight: 800; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.prof .sv { stroke: var(--ink); stroke-width: 1.5; }
.prof .scrub circle { fill: var(--orange); stroke: var(--ink); stroke-width: 2.5; }
.prof .sr rect { fill: var(--ink); }
.prof .sr text { font: 800 16px var(--num); fill: var(--paper); }
.prof.on .pl { stroke: var(--orange); stroke-width: 4; }

/* 그리기 — 큰 모션 하나 */
@keyframes draw { from { stroke-dashoffset: var(--len, 1); } to { stroke-dashoffset: 0; } }
.tr-hi.go { stroke-dasharray: var(--len); animation: draw .9s var(--ease-out) both; }
.prof.go .pl { stroke-dasharray: 1; animation: draw .9s var(--ease-out) both; --len: 1; }

/* 예약 */
.rsv { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-bottom: 64px; }
.rsv-step { border: 0; border-top: 2px solid var(--ink); padding: 18px 0 28px; margin: 0; min-width: 0; }
.rsv-step legend { display: flex; align-items: center; font-size: 20px; font-weight: 800; padding: 0; float: left; width: 100%; margin-bottom: 16px; }
.leg-m { margin-left: auto; font-size: 14px; color: var(--ink-2); }
.hut-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; clear: both; }
.hut-opt { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 2px solid var(--ink); padding: 10px 14px; cursor: pointer; }
.hut-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ho-el { font: 800 24px var(--num); }
.ho-name { font-weight: 800; }
.ho-fee { font: 700 13px var(--num); color: var(--ink-2); }
.hut-opt:hover { background: var(--panel); }
.hut-opt:has(input:checked) { background: var(--ink); color: var(--paper); }
.hut-opt:has(input:checked) .ho-fee { color: var(--paper); }
.hut-opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--orange); }
.cal { clear: both; }
.cal-h, .cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-h span { font-size: 13px; font-weight: 800; color: var(--ink-2); text-align: center; padding-bottom: 6px; }
.cal-b { min-height: 66px; border: 2px solid var(--ink); background: var(--field); display: grid; align-content: space-between; justify-items: start; padding: 6px 8px; cursor: pointer; text-align: left; }
.cal-b:hover:not(:disabled) { background: var(--panel); }
.cal-d { font-size: 17px; font-weight: 800; line-height: 1; }
.cal-n { font-size: 13px; font-weight: 700; }
.cal-b[aria-pressed="true"] { background: var(--orange); }
.cal-b:disabled { cursor: not-allowed; }
.cal-b.full { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M-3 3l6-6M0 12L12 0M9 15l6-6' stroke='%23D8DDD1' stroke-width='4.25'/%3E%3C/svg%3E") 0 0 / 12px 12px repeat; border-color: var(--rule); }
.cal-b.off { background: var(--paper); border-style: dashed; border-color: var(--rule); }
.cal-b.na { background: transparent; border-color: transparent; }
.cal-b.hol .cal-d::after { content: ' 휴일'; font: 700 11px var(--ko); }
.cal-key { font-size: 13px; color: var(--ink-2); margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.k { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--ink); vertical-align: -3px; }
.k-ok { background: var(--field); }
.k-full { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M-3 3l6-6M0 12L12 0M9 15l6-6' stroke='%23D8DDD1' stroke-width='4.25'/%3E%3C/svg%3E") 0 0 / 6px 6px repeat; border-color: var(--rule); }
.k-off { border-style: dashed; border-color: var(--rule); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; clear: both; }
.field { margin-bottom: 16px; min-width: 0; }
.lab { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.hint { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.f-err { font-size: 14px; font-weight: 800; margin: 6px 0 0; }
.f-err::before { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--orange); border: 1.5px solid var(--ink); margin-right: 8px; }
[aria-invalid="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--orange); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); background: var(--field); }
.st-btn { width: 48px; height: 44px; border: 0; background: transparent; font-size: 22px; font-weight: 800; cursor: pointer; }
.st-btn:hover:not(:disabled) { background: var(--panel); }
.st-btn:disabled { color: var(--ink-2); cursor: not-allowed; }
.stepper output { min-width: 32px; text-align: center; font-size: 20px; font-weight: 800; }
.st-u { margin-right: 6px; font-weight: 800; }
.depart { font-size: 15px; margin: 0; }
.depart b { background: var(--orange); padding: 1px 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.rsv-sum { position: sticky; top: 16px; border: 2px solid var(--ink); background: var(--field); padding: 20px; }
.sum-t { font-size: 18px; margin-bottom: 12px; }
.sum { margin: 0 0 12px; }
.sum div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.sum dt { color: var(--ink-2); font-weight: 800; font-size: 14px; }
.sum dd { margin: 0; font-weight: 800; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 16px; font-weight: 800; }
.sum-total b { font-size: 32px; }
.err-sum { border: 2px solid var(--ink); box-shadow: 0 0 0 4px var(--orange) inset; padding: 16px 20px; margin-bottom: 20px; }
.err-sum h2 { font-size: 17px; margin-bottom: 8px; }
.err-sum ul { margin: 0; padding-left: 20px; }
.err-sum a { font-weight: 800; }
.result { margin-top: 16px; border-top: 2px solid var(--ink); padding-top: 14px; font-size: 15px; }
.result h3 { font-size: 16px; margin-bottom: 6px; }

/* 산행 준비 */
.prep { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 24px; }
.prep-ctl { position: sticky; top: 16px; display: grid; gap: 18px; }
.seg legend { width: 100%; float: none; margin-bottom: 6px; }
.prog p { margin: 0 0 6px; font-weight: 800; }
.prog b { font: 800 34px var(--num); }
.bar { height: 12px; border: 2px solid var(--ink); background: var(--field); }
.bar span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease-out); }
.prep-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
.pk-g { border: 0; border-top: 2px solid var(--ink); padding: 12px 0 20px; margin: 0; min-width: 0; }
.pk-g legend { float: left; width: 100%; font-size: 18px; font-weight: 800; margin-bottom: 10px; display: flex; justify-content: space-between; padding: 0; }
.pk-c { font: 700 14px var(--num); color: var(--ink-2); }
.pk-g ul { list-style: none; margin: 0; padding: 0; clear: both; }
.pk-g li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.pk-g li.done .pk-l { text-decoration: line-through; text-decoration-thickness: 2px; }
.pk-note { display: block; font-size: 13px; color: var(--ink-2); margin: 2px 0 0 32px; }
.pk-note:empty { display: none; }
.pk-note b { color: var(--ink); background: var(--orange); padding: 0 4px; }

/* 기상 */
.t-wx th, .t-wx td { vertical-align: top; min-width: 132px; }
.t-wx thead th { font-size: 14px; color: var(--ink); }
.wx-d { display: block; font-weight: 800; }
.wx-s { display: block; font-size: 17px; font-weight: 800; margin-top: 2px; }
.wx-p { display: block; font: 700 13px var(--num); color: var(--ink-2); }
.lay-el { display: block; font-size: 22px; font-weight: 800; }
.wx-t { display: block; font: 700 22px var(--num); }
.wx-t b.frz { background: var(--orange); padding: 0 4px; }
.wx-w, .wx-c { display: block; font-size: 13px; color: var(--ink-2); }
.wx-c { color: var(--ink); font-weight: 800; }
.t-wx tfoot td, .t-wx tfoot th { font: 700 13px var(--num); color: var(--ink-2); }
.calc { display: grid; grid-template-columns: 180px 220px minmax(0, 1fr); gap: 20px; align-items: end; }
.calc-out { font: 700 18px var(--num); margin: 0 0 26px; }
.calc-out .big { font-size: 40px; font-weight: 800; }
.closures { list-style: none; margin: 0; padding: 0; }
.cl { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.cl-d { margin: 0; font: 700 18px var(--num); }
.cl-d .big { font-size: 34px; font-weight: 800; }
.cl h3 { font-size: 20px; margin-bottom: 4px; }
.cl-w { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }

/* 규칙 */
.rules { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 64px; }
.toc { position: sticky; top: 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc .sign { width: 100%; }
.toc .post-no { width: 26px; height: 26px; font-size: 14px; }
.rules-body section { padding-bottom: 32px; }
.rules-body p, .safe, .bans { max-width: 42em; }
.bans { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.bans li { padding: 10px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 2px; }
.bans b::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -1px;
  background: linear-gradient(45deg, transparent 43%, var(--ink) 43% 57%, transparent 57%), var(--orange); border: 2px solid var(--ink); border-radius: 50%; }
.safe { padding-left: 22px; }
.safe li { margin-bottom: 8px; }

/* 발 */
.ft { background: var(--ink); color: var(--paper); margin-top: 48px; }
.ft-in { max-width: var(--max); margin: 0 auto; padding: 40px var(--gut) 48px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 48px; }
.ft-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.ft-dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.ft-dl dt { font-size: 13px; color: #C3C9BD; font-weight: 800; }
.ft-dl dd { margin: 0; font-family: var(--num); }
.ft a { color: var(--paper); }
.ft-note { grid-column: 2; font-size: 13px; color: #C3C9BD; max-width: 48em; margin: 0; }

/* 반응형 */
@media (max-width: 1180px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-map { position: static; }
  .sticky { position: static; }
  .rsv { grid-template-columns: minmax(0, 1fr) 300px; }
  .hero-txt { position: static; width: auto; max-width: 640px; margin-bottom: 16px; }
  .post { grid-template-columns: 44px minmax(0, 1fr) 84px 104px; }
  .post .lv { grid-column: 2; justify-self: start; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .band-split, .hut-top, .prep, .rules { grid-template-columns: minmax(0, 1fr); }
  .prep-ctl, .toc { position: static; }
  .rsv { grid-template-columns: minmax(0, 1fr); }
  .rsv-sum { position: static; }
  .ft-in { grid-template-columns: minmax(0, 1fr); }
  .ft-note { grid-column: 1; }
  .ft-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seatstrip { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calc-out { grid-column: 1 / -1; margin: 0; }
  .fig img { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .notice { font-size: 13px; }
  .map-box { min-width: 900px; }
  .split .map-box { min-width: 720px; }
  .wx-now { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .wx-now .big { font-size: 40px; }
  .hut-opts, .row2, .prep-list, .bans, .spec { grid-template-columns: minmax(0, 1fr); }
  .hut-link { grid-template-columns: 96px minmax(0, 1fr) 72px; column-gap: 12px; }
  .hr-el .big { font-size: 30px; }
  .post { grid-template-columns: 40px minmax(0, 1fr) 76px; row-gap: 2px; }
  .post-t { grid-column: 3; }
  .post .lv { grid-column: 2; }
  .post-d { font-size: 22px; }
  .trail-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .t-huts .big { font-size: 26px; }
  .t-huts th, .t-huts td { padding-right: 10px; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .cal-b { min-height: 58px; padding: 4px 5px; }
  .cal-n { font-size: 11.5px; }
  .cal-b.hol .cal-d::after { content: ''; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}
.split-trails { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 1180px) { .split-trails { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .t-huts .sign { clip-path: none; background: none; color: var(--ink); padding: 0; text-decoration: underline; text-underline-offset: 4px; }
  .t-huts th:nth-child(3), .t-huts td:nth-child(3) { display: none; }
  .t-huts th, .t-huts td { padding-right: 8px; }
}
.prof-wrap { overflow-x: auto; }
@media (max-width: 640px) { .prof { min-width: 640px; } }
.trail-foot { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 20px; align-items: start; margin-top: 8px; }
.trail-foot .thumb { width: 168px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel); }
@media (max-width: 640px) { .trail-foot { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; } .trail-foot .thumb { width: 112px; } }
.trail { padding-left: 16px; padding-right: 16px; }
.trail.sel .prof .pa { fill: var(--paper); }
