.stage,.wishes-vars{--wishes-title:6;--wishes-title-sub:8.5;--wishes-tagline:3.6;--wishes-name:4;--wishes-message:3.2;--wishes-lines:3;--wishes-pin:13%;--wishes-tape:40%}@media (min-width:64rem){.stage,.wishes-vars{--wishes-title:4;--wishes-title-sub:5.6;--wishes-tagline:2.4;--wishes-name:2.9;--wishes-message:2.3}}.wishes-stage{touch-action:pan-y pinch-zoom}.wishes-book{aspect-ratio:1086/760;position:relative}.wishes-book-art{width:100%;max-width:none;display:block}.wishes-rings{top:0;bottom:0;left:calc(var(--rings-left) * 1%);width:calc(var(--rings-width) * 1%);pointer-events:none;position:absolute}.wishes-rings img{width:100%;max-width:none;height:100%;display:block}.wishes-page{position:relative}.wishes-page.is-left{box-shadow:calc(var(--u) * .8) 0 calc(var(--u) * 1.2) calc(var(--u) * -1.2) #3c281e40}.wishes-page.is-right{box-shadow:calc(var(--u) * -.8) 0 calc(var(--u) * 1.2) calc(var(--u) * -1.2) #3c281e40}.wishes-page-art{width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.wishes-page-edge{pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #5c2a1614}.wishes-pink img{opacity:.85}.wishes-heading{position:relative}.wishes-heading-text{flex-direction:column;justify-content:center;padding:8% 12%;display:flex;position:absolute;inset:0}.wishes-title{color:#a11b1b;font-family:Georgia,Times New Roman,serif;font-weight:400;line-height:.95}.wishes-title-main{font-style:italic;font-size:calc(var(--u) * var(--wishes-title));display:block}.wishes-title-sub{white-space:nowrap;font-size:calc(var(--u) * var(--wishes-title-sub));padding-left:8%;display:block}.wishes-tagline{font-size:calc(var(--u) * var(--wishes-tagline));color:#222;white-space:nowrap;margin-top:3%;padding-left:30%;line-height:1.1}.wishes-heading-tape{left:calc(var(--tape-x) * 1%);top:calc(var(--tape-y) * 1%);width:calc(var(--tape-size) * 1%);max-width:none;transform:translate(-50%, -48%) rotate(calc(var(--tape-angle) * 1deg - 35deg));position:absolute}@media (min-width:64rem){.wishes-heading-tape{left:calc(var(--tape-x-lg,var(--tape-x)) * 1%);top:calc(var(--tape-y-lg,var(--tape-y)) * 1%);width:calc(var(--tape-size-lg,var(--tape-size)) * 1%);transform:translate(-50%, -48%) rotate(calc(var(--tape-angle-lg,var(--tape-angle)) * 1deg - 35deg))}}.wishes-note-root{--wishes-text-scale:var(--wishes-text-scale-sm,1)}@media (min-width:64rem){.wishes-note-root{--wishes-text-scale:var(--wishes-text-scale-lg,var(--wishes-text-scale-sm,1))}}.wishes-note-box{width:100%;position:relative}.wishes-note-paper{position:absolute;top:50%;left:0;right:0;translate:0 -50%}[data-show-box] .wishes-note-box{outline-offset:-1px;outline:1px dashed #d946efb3}.wishes-note{cursor:pointer;width:100%;color:inherit;background:0 0;border:0;padding:0;display:block;position:relative}div.wishes-note{cursor:default}.wishes-note-text{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5%;padding:13% 12% 16%;display:flex;position:absolute;inset:0}.wishes-name{font-family:var(--font-script), cursive;color:#1d3a6b;max-width:100%;padding:.15em .6em;font-weight:700;line-height:1.1}.wishes-name-text{white-space:nowrap;padding-inline:.12em}.wishes-ellipse{rotate:-3deg}.wishes-note-name{font-size:calc(var(--u) * var(--wishes-name) * var(--wishes-text-scale,1) * var(--name-fit,1))}.wishes-message{font-family:var(--font-script), cursive;font-size:calc(var(--u) * var(--wishes-message) * var(--wishes-text-scale,1));color:#222;overflow-wrap:anywhere;-webkit-line-clamp:var(--wishes-lines);line-clamp:var(--wishes-lines);-webkit-box-orient:vertical;flex-shrink:0;line-height:1.05;display:-webkit-box;overflow:hidden}.wishes-fastener{pointer-events:none;position:absolute;transform:translate(-50%,-50%)}.wishes-fastener-pin{width:var(--wishes-pin)}.wishes-fastener-tape{width:var(--wishes-tape)}.wishes-fastener img{max-width:none}@keyframes wishes-pop{0%{opacity:0;transform:scale(0)}60%{opacity:1;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}.wishes-pop{opacity:0;display:block}.wishes-pop.is-on{animation:.3s ease-out forwards wishes-pop}.wishes-settled{filter:drop-shadow(0 3px 4px #5c2a1629)}.wishes-pages{perspective:calc(var(--u) * 240)}.wishes-3d{transform-style:preserve-3d}@keyframes wishes-turn{0%{transform:rotateY(var(--turn-from))}to{transform:rotateY(var(--turn-to))}}.wishes-flipper{transform-style:preserve-3d;transform:rotateY(var(--turn-from));animation:wishes-turn var(--flip-ms) cubic-bezier(.4, 0, .2, 1) forwards;position:relative}.wishes-face{backface-visibility:hidden;position:relative}.wishes-face.is-back{transform:translate(-50%, -50%) translateY(var(--back-dy,0)) rotateY(180deg);position:absolute;top:50%;left:50%}@keyframes wishes-shade{0%,to{opacity:0}50%{opacity:1}}.wishes-flip-shade{pointer-events:none;opacity:0;animation:wishes-shade var(--flip-ms) ease-in-out forwards;background:linear-gradient(90deg,#5c2a1638,#5c2a160f 50%,#5c2a1638);position:absolute;inset:0}.wishes-arrow{cursor:pointer;background:0 0;border:0;padding:0}@keyframes wishes-rise{0%{opacity:0;transform:translateY(12%)}to{opacity:1;transform:translateY(0)}}.wishes-rise{opacity:0}.wishes-rise.is-on{animation:.6s cubic-bezier(.22,1,.36,1) forwards wishes-rise}.wishes-dialog{z-index:50;background:#ffece1eb;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:16px;animation:.25s ease-out both cover-fade;display:flex;position:fixed;inset:0}@keyframes wishes-dialog-in{0%{opacity:0;transform:scale(.9)rotate(-5deg)}to{opacity:1;transform:scale(1)rotate(-2deg)}}.wishes-dialog-note{width:min(88vw,520px);animation:.3s cubic-bezier(.22,1,.36,1) both wishes-dialog-in;position:relative;transform:rotate(-2deg)}.wishes-dialog-text{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#1d3a6b59 transparent;-webkit-user-select:text;user-select:text;flex-direction:column;justify-content:safe center;gap:12px;padding:0 4%;display:flex;position:absolute;inset:12% 10% 14%;overflow-y:auto}.wishes-dialog-name{font-size:calc(clamp(22px, 3vw, 30px) * var(--name-fit,1))}.wishes-dialog-message{font-family:var(--font-mono), ui-monospace, monospace;color:#222;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;font-size:clamp(14px,1.6vw,17px);line-height:1.5}.wishes-dialog-close{font-family:var(--font-mono), ui-monospace, monospace;color:#a11b1b;cursor:pointer;background:0 0;border:1px solid #a11b1b80;border-radius:999px;padding:6px 14px;font-size:13px}@media (prefers-reduced-motion:reduce){.wishes-rise.is-on,.wishes-pop.is-on{animation:.5s ease-out forwards cover-fade}.wishes-flipper{animation:.25s ease-in reverse forwards cover-fade;transform:none}.wishes-face.is-back,.wishes-flip-shade{display:none}.wishes-dialog-note{animation:.25s ease-out both cover-fade}}
