/* Homepage-only grouped station navigation. */
.home-station-nav{box-sizing:border-box;margin:0;padding:10px 12px 7px;border:1px solid #dfcbb0;border-bottom:0;background:linear-gradient(105deg,#fffaf0,#fffdf9 50%,#fcf4e6);color:#8b4b27}
.home-station-nav .home-station-groups{display:flex;flex-wrap:wrap;gap:10px 0;align-items:stretch}
.home-station-nav .home-station-group{box-sizing:border-box;flex:var(--station-weight,1) 1 0;min-width:220px;padding:0 15px}
.home-station-nav .home-station-group:first-child{padding-left:0}
.home-station-nav .home-station-group:last-child{padding-right:0}
.home-station-nav .home-station-group+.home-station-group{border-left:1px solid #c79064}
.home-station-nav h2{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 8px;padding:0;color:#963519;font-size:16px;line-height:20px;font-weight:700;letter-spacing:1px}
.home-station-nav h2:before,.home-station-nav h2:after{content:"";width:21px;height:1px;background:#b67249}
.home-station-nav .home-station-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px}
.home-station-nav .home-station-item{box-sizing:border-box;position:relative;min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px 3px;border:1px solid #ecd3b1;border-radius:3px;background:linear-gradient(#fffaf2,#faefdf);text-align:center;text-decoration:none}
.home-station-nav .home-station-item strong{display:block;color:#a33210;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:17px;line-height:20px;font-weight:700;overflow-wrap:anywhere}
.home-station-nav .home-station-item small{display:block;margin-top:1px;color:#a85d34;font-size:12px;line-height:17px;white-space:normal;overflow-wrap:anywhere}
.home-station-nav a.home-station-item:hover{border-color:#c58e4f;background:#fff0d7}
.home-station-nav a.home-station-item:focus-visible{outline:2px solid #a34217;outline-offset:2px}
.home-station-nav a.home-station-item.is-current{border-color:#d49b27;background:linear-gradient(#b51c10,#97120a);box-shadow:0 0 0 1px #e6b453 inset}
.home-station-nav .is-current strong{color:#ffe349}
.home-station-nav .is-current small{color:#fff5e0}
.home-station-nav .is-unavailable{cursor:default}
.home-station-nav .home-station-status-badge{position:absolute;top:-7px;right:3px;border:1px solid #ead6bc;border-radius:2px;padding:0 3px;background:#fffaf2;color:#aa8766;font-size:10px;line-height:14px;font-style:normal;font-weight:normal}
.home-station-nav .home-station-current{display:flex;align-items:center;justify-content:space-between;padding-top:7px;font-size:12px;line-height:18px;color:#987656}
.home-station-nav .home-station-current strong{margin-left:4px;color:#c32e17;font-size:13px;font-weight:bold}
.home-station-nav .home-station-source-note{font-size:12px;color:#a2866a}
/* Only this new homepage block uses the approved compact search spacing. */
.filterBox.home-filter.has-station-nav{padding:8px}
.home-filter.has-station-nav .home-search-toolbar{grid-template-columns:minmax(220px,1fr) 100px 92px 68px 68px 88px 112px 126px;gap:7px}
.home-filter.has-station-nav .home-search-toolbar input,.home-filter.has-station-nav .home-search-toolbar select,.home-filter.has-station-nav .home-search-toolbar button,.home-filter.has-station-nav .home-search-toolbar .btn-rank{height:38px}
.home-filter.has-station-nav .home-search-toolbar input{padding:0 10px;font-size:14px}
.home-filter.has-station-nav .home-hotsearch{grid-template-columns:112px minmax(0,1fr);gap:9px;margin-top:7px;padding-top:7px}
.home-filter.has-station-nav .home-hotsearch>div{gap:5px 8px}
.home-filter.has-station-nav .home-hotsearch a{height:30px;font-size:13px}
.home-filter.has-station-nav .home-hotsearch>span small{letter-spacing:1px}

.home-station-nav[hidden]{display:none!important}
.home-station-nav h2 span{overflow-wrap:anywhere;text-align:center}
.home-station-nav .home-station-source-note{margin-left:auto;overflow-wrap:anywhere}
.home-station-nav .home-station-current{gap:8px;flex-wrap:wrap}
