
.mm-wm{position:absolute;right:6px;bottom:6px;z-index:3;box-sizing:border-box;height:19px;display:flex;align-items:center;gap:4px;padding:0 7px 0 5px;border-radius:6px;
  background:rgba(255,255,255,.6);color:#0f172a;font-size:11px;font-weight:800;letter-spacing:.01em;line-height:1;opacity:.72;pointer-events:none;user-select:none;white-space:nowrap}
.mm-wm svg{display:block;flex:none}
.mm-ttl{position:absolute;left:6px;top:6px;z-index:3;box-sizing:border-box;max-width:320px;min-height:22px;display:flex;align-items:baseline;gap:6px;padding:3px 8px;border-radius:6px;
  background:rgba(255,255,255,.92);box-shadow:0 1px 3px rgba(15,23,42,.18);pointer-events:none;user-select:none;line-height:1.25;white-space:nowrap}
.mm-ttl b{font-size:13px;font-weight:800;color:#1e3a8a;overflow:hidden;text-overflow:ellipsis}
.mm-ttl span{font-size:11px;font-weight:700;color:#475569}
.mm-ttl.l2{flex-direction:column;gap:0}
.mc{padding-bottom:18px}
.mc-tabs{display:flex;gap:2px;width:max-content;max-width:100%;margin:4px auto 12px;padding:4px;border-radius:14px;background:#eef2f6;box-shadow:inset 0 0 0 1px #e2e8f0;overflow-x:auto;scrollbar-width:none;counter-reset:mct}   /* 10-15: 가운데 · 한 덩어리 전환 장치 */
.mc-tabs::-webkit-scrollbar{display:none}
.mc-tabs{position:relative}
.mc-ind{position:absolute;top:4px;bottom:4px;left:0;width:0;border-radius:10px;background:#0f172a;box-shadow:0 1px 3px rgba(15,23,42,.25);transition:transform .3s cubic-bezier(.2,.8,.2,1),width .3s cubic-bezier(.2,.8,.2,1);pointer-events:none}   /* 10-15: 고른 탭 검정 바가 미끄러지듯 옮겨감 */
.mc-tabs.has-ind .mc-tab{position:relative;z-index:1;transition:color .2s}
.mc-tabs.has-ind .mc-tab[aria-selected="true"]{background:transparent;box-shadow:none}
.mc-no{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:7px;border-radius:50%;background:#0f172a;color:#fff;font-size:12px;font-weight:800;vertical-align:2px}
.mc-tab{flex:none;display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13.5px;font-weight:700;padding:7px 13px 7px 9px;border-radius:10px;border:0;background:transparent;color:#475569;cursor:pointer;counter-increment:mct}
.mc-tab::before{content:counter(mct);display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#fff;color:#64748b;font-size:11px;font-weight:800;box-shadow:inset 0 0 0 1px #d6dde6}
.mc-tab:hover{background:#e2e8f0;color:#0f172a}
.mc-tab[aria-selected="true"]{background:#0f172a;color:#fff;box-shadow:0 1px 3px rgba(15,23,42,.25)}
.mc-tab[aria-selected="true"]::before{background:#fff;color:#0f172a;box-shadow:none}
@media (max-width:899px){.mc-tabs{margin-left:0;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}}
.mc-track{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;transition:height .25s ease}
.mc-track::-webkit-scrollbar{display:none}
.mc-card{flex:0 0 100%;scroll-snap-align:start;min-width:0;display:flow-root;padding-bottom:2px}   /* flow-root: 안쪽 끝 여백이 카드 높이에 들어가게(줄 높이 맞출 때 아래가 잘리지 않게) */
.mc .mm{margin:0;box-shadow:0 1px 4px rgba(15,23,42,.14);border:1px solid #e5e9ef}
.mc-txt h3{margin:12px 2px 6px;font-size:16px;font-weight:800;color:#0f172a}
.mc-txt p{margin:0 2px;font-size:14px;line-height:1.7;color:#334155}
.mc-lead{display:block;margin:0 0 6px;font-size:15.5px;line-height:1.5;font-weight:800;color:#0f172a}
.mc-txt b{color:#0f172a}
.mc-note{color:#64748b;font-size:12.5px}
.mc-dots{display:flex;justify-content:center;gap:6px;margin-top:12px}
.mc-dot{width:7px;height:7px;border-radius:50%;background:#cbd5e1;border:0;padding:0;cursor:pointer}
.mc-dot[aria-current="true"]{background:#0f172a;width:18px;border-radius:4px}
.k-wk{width:16px;height:12px;border-radius:3px;background:linear-gradient(90deg,rgba(13,148,136,.42),rgba(13,148,136,.08));border:1px solid rgba(15,118,110,.5)}
.k-grr{width:13px;height:13px;border-radius:50%;border:1.4px dashed #15803d;background:rgba(22,163,74,.06)}
.k-wkl{width:16px;height:12px;border-radius:3px;background:rgba(13,148,136,.12);border:1.2px dashed rgba(15,118,110,.6)}
.k-rt{width:20px;height:5px;background:radial-gradient(circle,#1e293b 0 2.1px,transparent 2.4px) 0 50%/6.5px 5px repeat-x}
.k-rts{background-image:radial-gradient(circle,#15803d 0 2.1px,transparent 2.4px)}
.k-sp{width:13px;height:13px;border-radius:50%;border:2.4px solid #ea580c;box-sizing:border-box}
.k-ac{width:14px;height:14px;border-radius:50%;background:radial-gradient(circle,rgba(232,90,166,.7),rgba(232,90,166,0) 70%)}
.k-acz{width:16px;height:11px;border-radius:3px;border:1.6px dashed #be185d;background:rgba(232,90,166,.08)}
.k-dc{width:10px;height:10px;border-radius:50%;background:#8b5cf6}
.k-kd{width:9px;height:9px;border-radius:2px;background:#b45309}
.k-cm{width:14px;height:14px;border-radius:50%;background:radial-gradient(circle,rgba(184,126,209,.8),rgba(184,126,209,0) 70%)}
.k-cmz{width:16px;height:11px;border-radius:3px;border:1.6px dashed #7e22ce}
.k-bh,.k-if{width:14px;height:14px;border-radius:3px;background:#047857;color:#fff;font-style:normal;font-size:9.5px;font-weight:800;line-height:14px;text-align:center}
.k-if{background:#475569;font-size:8.5px}
.k-cl{width:9px;height:9px;border-radius:50%;background:#5cbe88;box-shadow:0 0 0 1.5px #fff,0 0 0 2.8px #047857}
.k-mt{width:10px;height:10px;border-radius:2px;background:#0f766e}
.k-fo{width:14px;height:10px;border-radius:2px;background:rgba(34,130,60,.62)}
.k-pa{width:14px;height:10px;border-radius:2px;background:rgba(74,170,80,.55)}
.k-na{width:14px;height:10px;border-radius:2px;background:rgba(132,190,90,.5)}
.k-wt{width:14px;height:10px;border-radius:2px;background:#6fb3e6;border:1px solid #3b8fd0}
.k-ad{width:10px;height:10px;border-radius:50%;background:#dc2626}
.k-lo{width:10px;height:10px;border-radius:50%;background:#7c3aed}
.k-nhz{width:16px;height:11px;border-radius:3px;border:1.6px dashed #3f3f46;background:rgba(113,113,122,.2)}
.k-nh{width:14px;height:14px;border-radius:50%;background:radial-gradient(circle,rgba(220,38,38,.55),rgba(248,113,113,0) 70%)}
.k-bus{width:9px;height:9px;border-radius:2px;background:#2563eb}
.k-busc{width:11px;height:11px;background:#1e3a8a}
.k-r1k{width:16px;height:11px;border-radius:3px;border:1.4px dashed #475569}
.k-pw{width:18px;height:0;border-top:3px dashed #a16207}
.k-nr{width:16px;height:11px;border-radius:3px;border:1.3px dashed #334155;background:rgba(51,65,85,.05)}
.k-nz{width:18px;height:6px;border-radius:3px;opacity:.6}
.k-nze{background-image:repeating-linear-gradient(90deg,transparent 0 3px,#fff 3px 5px) !important;background-size:100% 2px;background-position:center;background-repeat:no-repeat;opacity:.8}
.k-sd{width:10px;height:10px;border-radius:50%;background:#0f172a;box-shadow:0 0 0 2px #fff,0 0 0 3px #0f172a}
.k-rwx{width:20px;height:10px;border-radius:2px;background:linear-gradient(90deg,rgba(79,70,229,.55),rgba(79,70,229,0))}
.k-rw{width:18px;height:6px;background:#475569}
/* 범례(10-13): 왼쪽 정렬 · 줄 길이 고르게(한 항목만 다음 줄로 떨어지지 않게) · 노선은 항목 다음 새 줄 */
.mm-leg.lg2{display:block;text-wrap:balance}
.mm-leg.lg2>li{display:inline-flex;vertical-align:middle;margin:0 12px 5px 0}
.mm-leg.lg2>li.lg-br{display:block;height:0;margin:0}
@media (max-width:480px){.mm-leg.lg2>li.no-mo{display:none}}
@media (min-width:481px) and (max-width:1099px){.mm-leg.lg2>li.no-tb{display:none}}
@media (min-width:1100px){.mm-leg.lg2>li.no-dt{display:none}}
/* 이름표 두 벌: 휴대폰(≤480px)은 .lbm, 그 밖은 .lbf(지도 전체) */
.mc .lbm{display:none}
@media (max-width:480px){.mc .lbm{display:inline}.mc .lbf{display:none}}
@media (min-width:481px){.mc .mm-view{--cw:640;--ch:420}}
/* 데스크톱·태블릿: 넘기기 대신 주제 버튼 — 지도는 위에 크게(무대 640×420 전부), 설명은 아래 */
.mc-nav{display:flex;align-items:stretch;gap:8px;margin:10px 0 2px}   /* 10-15 지도 넘기기 줄(지도 바로 아래) */
.mc-nb{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:8px;font:inherit;padding:8px 12px;border-radius:10px;cursor:pointer;text-align:left}
.mc-nb.prev{border:1px solid #d6dde6;background:#fff;color:#334155}
.mc-nb.prev:hover{background:#f8fafc;border-color:#94a3b8}
.mc-nb.next{justify-content:flex-end;text-align:right;border:1px solid #0f172a;background:#0f172a;color:#fff}
.mc-nb.next:hover{background:#1e293b}
.mc-nb.ph{visibility:hidden;border:0;padding:0}
.mc-nb .lb{display:flex;flex-direction:column;min-width:0;line-height:1.25;font-size:14.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc-nb small{font-size:11.5px;font-weight:700;opacity:.72}
.mc-nb .ar{flex:none;font-size:22px;font-weight:700;line-height:1}
.mc-pos{flex:none;align-self:center;font-size:13px;color:#64748b;font-variant-numeric:tabular-nums;padding:0 2px}
.mc-pos b{color:#0f172a;font-size:15px}
@media (min-width:900px){
  .mc-track{display:block;overflow:visible}
  .mc-card{display:none}
  .mc-card.on{display:block;animation:mcIn .24s ease}
  @keyframes mcIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
  .mc .mm{max-width:none}
  .mc .mm-view{--cw:640;--ch:420}
  .mc-dots{display:none}
}

/* 지도 자리(불러오기 전) — 지도 보기 창과 같은 비율 */
.mm-ph{position:relative;width:100%;aspect-ratio:327/300;background:#eef0ee;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:13px;font-weight:600}
@media (min-width:481px){.mm-ph{aspect-ratio:640/420}}
.mm-ph.fail{color:#b91c1c;background:#f8fafc}
.mc-sc{display:inline-flex;align-items:baseline;gap:3px;margin-left:8px;padding:2px 9px;border-radius:999px;font-size:12.5px;font-weight:700;color:var(--c);background:color-mix(in srgb,var(--c) 8%,#fff);border:1px solid color-mix(in srgb,var(--c) 30%,transparent);vertical-align:2px;white-space:nowrap}
.mc-sc b{font-size:14px;font-weight:800}
