.subway-sheet{--rail:#ef8234}.subway-head{align-items:center}.subway-head-actions{display:flex;gap:5px}.subway-head-actions button{border:0;border-radius:8px;background:#fff;padding:7px 10px;color:#254750;font-size:17px;cursor:pointer}.subway-search{display:flex;gap:7px;padding:8px 12px;background:#e9f4f5}.subway-search input{flex:1;min-width:0;box-sizing:border-box;border:1px solid #b9d0d1;border-radius:9px;padding:9px 11px;font-size:14px;background:#fff;color:#183439}.subway-search button{border:0;border-radius:9px;background:#d8e8e8;padding:7px 10px;cursor:pointer}.subway-overview{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:1px 0 11px}.subway-overview span{font-size:12px;color:#557179}.subway-overview button{border:1px solid #bdd2d3;border-radius:8px;background:#fff;padding:7px 10px;color:#245260;font-weight:700;cursor:pointer}.subway-station-list{position:relative;padding-left:22px;margin:7px 0 18px}.subway-station-list:before{content:'';position:absolute;left:9px;top:13px;bottom:13px;width:5px;border-radius:4px;background:var(--rail)}.subway-station-row{position:relative;display:flex;width:100%;align-items:center;justify-content:space-between;gap:6px;margin:0;padding:9px 9px 9px 7px;border:0;border-radius:8px;background:transparent;color:#203c43;text-align:left;font:600 13px system-ui,'Malgun Gothic',sans-serif;cursor:pointer}.subway-station-row:before{content:'';position:absolute;left:-17px;top:calc(50% - 6px);width:12px;height:12px;box-sizing:border-box;border:3px solid var(--rail);border-radius:50%;background:#fff;z-index:1}.subway-station-row:hover,.subway-station-row.is-selected{background:#eaf4f4}.subway-station-row.is-selected{box-shadow:inset 3px 0 var(--rail)}.subway-station-row small{color:#71888d;font-weight:400}.subway-station-row em{font-style:normal;font-size:10px;padding:2px 5px;border-radius:5px;background:#e3edf0;color:#365c69;white-space:nowrap}.subway-station-detail{margin:8px 0 15px;padding:13px;border:1px solid #d6e4e4;border-radius:12px;background:#fff}.subway-station-detail h3{margin:0 0 4px;font-size:18px}.subway-station-detail>small{color:#5d777d}.subway-detail-tools{display:flex;gap:7px;margin:9px 0}.subway-detail-tools button{flex:1;border:1px solid #bfd4d4;border-radius:7px;background:#f7fbfb;padding:7px;color:#245360;cursor:pointer}.subway-train time{font-size:17px}.subway-mini{display:flex;align-items:center;gap:5px;margin:11px 0 4px;color:#556c70;font-size:12px}.subway-mini span{flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subway-mini strong{flex:1.2;text-align:center;color:#fff;background:var(--rail);border-radius:7px;padding:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subway-mini i{flex:0 0 12px;height:4px;background:var(--rail)}.subway-map-note{font-size:11px;color:#73888b}.subway-sheet.is-collapsed{bottom:auto;height:auto}.subway-sheet.is-collapsed .subway-lines,.subway-sheet.is-collapsed .subway-search,.subway-sheet.is-collapsed .subway-scroll{display:none}.subway-sheet.is-collapsed .subway-head{padding:10px 13px}.subway-maplibre-stations{cursor:pointer}
@media(max-width:700px){.subway-sheet{height:min(70dvh,650px)}.subway-sheet.is-collapsed{top:auto;bottom:14px;left:8px;right:8px;width:auto;border-radius:15px;padding-bottom:0}.subway-sheet.is-collapsed:before{display:none}.subway-sheet.is-collapsed .subway-head h2{font-size:15px}.subway-sheet.is-collapsed .subway-head small{font-size:10px}.subway-station-row{min-height:40px}}
.subway-sheet .subway-head,.subway-sheet .subway-lines,.subway-sheet .subway-search{flex:none}
.subway-sheet .subway-scroll{flex:1 1 auto;min-height:0}
.subway-sheet .subway-lines{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;box-sizing:border-box;width:100%;min-height:60px;align-items:stretch;overflow:visible;padding:8px 12px}
.subway-sheet .subway-lines button{box-sizing:border-box;min-width:0;min-height:44px;width:100%;margin:0;padding:7px 2px;line-height:1.25;white-space:nowrap;text-align:center}
@media(max-width:700px){.subway-sheet .subway-lines{min-height:56px;padding:6px 9px;gap:5px}.subway-sheet .subway-lines button{min-height:44px;font-size:clamp(11px,3.5vw,13px)}}
