.production-route-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    margin: 0 0 24px;
    padding: 18px 20px;
    color: #713f12;
    border: 1px solid #f3cf75;
    border-radius: 12px;
    background: #fff8df;
    box-shadow: 0 3px 12px rgba(113, 63, 18, 0.08);
}

.production-route-notice__icon {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #a85b08;
}

.production-route-notice__icon svg {
    width: 30px;
    height: 30px;
}

.production-route-notice__copy {
    margin: 0;
    font-size: 15px;
    line-height: 1.62;
}

.production-route-notice__copy strong {
    color: #66360c;
    font-weight: 700;
}

.route-change-map {
    position: relative;
    width: 100%;
    margin: 0 0 28px;
    overflow: hidden;
    border: 1px solid rgba(11, 40, 91, 0.12);
    border-radius: 18px;
    background: #f8f6f0;
    box-shadow: 0 18px 45px rgba(11, 40, 91, 0.13), 0 3px 12px rgba(11, 40, 91, 0.08);
    isolation: isolate;
}

.route-change-map__link,
.route-change-map__stage,
.route-change-map__picture,
.route-change-map__image {
    display: block;
    width: 100%;
}

.route-change-map__link {
    color: inherit;
}

.route-change-map__link:focus-visible {
    outline: 3px solid #c92937;
    outline-offset: -5px;
}

.route-change-map__stage {
    position: relative;
    overflow: hidden;
}

.route-change-map__image {
    height: auto;
}

.route-change-map__animation,
.route-change-map__shine {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.route-change-map__animation {
    z-index: 2;
    overflow: visible;
}

.route-change-map__water-glint {
    fill: none;
    stroke: rgba(255, 255, 255, 0.56);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 34 112;
    opacity: 0;
}

.route-change-map__water-glint--two {
    stroke-width: 3;
    stroke-dasharray: 24 140;
}

.route-change-map__route-shadow,
.route-change-map__route-line,
.route-change-map__route-dashes {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.route-change-map__route-shadow {
    stroke: rgba(7, 27, 52, 0.78);
    stroke-width: 29;
    opacity: 0;
    filter: url(#route-change-map-shadow);
}

.route-change-map__route-line {
    stroke: url(#route-change-map-gradient);
    stroke-width: 15;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
    filter: url(#route-change-map-glow);
}

.route-change-map__route-dashes {
    stroke: rgba(255, 255, 255, 0.94);
    stroke-width: 4;
    stroke-dasharray: 0.018 0.026;
    opacity: 0;
}

.route-change-map__boat {
    opacity: 0;
    filter: url(#route-change-map-shadow);
    offset-path: path("M 795 516 C 824 516 842 510 846 495 C 850 479 835 470 816 471 C 789 472 768 480 744 482 C 697 461 646 451 586 446 C 442 431 270 437 76 438 C 35 438 17 448 17 468 C 17 489 38 500 76 500 L 490 500 C 622 500 716 509 795 516");
    offset-distance: 0%;
    offset-rotate: 0deg;
}

.route-change-map__boat-hull {
    fill: #fff;
    stroke: #c92937;
    stroke-width: 5;
    stroke-linejoin: round;
}

.route-change-map__boat-cabin {
    fill: #fff;
    stroke: #0b285b;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.route-change-map__wake {
    fill: none;
    stroke: rgba(255, 255, 255, 0.94);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 8 8;
}

.route-change-map__departure,
.route-change-map__closure {
    opacity: 0;
}

.route-change-map__departure-pulse,
.route-change-map__closure-pulse {
    transform-box: fill-box;
    transform-origin: center;
}

.route-change-map__departure-pulse {
    fill: rgba(224, 185, 121, 0.2);
    stroke: #f2ca82;
    stroke-width: 5;
}

.route-change-map__departure-core {
    fill: #fff;
    stroke: #d9a85c;
    stroke-width: 7;
}

.route-change-map__closure-pulse {
    fill: rgba(201, 41, 55, 0.18);
    stroke: rgba(201, 41, 55, 0.7);
    stroke-width: 5;
}

.route-change-map__closure-core {
    fill: #c92937;
    stroke: #fff;
    stroke-width: 5;
    filter: url(#route-change-map-shadow);
}

.route-change-map__closure path {
    fill: none;
    stroke: #fff;
    stroke-width: 6;
    stroke-linecap: round;
}

.route-change-map__shine {
    z-index: 3;
    left: -120%;
    width: 46%;
    background: linear-gradient(105deg, transparent 12%, rgba(255, 255, 255, 0.03) 34%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.04) 66%, transparent 88%);
    transform: skewX(-17deg);
}

.route-change-map__temporary-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    color: #173454;
    border-top: 1px solid rgba(11, 40, 91, 0.1);
    background: linear-gradient(118deg, #fffaf0 0%, #f8f3e8 100%);
}

.route-change-map__temporary-note strong,
.route-change-map__temporary-note small {
    display: block;
}

.route-change-map__temporary-note strong {
    margin-bottom: 2px;
    color: #0b285b;
    font-size: 13px;
    line-height: 1.25;
}

.route-change-map__temporary-note small {
    color: #52657a;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.route-change-map__temporary-icon {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #9a5b12;
    border: 1px solid rgba(224, 185, 121, 0.58);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(90, 54, 14, 0.08);
}

.route-change-map__temporary-icon svg {
    width: 20px;
    height: 20px;
}

.route-change-map.is-active .route-change-map__water-glint {
    animation: route-change-water 7s linear 900ms infinite;
}

.route-change-map.is-active .route-change-map__water-glint--two {
    animation-duration: 9s;
    animation-direction: reverse;
}

.route-change-map.is-active .route-change-map__route-shadow {
    animation: route-change-shadow-in 700ms ease-out 500ms forwards;
}

.route-change-map.is-active .route-change-map__route-line {
    animation: route-change-reveal 2.5s cubic-bezier(0.65, 0, 0.35, 1) 580ms forwards;
}

.route-change-map.is-active .route-change-map__route-dashes {
    animation: route-change-dashes-in 450ms ease 2.2s forwards, route-change-dashes 2.8s linear 2.2s infinite;
}

.route-change-map.is-active .route-change-map__boat {
    animation: route-change-boat-in 400ms ease-out 2.3s forwards, route-change-boat-trip 10s linear 2.3s infinite;
}

.route-change-map.is-active .route-change-map__wake {
    animation: route-change-wake 900ms linear 2.3s infinite;
}

.route-change-map.is-active .route-change-map__departure {
    animation: route-change-marker-in 420ms ease-out 1.05s forwards;
}

.route-change-map.is-active .route-change-map__departure-pulse {
    animation: route-change-pulse 2.2s ease-out 1.35s infinite;
}

.route-change-map.is-active .route-change-map__closure {
    animation: route-change-marker-in 480ms ease-out 1.45s forwards;
}

.route-change-map.is-active .route-change-map__closure-pulse {
    animation: route-change-pulse 2.2s ease-out 1.75s infinite;
}

.route-change-map.is-active .route-change-map__shine {
    animation: route-change-shine 1.35s cubic-bezier(0.4, 0, 0.2, 1) 3s both;
}

.route-change-map:hover .route-change-map__route-line {
    filter: url(#route-change-map-glow) brightness(1.08);
}

[data-route-change-map-legacy][hidden] {
    display: none !important;
}

p:has(+ div + .route-change-map),
div:has(+ .route-change-map) {
    display: none !important;
}

@keyframes route-change-water {
    from { opacity: 0.16; stroke-dashoffset: 0; }
    50% { opacity: 0.5; }
    to { opacity: 0.16; stroke-dashoffset: -292; }
}

@keyframes route-change-shadow-in {
    from { opacity: 0; }
    to { opacity: 0.6; }
}

@keyframes route-change-reveal {
    0% { opacity: 0; stroke-dashoffset: 1; }
    14% { opacity: 1; }
    100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes route-change-dashes-in {
    from { opacity: 0; }
    to { opacity: 0.9; }
}

@keyframes route-change-dashes {
    to { stroke-dashoffset: -0.176; }
}

@keyframes route-change-boat-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes route-change-boat-trip {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
}

@keyframes route-change-wake {
    to { stroke-dashoffset: -32; }
}

@keyframes route-change-marker-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes route-change-pulse {
    0% { opacity: 0.9; transform: scale(0.7); }
    78%, 100% { opacity: 0; transform: scale(1.75); }
}

@keyframes route-change-shine {
    from { left: -120%; }
    to { left: 170%; }
}

@media (max-width: 700px) {
    .production-route-notice {
        gap: 10px;
        padding: 15px 14px;
    }

    .production-route-notice__icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .production-route-notice__icon svg {
        width: 25px;
        height: 25px;
    }

    .production-route-notice__copy {
        font-size: 13px;
        line-height: 1.55;
    }

    .route-change-map {
        margin-bottom: 22px;
        border-radius: 12px;
        box-shadow: 0 10px 28px rgba(11, 40, 91, 0.14), 0 2px 8px rgba(11, 40, 91, 0.08);
    }

    .route-change-map__route-shadow {
        stroke-width: 36;
    }

    .route-change-map__route-line {
        stroke-width: 20;
    }

    .route-change-map__route-dashes {
        stroke-width: 6;
    }

    .route-change-map__temporary-note {
        align-items: flex-start;
        gap: 9px;
        padding: 12px;
    }

    .route-change-map__temporary-note strong {
        font-size: 11px;
    }

    .route-change-map__temporary-note small {
        font-size: 9px;
    }

    .route-change-map__temporary-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .route-change-map__temporary-icon svg {
        width: 17px;
        height: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .route-change-map *,
    .route-change-map *::before,
    .route-change-map *::after {
        animation: none !important;
        transition: none !important;
    }

    .route-change-map__water-glint,
    .route-change-map__shine {
        display: none;
    }

    .route-change-map__departure,
    .route-change-map__closure,
    .route-change-map__boat {
        opacity: 1;
    }

    .route-change-map__boat {
        offset-distance: 36%;
    }

    .route-change-map__route-shadow {
        opacity: 0.6;
    }

    .route-change-map__route-line {
        opacity: 1;
        stroke-dashoffset: 0;
    }

    .route-change-map__route-dashes {
        opacity: 0.9;
    }
}
