@media(max-width:420px){
  .routes-table-v8 .route-cell--comfort{min-width:0}
  .routes-table-v8 .comfort-list{max-width:100%;flex-wrap:wrap;justify-content:flex-end;row-gap:4px}
}
@media(max-width:360px){
  .page-hero__grid>*{min-width:0}
  .page-hero h1{overflow-wrap:anywhere}
}
.season-method{margin:16px 0 0;color:#64748b;font-size:13px;line-height:1.55}

/* route-stop-snap-v12-2026-08-30 */
.route-motion-v8 .route-motion__top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.route-motion-v8 .route-motion__hint{color:#647792;font-size:.68rem;font-weight:600;line-height:1.3;text-align:right}
.route-motion-v8 .route-stop:not(.route-stop--terminal) .route-stop__label strong{color:#405775;font-size:.72rem;font-weight:700}
.route-motion-v8 .route-stop:not(.route-stop--terminal) .route-stop__label small{margin-top:3px;color:#7a8da7;font-size:.58rem;font-weight:550}
.route-motion-v8 .route-road .route-bus{animation:route-bus-cycle-v12 48s linear infinite}
.route-motion-v8 .route-road .route-stop:nth-child(2) .route-stop__marker{animation:route-stop-one-v12 48s linear infinite}
.route-motion-v8 .route-road .route-stop:nth-child(3) .route-stop__marker{animation:route-stop-two-v12 48s linear infinite}
.route-motion-v8 .route-road .route-stop:nth-child(4) .route-stop__marker{animation:route-stop-three-v12 48s linear infinite}
@keyframes route-bus-cycle-v12{
  0%,5%{left:0;transform:translate(-50%,-50%) scaleX(1)}
  12%,16%{left:28%;transform:translate(-50%,-50%) scaleX(1)}
  23%,27%{left:56%;transform:translate(-50%,-50%) scaleX(1)}
  34%,38%{left:80%;transform:translate(-50%,-50%) scaleX(1)}
  45%,49.99%{left:100%;transform:translate(-50%,-50%) scaleX(1)}
  50.01%,55%{left:100%;transform:translate(-50%,-50%) scaleX(-1)}
  62%,66%{left:80%;transform:translate(-50%,-50%) scaleX(-1)}
  73%,77%{left:56%;transform:translate(-50%,-50%) scaleX(-1)}
  84%,88%{left:28%;transform:translate(-50%,-50%) scaleX(-1)}
  95%,100%{left:0;transform:translate(-50%,-50%) scaleX(-1)}
}
@keyframes route-stop-one-v12{
  0%,11.99%,16.01%,83.99%,88.01%,100%{background:#fff;box-shadow:0 0 0 3px #1769e055,0 5px 12px #0b1f3a26}
  12%,16%,84%,88%{background:var(--accent);box-shadow:0 0 0 5px #f59e0b2e,0 5px 12px #0b1f3a26}
}
@keyframes route-stop-two-v12{
  0%,22.99%,27.01%,72.99%,77.01%,100%{background:#fff;box-shadow:0 0 0 3px #1769e055,0 5px 12px #0b1f3a26}
  23%,27%,73%,77%{background:var(--accent);box-shadow:0 0 0 5px #f59e0b2e,0 5px 12px #0b1f3a26}
}
@keyframes route-stop-three-v12{
  0%,33.99%,38.01%,61.99%,66.01%,100%{background:#fff;box-shadow:0 0 0 3px #1769e055,0 5px 12px #0b1f3a26}
  34%,38%,62%,66%{background:var(--accent);box-shadow:0 0 0 5px #f59e0b2e,0 5px 12px #0b1f3a26}
}
@media(max-width:920px) and (min-width:761px){
  .route-motion-v8 .route-stop:not(.route-stop--terminal) .route-stop__label small{display:none}
}
@media(prefers-reduced-motion:reduce){
  .route-motion-v8 .route-road .route-bus{animation:none!important;left:56%!important;transform:translate(-50%,-50%)!important}
  .route-motion-v8 .route-road .route-stop__marker{animation:none!important}
}

/* krasnodar-lugansk-demand-history-v1 */
.demand-history-section{border-top:1px solid var(--line);background:linear-gradient(180deg,#f7faff 0,#eef4fb 100%)}
.season-card--demand{overflow:hidden}
.demand-season-chart .season-bar i{min-height:2px}
.demand-season-chart .season-bar:focus-visible{outline:0}
.demand-season-chart .season-bar:focus-visible i{box-shadow:inset 0 1px #ffffff80,0 0 0 3px #ff8a1f66}
.season-card--demand .season-card__meta{justify-content:flex-start}
.season-card--demand .season-card__meta output{font-weight:600}
.season-card--demand .season-method{max-width:1040px}
@media(max-width:760px){.demand-season-chart{grid-template-columns:repeat(12,56px);height:250px}.season-card--demand .season-card__meta{display:grid;gap:10px}.season-card--demand .chart-legend{gap:10px}}

/* Route stops and passenger boarding mirror the source animation cycle. */
.route-motion-v8 .route-road .route-bus{animation:route-bus-cycle-v11 36s linear infinite}
.route-motion-v8 .route-road .route-bus__passengers i:nth-child(1){animation:passenger-exit-berdyansk-v11 36s linear infinite}
.route-motion-v8 .route-road .route-bus__passengers i:nth-child(2){animation:passenger-exit-mariupol-v11 36s linear infinite}
.route-motion-v8 .route-road .route-bus__passengers i:nth-child(3){animation:passenger-exit-taganrog-v11 36s linear infinite}
.route-motion-v8 .route-road .route-bus__passengers i:nth-child(4){animation:passenger-exit-rostov-v11 36s linear infinite}
.route-motion-v8 .route-road .route-stop:nth-child(2) .route-stop__marker{animation:route-stop-berdyansk-v11 36s linear infinite}
.route-motion-v8 .route-road .route-stop:nth-child(3) .route-stop__marker{animation:route-stop-mariupol-v11 36s linear infinite}
.route-motion-v8 .route-road .route-stop:nth-child(4) .route-stop__marker{animation:route-stop-taganrog-v11 36s linear infinite}
.route-motion-v8 .route-stops,.route-motion-v8 .route-stops>li{list-style:none!important}
.route-motion-v8 .route-stops>li::marker{content:""}
.route-kpis dt{font-size:.78rem;font-weight:650}
.route-kpis dd{font-size:clamp(1.25rem,1.8vw,1.62rem);font-weight:700;letter-spacing:-.025em}
.route-kpis small{font-size:.72rem}
.route-filter{position:relative}
.route-filter select{appearance:none}
.route-filter:after{content:"";position:absolute;right:15px;bottom:19px;width:8px;height:8px;border-right:2px solid #0f172a;border-bottom:2px solid #0f172a;transform:rotate(45deg);pointer-events:none}
.route-comfort-picker>summary:after{content:"";display:block;flex:0 0 8px;width:8px;height:8px;margin:0 5px 4px 0;border-right:2px solid #0f172a;border-bottom:2px solid #0f172a;transform:rotate(45deg);transition:transform .2s ease}
.route-comfort-picker[open]>summary:after{transform:rotate(225deg);margin-bottom:0;margin-top:4px}
.routes-table-v8{max-width:100%;overflow-x:auto}
@media(min-width:761px){.routes-table-v8 table{min-width:1080px}.routes-table-v8 th:nth-child(5),.routes-table-v8 td:nth-child(5){min-width:154px}.routes-table-v8 th:nth-child(7),.routes-table-v8 td:nth-child(7){width:110px;max-width:110px}.routes-table-v8 th:nth-child(8),.routes-table-v8 td:nth-child(8){width:60px}}
.routes-table-v8 .route-cell--price>strong{white-space:nowrap}
.routes-table-v8 .route-row-cta{width:42px;min-width:42px;height:40px;padding:7px;justify-content:center}
.routes-table-v8 .route-cell--action{padding-inline:8px}
.route-cell--arrival>strong:has(.arrival-next-day){white-space:nowrap}
.arrival-next-day{display:inline-block;margin-left:4px;color:#8794a6;font-size:8px;font-weight:400;letter-spacing:0;line-height:1;vertical-align:super;white-space:nowrap}
.content-grid--full{display:block}
.content-grid--full .prose{max-width:none;width:100%}
.content-grid--full .prose>table{width:100%}
.table-wrap{min-width:0}.unified-table{width:100%;border-collapse:collapse;font-family:inherit;font-size:14px;line-height:1.5}.unified-table th,.unified-table td{font-family:inherit;font-size:14px;line-height:1.5;padding:14px 12px;border-bottom:1px solid #dce3eb;vertical-align:top}.unified-table thead th{background:#edf2f7;color:#364152}.unified-table button{font-family:inherit;font-size:inherit;line-height:inherit}.prose .unified-table{font-size:14px}.prose{overflow-wrap:anywhere}.comfort-icons{display:flex;gap:4px;flex-wrap:wrap}.route-cell--comfort .table-icon-chip{font-size:18px}.content-grid>*{min-width:0}
@media(max-width:767px){.table-wrap{overflow:visible}.unified-table:not(.routes-table-v8 table),.prose .unified-table{display:block;width:100%}.unified-table thead{display:none}.unified-table tbody{display:block}.unified-table tr{display:grid;grid-template-columns:1fr;gap:0;margin-bottom:14px;border:1px solid #dce3eb;border-radius:12px;background:white}.unified-table td,.unified-table tbody th{display:block;width:auto;min-width:0;white-space:normal;overflow-wrap:anywhere}.unified-table td:before,.unified-table tbody th:before{content:attr(data-label);display:block;font-size:12px;color:#64748b;margin-bottom:4px}.routes-table-v8 td:before{display:none}.routes-table-v8 .unified-table tr{display:grid}.route-cell--action{grid-column:auto}.route-motion__map{min-width:0}}
@media(max-width:767px){.transport-table table.unified-table,.prose table.unified-table{min-width:0!important;width:100%!important}.transport-table table.unified-table td,.transport-table table.unified-table th{min-width:0!important;width:auto!important}.transport-table table.unified-table tr{display:block}.transport-table table.unified-table tbody td,.transport-table table.unified-table tbody th{display:block}}
@media(max-width:760px){.routes-table-v8 .unified-table tr[data-route-row]{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:none!important}.routes-table-v8 .unified-table .route-cell{grid-area:auto!important;min-width:0!important;width:auto!important;max-width:none!important;overflow-wrap:normal!important}.routes-table-v8 .unified-table .route-cell--departure{grid-column:1!important;grid-row:1!important}.routes-table-v8 .unified-table .route-cell--arrival{grid-column:2!important;grid-row:1!important}.routes-table-v8 .unified-table .route-cell--duration{grid-column:1/-1!important;grid-row:2!important;display:flex!important;align-items:baseline;justify-content:space-between;gap:12px}.routes-table-v8 .unified-table .route-cell--schedule{grid-column:1!important;grid-row:3!important}.routes-table-v8 .unified-table .route-cell--price{grid-column:2!important;grid-row:3!important}.routes-table-v8 .unified-table .route-cell--ticket{grid-column:1!important;grid-row:4!important;justify-content:flex-start!important;gap:12px!important}.routes-table-v8 .unified-table .route-cell--comfort{grid-column:2!important;grid-row:4!important;flex-wrap:wrap!important;gap:8px!important}.routes-table-v8 .unified-table .route-cell--action{grid-column:1/-1!important;grid-row:5!important}.routes-table-v8 .route-cell__label{min-width:0!important;max-width:none!important;width:auto!important;flex:none!important;white-space:nowrap!important}.routes-table-v8 .route-cell--duration strong{width:auto!important;max-width:none!important;white-space:nowrap!important}}
@media(max-width:760px){.routes-table-v8 .unified-table{min-width:0!important;width:100%!important}}
@media(max-width:760px){.routes-table-v8 .route-cell--action{justify-content:flex-end!important}}
@media(max-width:760px){#season-chart,.main-nav a[href="/#season-chart"]{display:none!important}}
@media(prefers-reduced-motion:reduce){.route-motion-v8 .route-bus{animation:none!important}}
