/* 환승 한 번만 (subway) */
.sw-box{display:flex;justify-content:center;min-width:0}
.sw-wrap{position:relative;width:360px;height:540px;border-radius:18px;overflow:hidden;background:#f3f1ea;box-shadow:0 10px 26px rgba(40,35,25,.14),inset 0 0 0 1px rgba(0,0,0,.06);touch-action:manipulation;-webkit-user-select:none;user-select:none}
.sw-wrap canvas{display:block;width:100%;height:100%;cursor:pointer}
.sw-ov{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;background:rgba(246,245,239,.94)}
.sw-ov.show{display:flex}
.sw-ov h2{margin:0;font-size:30px;letter-spacing:-1px;line-height:1.15}
.sw-ov .sw-sub{color:#77706a;font-size:14px;margin:8px 0 0;line-height:1.55}
.sw-ov .sw-big{font-size:46px;font-weight:800;letter-spacing:-2px;line-height:1.05;margin:6px 0 2px;font-variant-numeric:tabular-nums}
.sw-ov .sw-new{color:#e2724a;font-weight:800;font-size:14px;min-height:20px}
.sw-ov button{width:100%;max-width:250px;margin-top:10px;padding:13px 0;font-size:16px;border-radius:12px}
.sw-ov button.primary{background:#00A84D;border-color:#00A84D}
.sw-ov .sw-link{background:transparent;border:1px solid #cfc8ba}
.sw-lines{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;margin:14px 0 4px;max-width:270px}
.sw-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:12px;color:#fff;font-weight:800;font-size:13px}
.sw-arrow{color:#a39b8e;font-size:12px;align-self:center}
.sw-route{font-size:13px;color:#5c554b;margin:4px 0 0;line-height:1.5}
.sw-ring{width:46px;height:46px;border-radius:50%;border:4px solid #f2a23a;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;margin:12px 0 2px;font-variant-numeric:tabular-nums}
.sw-note{font-size:12px;color:#8a8378;margin-top:12px;line-height:1.5}
.sw-mapdots{display:flex;gap:6px;justify-content:center;margin:16px 0 4px}
.sw-mapdots i{width:12px;height:12px;border-radius:50%;display:block}
.side .sw-legend{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}
/* 첫 화면: 소개 + 방법 (스크롤) + 아래 고정 출발 버튼 */
.sw-ov.sw-start{justify-content:flex-start;padding:0;text-align:left}
.sw-scroll{flex:1;min-height:0;width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 18px 10px}
.sw-start .sw-head{text-align:center;margin-bottom:14px}
.sw-start .sw-mapdots{margin:2px 0 8px}
.sw-start h2{font-size:28px}
.sw-start .sw-tag{color:#77706a;font-size:13.5px;margin:6px 0 0;line-height:1.5}
.sw-sec{background:#fff;border:1px solid #e6e0d4;border-radius:14px;padding:12px 14px;margin-top:10px}
.sw-sec h3{margin:0 0 6px;font-size:14.5px;letter-spacing:-.3px}
.sw-sec p{margin:0;font-size:13px;line-height:1.65;color:#4a453f}
.sw-steps{list-style:none;margin:0;padding:0}
.sw-steps li{display:flex;gap:10px;align-items:flex-start;padding:7px 0;font-size:13px;line-height:1.6;color:#4a453f}
.sw-steps li+li{border-top:1px dashed #e6e0d4}
.sw-steps .n{flex:0 0 24px;height:24px;border-radius:50%;color:#fff;font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center;margin-top:1px}
.sw-steps b{color:#2b2a28}
.sw-pill{display:inline-flex;align-items:center;gap:5px;border-radius:12px;padding:1px 9px;font-size:12px;font-weight:800;white-space:nowrap;vertical-align:1px}
.sw-pill.w{background:#fff;border:2px solid #00A84D;color:#2b2a28}
.sw-pill.o{background:#F2A23A;color:#2b2a28}
.sw-pill.r{background:#1b1d20;color:#ff5a4e}
.sw-pill.y{background:#1b1d20;color:#ffb547}
.sw-gauge{display:inline-block;width:46px;height:7px;border-radius:4px;background:rgba(0,0,0,.12);vertical-align:2px;position:relative;overflow:hidden}
.sw-gauge:after{content:"";position:absolute;left:0;top:0;bottom:0;width:60%;background:#F2A23A;border-radius:4px}
.sw-tips{margin:10px 2px 4px;padding-left:16px;font-size:12.5px;color:#6b645a;line-height:1.6}
.sw-foot{width:100%;padding:10px 18px 12px;border-top:1px solid #e6e0d4;background:rgba(246,245,239,.98);text-align:center}
.sw-foot button{margin-top:0}
.sw-foot .sw-note{margin-top:6px}
.sw-hero{margin:0 auto 12px;max-width:340px}
.sw-hero svg{display:block;width:100%;height:auto;border-radius:14px}
.sw-run{animation:swbob .32s ease-in-out infinite alternate}
@keyframes swbob{from{transform:translateY(0)}to{transform:translateY(-2px)}}
.sw-rip{transform-box:fill-box;transform-origin:center;animation:swrip 1.3s ease-out infinite}
@keyframes swrip{from{transform:scale(.4);opacity:1}to{transform:scale(1.4);opacity:0}}
@media (prefers-reduced-motion:reduce){.sw-run,.sw-rip{animation:none}}
