/* 코스 추천 */
.cr-nav{font-weight:900!important;color:#2f7a4b!important}
.cr-main{max-width:1240px;margin:0 auto;padding:6px 5.4% 70px;color:#1f1c18}
.cr-hero{padding:18px 0 18px}
.cr-hero h1{margin:0;font-size:36px;font-weight:900;letter-spacing:-1.2px}
.cr-filters{display:grid;gap:8px;background:#fff;border:1px solid #ece3d4;border-radius:18px;padding:16px 20px;margin-bottom:16px}
.cr-frow{display:grid;grid-template-columns:62px 1fr;gap:10px;align-items:center}
.cr-frow>span{font-size:13px;font-weight:800;color:#8a7f6e}
.cr-frow>div{display:flex;gap:6px;flex-wrap:wrap}
.cr-frow button{height:34px;padding:0 13px;border-radius:99px;border:1px solid #e3d9ca;background:#fff;font:inherit;font-size:13.5px;font-weight:700;color:#4a4439;cursor:pointer}
.cr-frow button:hover{border-color:#1f1c18}
.cr-frow button[aria-pressed="true"]{background:#1f1c18;border-color:#1f1c18;color:#fff}
.cr-frow button:focus-visible,.cr-card:focus-visible{outline:3px solid #eac559;outline-offset:2px}
.cr-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.cr-bar p{margin:0;font-size:15px}.cr-bar p b{font-size:20px}.cr-bar p small{color:#a89c89}
.cr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.cr-card{display:grid;text-align:left;border:1px solid #ece3d4;border-radius:18px;background:#fff;padding:0;overflow:hidden;cursor:pointer;font:inherit;color:inherit;transition:transform .15s,box-shadow .15s}
.cr-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #6b4e2a1c}
.cr-pic{position:relative;display:block;aspect-ratio:480/304;background:#eef1ea;overflow:hidden}
.cr-pic img{width:100%;height:100%;object-fit:cover;display:block}
.cr-pic .cr-lv{position:absolute;left:12px;top:12px}
.cr-card-b{display:grid;gap:8px;padding:14px 16px 16px}
.cr-where{font-size:12.5px;color:#8a7f6e;font-weight:700}
.cr-name{font-size:17.5px;font-weight:900;letter-spacing:-.5px;line-height:1.35}
.cr-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;border-top:1px solid #f1eadf;padding-top:10px}
.cr-nums span{display:grid;gap:1px}.cr-nums small{font-size:11.5px;color:#a89c89;font-weight:700}
.cr-nums b{font-size:17px;font-weight:900;font-variant-numeric:tabular-nums}.cr-nums i{font-style:normal;font-size:12px;color:#8a7f6e;margin-left:1px}
.cr-rating{display:flex;align-items:center;gap:6px;font-size:13px;min-height:20px}
.cr-rating small{color:#a89c89}.cr-rate{font-weight:900}.cr-norate{color:#b8ad9b!important}
.cr-cc{margin-left:auto;font-size:12.5px;color:#8a7f6e;font-weight:700}
.cr-stars{position:relative;display:inline-block;width:80px;height:15px;background:linear-gradient(90deg,#e7dfd1 0 100%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='black'%3E%3Cpath id='s' d='M7.5 0l2.2 4.8 5.3.6-3.9 3.6 1 5.2-4.6-2.6-4.6 2.6 1-5.2L0 5.4l5.3-.6z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") 0 0/80px 15px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='black'%3E%3Cpath id='s' d='M7.5 0l2.2 4.8 5.3.6-3.9 3.6 1 5.2-4.6-2.6-4.6 2.6 1-5.2L0 5.4l5.3-.6z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") 0 0/80px 15px no-repeat}
.cr-stars i{position:absolute;left:0;top:0;bottom:0;width:var(--v);background:#f0a21a}
.cr-stars.sm{transform:scale(.8);transform-origin:left center}
.cr-lv{font-style:normal;font-size:12px;font-weight:900;padding:3px 10px;border-radius:99px;color:#fff;background:#4a4439;box-shadow:0 2px 8px #0003;vertical-align:middle}
.cr-lv.lv0{background:#2f7a4b}.cr-lv.lv1{background:#3f8f9e}.cr-lv.lv2{background:#d08a1c}.cr-lv.lv3{background:#d0561c}.cr-lv.lv4{background:#9a2a2a}
.cr-foot{margin-top:26px;font-size:12.5px;color:#a89c89;max-width:80ch;line-height:1.7}

.cr-dlg{width:min(980px,calc(100% - 24px));max-height:calc(100% - 32px);border:0;border-radius:24px;padding:0;background:#fffdf9;box-shadow:0 30px 80px #0005;overflow:hidden}
.cr-dlg[open]{display:flex;flex-direction:column}
.cr-dlg::backdrop{background:#1f1c1899}
.cr-dlg-top{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-bottom:1px solid #efe6d6;font-size:12px;letter-spacing:.14em;color:#8a7f6e;font-weight:800}
.cr-x{width:40px;height:40px;border-radius:50%;border:0;background:#f1ebe0;font-size:24px;line-height:1;cursor:pointer}
.cr-dlg-body{overflow:auto;padding:20px 26px 30px;display:grid;gap:14px;align-content:start;grid-auto-rows:max-content;flex:1 1 auto;min-height:0}
.cr-d-head{display:grid;gap:6px}
.cr-d-head h2{margin:0;font-size:27px;font-weight:900;letter-spacing:-.8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cr-rating.big{font-size:14.5px}
.cr-map{border-radius:16px;overflow:hidden;background:#eef1ea}
.cr-map img{width:100%;height:auto;aspect-ratio:1200/760;display:block}
.cr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1px;background:#ece3d4;border:1px solid #ece3d4;border-radius:14px;overflow:hidden}
.cr-stats span{background:#fff;padding:10px 14px;display:grid;gap:2px}
.cr-stats small{font-size:11.5px;color:#a89c89;font-weight:700}.cr-stats b{font-size:17px;font-weight:900;font-variant-numeric:tabular-nums}
.cr-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.cr-gpx{height:44px;display:inline-flex;align-items:center;padding:0 22px;border-radius:12px;background:#2f7a4b;color:#fff;font-weight:900;text-decoration:none}
.cr-gpx:hover{background:#256640}
.cr-ext{display:inline-flex;align-items:center;text-decoration:none}
.cr-sum{margin:0;font-size:16px;line-height:1.8;max-width:72ch}
.cr-dlg-body h3{margin:8px 0 0;font-size:16px;font-weight:900}
.cr-dlg-body h3 small{font-weight:600;color:#a89c89;font-size:13px;margin-left:6px}
.cr-prof{width:100%;height:auto;display:block;background:#fff;border:1px solid #ece3d4;border-radius:14px}
.cr-prof .g{stroke:#f0e9de;stroke-width:1}.cr-prof text{font-size:11px;fill:#a89c89;font-family:inherit}
.cr-prof .a{fill:#2f7a4b22}.cr-prof .l{fill:none;stroke:#2f7a4b;stroke-width:2.2;stroke-linejoin:round}
.cr-climbs{display:flex;gap:8px;flex-wrap:wrap}
.cr-climbs span{display:grid;padding:8px 12px;border-radius:10px;background:#f7f2ea}.cr-climbs small{font-size:12px;color:#8a7f6e}
.cr-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px 22px}
.cr-cols ul{margin:4px 0 0;padding-left:18px;display:grid;gap:4px;font-size:14px}.cr-cols p{margin:4px 0 0;font-size:14px;line-height:1.7}
.cr-warn li::marker{color:#d0561c}
.cr-muted{margin:0;font-size:12.5px;color:#a89c89;line-height:1.7}.cr-muted a{color:#8a7f6e}
.cr-wps summary{cursor:pointer;font-weight:800;font-size:14px}.cr-wps ol{margin:8px 0 0;padding-left:22px;font-size:13.5px;columns:2}
.cr-rev{border-top:1px solid #efe6d6;padding-top:12px;display:grid;gap:10px}
.cr-pick{display:flex;align-items:center;gap:2px}
.cr-pick button{border:0;background:none;font-size:26px;line-height:1;color:#e3dccf;cursor:pointer;padding:0 2px}
.cr-pick button.on{color:#f0a21a}.cr-pick small{margin-left:8px;color:#a89c89;font-size:12.5px}
@media (max-width:700px){.cr-main{padding-inline:16px}.cr-hero h1{font-size:28px}.cr-frow{grid-template-columns:1fr;gap:4px}.cr-dlg-body{padding:16px}.cr-d-head h2{font-size:22px}.cr-wps ol{columns:1}}
@media (prefers-reduced-motion:reduce){.cr-card{transition:none}}

/* 거리 슬라이드 바 (10~1,000km, 로그 눈금) */
.cr-drow{align-items:start}.cr-drow>span{padding-top:8px}
.cr-dist{display:block!important;min-width:0}
.cr-d-top{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap}
.cr-d-top strong{font-size:15px;font-weight:900;font-variant-numeric:tabular-nums}
.cr-d-pre{display:flex;gap:6px;flex-wrap:wrap}
.cr-d-pre button{height:30px;padding:0 12px;border-radius:99px;border:1px solid #e3d9ca;background:#fff;font:inherit;font-size:13px;font-weight:700;color:#4a4439;cursor:pointer}
.cr-d-pre button:hover{border-color:#1f1c18}.cr-d-pre button.on{background:#1f1c18;border-color:#1f1c18;color:#fff}
.cr-d-track{position:relative;height:58px;margin-top:4px}
.cr-d-hist{position:absolute;left:12px;right:12px;top:0;height:32px;display:flex;align-items:flex-end;gap:2px}
.cr-d-hist i{flex:1;background:#ece5d9;border-radius:2px 2px 0 0}.cr-d-hist i.on{background:#7fbf8f}
.cr-d-rail{position:absolute;left:12px;right:12px;top:38px;height:6px;border-radius:3px;background:#e9e1d3}
.cr-d-rail i{position:absolute;top:0;bottom:0;border-radius:3px;background:#2f7a4b}
.cr-d-track input[type=range]{position:absolute;left:0;right:0;top:29px;width:100%;height:24px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.cr-d-track input[type=range]::-webkit-slider-runnable-track{background:none;height:24px}
.cr-d-track input[type=range]::-moz-range-track{background:none}
.cr-d-track input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid #2f7a4b;box-shadow:0 2px 6px #0003;cursor:grab}
.cr-d-track input[type=range]::-moz-range-thumb{pointer-events:auto;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid #2f7a4b;box-shadow:0 2px 6px #0003;cursor:grab}
.cr-d-track input[type=range]:focus-visible::-webkit-slider-thumb{outline:3px solid #eac559;outline-offset:2px}
.cr-d-scale{position:relative;height:16px;margin:0 12px;font-size:11.5px;color:#a89c89;font-variant-numeric:tabular-nums}
.cr-d-scale span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.cr-d-scale span:first-child{transform:none}.cr-d-scale span:last-child{transform:translateX(-100%)}

/* 보기 전환 */
.cr-bar-r{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cr-view{display:inline-flex;border:1px solid #e3d9ca;border-radius:99px;padding:3px;background:#fff}
.cr-view button{height:32px;padding:0 14px;border:0;border-radius:99px;background:none;font:inherit;font-size:13.5px;font-weight:800;color:#6f6456;cursor:pointer}
.cr-view button[aria-pressed="true"]{background:#2f7a4b;color:#fff}

/* 지도로 보기 */
.cr-mapv{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:18px;align-items:start}
.cr-mapv[hidden]{display:none}
.cr-mv-map{background:#fff;border:1px solid #ece3d4;border-radius:18px;padding:14px 14px 10px;position:sticky;top:12px}
.cr-mv-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.cr-mv-head small{color:#a89c89;font-size:12.5px}
.cr-crumb{display:flex;align-items:center;gap:8px;font-size:17px}
.cr-crumb b{font-weight:900}.cr-crumb span{color:#c2b7a5}
.cr-crumb button{border:1px solid #e3d9ca;background:#fff;border-radius:99px;height:30px;padding:0 12px;font:inherit;font-size:14px;font-weight:800;color:#2f7a4b;cursor:pointer}
.cr-crumb button:hover{border-color:#2f7a4b}
#crSvg{display:block;width:100%;height:auto;aspect-ratio:523/559;max-height:74vh;background:#eef4f7;border-radius:12px}
.cr-rg path{fill:#f3efe6;stroke:#fff;stroke-width:1.4px;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:fill .15s}
.cr-rg path.has{fill:#e4ecd9;cursor:pointer}.cr-rg path.has:hover{fill:#d2e3c1}
.cr-rg path.on{fill:#cfe2bd;stroke:#2f7a4b;stroke-width:2px}
.cr-rt g{cursor:pointer}
.cr-rt .hit{fill:none;stroke:transparent;stroke-width:14px;vector-effect:non-scaling-stroke}
.cr-rt .ln{fill:none;stroke:currentColor;stroke-width:3px;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;transition:opacity .15s,stroke-width .15s}
.cr-rt .st{fill:#fff;stroke:currentColor;stroke-width:2px;vector-effect:non-scaling-stroke}
.cr-rt .lv0{color:#2f7a4b}.cr-rt .lv1{color:#3f8f9e}.cr-rt .lv2{color:#d08a1c}.cr-rt .lv3{color:#d0561c}.cr-rt .lv4{color:#9a2a2a}
#crSvg.has-hi .cr-rt g{opacity:.22}#crSvg.has-hi .cr-rt g.hi{opacity:1}#crSvg.has-hi .cr-rt g.hi .ln{stroke-width:5.5px}
.cr-lb g{cursor:pointer}
.cr-lb rect{fill:#1f1c18e6}.cr-lb text{fill:#fff;font-weight:800;pointer-events:none}.cr-lb tspan{fill:#f0c35a}
.cr-lb g.on rect{fill:#2f7a4b}
#crSvg.has-hi .cr-lb{opacity:.35}
.cr-legend{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:8px 4px 0;font-size:12.5px;color:#6f6456;font-weight:700}
.cr-legend span{display:inline-flex;align-items:center;gap:5px}.cr-legend i{width:16px;height:4px;border-radius:2px;display:inline-block}
.cr-legend small{color:#a89c89;margin-left:auto}
.cr-legend .lv0,.cr-mv-list .lv0{background:#2f7a4b}.cr-legend .lv1,.cr-mv-list .lv1{background:#3f8f9e}.cr-legend .lv2,.cr-mv-list .lv2{background:#d08a1c}.cr-legend .lv3,.cr-mv-list .lv3{background:#d0561c}.cr-legend .lv4,.cr-mv-list .lv4{background:#9a2a2a}
.cr-mv-side h2{margin:4px 0 10px;font-size:22px;font-weight:900;letter-spacing:-.6px}.cr-mv-side h2 small{font-size:14px;color:#a89c89;font-weight:700;margin-left:4px}
.cr-mv-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cr-mv-list button{width:100%;display:grid;grid-template-columns:10px 1fr auto;gap:12px;align-items:center;text-align:left;border:1px solid #ece3d4;border-radius:14px;background:#fff;padding:12px 14px;font:inherit;color:inherit;cursor:pointer;transition:border-color .12s,box-shadow .12s}
.cr-mv-list button.hi,.cr-mv-list button:hover{border-color:#2f7a4b;box-shadow:0 6px 18px #2f7a4b22}
.cr-mv-list button:focus-visible{outline:3px solid #eac559;outline-offset:2px}
.cr-mv-list .dot{width:10px;height:10px;border-radius:50%}
.cr-mv-list span{display:grid;gap:2px;min-width:0}.cr-mv-list span b{font-size:15px;font-weight:900;letter-spacing:-.3px}
.cr-mv-list span small{font-size:12px;color:#8a7f6e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cr-mv-list em{font-style:normal;font-weight:900;font-size:15px;text-align:right;display:grid;font-variant-numeric:tabular-nums}.cr-mv-list em small{font-size:11.5px;color:#a89c89;font-weight:700}
@media (max-width:860px){.cr-mapv{grid-template-columns:1fr}.cr-mv-map{position:static}.cr-mv-head small{display:none}#crSvg{max-height:62vh}}
@media (max-width:560px){.cr-frow{grid-template-columns:1fr;gap:6px}.cr-drow>span{padding-top:0}.cr-view button{padding:0 11px;font-size:13px}}
.cr-grid[hidden]{display:none}
