body {display:block;padding:0;background:#122943}
main {width:100%;max-width:none}
#world,.postcard,.picture {margin:0;padding:0;width:100%;border:0;border-radius:0;box-shadow:none;display:block}
.window {--david-height:clamp(150px,min(31vw,40svh),390px);width:100%;height:100vh;height:100svh;aspect-ratio:auto;border:0;border-radius:0}
.view {background-position:center 65%}
.view::after {content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0c1a3029,transparent 26%,transparent 68%,#101825a8)}
.window .lights {z-index:1;background-image:radial-gradient(2px 2px at 11% 17%,#fffbe1 60%,transparent),radial-gradient(1.5px 1.5px at 66% 8%,#fff 50%,transparent),radial-gradient(2px 2px at 89% 36%,#fff9dbab 60%,transparent);background-size:173px 193px,211px 174px,299px 241px;animation:snowfall 13s linear infinite}
@keyframes snowfall {to{background-position:25px 193px,-12px 174px,15px 241px}}
.window .character {bottom:calc(17% - var(--david-height) * var(--sole-inset,.017))}
.window #guest {bottom:17%;left:54%}
.window.together .character,.window.together::before {left:44%}
.window::before {bottom:16.5%}
.note {position:absolute;z-index:4;inset:auto 12px max(16px,4svh);padding:0;display:grid;justify-items:center;gap:6px;border:0;pointer-events:none}
#actions {justify-content:center;padding:0;gap:10px}
#actions button,.booth-save {pointer-events:auto;border:1px solid #eac7af;border-radius:24px;background:#fff3df;color:#563641;box-shadow:0 3px 0 #784450,0 6px 20px #111c2d59;padding:10px 21px}
#actions button:first-child:not(.minor),.booth-save {background:#923951;border-color:#f5babb;color:#fff5da}
#detail {width:auto;margin:0;color:#fff8eb;text-shadow:0 1px 3px #25182e;text-align:center}
#detail:has(canvas) {position:absolute;bottom:calc(100% + 12px);right:2vw;pointer-events:auto}
#detail canvas {max-height:40svh;width:auto;margin:0 auto 8px;border:3px solid #fff4df}
#line {position:absolute;z-index:3;top:0;left:0;margin:0;min-height:0;width:max-content;max-width:min(276px,74vw);padding:12px 18px;border:1px solid #c7a39a;border-radius:17px 18px 16px 10px;background:#fff8ed;color:#47303a;box-shadow:0 3px 0 #88617470,0 6px 24px #17253d33;font:500 clamp(16px,1.3vw,21px)/1.35 Georgia,serif;pointer-events:none}
#line::after {content:"";position:absolute;left:var(--tail-x);top:calc(100% - 1px);height:var(--tail-h);width:var(--tail-w);background:#fff8ed;clip-path:polygon(0 0,100% 0,var(--tip) 100%)}
.sr-only {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#paper.torn {animation:none;visibility:visible;transition:none;will-change:clip-path}
.gripping-hand {position:fixed;z-index:6;pointer-events:none;object-fit:contain;object-position:center bottom;image-rendering:pixelated;clip-path:ellipse(21% 10% at 23% 36%)}
@media(max-width:620px){
 .window {--david-height:clamp(132px,40vw,240px)}
 .window.together .character,.window.together::before {left:35%}
 .note {bottom:max(18px,3svh)}
 #detail:has(canvas){position:static;order:-1} #detail canvas{max-height:24svh}
 #actions button{padding:8px 14px}
}
#line::after {clip-path:polygon(var(--base) 0,100% 0,var(--tip) 100%)}
.window .character[data-gesture="wave"] {animation:winter-greeting 1.08s ease-in-out both}
@keyframes winter-greeting {0%,100%{rotate:0deg} 24%{rotate:-3deg;translate:0 -1%} 50%{rotate:2deg} 72%{rotate:-1.5deg}}
.window .character[data-gesture="catch"] {animation:winter-catch 2.35s ease-in-out both}
@keyframes winter-catch {0%,100%{translate:0;rotate:0deg} 23%{translate:-6% 0;rotate:-5deg} 40%{translate:16% -7%;rotate:-8deg} 56%{translate:9% 1%;rotate:5deg} 74%{translate:4% -1%;rotate:-2deg}}
@media(prefers-reduced-motion:reduce){.window .character[data-gesture],.window .lights{animation:none}}
.window .character[data-gesture="present"] {animation:offer-roses 1.4s cubic-bezier(.27,.68,.3,1) both}
@keyframes offer-roses {0%{rotate:-3deg} 36%{translate:7% 1%;rotate:7deg;scale:1 .975} 64%{translate:5% 0;rotate:4deg} 100%{translate:0;rotate:0deg;scale:1}}
.window .character[data-gesture="happy"] {animation:turn-and-bounce 1.2s both,david-rest 4.6s 1.2s ease-in-out infinite}
@keyframes turn-and-bounce {0%{rotate:0deg} 14%{translate:2% 1%;rotate:5deg;scale:1.035 .95} 33%{translate:5% -10%;rotate:3deg;scale:.98 1.02} 49%{translate:5% 0;scale:1.04 .95} 68%{translate:3% -1%;rotate:-1deg} 100%{translate:0;rotate:0deg;scale:1}}
@media(prefers-reduced-motion:reduce){.window .character[data-gesture]{animation:none}}
/* New drawings use the original hood and share the same head-to-body proportions. */
.character:has(#pose[src*="david-frames"]) {height:var(--david-height);bottom:17%}
#pose[src*="david-frames"] + .hat {--head-x:50%;--brim-y:8%;--cap-width:50%;--cap-angle:-4deg}
#pose[src$="/catch.png"] + .hat {--head-x:43%;--brim-y:12%}
#pose[src$="/palm.png"] + .hat {--head-x:58%;--brim-y:9%}
.gripping-hand {clip-path:ellipse(14% 8% at 22% 47%)}
.gripping-hand[src$="/drag.png"] {clip-path:ellipse(13% 7% at 34% 65%)}
.character:has(#pose[src$="/catch.png"]) .rose {left:78%;top:47%}
.character:has(#pose[src$="/offer.png"]) .rose {left:43%;top:56%}
.character:has(#pose[src$="/offer.png"]) .rose.second {left:52%}
@keyframes turn-and-bounce {0%,100%{translate:0;rotate:0deg} 28%{translate:1% 1%;rotate:2deg} 43%{translate:4% -11%;rotate:2deg} 58%{translate:5% 0;scale:1.03 .97} 76%{translate:2% 0;scale:1}}
#hand #palm {position:absolute;top:40%;left:48%;width:auto;height:min(190svh,270vw);max-width:none;translate:-26% -40%;transform-origin:26% 40%;animation:reach-lens .64s cubic-bezier(.19,.72,.2,1) both}
#hand #prompt {position:absolute;bottom:max(5svh,22px);left:50%;translate:-50%;width:max-content;max-width:90%}
#hand.pull #palm {animation:release-lens .22s ease-in both}
@keyframes reach-lens {from{transform:translateY(12%) scale(.19);opacity:.65}to{transform:scale(1);opacity:1}}
@keyframes release-lens {to{transform:translateY(9%) scale(.36);opacity:0}}
@media(prefers-reduced-motion:reduce){#hand #palm,#hand.pull #palm{animation:none}}
/* Both stems land in the same cupped hand. The palm stays registered
   through the catch, the quiet pause and the offer. */
.window .character:is([data-gesture="catch"],[data-gesture="present"]) .rose {
  left:86%;top:54%;aspect-ratio:25/38;translate:-38% -83%;
  transform-origin:38% 83%;transition:none;
}
.window .character:is([data-gesture="catch"],[data-gesture="present"]) .rose.second {left:87%;top:54.5%}
.window .character[data-gesture="catch"] {animation:settle-stems 2.6s ease-out both}
@keyframes settle-stems {
  0%,52%,66%,86%,100% {translate:0 0}
  58% {translate:1px 2px}
  92% {translate:-1px 3px}
}
.window .character[data-gesture="catch"] .rose {animation-duration:1.48s}
.window .character[data-gesture="catch"] .rose.second {animation-duration:1.28s;animation-delay:1.08s}
.window .character[data-gesture="present"] .rose {animation:none;transform:rotate(var(--tilt))}
.window .character[data-gesture="present"] {
  z-index:3;translate:calc(var(--david-height)*.065) 0;
  animation:pass-stems .72s ease-in-out both;
}
@keyframes pass-stems {from{translate:0 0}to{translate:calc(var(--david-height)*.065) 0}}
#pose[src*="/partner-"] {
  position:relative;width:auto;height:100%;max-width:none;
  left:calc(50% - var(--david-height)*.319);transform-origin:41.5% bottom;
}
#pose[src*="/partner-"] + .hat {--head-x:47%}
.window .character[data-gesture="excited"] {animation:turn-and-bounce 1.15s both}
.window .character[data-gesture="bashful"],.window .character[data-gesture="reassure"] {animation:winter-nod 1.42s ease-in-out both}
@keyframes winter-nod {0%,100%{translate:0;rotate:0deg}54%{translate:1% 1%;rotate:2deg}}
.window:has(.character:is([data-gesture="portrait"],[data-gesture="playful"]))::after {animation:three-exposures 1.9s linear both}
@keyframes three-exposures {0%,30%,37%,58%,65%,86%,94%,100%{background:transparent}32%,60%,88%{background:#fff2de5c}}
#pose[src$="/catch-high.png"] + .hat {--head-x:44%;--brim-y:9%}
#pose[src$="/catch-low.png"] + .hat {--head-x:44%;--brim-y:10%;--cap-angle:5deg}
@media(prefers-reduced-motion:reduce){
 .window .character[data-gesture],.window:has(.character:is([data-gesture="portrait"],[data-gesture="playful"]))::after{animation:none}
}
.guest-answer {background:#fff2e2;color:#69394b;border-radius:20px;padding:9px 20px;font:italic 18px Georgia,serif}
.window #guest {transform-origin:left 58%;animation:guest-breath 4.4s ease-in-out infinite}
.window.drawing-in #guest {z-index:3;animation:none;transform-origin:0 0}
.window.drawing-in .character {z-index:4;animation:none}
@keyframes guest-breath {0%,100%{scale:1;rotate:0deg}50%{scale:1.003 1.009;rotate:.5deg}}
@media(prefers-reduced-motion:reduce){.window #guest,.window.drawing-in #guest,.window.drawing-in .character{animation:none}}
#pose {scale:.95 1}
/* Each drawing shares a boot anchor. Offset its transparent left-hand reach
   so the feet line up with the original arrival pose. */
.window #guest[src*="/aruzhan-frames/"] {
  margin-left:calc(var(--david-height) * -.106);
  transform-origin:50% 99%;
}
.window #guest[data-gesture="greet"] {
  --reach-x:calc(-10vw + var(--david-height) * .15);
  animation:step-toward-david 1.65s ease-in-out both;
  z-index:3;
}
@keyframes step-toward-david {
  0%,100% {translate:0 0}
  30%,60% {translate:var(--reach-x) 0}
}
@media(max-width:620px){
  .window #guest[data-gesture="greet"] {
    --reach-x:calc(-19vw + var(--david-height) * .15);
  }
}
@media(prefers-reduced-motion:reduce){
  .window #guest[data-gesture="greet"] {
    animation:none;translate:var(--reach-x) 0;
  }
}
.window .character .rose {width:clamp(23px,19%,42px);filter:drop-shadow(1px 1px 1px #653a5580)}
.window.conversation:has(.rose) #guest {
  left:calc(var(--partner-position,44%) + var(--david-height)*.245);
  margin-left:0;transition:left .65s ease,margin-left .65s ease;
  animation:none;
}
@media(max-width:620px){.window {--partner-position:35%}}
@media(prefers-reduced-motion:reduce){.window.conversation:has(.rose) #guest{transition:none}}
#guest-bubble {position:absolute;z-index:5;padding:18px;display:grid;gap:8px;align-content:center;color:#612e45;background:linear-gradient(140deg,#fff3f5,#f6ccda);border:2px solid #ce90a4;box-shadow:0 5px 0 #9757685e,0 8px 24px #28203445}
#guest-bubble::after {content:'';position:absolute;bottom:-9px;left:30%;width:13px;height:13px;background:#f7d4df;border-right:2px solid #ce90a4;border-bottom:2px solid #ce90a4;rotate:45deg}
#guest-bubble.thought {
  --cloud-width:clamp(172px,47vw,236px);
  left:clamp(8px,58%,calc(100% - var(--cloud-width) - 8px));
  bottom:calc(17% + var(--david-height) * .94 + 6px);
  width:var(--cloud-width);border-radius:49% 51% 46% 54% / 47% 50% 50% 53%;
  padding:30px 19px 34px;gap:6px;transform-origin:45% 94%;
  background:radial-gradient(ellipse at 36% 25%,#fff8ef 0%,#ffe8ee 45%,#f4c5d7 83%,#e9adc9);
  border:1px solid #d796b2;box-shadow:inset 3px 4px 8px #fff8, inset -3px -4px 9px #c97da133,0 4px 12px #34213a35;
  animation:thought-arrives .48s ease-out both;
}
.thoughts {position:relative;height:clamp(76px,12vh,104px);pointer-events:none}
.thoughts::before {content:"";position:absolute;inset:0;background:radial-gradient(circle at 24% 15%,#e5b572 1px,transparent 2px),radial-gradient(circle at 56% 89%,#b68cb1 1px,transparent 2px),radial-gradient(circle at 83% 29%,#dba6b8 1px,transparent 2px)}
.thoughts img {position:absolute;width:39%;height:59%;object-fit:contain;image-rendering:pixelated;animation:thought-float 5.6s ease-in-out infinite alternate}
.thoughts img:first-child {left:0;bottom:6%}
.thoughts img:nth-child(2) {left:33%;top:-3%;width:35%;animation-delay:-2.4s}
.thoughts img:last-child {right:0;bottom:0;width:34%;animation-delay:-4s}
.little-thought {position:absolute;width:18px;height:auto;z-index:1;pointer-events:none;image-rendering:pixelated;animation:thought-detour 7.4s ease-in-out infinite}
.little-thought.clock {left:7%;top:46%;--hop:8px}
.little-thought.message {right:7%;top:57%;--hop:-6px;animation-duration:9.1s}
.little-thought.list {left:24%;top:12%;--hop:13px;width:15px;animation-duration:6.5s}
@keyframes thought-detour {
  0%,100% {transform:translate(0,-8px) rotate(-9deg)}
  38% {transform:translate(var(--hop),5px) rotate(6deg)}
  64% {transform:translate(0,18px) rotate(-3deg)}
  82% {transform:translate(2px,4px) rotate(8deg)}
}
@media(prefers-reduced-motion:reduce){.little-thought{animation:none}}
@keyframes thought-float {from{transform:translate(-2px,2px) rotate(-5deg)}to{transform:translate(2px,-3px) rotate(5deg)}}
@keyframes thought-arrives {0%{opacity:0;transform:translateY(6px) scale(.90)}72%{opacity:1;transform:scale(1.015)}100%{transform:none}}
#guest-bubble.thought button {background:#fff8f2dd;border-color:#dbadc1;font-size:clamp(12px,2.8vw,14px);padding:7px 6px}
@media(prefers-reduced-motion:reduce){#guest-bubble.thought,.thoughts img{animation:none}}
#guest-bubble button {border:1px solid #c590a2;border-radius:20px;padding:7px 10px;background:#fff8ef;color:#633247;font-weight:600;cursor:pointer}
#guest-bubble.letter {left:50%;bottom:calc(18% + var(--david-height)*.83);translate:-50%;width:min(420px,92%);border-radius:26px}
.letter textarea{resize:vertical;min-height:52px;max-height:15vh;background:#fffbf5;border:1px solid #c89aaa;border-radius:9px;padding:8px;font:inherit}
.letter small,.letter output{font-size:12px}.letter output:empty{display:none}
@media(max-width:650px){.window.conversation #line{max-width:44%;font-size:15px;left:-14%}.window:has(.letter:not([hidden])) #line{visibility:hidden}}
@media(max-width:650px){.window.conversation:has(#pose[src*="/partner-"]) #line{left:0}}
@media(max-height:600px){#guest-bubble.thought,#guest-bubble.letter{bottom:auto;top:8px}}


/* Optional replies live beside the choices and expand only on request. */
.own-answer {pointer-events:auto;max-width:min(280px,90vw);color:#fff4e5;margin:auto;text-align:center}
.own-answer summary {cursor:pointer;padding:5px;background:#392841d9;border-radius:12px}
.own-answer textarea {display:block;width:100%;min-height:52px;max-height:17svh;margin:5px 0;padding:6px 9px;background:#fff8ef;color:#47303a;border:1px solid #c590a2;border-radius:9px;font:16px system-ui;resize:vertical}
.note {bottom:calc(max(16px, 3svh) + var(--keyboard, 0px))}
#guest-bubble.letter {z-index:5;bottom:max(calc(18% + var(--david-height)*.83),calc(var(--keyboard, 0px) + 12px));top:auto}
.window #line {left:0}
.window:has(.thought:not([hidden])) #line {max-width:min(276px,44vw)}
.window:has(.letter:not([hidden])) #line {visibility:hidden}
#guest-bubble::after {left:var(--guest-tail-x,30%);width:var(--guest-tail-width,0px);height:var(--guest-tail-height,0px);bottom:auto;top:calc(100% - 2px);rotate:none;border:0;clip-path:polygon(var(--guest-tail-base) 0,calc(var(--guest-tail-base) + 10px) 0,var(--guest-tail-tip) 100%)}
.letter textarea {font-size:16px}
@media(max-height:500px){#guest-bubble.letter {bottom:calc(12px + var(--keyboard, 0px));max-height:calc(100svh - 25px);overflow:auto}}
.window:has(.spoken-reply:not([hidden])) #line {max-width:min(276px,42vw)}
#guest-bubble.spoken-reply {
  --reply-width:min(46%,250px);
  width:var(--reply-width); box-sizing:border-box;
  left:clamp(8px,58%,calc(100% - var(--reply-width) - 8px));
  bottom:max(calc(17% + var(--david-height)*.95 + 6px),calc(var(--keyboard,0px) + 10px));
  padding:14px 16px 12px; gap:4px;
  border-radius:38% 32% 34% 28% / 32% 42% 34% 40%;
  background:radial-gradient(ellipse at 36% 22%,#fff8f4,#ffe4ed 60%,#f4cada);
  transform-origin:46% 100%;animation:thought-arrives .4s ease-out both;
}
.spoken-reply textarea {
  box-sizing:border-box;width:100%;min-width:0;resize:none;font:inherit;font-size:16px;
  padding:5px 7px;background:transparent;color:#612e45;border:0;border-radius:12px;
}
.spoken-reply textarea::placeholder {color:#89546b}
#guest-bubble.spoken-reply button {justify-self:end;padding:5px 12px;min-height:34px}
.spoken-reply p {margin:4px;max-height:15svh;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}
#guest-bubble.spoken-reply.leaving {animation:reply-leaves .22s ease-in both}
@keyframes reply-leaves {to {opacity:0;transform:translateY(4px) scale(.94)}}
@media(prefers-reduced-motion:reduce){#guest-bubble.spoken-reply,#guest-bubble.spoken-reply.leaving{animation:none}}
.photo-studio {
  position:fixed;inset:0;margin:auto;width:min(820px,95vw);max-height:92dvh;overflow:auto;
  padding:clamp(14px,3vw,32px);border:1px solid #d2a0a1;border-radius:22px;
  background:linear-gradient(140deg,#fff5e4,#fae5e3);color:#543746;text-align:left;
  box-shadow:0 14px 80px #25162570;pointer-events:auto;text-shadow:none;box-sizing:border-box
}
.photo-studio::backdrop{background:#201b31b8}
.photo-studio h2{font:italic clamp(24px,4vw,38px) Georgia,serif;margin:0 0 12px;text-align:center}
.photo-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(185px,1fr);align-items:center;gap:20px}
#detail .photo-studio canvas{width:100%;height:auto;max-height:none;margin:0;border:0;rotate:-1deg}
.photo-controls{display:grid;gap:7px}
.photo-controls label{display:grid;gap:3px;font-weight:bold}
.photo-controls select{width:100%;padding:7px;border-radius:8px;color:inherit;border:1px solid #d3aca8;background:#fff9ee}
.photo-controls input{width:100%;accent-color:#93475f}
.photo-studio button,.photo-studio a{font:inherit;color:#63374a;border:1px solid #c697a4;border-radius:16px;padding:7px 12px;background:#fff6e9;text-decoration:none;cursor:pointer}
.photo-controls button{justify-self:start;padding:4px 10px;font-size:12px}
.photo-controls button[aria-pressed=true]{background:#f4cddb}
.photo-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:12px}
.photo-buttons :first-child:not([hidden]),.photo-buttons a{background:#8f4059;color:#fff6ee}
.photo-status:empty{display:none}
.developed .photo-layout{display:block;max-width:500px;margin:auto}
@media(max-width:600px){
 .photo-layout{grid-template-columns:1fr;gap:12px}
 #detail .photo-studio canvas{width:auto;max-width:100%;max-height:34dvh;margin:auto}
 .photo-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end}
 .photo-controls label:nth-last-child(-n+3){grid-column:1/-1}
}
/* The two velvet curtains close on the street and open onto the camera. */
.booth-curtain{position:fixed;inset:0;z-index:99;pointer-events:none;overflow:hidden}
.booth-curtain::before,.booth-curtain::after{content:"";position:absolute;inset:0 49% 0 0;border-right:4px double #efbd84;background:repeating-linear-gradient(92deg,#481e39 0%,#934259 10%,#703047 16%,#481e39 24%);animation:close-wing .85s cubic-bezier(.5,0,.18,1) both}
.booth-curtain::after{inset:0 0 0 49%;border-left:4px double #efbd84;animation-name:close-right}
@keyframes close-wing{from{transform:translateX(-104%)}}
@keyframes close-right{from{transform:translateX(104%)}}
.photo-studio{
  width:min(930px,96vw);padding:20px clamp(14px,2.5vw,32px);border:2px solid #d59e78;border-radius:30px 30px 19px 19px;
  color:#fff2df;background:radial-gradient(ellipse at 50% -8%,#a05e69,transparent 58%),repeating-linear-gradient(94deg,#623047 0%,#54273e 10%,#4b2439 15%,#642f47 23%);
  box-shadow:inset 0 0 0 5px #42293a,inset 0 0 0 6px #bd8f77,0 16px 80px #19101dcc;
}
.photo-studio[open]{animation:studio-open .55s ease-out both}
@keyframes studio-open{from{opacity:.2;transform:translateY(12px) scale(.975)}}
.photo-studio::backdrop{background:#211523d4;backdrop-filter:blur(4px)}
.photo-studio h2{color:#ffedcf;text-shadow:0 2px #583049;letter-spacing:-.04em}
.photo-studio h2::before,.photo-studio h2::after{content:"✦";color:#ffd290;font:16px Georgia;vertical-align:middle;margin:0 14px;text-shadow:0 0 10px #fbbd86}
.photo-finder{min-width:0;position:relative;padding:13px;background:radial-gradient(circle,#ffdda4 2px,#ffc57c70 3px,transparent 5px) 0 0/22px 22px,#4a2e40;border:1px solid #ab756b;border-radius:12px;box-shadow:0 6px 15px #29132588,inset 0 0 10px #170c19}
#detail .photo-finder canvas{display:block;width:100%;height:auto;max-height:none;rotate:0;margin:auto}
.photo-tools{min-width:0}
.photo-tools fieldset{border:none;padding:0;margin:0 0 14px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.photo-tools legend{font:italic 20px Georgia;color:#ffe6c8;margin-bottom:6px}
.photo-studio .photo-tools fieldset button{min-height:38px;padding:5px 7px;border-radius:11px;color:#fae9da;background:#452b3c;border:1px solid #aa7981;font-size:14px;line-height:1.15}
.photo-studio .photo-tools fieldset button[aria-pressed=true]{color:#502c39;background:#ffdfb7;border-color:#ffeccf;box-shadow:0 2px 0 #b78b76}
.photo-tools summary{cursor:pointer;font-size:13px;color:#ffdec5;padding:5px}
.photo-tools details[open] .photo-controls{padding:8px}
.photo-tools .own-answer{color:#fff4e5;margin:0;text-align:left}
.photo-count{position:absolute;inset:20% 0 auto;text-align:center;color:#fff4df;text-shadow:0 2px 8px #3d2548;font:italic bold clamp(50px,11vw,108px) Georgia;pointer-events:none}
.photo-buttons button,.photo-buttons a{min-height:40px}
.photo-studio .photo-buttons button:first-child,.photo-studio .photo-buttons a{color:#46283d;background:linear-gradient(#ffeacb,#efbd96);border:1px solid #fff1d6;font-weight:bold;box-shadow:0 3px 0 #975e65;padding-inline:22px}
.developed .photo-finder{animation:photo-print .56s ease-out both}
@keyframes photo-print{from{opacity:.3;transform:translateY(-10px) rotate(-2deg)}}
@media(max-width:600px){
 .photo-studio{padding:14px;max-height:95dvh}
 .photo-studio h2{margin-bottom:8px}
 .photo-finder{justify-self:center;max-width:min(100%,44dvh);padding:8px}
 .photo-layout{gap:10px}
 .photo-tools fieldset{margin-bottom:7px;gap:4px}
 .photo-tools legend{font-size:17px;margin:0 0 3px}
 .photo-tools fieldset button{min-height:34px}
 .photo-buttons{margin-top:6px}
}
@media(prefers-reduced-motion:reduce){.photo-studio[open],.developed .photo-finder{animation:none}}
.pose-surface{position:relative}
.pose-guides{position:absolute;inset:0;touch-action:none;cursor:grab;user-select:none}
.pose-guides:active{cursor:grabbing}
.pose-dot{position:absolute;transform:translate(-50%,-50%);width:9px;height:9px;background:#fff3d6;border:2px solid #965568;border-radius:50%;box-shadow:0 1px 4px #27182799;pointer-events:none}
.pose-dot.body{background:#efacc3;width:13px;height:13px}
.pose-dot.head{background:#ffdb89}
.pose-dot[class*="elbow"]{background:#abded8}
.photo-controls small{grid-column:1/-1;color:#ffe3d1;line-height:1.4}
.photo-studio:has(.pose-guides:not([hidden])) .pose-surface{cursor:grab}
.photo-studio.developed .photo-status{text-align:center;margin:12px auto 6px;max-width:36ch;color:#ffeddb;font-size:15px}
.photo-studio.developed .photo-buttons{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center}
.photo-studio.developed .photo-buttons .photo-next{grid-column:1/-1;background:#ffddb3;color:#49283c;font-weight:bold;min-height:44px}
.photo-studio.developed .photo-buttons a{background:#452b3c;color:#ffeacb;border-color:#aa7981;font-weight:normal;text-align:center;box-shadow:none}
.letter .send-info{font-size:13px;line-height:1.35}
#guest-bubble.letter button{background:#873e59;color:#fff7eb;min-height:44px}
