/* Layout for the separate /1day_poster/ journey. */
.poster-journey .hero[hidden],#journey-result[hidden],#journey-time-note[hidden]{display:none!important}
.poster-journey .container{width:calc(100% - 64px);max-width:1200px;margin-inline:auto}
.poster-journey .site-header{height:72px}
.poster-journey .header-inner{width:calc(100% - 64px);max-width:1200px}
.poster-journey .hero{padding:24px 0 32px}
.poster-journey .hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'heading preview' 'actions preview';gap:24px 64px;align-items:center}
.poster-journey .hero-left,.poster-journey .hero-right{display:contents}
.poster-journey .hero-heading{grid-area:heading;align-self:end;margin:0}
.poster-journey .hero h1{font-size:clamp(46px,4.5vw,68px);line-height:1.04;text-wrap:balance}
.poster-journey .hero .lead{font-size:16px;max-width:400px;line-height:1.7}
.poster-journey .hero-preview{grid-area:preview;min-width:0;padding:0;text-align:center}
.poster-journey .hero .poster-stage{--poster-height:min(62svh,520px)}
.poster-journey .preview-topline,.poster-journey .hero-bottom,.poster-journey .hero-style-carousel,.poster-journey .hero-preview>.subtle-link,.poster-journey .hero-actions{display:none}
.journey-start{grid-area:actions;align-self:start;width:100%;max-width:420px;text-align:center}
.journey-start>.button{width:100%;min-height:56px;font-size:15px;padding:14px 20px;justify-content:center;gap:12px}
.journey-start>p{color:#C9D0E4;font-size:14px;line-height:1.5;margin-top:12px}
.poster-journey .preview-status{font-size:14px;line-height:1.5;margin-top:14px;color:#C9D0E4}
.poster-style-dots{display:flex;justify-content:center;gap:0;margin-top:2px;max-width:100%}
.poster-style-dots button{flex:0 1 44px;min-width:0;width:44px;height:44px;padding:0;border:0;background:transparent;position:relative;cursor:pointer}
.poster-style-dots button:before{content:'';position:absolute;width:6px;height:6px;border-radius:50%;left:calc(50% - 3px);top:19px;background:#697185}
.poster-style-dots button[aria-pressed=true]:before{background:var(--gold);box-shadow:0 0 0 3px #d9b66f22}
.poster-style-dots button:focus-visible{outline:1px solid var(--gold);border-radius:50%}
.journey-style-name{font-size:15px;line-height:20px;color:#C9D0E4;margin:0;min-height:20px}
.poster-journey .poster-stage{touch-action:pan-y;min-width:0}
/* Watermark sits inside the sky, without a bar along the bottom. */
.poster-journey .watermark{left:12%;right:12%;top:40%;bottom:auto;padding:0;background:none;color:#8090a3;opacity:.35;font:500 10px/1.3 var(--sans);letter-spacing:1px;text-align:center}
.journey-poster-arrow{display:none}
@media(min-width:768px){
  .poster-journey .journey-poster-arrow{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:0;border:1px solid #d9b66f66;border-radius:50%;background:#121a35;color:var(--gold);font:22px/1 var(--sans);cursor:pointer;z-index:4}
  .poster-journey .journey-poster-prev{left:0}.poster-journey .journey-poster-next{right:0}
  .poster-journey .journey-poster-arrow:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
}
/* Full-screen question, with a live poster on wide screens. */
#journey-dialog{position:fixed;inset:var(--flow-top,0px) 0 auto;width:100%;height:var(--flow-height,100dvh);max-width:none;max-height:none;margin:0;padding:0;border:0;background:#0e162b;color:#f7f1e8;overflow:auto}
#journey-dialog::backdrop{background:#080d1cdd}
.journey-question-open{overflow:hidden}
.journey-shell{width:calc(100% - 40px);max-width:520px;height:100%;margin:auto;padding:16px 0 calc(24px + env(safe-area-inset-bottom))}
.journey-step-column{display:flex;flex-direction:column;width:100%;max-width:520px;height:100%;min-height:0}
.journey-live-poster{display:none}
.journey-wizard-header{display:flex;align-items:center;justify-content:space-between;font-size:14px;line-height:20px;color:#C9D0E4;flex-shrink:0}
.journey-wizard-header button{display:grid;place-items:center;width:44px;height:44px;padding:0;background:none;box-shadow:none;color:var(--gold);border:0;border-radius:50%;outline:0;font-size:25px;cursor:pointer}
.journey-wizard-header button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.journey-progress-bar{height:2px;background:#2B3556;margin:12px 0 28px;flex-shrink:0}
.journey-progress-bar span{display:block;height:100%;background:var(--gold);transition:width .2s}
.journey-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 0 4px}
#journey-dialog .journey-scroll>.eyebrow{display:none}
#journey-question{font:500 28px/1.13 var(--serif);text-wrap:balance;max-width:520px;margin:0}
#journey-question-hint{font-size:14px;line-height:1.6;color:#C9D0E4;margin:16px 0 24px}
#journey-dialog .birth-form{display:block;margin:0;padding:0;max-width:none}
#journey-dialog .form-heading,#journey-dialog .form-footnote,#journey-dialog .field>label,#journey-dialog .field-error,#journey-dialog #name-hint{display:none}
#journey-dialog .field[hidden]{display:none!important}
#journey-dialog .field{display:flex;flex-direction:column;gap:10px;min-width:0;position:relative}
#journey-dialog .field input,#journey-dialog select{height:56px;font-size:18px;line-height:24px;padding:15px 16px;border-radius:14px;background:#141B33;background-image:none;box-shadow:none;border:1px solid #2B3556;color:#f7f1e8;width:100%;min-width:0;font-family:var(--sans);appearance:none;-webkit-appearance:none;outline:0}
#journey-dialog .field input:focus,#journey-dialog select:focus{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}
#journey-dialog .field input:disabled{opacity:.6}
#journey-dialog .field small{display:block;font-size:14px;line-height:1.5;color:#C9D0E4}
#journey-dialog .input-icon{width:100%}
#journey-dialog .input-icon>input{padding-left:42px}
#journey-dialog .input-icon>svg{top:19px;left:15px}
#journey-dialog .city-options{position:static;width:100%;max-height:240px;overflow-y:auto;margin:0;border-radius:14px}
#journey-dialog .city-options [role=option]{font-size:14px;min-height:48px;height:48px;padding:8px 12px;box-sizing:border-box}
#journey-dialog .city-options [role=option]>small{font-size:11px;line-height:1.3}
.journey-time-row{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
#journey-dialog .journey-time-row>input{width:160px;flex:none}
.journey-unknown{width:100%;height:52px;padding:12px 18px;border:1px solid var(--gold);border-radius:14px;background:transparent;box-shadow:none;color:var(--gold);font:500 16px/24px var(--sans);margin:0;cursor:pointer}
.journey-unknown[aria-pressed=true]{background:#d9b66f18}
.journey-unknown:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.journey-unknown-note{font-size:14px;line-height:1.6;color:#C9D0E4;margin:0}
.journey-name-counter{position:absolute;right:16px;top:18px;font-size:14px;line-height:20px;color:#C9D0E4;pointer-events:none}
#journey-dialog #baby-name{padding-right:76px}
#journey-dialog #journey-error{font-size:14px;color:#F2A1A1;line-height:20px;min-height:20px;margin:0}
#journey-dialog #journey-error[hidden]{display:block!important;visibility:hidden}
.journey-next-wrap{flex-shrink:0;padding-top:32px;background:#0e162b}
.journey-next-wrap .button{width:100%;height:56px;min-height:56px;font-size:16px;justify-content:center;gap:12px}
.journey-next-wrap small{display:block;text-align:center;color:#C9D0E4;font-size:14px;line-height:1.5;margin-top:14px}
@media(min-width:1024px){
  .journey-shell{width:calc(100% - 64px);max-width:1200px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;padding:24px 0}
  .journey-step-column{height:auto;max-height:100%;justify-self:center;overflow-y:auto;padding:4px}
  .journey-scroll{flex:0 1 auto;overflow:visible;padding:0}
  #journey-question{font-size:40px}
  .journey-next-wrap{padding-bottom:24px}
  .journey-live-poster{display:block;min-width:0}
  #journey-dialog .hero-preview{padding:0;text-align:center}
  #journey-dialog .poster-stage{--poster-height:max(560px,min(70svh,680px))}
  #journey-dialog .preview-status{display:none}
  .journey-time-row{flex-direction:row;align-items:center}
  .journey-unknown{width:auto;min-width:190px;flex:1}
}
/* Finished poster: actions on the left, artwork on the right. */
#journey-result{padding:24px 0 40px;scroll-margin-top:72px}
.journey-result-inner{display:flex;flex-direction:column;gap:24px;text-align:center}
.journey-result-copy{max-width:520px;width:100%;margin:auto;order:2}
#journey-result-poster{width:100%;min-width:0;order:1}
#journey-result .poster-stage{--poster-height:min(68svh,calc((100vw - 64px)/.625))}
#journey-result .preview-status,#journey-result .journey-style-name{display:none}
#journey-result .journey-result-copy>.eyebrow{line-height:1.6;margin-bottom:22px}
#journey-result .hero-actions{display:grid;width:100%;max-width:none;gap:16px;margin:0}
#journey-result .hero-actions .button{justify-content:center;text-align:center;gap:10px;height:56px;min-height:56px;padding:12px 16px;font-size:15px;white-space:normal}
#journey-result .hero-actions small{font-size:14px;line-height:1.5;margin-top:8px;color:#C9D0E4}
#journey-result #journey-edit{display:inline-block;font-size:14px;line-height:22px;margin-top:24px}
#journey-time-note{font-size:14px;line-height:1.6;color:#C9D0E4;margin:0 auto 22px;max-width:440px}
@media(min-width:1024px){
  .journey-result-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;min-height:calc(100svh - 136px);text-align:left}
  .journey-result-copy{order:0;margin:0;justify-self:start}
  #journey-result-poster{order:0}
  #journey-result .poster-stage{--poster-height:min(74svh,720px)}
  #journey-result .hero-actions small{text-align:center}
}
@media(max-width:767px){
  .poster-journey .container{width:calc(100% - 40px)}
  .poster-journey .site-header{height:54px}
  .poster-journey .header-inner{width:calc(100% - 40px)}
  .poster-journey .site-header nav,.poster-journey .site-header .button,.poster-journey .mobile-sticky{display:none!important}
  .poster-journey .hero{padding:8px 0 calc(24px + env(safe-area-inset-bottom))}
  .poster-journey .hero-grid{grid-template-columns:1fr;grid-template-areas:'heading' 'preview' 'actions';gap:8px}
  .poster-journey .hero-heading{text-align:center}
  .poster-journey .hero h1{font-size:32px;line-height:1.02;max-width:350px;margin:auto}
  .poster-journey .hero h1>br{display:block}
  .poster-journey .hero .eyebrow,.poster-journey .hero .lead{display:none}
  .poster-journey .hero .poster-stage{--poster-height:min(45svh,calc(100svh - 360px - env(safe-area-inset-bottom)))}
  .poster-journey .hero-preview{padding:0}
  .poster-journey .preview-status{font-size:12px;line-height:18px;margin-top:8px}
  .poster-journey .journey-start{width:100%;max-width:420px;margin:auto}
  .journey-start>.button{font-size:14px;min-height:56px;padding-inline:14px}
  .journey-start>p{font-size:14px;margin-top:8px}
  .poster-style-dots{width:100%;max-width:100%;position:relative;display:flex;justify-content:safe center;gap:0;margin-top:0;overflow-x:auto;scrollbar-width:none}
  .poster-style-dots::-webkit-scrollbar{display:none}
  .poster-style-dots button{flex:0 0 44px}
  .poster-journey .hero-preview{overflow:visible}
  #journey-result{scroll-margin-top:54px;padding-top:18px}
}
@media(prefers-reduced-motion:reduce){.journey-progress-bar span{transition:none}}

/* Compact, matching actions for the finished poster. */
#journey-result .hero-actions{width:100%;max-width:320px;gap:18px}
#journey-result .hero-actions .button{display:flex;align-items:center;justify-content:center;width:100%;height:44px;min-height:44px;padding:10px 16px;font-size:14px;line-height:20px;gap:0;border-width:1px;white-space:nowrap}
#journey-result .hero-actions .button>span{margin:0;text-align:center}
#journey-result .hero-actions small{font-size:12px;line-height:1.5;text-align:center;margin-top:8px}
#journey-result #journey-edit{appearance:none;-webkit-appearance:none;display:inline-block;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;color:#C9D0E4;font:400 13px/20px var(--sans);text-decoration:underline;text-decoration-color:#68738b;text-underline-offset:4px;margin-top:22px;cursor:pointer}
#journey-result #journey-edit:hover{color:var(--gold)}
#journey-result #journey-edit:focus-visible{outline:2px solid var(--gold);outline-offset:6px;border-radius:2px}
/* Email form uses the same restrained controls as the result actions. */
.poster-journey #email-dialog{width:min(420px,calc(100% - 32px));border:1px solid #2B3556;border-radius:18px;background:#10182d;box-shadow:0 24px 90px #0006}
.poster-journey #email-dialog .modal-inner{padding:30px 28px}
.poster-journey #email-dialog .eyebrow{font-size:9px;line-height:1.5;letter-spacing:.13em;margin-bottom:14px}
.poster-journey #email-dialog h2{font-size:32px;line-height:1.1;padding-right:16px}
.poster-journey #email-dialog .modal-lead{font-size:13px;line-height:1.65;color:#C9D0E4;margin:15px 0 22px}
.poster-journey #email-form{gap:14px}
.poster-journey #email-form .field{gap:7px}
.poster-journey #email-form .field label{font-size:12px;color:#C9D0E4}
.poster-journey #email-form input{height:44px;font-size:16px;line-height:22px;padding:10px 13px;border:1px solid #2B3556;border-radius:10px;background:#141B33;color:#f7f1e8;box-shadow:none;outline:none}
.poster-journey #email-form input:focus{border-color:var(--gold)}
.poster-journey #email-form>.button{justify-content:center;min-height:44px;height:44px;width:100%;padding:10px 16px;font-size:14px;line-height:20px;gap:8px;border-width:1px}
.poster-journey #email-form>.button [aria-hidden]{display:none}
.poster-journey #email-dialog .email-footnote{font-size:11px;line-height:1.5;color:#99a5bd;text-align:center}
.poster-journey #email-dialog .email-result{font-size:13px;line-height:1.65;color:#C9D0E4}
.poster-journey #email-dialog .modal-close{width:36px;height:36px;right:9px;top:9px;font-size:24px}
@media(max-width:1023px){#journey-result .hero-actions{margin-inline:auto}}

#journey-dialog #city-hint{display:none!important}
/* Root landing: visible paid option on the first screen. */
.journey-paid-link{display:inline-block;margin-top:10px;padding:6px 4px;background:none;border:0;color:#E8D3A0;font:inherit;font-size:14px;line-height:1.4;text-decoration:underline;text-decoration-color:rgba(232,211,160,.45);text-underline-offset:4px;cursor:pointer}
.journey-paid-link b{font-weight:600;white-space:nowrap}
.journey-paid-link:hover,.journey-paid-link:focus-visible{color:#F3E3BC;text-decoration-color:currentColor}
@media (max-width:767px){.journey-paid-link{font-size:13px;margin-top:4px}}
