:root{--paper:#f3f2ee;--ink:#212321;--muted:#696d65;--line:#d3d4ce;--red:#c93221}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
main{max-width:1136px;margin:auto;padding:0 48px}
button,a,summary{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:4px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
header{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--ink)}
.brand{display:flex;gap:9px;align-items:center;color:inherit;text-decoration:none;font-size:26px;font-weight:700;letter-spacing:-1px;white-space:nowrap}
.brand-icon{display:grid;place-items:center;background:var(--red);color:white;width:34px;height:34px;font-size:28px;margin-right:3px}
.red{color:var(--red)}
.today{display:flex;align-items:flex-end;flex-direction:column;gap:4px;font-size:11px;color:var(--muted)}
.today strong{font-size:25px;letter-spacing:-.5px;font-weight:400;color:var(--ink);font-variant-numeric:tabular-nums}
.today i{display:inline-block;width:5px;height:5px;margin-left:4px;border-radius:100%;background:var(--red)}
.direction-section{padding:32px 0 26px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
h2{font-size:15px;font-weight:500;margin:0}
.section-heading>span{font-size:11px;color:var(--muted)}
.direction-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.direction-button{padding:21px 25px 19px;border:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}
.direction-button.active{background:var(--red);color:white;border-color:var(--red)}
.direction-top{display:flex;justify-content:space-between;align-items:center;font-size:12px}
.selected-mark{visibility:hidden;font-size:18px;line-height:1}
.active .selected-mark{visibility:visible}
.direction-path{display:flex;align-items:center;gap:18px;font-size:38px;line-height:1.4;font-weight:650;letter-spacing:-1.5px;margin:9px 0 10px}
.direction-path>span{font-weight:400}
.direction-bottom{display:block;font-size:11px;color:var(--muted)}
.active .direction-bottom{color:white}
.schedule-controls{display:flex;align-items:center;gap:16px}
.field-label{display:block;color:var(--muted);font-size:11px;letter-spacing:1px}
.segments{display:flex;border:1px solid var(--line);padding:3px;gap:3px}
.segments button{border:0;color:var(--muted);background:transparent;padding:10px 18px;font-size:12px;white-space:nowrap}
.segments button.active{background:var(--ink);color:white}
.tag{margin-left:auto;border:1px solid var(--line);font-size:10px;padding:6px 10px;white-space:nowrap}
.mode-note{font-size:11px;color:var(--muted);margin:10px 0 23px;line-height:1.7}
.hero{display:grid;grid-template-columns:1.65fr 1fr;border-top:3px solid var(--ink);border-bottom:1px solid var(--ink)}
.departure{padding:26px 30px 27px 0}
.hero-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
.departure-origin{font-size:19px;font-weight:650}
.big-time{font-size:clamp(70px,10.8vw,124px);line-height:1.16;font-weight:600;letter-spacing:-7px;font-variant-numeric:tabular-nums;margin:20px 0 19px}
.trip-routes{display:flex;flex-direction:column;gap:7px}
.trip-route{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;line-height:1.7}
.trip-route>span:last-child{word-break:keep-all}
.route-marker{display:inline-block;background:#e7e2d7;color:var(--ink);padding:1px 5px;font-size:9px;white-space:nowrap}
.via-jizhong>span:last-child{color:var(--red)}
.waiting{border-left:1px solid var(--line);margin:26px 0;padding:5px 0 0 35px;display:flex;flex-direction:column}
.countdown{font-size:58px;letter-spacing:-2px;margin-top:29px;color:var(--red);font-weight:500;white-space:nowrap}
.countdown small{font-size:15px;letter-spacing:0;margin-left:7px}
.waiting p{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0 23px}
.wait-bottom{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:auto}
.wait-bottom span:last-child{font-size:24px;color:var(--red)}
.notice{font-size:12px;line-height:1.8;padding:14px 16px;background:#eae7df;border-left:2px solid var(--red);margin-top:18px}
.following{margin:30px 0}
.upcoming{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bus-card{border-top:1px solid var(--line);padding-top:14px}
.bus-card-time{display:flex;align-items:baseline;justify-content:space-between;gap:6px}
.bus-card-time strong{font-size:32px;font-weight:400;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.bus-card-time>span{font-size:10px;color:var(--muted);white-space:nowrap}
.bus-card-routes{margin-top:10px;display:flex;flex-direction:column;gap:6px}
.bus-card-routes .trip-route{font-size:11px;gap:4px}
.empty{font-size:13px;color:var(--muted);grid-column:1/-1}
.return-reference{border-top:1px solid var(--line);padding:20px 0}
.return-reference p{font-size:12px;line-height:1.8;color:var(--muted)}
.all{border-top:1px solid var(--ink)}
details{border-bottom:1px solid var(--line)}
summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:22px 0;font-size:14px;cursor:pointer}
summary::-webkit-details-marker{display:none}
summary small{font-size:11px;color:var(--muted);margin-left:10px}
.plus{font-size:23px;font-weight:300}
details[open] .plus{transform:rotate(45deg)}
.legend{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px;margin:0 0 15px}
.legend-dot{width:5px;height:5px;background:var(--red);display:inline-block;margin-right:5px}
.time-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding-bottom:25px}
.time-cell{padding:12px 5px;border:1px solid var(--line);text-align:center;font-variant-numeric:tabular-nums}
.time-cell>strong{font-weight:500;font-size:17px}
.time-cell-routes{display:flex;flex-direction:column;gap:3px;margin-top:6px;font-size:9px;line-height:1.4}
.time-jizhong{color:var(--red)}
.time-cell.past{color:#999b95;background:#ecece7;border-color:transparent}
.time-cell.past .time-jizhong{color:inherit}
.time-cell.next{background:var(--ink);color:white;border-color:var(--ink)}
.time-cell.next .time-jizhong{color:#ffb6a8}
.notes{font-size:12px;line-height:1.9;color:var(--muted);max-width:730px;padding-bottom:25px}
.notes h3{color:var(--ink);font-size:13px;margin:15px 0 8px}
.notes a{color:var(--ink)}
.special-times{color:var(--ink);font-size:12px;font-variant-numeric:tabular-nums;word-spacing:10px;line-height:2.2}
.source-link{text-underline-offset:5px;display:inline-block;margin-top:15px}
footer{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;padding:25px 0 32px}
footer>span:last-child{color:var(--ink)}
@media(max-width:650px){
 main{padding:0 23px}header{min-height:90px}.brand{font-size:20px;gap:5px;letter-spacing:-.7px}.brand-icon{width:27px;height:27px;font-size:23px;margin-right:3px}
 .today{font-size:8px;gap:4px}.today strong{font-size:18px}.timezone{display:none}.direction-section{padding:23px 0 20px}.section-heading{margin-bottom:13px}h2{font-size:14px}.section-heading>span{font-size:10px}
 .direction-options{gap:8px}.direction-button{padding:15px 13px}.direction-top{font-size:10px}.direction-path{font-size:25px;gap:8px;letter-spacing:-1px;margin:10px 0;white-space:nowrap}.direction-bottom{font-size:9px;line-height:1.5}
 .schedule-controls{gap:9px}.field-label{font-size:10px}.segments button{padding:9px 11px;font-size:11px}.tag{font-size:9px;padding:5px 7px}.mode-note{font-size:10px;margin-bottom:20px}
 .hero{grid-template-columns:1.35fr 1fr}.departure{padding:19px 16px 22px 0}.hero-top{flex-wrap:wrap;font-size:10px;gap:6px}.departure-origin{font-size:17px}.big-time{font-size:62px;letter-spacing:-3px;margin:20px 0 15px}.trip-route{font-size:10px;line-height:1.8;gap:4px}.route-marker{font-size:8px;padding:1px 4px}
 .waiting{padding:3px 0 0 18px;margin:19px 0}.countdown{font-size:38px;margin-top:29px}.countdown small{font-size:10px;margin-left:4px}.waiting p{font-size:10px}.wait-bottom{font-size:8px}
 .following{margin:25px 0}.upcoming{grid-template-columns:1fr;gap:0}.bus-card{padding:13px 0;display:grid;grid-template-columns:95px 1fr;gap:15px;align-items:center}.bus-card-time{flex-direction:column;gap:4px}.bus-card-time strong{font-size:29px}.bus-card-routes{margin:0}.bus-card-routes .trip-route{font-size:11px}
 .time-grid{grid-template-columns:repeat(3,1fr);gap:6px}.time-cell>strong{font-size:16px}.time-cell-routes{font-size:8px}.notice{font-size:11px}.legend{font-size:10px}footer{font-size:8px}
}
@media(max-width:360px){main{padding:0 16px}.brand{font-size:18px}.direction-button{padding:14px 8px}.direction-path{font-size:20px;gap:5px}.big-time{font-size:55px}.countdown{font-size:32px}.segments button{padding:9px 9px}}
