.reading-progress {
  height: 4px;
  z-index: 10001;
  pointer-events: none;
  box-shadow: 0 1px 9px #b5448e80;
}
.delivery-map {
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  gap: 22px;
}
.delivery-map details, .delivery-branch {
  position: relative;
  background: #fffdfd;
  border: 1px solid #ddcde8;
  border-radius: 12px;
  padding: 12px 18px;
}
.delivery-map > * + *::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 22px;
  left: 50%;
  top: -23px;
  background: #a87bbd;
}
.delivery-map summary {
  cursor: pointer;
  color: #47285f;
  font-weight: 700;
}
.delivery-map summary:focus-visible {
  outline: 2px solid #754791;
  outline-offset: 4px;
}
.delivery-map p { margin: 9px 0 2px; }
.delivery-branch { background: #ede1f4; }
.delivery-branch h3 { margin: 0 0 12px; font-size: 1.05rem; }
.delivery-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
@media(max-width:600px) { .delivery-paths { grid-template-columns: 1fr; } }
.delivery-map > details, .delivery-branch { box-shadow: 0 5px 18px #54256b12; }
.delivery-map > details { border-left: 4px solid #8653a0; }
.delivery-map > details:last-child { border-left-color: #a5407d; }
.delivery-paths details:first-child { border-top: 3px solid #367a86; }
.delivery-paths details:last-child { border-top: 3px solid #a25690; }
.delivery-map > * + *::before {
  background: linear-gradient(180deg, #9d67ba, #e991c1, #9d67ba);
  background-size: 100% 200%;
}
@media (prefers-reduced-motion: no-preference) {
  .delivery-map.in-view > * + *::before { animation: delivery-flow 1.5s ease-out 2; }
  .delivery-map details { transition: background-color .2s, box-shadow .2s; }
  .delivery-map details:hover { box-shadow: 0 7px 20px #54256b24; }
  .delivery-map details[open] > p { animation: delivery-detail .24s ease-out; }
}
@keyframes delivery-flow { to { background-position: 0 200%; } }
@keyframes delivery-detail { from { opacity: .4; transform: translateY(-5px); } }
