.line-card { opacity: .62; }
.line-card.is-used { opacity: 1; border: 2px solid var(--line); box-shadow: 0 9px 20px #2822140d; }
.used-label { margin-left: auto; font: 500 9px 'DM Mono', monospace; color: var(--coral); letter-spacing: .06em; }
.official-line-map { grid-column: 1 / -1; background: #fffdfa; border: 2px solid #003ca6; border-radius: 14px; padding: 22px; margin-top: 10px; }
.official-line-map header { display: flex; align-items: center; gap: 12px; }
.official-line-map .roundel { background: #003ca6; color: white; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 17px; }
.official-line-map .eyebrow { margin: 0 0 4px; }
.official-line-map h3 { margin: 0; font-size: 17px; letter-spacing: -.03em; }
.official-line-map header a { margin-left: auto; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; border-bottom: 1px solid #003ca6; }
.station-diagram { columns: 3; column-gap: 24px; margin-top: 22px; }
.station-stop { break-inside: avoid; position: relative; display: flex; align-items: center; gap: 9px; min-height: 25px; padding-left: 2px; font-size: 12px; }
.station-stop::before { content: ''; position: absolute; left: 7px; top: -9px; bottom: -9px; width: 3px; background: #003ca6; }
.station-stop:first-child::before { top: 50%; }.station-stop:last-child::before { bottom: 50%; }
.station-stop i { z-index: 1; width: 14px; height: 14px; flex: 0 0 auto; border: 3px solid #003ca6; background: white; border-radius: 50%; }
.station-stop b { margin-left: auto; color: #003ca6; font: 500 9px 'DM Mono', monospace; text-transform: uppercase; }
@media (max-width: 690px) { .official-line-map { padding: 17px; } .official-line-map header { align-items: flex-start; } .official-line-map header a { display: none; } .station-diagram { columns: 1; } }
.official-line-map { border-color: var(--route-color, #003ca6); margin-top: 0; }
.official-line-map .station-stop::before { background: var(--route-color, #003ca6); }
.official-line-map .station-stop i { border-color: var(--route-color, #003ca6); }
.official-line-map .station-stop b { color: var(--route-color, #003ca6); }
.direction { margin-left: auto; color: #5f625f; font-size: 11px; text-align: right; max-width: 170px; }
@media (max-width: 690px) { .direction { display: none; } }
.station-diagram { columns: unset; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; gap: 0; margin-top: 26px; overflow-x: auto; padding: 4px 0 12px; }
.station-stop { width: 142px; flex: 0 0 142px; min-height: 78px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; text-align: center; font-size: 11px; }
.station-stop::before { left: 50%; right: -50%; top: 6px; bottom: auto; width: auto; height: 3px; }
.station-stop:last-child::before { display: none; }
.station-stop i { width: 15px; height: 15px; }
.station-stop b { margin: 0; font-size: 8px; }
@media (max-width: 690px) { .station-diagram { gap: 0; } .station-stop { width: 118px; flex-basis: 118px; } }
.station-diagram { display: block; overflow: visible; padding: 4px 0 0; }
.diagram-row { --unit: 142px; position: relative; display: flex; width: calc(var(--stops) * var(--unit)); min-height: 82px; margin: 0 0 18px; }
.diagram-row::before { content: ''; position: absolute; z-index: 0; top: 10px; left: calc(var(--unit) / 2); right: calc(var(--unit) / 2); height: 3px; background: var(--route-color, #003ca6); }
.diagram-row:has(.station-stop:only-child)::before { display: none; }
.station-stop { position: relative; z-index: 1; width: var(--unit); flex: 0 0 var(--unit); }
.station-stop::before { display: none; }
@media (max-width: 690px) { .diagram-row { --unit: 118px; } }
.safety-check { margin-top: 42px; padding: 24px; border: 2px solid #d72e25; background: #fff0ed; border-radius: 14px; }
.safety-head { display: flex; gap: 14px; }.safety-head > span { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: #d72e25; color: white; font-weight: 800; }.safety-head h2 { margin: 0; font-size: 21px; letter-spacing: -.04em; color: #a5211d; }.safety-head p:last-child { max-width: 740px; margin: 9px 0 0; font-size: 13px; line-height: 1.55; }.safety-lines { display: grid; gap: 9px; margin: 19px 0; }.safety-lines article { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fffaf8; padding: 12px; border-radius: 7px; font-size: 12px; }.safety-lines article div { display: flex; gap: 8px; flex-wrap: wrap; }.safety-lines a,.alternative-link { color: #a5211d; font-weight: 800; text-decoration: none; border-bottom: 1px solid #d72e25; }.alternative-link { font-size: 13px; }@media (max-width:690px){.safety-check{padding:18px}.safety-lines article{display:block}.safety-lines article div{margin-top:9px}.safety-head p:last-child{font-size:12px}}
.route-swap { align-self: center; justify-self: center; width: 38px; height: 38px; border: 1px solid #dcd8d0; border-radius: 50%; background: #fffdfa; color: var(--ink); font-size: 25px; line-height: 1; cursor: pointer; }
.route-swap:hover, .route-swap:focus-visible { background: var(--ink); color: #fff; }
