/* Reference: existing navy garden journey, user-supplied film, restrained completion. */
body[data-chapter=success]{background:#071730}
body[data-chapter=success] .walk-stage,body[data-chapter=success] .walk-controls,body[data-chapter=success] .panel-meta{display:none}
body[data-chapter=success] #experience{justify-content:center;padding:116px 24px 40px;min-height:calc(100svh - 56px)}
body[data-chapter=success] .question-panel{max-width:960px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
#success .thanks-intro{text-align:center;margin:0 auto 28px}
#success .thanks-status{display:flex;justify-content:center;align-items:center;gap:10px;font-size:11px;letter-spacing:.13em;color:#d5e4ed;margin:0 0 15px}
#success h2{max-width:none;text-align:center;font-size:clamp(29px,3.4vw,44px);letter-spacing:-.035em;line-height:1.15;margin:0 0 12px}
#success .thanks-intro>p:last-child{font-size:16px;line-height:1.5;margin:0;color:#c9d5e2}
#success .thanks-film{margin:0;border:1px solid #ffffff26;border-radius:12px;overflow:hidden;background:#0d213a}
#thanks-video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#020a16}
#success figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;color:#c9d5e2;font-size:12px;line-height:1.5;min-height:68px}
#thanks-play{font:inherit;font-weight:600;flex-shrink:0;border:1px solid #8c9fb5;border-radius:6px;background:transparent;color:white;padding:10px 16px;min-height:44px;cursor:pointer}
#thanks-play:hover{background:#203955;border-color:#d5e4ed}
#thanks-play[hidden]{display:none}
#success .thanks-next{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:26px 0;border-bottom:1px solid #ffffff26}
#success .thanks-next>div{display:flex;gap:14px;align-items:flex-start}
#success .thanks-number{font-size:12px;line-height:24px;color:#aebed1;font-variant-numeric:tabular-nums}
#success h3{font-size:17px;line-height:1.4;letter-spacing:-.01em;font-weight:600;color:white;margin:0 0 5px}
#success .thanks-next p{font-size:13px;line-height:1.6;color:#bfcddd;margin:0;max-width:38ch}
#success .thanks-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:18px}
#success .thanks-footer p{font-size:12px;line-height:1.6;margin:0;color:#bfcddd}
#success .thanks-footer a{color:#fff;text-decoration:underline;text-underline-offset:4px}
#success .thanks-home{display:inline-flex;align-items:center;min-height:44px;font-size:13px;white-space:nowrap}
#thanks-media-error{padding:12px 16px;background:#132b44;border:1px solid #8297b0;border-radius:8px;font-size:14px;line-height:1.6}
#success :is(a,button):focus-visible{outline:2px solid white;outline-offset:4px}
@media(max-width:600px){
 body[data-chapter=success] #experience{padding:100px 16px 26px;justify-content:flex-start;min-height:calc(100svh - 84px)}
 #success .thanks-intro{margin-bottom:22px}
 #success .thanks-intro>p:last-child{font-size:14px;max-width:28ch;margin:auto}
 #success .thanks-status{font-size:10px;gap:8px}
 #success .thanks-film{border-radius:9px}
 #success figcaption{flex-wrap:wrap;gap:10px;padding:12px 14px}
 #success .thanks-duration{white-space:nowrap}
 #thanks-play{width:100%;font-size:13px}
 #success .thanks-next{grid-template-columns:1fr;gap:20px;padding:22px 0}
 #success .thanks-footer{align-items:flex-start;flex-direction:column;gap:8px}
}

/* Water is only a sending state. Successful receipt uses a clean confirmation. */
.request-loading .thanks-water{width:min(480px,100%);aspect-ratio:16/7;margin:0 auto 28px;pointer-events:none;mask-image:radial-gradient(ellipse 48% 48% at 50% 50%,#000 30%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 48% 48% at 50% 50%,#000 30%,transparent 100%)}
#thanks-water-video{border:0;box-shadow:none;background:transparent;display:block;width:100%;height:100%;object-fit:cover;object-position:center 60%}
#success .thanks-status{color:#b6dcc9;letter-spacing:.12em}
#success .thanks-status::before{content:"";width:5px;height:5px;border-radius:50%;background:#8fcdab;flex-shrink:0}
body[data-chapter=success] .thanks-film{animation:thanks-reveal 180ms ease-out both}
@keyframes thanks-reveal{from{opacity:0}to{opacity:1}}
#thanks-play:active{transform:scale(.98)}
@media(max-width:600px){.request-loading .thanks-water{width:min(380px,100%)}}
@media(prefers-reduced-motion:reduce){body[data-chapter=success] .thanks-film{animation:none}#thanks-play:active{transform:none}}

.request-loading{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#071730;padding:24px;text-align:center}
.request-loading[hidden]{display:none}
.request-loading .loading-inner{width:min(480px,100%)}
.request-loading .thanks-water{filter:brightness(.72)}
.request-loading p{color:#c5d5e3;font-size:14px;line-height:1.6;letter-spacing:.02em;margin:0}

/* A calm receipt window separates the completed drop from the personal message. */
.request-loading[data-phase=thanks] .thanks-water{display:none}
.request-loading #receipt-message[hidden],.request-loading #receipt-skip[hidden],.request-loading #sending-label[hidden]{display:none}
#receipt-message h2{margin:18px 0 12px;color:#fff;font-size:clamp(32px,5vw,48px);font-weight:500;letter-spacing:-.035em;line-height:1.2}
#receipt-message .receipt-check{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid #8fcdab70;border-radius:50%;font-size:21px;color:#a4d8b9}
#receipt-message>p{font-size:17px;color:#e2eaf4}
#receipt-message .receipt-note{margin:14px auto 0;max-width:32ch;font-size:13px;color:#b7c8da}
#receipt-skip{margin-top:28px;min-height:44px;padding:10px 16px;border:1px solid #879bb155;border-radius:6px;font:inherit;font-size:12px;color:#d6e3ed;background:transparent;cursor:pointer}
#receipt-skip:hover{border-color:#c6d4e4;background:#ffffff0c}
#receipt-skip:focus-visible{outline:2px solid #fff;outline-offset:4px}
.request-loading:focus,#receipt-message h2:focus{outline:none}
.request-loading[data-phase=thanks] #receipt-message{animation:thanks-reveal 200ms ease-out both}
@media(prefers-reduced-motion:reduce){.request-loading[data-phase=thanks] #receipt-message{animation:none}}
