/* A brief brand arrival, never a loading gate. No images requested before activation. */
.road-intro{display:none}
  .road-intro:not([hidden]){display:block;position:fixed;inset:0;z-index:10000;height:100vh;height:100dvh;overflow:hidden;isolation:isolate;background:#172b3d;animation:road-intro-exit 5s ease-in-out both}
  .road-intro-landscape{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.035);animation:road-intro-drive 5s ease-out both}
  .road-intro:not([hidden]) .road-intro-day{background-image:url('assets/poedu-road-village-hero.jpg');filter:saturate(1.25) contrast(1.04);animation:road-intro-drive 5s ease-out both,road-intro-daylight 5s ease-in-out both}
  .road-intro:not([hidden]) .road-intro-night{background-image:url('assets/poedu-road-village-night-v1.jpg');opacity:0;animation:road-intro-drive 5s ease-out both,road-intro-night 5s ease-in-out both}
  .road-intro-dusk{position:absolute;inset:0;background:linear-gradient(180deg,#756596 0%,#e7a783 38%,#a67d74 62%,#344964 100%);mix-blend-mode:soft-light;opacity:0;animation:road-intro-dusk 5s ease-in-out both}
  .road-intro-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0a172929 0%,#0a172900 26%,#0a172947 48%,#0a172900 78%,#08142270 100%)}
  .road-intro-brand{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px 24px 72px;color:#fff8eb;text-align:center;text-shadow:0 2px 16px #071425;animation:road-intro-brand 5s ease both}
  .road-intro-sign{position:relative;width:112px;height:112px;display:grid;place-items:center;margin-bottom:16px;filter:drop-shadow(0 10px 25px #050c1866)}
  .road-intro-sign img{border-radius:21px}
  .road-intro-orbit{position:absolute;inset:0;border:2px solid #fff8eb30;border-top-color:#ffbf32;border-right-color:#f25a3c;border-radius:32px;animation:road-intro-orbit 1.5s 2.8s ease-in-out both}
  .road-intro-brand strong{font-size:42px;letter-spacing:-.055em;line-height:1;font-weight:850}
  .road-intro-brand strong>span{color:#ff947a}
  .road-intro-brand strong>small{font-size:12px;letter-spacing:0;margin-left:4px;color:#fff8ebbd}
  .road-intro-brand p{font-size:13px;font-weight:550;letter-spacing:.015em;margin:13px 0 0}
  .road-intro-skip{position:absolute;right:20px;bottom:calc(22px + env(safe-area-inset-bottom,0px));min-height:44px;padding:10px 15px;border:1px solid #fff8eb70;border-radius:24px;background:#1120398c;color:#fff8eb;font:inherit;font-size:13px;cursor:pointer;backdrop-filter:blur(8px)}
  .road-intro-skip span{margin-left:8px;color:#ffbf32}
  .road-intro-skip:focus-visible{outline:3px solid #ffbf32;outline-offset:3px}

@media(min-width:781px){
  .road-intro-brand strong{font-size:56px}
  .road-intro-brand p{font-size:16px}
  .road-intro-skip{right:32px;bottom:32px;font-size:15px}
}
@media(max-width:780px){
  .road-intro-landscape{background-position:61% center}
  /* Keep the road and houses visible after the introduction, above the form. */
  :root .route-builder,:root[data-theme=dark] .route-builder{padding-top:0;background-size:auto 310px;background-position:61% -90px;background-color:var(--app-bg)}
  :root .route-builder::before{background:linear-gradient(180deg,#10233b18 0,#10233b00 155px,var(--app-bg) 305px)}
  :root[data-theme=dark] .route-builder::before{background:linear-gradient(180deg,#10182418 0,#10182400 155px,#101824 305px)}
  :root .route-builder .route-heading{min-height:154px;display:flex;align-items:flex-end;margin-bottom:14px;padding-top:12px}
  :root .route-builder .route-heading>div,:root[data-theme=dark] .route-builder .route-heading>div{padding:10px 13px;background:#13223aca;color:#fff8eb;border:1px solid #fff8eb33;border-radius:16px;box-shadow:0 5px 20px #10233b26;backdrop-filter:blur(6px)}
  :root .route-builder .route-heading .eyebrow{color:#ffd392}
  :root .route-builder .route-heading h1{color:#fff8eb;font-size:27px}
}
@keyframes road-intro-daylight{0%,14%{filter:saturate(1.25) contrast(1.04) brightness(1) sepia(0)}48%{filter:saturate(.95) contrast(1.04) brightness(.78) sepia(.22)}76%,100%{filter:saturate(.8) contrast(1.04) brightness(.6) sepia(0)}}
@keyframes road-intro-dusk{0%,14%{opacity:0}42%{opacity:.65}60%{opacity:.4}78%,100%{opacity:0}}
@keyframes road-intro-night{0%,14%{opacity:0}40%{opacity:.16}58%{opacity:.5}76%,100%{opacity:1}}
@keyframes road-intro-brand{0%,56%{opacity:0;transform:translateY(12px) scale(.94)}72%,100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes road-intro-drive{from{transform:scale(1.035)}to{transform:scale(1)}}
@keyframes road-intro-orbit{from{transform:rotate(-45deg);opacity:.3}to{transform:rotate(315deg);opacity:1}}
@keyframes road-intro-exit{0%,91%{opacity:1;visibility:visible}99%{opacity:0;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none}}
@media(prefers-reduced-motion:reduce){.road-intro:not([hidden]){display:none;animation:none}.road-intro *{animation:none!important}}
