.subway-sheet{position:absolute;z-index:160;top:62px;right:16px;bottom:58px;width:min(390px,calc(100vw - 32px));box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;border:1px solid #b8cfd0;border-radius:18px;background:#f8fcfc;color:#183439;box-shadow:0 14px 40px #0b263a66;font:14px/1.45 system-ui,'Malgun Gothic',sans-serif}
.subway-sheet[hidden]{display:none!important}.subway-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:15px 16px 10px;background:#e9f4f5}.subway-head h2{margin:0;font-size:20px}.subway-head small{display:block;color:#56747a}.subway-close{border:0;background:#fff;border-radius:9px;padding:5px 10px;font-size:22px;cursor:pointer}.subway-lines{display:flex;gap:6px;padding:10px 12px;overflow-x:auto;background:#e9f4f5}.subway-lines button{flex:1;min-width:67px;border:1px solid #b7d0d2;border-radius:10px;background:#fff;padding:8px 4px;font:700 13px system-ui;cursor:pointer;white-space:nowrap}.subway-lines button[aria-selected=true]{background:#f28b36;color:#fff;border-color:#d67628}.subway-lines button[data-line='2']{border-bottom:4px solid #59ab65}.subway-lines button[data-line='3']{border-bottom:4px solid #c7a34d}.subway-lines button[data-line='4']{border-bottom:4px solid #4995bd}.subway-scroll{min-height:0;overflow-y:auto;padding:12px 15px 20px;overscroll-behavior:contain}.subway-route{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:5px 0 13px;padding:10px;border-radius:12px;background:#fff4e9;text-align:center;font-size:13px}.subway-route span{flex:1}.subway-route strong{flex:1.3;padding:8px 3px;border-radius:8px;background:#ee8737;color:#fff}.subway-note{margin:8px 0;color:#536b70;font-size:12px}.subway-notice{margin:9px 0;padding:8px 10px;border-radius:9px;background:#eff5f5;color:#31545b;font-size:12px}.subway-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.subway-tools button{border:1px solid #bbd1d1;border-radius:8px;background:#fff;color:#205262;padding:7px 10px;font-weight:700;cursor:pointer}.subway-section{margin:18px 0 6px;font-size:15px}.subway-trains{display:grid;gap:7px}.subway-train{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e2e9e8;border-radius:11px;background:#fff}.subway-train small{display:block;color:#61777b;font-size:11px}.subway-train time{font-weight:800;font-variant-numeric:tabular-nums;font-size:20px;color:#b9611e}.subway-other{padding:16px 6px}.subway-other h3{margin:0 0 9px}.subway-transfer{display:flex;gap:10px;align-items:center;margin:10px 0;padding:12px;border-radius:11px;background:#f0f5f5}.subway-transfer b{font-size:18px}.subway-transfer small{color:#587079}
@media(max-width:700px){.subway-sheet{top:auto;right:0;left:0;bottom:0;width:100%;height:min(72dvh,620px);border-radius:19px 19px 0 0;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -8px 32px #0b263a55}.subway-head{padding-top:12px}.subway-lines{padding-top:7px}.subway-scroll{padding-bottom:24px}.subway-sheet::before{content:'';position:absolute;top:3px;left:calc(50% - 18px);width:36px;height:4px;border-radius:2px;background:#8eaaad}}
