.official-routes-page { padding-bottom: 80px; }
.official-routes-page .official-active { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.official-routes-page .official-grid, .official-map-layout { margin-top:24px; }
.official-map-frame { height:720px; min-width:0; overflow:hidden; border-radius:var(--r-lg); background:var(--bg-soft); }
.official-route-map, .official-route-map canvas { width:100%; height:100%; }
.official-route-marker { width:18px; height:18px; border-radius:50%; background:#f97316; border:3px solid #fff; box-shadow:0 10px 24px rgba(15,23,42,.28); }
.official-routes-page .seg a { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 16px; border-radius:999px; color:var(--ink-2); }
.official-routes-page .seg a[aria-current="page"] { background:var(--surface); color:var(--ink); box-shadow:var(--shadow); }
.official-pager { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:48px; }
.official-pager > * { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 16px; border:1px solid var(--line-2); border-radius:999px; background:var(--surface); color:var(--ink-2); font-weight:var(--fw-button); }
.official-pager > [aria-disabled="true"] { opacity:.45; }
.official-pager .official-pager__now { background:var(--ink); color:var(--bg); border-color:var(--ink); }
.official-empty { margin-top:24px; }
.official-filter-overlay { position:fixed; inset:0; z-index:500; background:var(--scrim-58); transition:opacity .2s; }
.official-filter-overlay.hidden { display:none; }
.official-filter-overlay.opacity-0 { opacity:0; }
.official-filter-panel { margin-left:auto; height:100%; width:min(100%,440px); background:var(--surface); color:var(--ink); transition:transform .3s; }
.official-filter-panel.translate-x-full { transform:translateX(100%); }
.official-filter-head { display:flex; align-items:center; justify-content:space-between; padding:24px; border-bottom:1px solid var(--line); }
.official-filter-head h2 { font-size:var(--fs-h3); }
.official-filter-content { display:grid; gap:16px; padding:24px; }
.official-filter-content .official-active { display:flex; flex-wrap:wrap; gap:8px; }
@media (max-width:1023px) { .official-map-frame { height:420px; order:-1; } }
@media (max-width:767px) { .official-map-frame { height:360px; } .official-routes-page .of-bar input, .official-routes-page .of-bar select { font-size:16px; } }

.official-map-layout .of-mlist .route { padding:8px; border:1px solid var(--line); border-radius:var(--r); background:var(--surface); }
.official-map-layout .of-mlist .route__link { grid-template-columns:96px minmax(0,1fr); column-gap:12px; row-gap:4px; align-content:center; }
.official-map-layout .of-mlist .route__media { grid-row:1 / span 4; width:96px; height:72px; }
.official-map-layout .of-mlist .route__link > :not(.route__media) { grid-column:2; }
.official-map-layout .of-mlist .route__title { font:var(--fw-title) var(--fs-small)/var(--lh-small) var(--font-text); padding-right:30px; }
.official-map-layout .of-mlist .route__fav { top:8px; right:8px; width:30px; height:30px; }
