/* The route summary is presentation only; the explicit button owns toggling. */
.ggc-ready-routes__head { pointer-events: none; }
.ggc-ready-routes__head [data-ready-routes-toggle] { pointer-events: auto; }
.ggc-series-single .ggc-ready-route { contain: layout paint style; }
.ggc-series-single .ggc-ready-routes{border-color:#cbd2e3;box-shadow:0 7px 20px rgba(60,70,100,.05)}
@media(max-width:760px){.ggc-series-map__heading nav .ggc-series-control{justify-content:center;text-align:center}}

 .ggc-ready-routes__head{border:0}
 .ggc-ready-routes [data-ready-routes-body]{display:grid;grid-template-columns:minmax(0,1fr)}
 .ggc-ready-routes__head>.ggc-ready-routes__toggle,.ggc-ready-routes [data-ready-routes-body]>.ggc-ready-routes__close{display:flex;min-width:0;min-height:44px;align-items:center;justify-content:center;padding:0 22px;border:0;border-radius:10px;background:#ebe8ff;color:#543ccc;font:inherit;font-size:14px;font-weight:800;line-height:1.2;text-transform:none;white-space:nowrap;cursor:pointer}
 .ggc-ready-routes__head>.ggc-ready-routes__toggle:hover,.ggc-ready-routes__head>.ggc-ready-routes__toggle:focus-visible,.ggc-ready-routes [data-ready-routes-body]>.ggc-ready-routes__close:hover,.ggc-ready-routes [data-ready-routes-body]>.ggc-ready-routes__close:focus-visible{background:#dfd9ff;color:#4931bb}
 .ggc-ready-routes [data-ready-routes-body]>.ggc-ready-routes__close{grid-column:1/-1;justify-self:center;align-self:center;margin:20px auto 22px}

@media (max-width: 760px) {
  .ggc-ready-routes__head { display: block; }
  .ggc-ready-routes__toggle { display: flex; margin: 14px auto 0; }
  .ggc-series-tabs__actions { flex-wrap: nowrap; gap: 6px; }
  .ggc-series-tabs__actions .ggc-series-control { min-width: 0; padding-inline: 11px; }
  .ggc-series-share-suffix { display: none; }
  .ggc-series-tabs__orders {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .ggc-series-tabs__orders > [data-series-order="release"] { grid-column: 1; grid-row: 1; }
  .ggc-series-tabs__orders > [data-series-order="story"] { grid-column: 2; grid-row: 1; }
  .ggc-series-tabs__orders > [data-series-order="recommended"] { grid-column: 1 / -1; grid-row: 2; }

  .ggc-series-tabs__orders > [data-series-order] {
    min-height: 50px;
    font-size: 15px;
  }

  .ggc-series-tabs__filters {
    position: relative;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e3e5ed;
  }

  .ggc-series-tabs__filters .ggc-series-filter-menu {
    position: static;
    min-width: 0;
  }

  .ggc-series-tabs__filters .ggc-series-filter-menu > div {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 50%;
    width: min(330px, calc(100vw - 28px));
    max-height: min(70vh, 560px);
    overflow: auto;
    transform: translateX(-50%);
  }
}

@media (min-width: 761px) {
  .ggc-series-tabs__filters {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}
