/* Ambient flow, separate choice confirmation and reversible completion. */
:root{--ink:#252a23;--muted:#353c31}
body{isolation:isolate}.atmosphere{z-index:0;background:#858585;isolation:isolate}.atmosphere-image{inset:-24%;width:148%;height:148%;filter:blur(78px) saturate(1.45) contrast(.85) brightness(1.05);mix-blend-mode:screen;transform:scale(1.3);transition:opacity 300ms ease-out}.atmosphere-veil{background:rgba(246,246,238,.24)}#app{z-index:1}.first-reason,.editorial-note h2,.editorial-copy,.intro-message,.favorite-choice{color:var(--muted)}
.home-link{justify-self:start;min-width:44px;min-height:44px;padding:0;text-align:left;font-size:21px}
.intro{display:grid;place-items:center;max-width:850px;padding:50px 28px;min-height:100svh}.intro-copy{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%}.intro-for{font-size:13px;letter-spacing:1px;margin:0 0 40px;order:initial}.intro h1{font-size:clamp(39px,6.5vw,78px);letter-spacing:-1.5px;line-height:1.15;order:initial}.intro-message{font-size:16px;margin:32px auto 42px;max-width:360px;line-height:1.9;order:initial}.intro .primary{width:auto;min-width:215px;order:initial}
.detail-page .look-header{grid-template-columns:85px minmax(0,1fr) 48px}.detail-header-name{font-size:15px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-like{justify-self:end;background:none!important;min-width:44px;width:44px;padding:10px}.compact-like span{display:none}.detail-dock{background:rgba(233,236,224,.94)}

.choice-page{position:relative;max-width:800px;margin:auto;padding:35px 26px 24px;text-align:center;min-height:100svh}.choice-heading h1{font-size:24px;font-weight:400;margin:12px 0 22px}.choice-photo{height:clamp(240px,calc(100svh - 300px),650px);margin:0 auto;max-width:650px;display:flex;align-items:center;justify-content:center}.choice-photo img{width:100%;height:100%}.choice-copy h2{font-size:23px;font-weight:400;line-height:1.4;margin-top:19px;overflow-wrap:anywhere}.choice-actions{display:flex;flex-direction:column;align-items:center;gap:4px;margin:22px auto 0;max-width:320px}.choice-actions .primary{width:100%}.choice-actions .quiet-button{min-height:44px}
.choice-flight{position:fixed;z-index:50;pointer-events:none;object-fit:contain;max-width:none}.complete-page{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 26px}.complete-page h1{font-family:var(--serif);font-size:44px;margin:28px 0 18px}.complete-actions{display:flex;flex-direction:column;gap:8px;width:min(100%,290px);margin:35px auto 0}.restart-button{font-size:12px;min-height:44px;color:var(--muted);text-decoration:underline;text-underline-offset:4px;margin-top:15px}
@media(max-width:760px){.intro-for{margin-bottom:32px}.intro-message{font-size:15px;margin:28px auto 36px}.intro .primary{width:230px}.detail-header-name{font-size:14px}.choice-page{padding-top:24px}.choice-heading h1{font-size:22px;margin-bottom:18px}.choice-photo{height:clamp(220px,calc(100svh - 295px),650px)}.choice-copy h2{font-size:22px}.complete-page h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){.choice-sparks{display:none}.choice-flight{display:none}.heart-pulse svg{animation:none!important}}
.look-header{width:100%}
.choice-photo{height:clamp(220px,calc(100svh - 340px),650px)}
@media(max-width:760px){.choice-photo{height:clamp(205px,calc(100svh - 335px),650px)}}
.notice{pointer-events:none;top:16px;bottom:auto}
.first-image,.pick-photo,.choice-photo{position:relative}
.image-crossfade{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;view-transition-name:none!important}
.gallery-track.is-moving{scroll-snap-type:none}
.scene-preview-label{position:absolute;left:12px;bottom:12px;z-index:2;background:rgba(248,248,239,.93);color:#293025;padding:6px 10px;font-size:12px;line-height:1.5;pointer-events:none}
::view-transition-group(product-image){animation-duration:300ms}
@media(prefers-contrast:more){.atmosphere-veil{background:rgba(246,246,238,.7)}}
.header-tools{display:flex;justify-self:end;align-items:center;gap:7px}.help-button{font-size:12px;width:30px;min-height:36px;color:var(--muted)}.first-image{touch-action:pan-y;user-select:none;overflow:hidden}.first-image img{-webkit-user-drag:none}.first-controls .quiet-button{opacity:.72}.first-controls .quiet-button:disabled{opacity:.3}
.help-note{width:min(360px,calc(100vw - 40px));border:0;border-radius:18px;background:rgba(255,252,241,.97);color:var(--ink);padding:28px 24px;box-shadow:0 15px 60px #20271d24;transform:rotate(-1deg)}.help-note::backdrop{background:#252a233d;backdrop-filter:blur(3px)}.help-note h2{font-size:21px;line-height:1.6;font-weight:400}.note-lines{margin:22px 0}.note-lines p{font-size:14px;line-height:1.8;margin:13px 0}.note-lines svg{width:35px;height:18px;vertical-align:middle;margin-right:7px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.note-lines .note-last{font-size:12px;color:var(--muted);margin-top:20px}.help-note .primary{width:100%;font-size:14px;min-height:48px}
.product-gallery{position:relative}.gesture-hint{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);white-space:nowrap;font-size:12px;background:#faf8edeb;color:#30372c;padding:7px 12px;border-radius:20px;z-index:3;pointer-events:none;animation:hint-leave 2.2s both}.product-gallery>.gesture-hint{bottom:110px}@keyframes hint-leave{0%,75%{opacity:1}100%{opacity:0}}
/* Motion polish: preserve layout and palette; animate only opacity and transform. */
button{transition:transform 130ms ease-out,opacity 130ms ease-out,background-color 150ms ease-out}
button:active:not(:disabled):not(.first-image):not(.pick-photo){transform:scale(.98)}
@media(hover:hover){button:hover:not(:disabled){opacity:.86}}
.album-crossfade{position:absolute;top:0;left:0;width:100%;height:min(72svh,830px);min-height:320px;pointer-events:none;z-index:2;display:flex;align-items:center;justify-content:center}
.album-crossfade img{width:100%;height:100%;object-fit:contain}
.help-note::backdrop{animation:note-dim 350ms ease-out both}.help-note.is-closing::backdrop{animation:note-undim 220ms ease-out both}
@keyframes note-dim{from{opacity:0}to{opacity:1}}@keyframes note-undim{from{opacity:1}to{opacity:0}}
@media(max-width:760px){.album-crossfade{height:clamp(300px,calc(100svh - 260px),790px);min-height:300px}}
@media(prefers-reduced-motion:reduce){button:active:not(:disabled):not(.first-image):not(.pick-photo){transform:none}.atmosphere-image{transition:opacity 200ms ease-out!important}.help-note::backdrop{animation:note-dim 200ms ease-out both!important}.help-note.is-closing::backdrop{animation:note-undim 200ms ease-out both!important}}
.gallery-slide{transition:opacity 240ms ease-out}.gallery-slide[aria-hidden=true]{opacity:.85}.gallery-slide[aria-hidden=false]{opacity:1}
