:root{--font:-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",system-ui,sans-serif;--strong:#191f28;--default:#333d4b;--subtle:#4e5968;--hint:#6b7684;--inverse:#fff;--bg:#fff;--canvas:#f2f4f6;--brand:#e11d48;--brand-tint:#fff1f2;--border:#e5e7eb;--r-s:12px;--r-m:16px;--pill:999px;--shadow:0 3px 14px rgba(25,31,40,.08)}
*{box-sizing:border-box}
html,body{margin:0;background:var(--canvas);color:var(--default);font-family:var(--font);font-size:15px;-webkit-text-size-adjust:100%}
body{display:flex;justify-content:center}
.page{width:100%;max-width:440px;min-height:100vh;background:var(--bg);overflow-x:hidden}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
button{font-family:inherit;cursor:pointer}
img{max-width:100%}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.top{display:flex;align-items:center;gap:8px;padding:6px 16px 0;min-height:44px;font-size:13px;font-weight:700;color:var(--strong)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--brand);flex:none}
.hero{padding:6px 16px 16px}
h1{margin:0 0 8px;font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.4px;color:var(--strong);overflow-wrap:break-word}
.sub{margin:0;font-size:15px;line-height:1.45;color:var(--subtle)}
.wrap{padding:0 16px}
.course{display:block;border:1px solid var(--border);border-radius:var(--r-m);overflow:hidden;background:var(--bg);box-shadow:var(--shadow)}
.course+.course{margin-top:16px}
img.map{display:block;width:100%;height:auto}
.mapnote{margin:0;padding:6px 12px;font-size:12px;line-height:1.4;color:var(--hint)}
.course .mapnote{border-bottom:1px solid var(--border)}
.mapnote a{text-decoration:underline}
.cbody{padding:14px 16px 16px}
.eyebrow{margin:0 0 4px;font-size:13px;font-weight:700;color:var(--brand)}
.ctitle{margin:0;font-size:20px;line-height:1.25;font-weight:700;color:var(--strong)}
.meta{margin:6px 0 0;font-size:15px;color:var(--subtle)}
.stops{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.stops li{display:flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border:1px solid var(--border);border-radius:var(--pill);font-size:13px;color:var(--default)}
.n{border-radius:50%;background:var(--brand);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.stops .n{width:20px;height:20px;font-size:12px}
.closed{margin:12px 0 0;font-size:13px;line-height:1.45;color:var(--hint)}
.cta{margin-top:14px;min-height:48px;border-radius:var(--r-s);background:var(--brand);color:var(--inverse);font-size:17px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:4px}
.chev{width:18px;height:18px;flex:none}
h2{margin:28px 16px 4px;font-size:20px;font-weight:700;color:var(--strong)}
.h2sub{margin:0 16px 12px;font-size:15px;color:var(--subtle)}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px}
.place{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--r-s);overflow:hidden;background:var(--bg);min-width:0}
.ph{position:relative;aspect-ratio:3/2;background:var(--canvas)}
.ph img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.pbody{padding:10px 8px 12px;min-width:0}
.pname{margin:0;font-size:15px;line-height:1.3;font-weight:700;letter-spacing:-.3px;color:var(--strong);overflow-wrap:break-word}
.pkind{margin:3px 0 0;font-size:13px;line-height:1.35;color:var(--subtle)}
.credit{margin:6px 0 0;font-size:12px;line-height:1.35;color:var(--hint);overflow-wrap:anywhere}
.credit a{text-decoration:underline}
.kapp{margin:28px 16px 0;padding:8px 14px;min-height:56px;border:1px solid var(--border);border-radius:var(--r-s);display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:15px;font-weight:600;color:var(--strong)}
.kapp small{display:block;font-size:13px;font-weight:400;color:var(--hint);margin-top:2px}
.src{margin:24px 0 0;padding:16px 16px 28px;background:var(--canvas);font-size:13px;line-height:1.5;color:var(--subtle)}
.src p{margin:0 0 6px}
.src a{text-decoration:underline}
.links{display:flex;flex-wrap:wrap;gap:0 20px;margin-top:4px}
.links a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
.back{display:flex;align-items:center;gap:4px;padding:6px 16px 0;font-size:15px;color:var(--subtle);min-height:44px}
.back svg{transform:rotate(180deg)}
.facts{margin:12px 16px 0;padding:12px 14px;border-radius:var(--r-s);background:var(--canvas);font-size:15px;line-height:1.5;color:var(--default)}
.facts p{margin:0 0 6px}
.facts p:last-child{margin:0}
.facts b{color:var(--strong)}
.tip{margin:10px 16px 0;font-size:13px;line-height:1.45;color:var(--hint)}
.mapbox{margin:16px 16px 0;border:1px solid var(--border);border-radius:var(--r-m);overflow:hidden}
.mapbox>a{display:block}
.list{list-style:none;margin:0;padding:0 16px}
.stop{padding:18px 0 4px}
.shead{display:flex;align-items:flex-start;gap:10px}
.shead>div{min-width:0;flex:1}
.shead .n{width:28px;height:28px;font-size:15px;margin-top:1px}
.sname{margin:0;font-size:19px;line-height:1.25;font-weight:700;color:var(--strong);overflow-wrap:break-word}
.sko{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin:4px 0 0;font-size:15px;color:var(--subtle)}
.copy{min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:var(--pill);font-size:13px;font-weight:600;color:var(--default);display:none;align-items:center;background:var(--bg)}
.js .copy{display:inline-flex}
.sph{position:relative;margin-top:12px;aspect-ratio:3/2;border-radius:var(--r-s);overflow:hidden;background:var(--canvas)}
.sph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.why{margin:10px 0 0;font-size:15px;line-height:1.5;color:var(--default)}
.info{margin:8px 0 0;font-size:15px;line-height:1.5;color:var(--subtle)}
.info b{color:var(--strong);font-weight:600}
.more{display:inline-flex;align-items:center;min-height:44px;margin-top:2px;font-size:15px;font-weight:600;color:var(--strong);text-decoration:underline}
.naver{margin-top:8px;padding:6px 12px;min-height:48px;border-radius:var(--r-s);border:1px solid var(--brand);color:var(--brand);font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:4px;text-align:center}
.leg{display:flex;align-items:center;gap:10px;margin:14px 0 0;padding:10px 0 10px 13px;border-left:2px dashed #cbd2da;font-size:15px;color:var(--subtle)}
.leg svg{flex:none}
.leg b{color:var(--strong)}
.share{display:none;width:calc(100% - 32px);margin:24px 16px 0;min-height:48px;border:0;border-radius:var(--r-s);background:var(--brand);color:#fff;font-size:17px;font-weight:700;align-items:center;justify-content:center}
.js .share{display:flex}
.checked{margin:12px 16px 0;font-size:13px;line-height:1.5;color:var(--hint);text-align:center}
.pbar{min-height:62px;display:flex;align-items:center;padding:8px 14px;gap:7px;font-size:13px;font-weight:700;color:var(--strong)}
.pbar .bk{width:44px;height:44px;display:grid;place-items:center;flex:none}
.pbar .bk svg{width:22px;height:22px}
.pbar .brand{display:flex;align-items:center;gap:7px;min-height:44px}
.phero{position:relative;height:246px;background:var(--canvas)}
.phero img{display:block;width:100%;height:100%;object-fit:cover}
.phero.contain{height:auto}
.phero.contain img{height:auto;max-height:320px}
.pcredit{margin:0;padding:6px 16px 0;font-size:12px;line-height:1.35;color:var(--hint);overflow-wrap:anywhere}
.pcredit a{text-decoration:underline}
.pcontent{padding:20px 16px 8px}
.tag{margin:0;font-size:12px;font-weight:700;letter-spacing:.2px;color:var(--brand);text-transform:uppercase}
.pcontent h1{margin:5px 0 7px;letter-spacing:-.7px;line-height:1.1}
.pcontent h2{margin:20px 0 6px;font-size:17px}
.pinfo{margin:15px 0;padding:11px 12px;border-radius:var(--r-s);background:var(--canvas);font-size:15px;line-height:1.5;color:var(--default)}
.pinfo p{margin:0 0 6px}
.pinfo p:last-child{margin:0}
.pinfo b{color:var(--strong)}
.pinfo a,.summary a{text-decoration:underline}
.pinfo .small{font-size:13px;color:var(--subtle)}
.summary{margin:0 0 12px;font-size:15px;line-height:1.55}
.pmap{border:1px solid var(--border);border-radius:15px;overflow:hidden;background:var(--canvas)}
.actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:14px}
.js .actions{grid-template-columns:1fr 92px}
.btn{min-height:48px;padding:6px 10px;border-radius:13px;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;text-align:center}
.primary{border:0;background:var(--brand);color:#fff}
.secondary{display:none;border:1px solid var(--border);background:var(--bg);color:var(--strong)}
.js .secondary{display:flex}
.rows{margin-top:16px;border-top:1px solid var(--border)}
.row{display:flex;align-items:center;gap:8px;min-height:56px;padding:8px 2px;border-bottom:1px solid var(--border);font-size:15px;font-weight:700;color:var(--strong)}
.row span{min-width:0;flex:1;overflow-wrap:break-word}
.row small{display:block;font-size:13px;font-weight:400;color:var(--hint)}
.note{margin:14px 0 0;font-size:13px;line-height:1.5;color:var(--hint)}
.note a{text-decoration:underline}
/* 공공누리 3유형: 어느 자리에서도 자르지 않고 통째로(위의 cover 규칙보다 뒤·더 구체적으로 둔다) */
.ph.contain img,.sph.contain img,.phero.contain img{object-fit:contain}
@media(max-width:374px){.phero{height:230px}.grid{gap:10px}}
