/* The browser's native dialog keeps the first gesture in the audio button. */
html.journey-entry-open,html.journey-entry-open body{overflow:hidden!important;overscroll-behavior:none}
.journey-v16 .journey-entry{position:fixed;inset:0;margin:auto;width:min(380px,calc(100vw - 36px));max-height:calc(100dvh - 40px);padding:28px;border:1px solid #c4a14d66;border-radius:22px;background:#fffefb;color:#173451;box-shadow:0 18px 65px #102b4533;text-align:center;outline:3px solid #2452ce;outline-offset:6px;overflow:visible;overscroll-behavior:contain}
.journey-entry::backdrop{background:#17345138;backdrop-filter:blur(3px)}
.journey-entry .entry-symbol{display:flex;align-items:center;justify-content:center;width:50px;height:50px;margin:0 auto 14px;background:#2452ce0c;border:1px solid #2452ce1c;border-radius:50%;color:#2452ce}
.journey-entry .entry-eyebrow{margin:0 0 8px;font:600 9px/1.5 var(--sans,Arial,sans-serif);letter-spacing:.12em;text-transform:uppercase;color:#2452ce}
.journey-entry h2{margin:0 0 12px;font-size:29px;line-height:1.15;letter-spacing:-.035em}
.journey-entry #journeyEntryDescription{margin:0 0 21px;font-size:13px;line-height:1.65;color:#526478}
.journey-entry button{width:100%;min-height:46px;font-size:12px;font-weight:600;line-height:1.4}
.journey-entry .entry-primary{display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 16px;border:1px solid #2452ce;border-radius:100px;color:#fff;background:#2452ce}
.journey-entry .entry-primary:hover{background:#193fac}
.journey-entry .entry-primary:disabled{opacity:1;cursor:wait}
.journey-v16 .journey-entry[open]:not(:modal){z-index:500;box-shadow:0 0 0 100vmax #17345138,0 18px 65px #102b4533}
.journey-entry .entry-status:empty{display:block}.journey-entry .entry-status{min-height:1.5em;margin:8px 0 0;font-size:11px;line-height:1.5;color:#526478}
html[data-theme=dark] .journey-entry{background:#142d45;color:#f9f6ec;border-color:#c4a14d80}
html[data-theme=dark] .journey-entry #journeyEntryDescription,html[data-theme=dark] .journey-entry .entry-status{color:#d0d9e3}
html[data-theme=dark] .journey-entry .entry-symbol,html[data-theme=dark] .journey-entry .entry-eyebrow{color:#d8b86a}
@media(max-height:520px){.journey-v16 .journey-entry{padding:18px 24px}.journey-entry .entry-symbol{display:none}.journey-entry #journeyEntryDescription{margin-bottom:12px}}

/* Keep scrolling on a square inner box: rounded overflow masks hid all children on the tested Mac renderer. */
.journey-entry .entry-content{max-height:calc(100dvh - 78px);padding:10px;margin:-10px;overflow:auto;overscroll-behavior:contain;scroll-padding:10px}
@media(max-height:520px){.journey-entry .entry-content{max-height:calc(100dvh - 58px)}}

/* The card keeps its ring from first paint; keyboard navigation still marks the button. */
.journey-v16 .journey-entry .entry-primary:focus-visible{outline:none}
.journey-entry.entry-keyboard .entry-primary:focus-visible{text-decoration:underline;text-underline-offset:4px}
.journey-entry .entry-content:focus-visible{outline:none}
.journey-entry.entry-keyboard .entry-content:focus-visible{box-shadow:inset 0 0 0 1px #2452ce}
