@font-face{font-family:GlimFallback;src:local("Georgia")}*{box-sizing:border-box} :root{--paper:#f8f6ee;--ink:#25473b;--muted:#7d8376;--line:#dddccd;--accent:#a77e4c;--soft:#eeeee3;--danger:#a03f35}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,input,select,canvas{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.site-header{height:105px;max-width:1380px;padding:0 60px;margin:auto;display:flex;align-items:center;gap:55px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font:bold 39px/1 Georgia,serif;letter-spacing:-2px;white-space:nowrap}.brand>span:first-child{font:40px/1 Georgia;color:var(--accent);letter-spacing:0}.brand .brand-dot{color:var(--accent);margin-left:-8px}.site-header nav{display:flex;gap:30px}.nav-link{border:0;background:none;padding:8px 0;color:var(--muted);font-size:12px}.nav-link.active{color:var(--ink)}.account-actions{margin-left:auto;display:flex;align-items:center;gap:25px}#account-email{font-size:11px;max-width:175px;overflow:hidden;text-overflow:ellipsis}.button{border:1px solid var(--ink);background:var(--ink);color:var(--paper);border-radius:5px;min-height:48px;padding:12px 22px;display:inline-flex;align-items:center;justify-content:center;gap:24px;text-decoration:none;font-size:12px;font-weight:550;line-height:1.5;white-space:nowrap}.button:hover{background:#355b4c}.button.small{min-height:39px;padding:9px 16px;font-size:11px}.button.secondary{background:transparent;color:var(--ink);border-color:#bec5b8}.button.secondary:hover{background:#e9ecdf}.text-button{border:0;background:none;padding:7px 0;color:var(--ink);font-size:12px;line-height:1.5;text-decoration:none}.text-button:hover{text-decoration:underline}main{max-width:1260px;margin:auto;padding:0 40px}.intro{display:flex;justify-content:space-between;align-items:center;padding:49px 0 34px;gap:35px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;margin:0 0 17px;line-height:1.8}.eyebrow>span{color:var(--accent);font-size:15px;margin-right:5px}.muted{color:var(--muted)}h1{font:normal 52px/1.12 Georgia,"Times New Roman",serif;letter-spacing:-1.6px;margin:0}h1 em{color:var(--accent);font-weight:normal}h2{font:normal 29px/1.25 Georgia,serif;letter-spacing:-.55px;margin:0 0 10px}.intro>p{font:italic 15px/1.9 Georgia,serif;color:#838574;margin:17px 6px 0 0}.stepper{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 38px;border-bottom:1px solid var(--line)}.stepper button{background:none;border:0;border-bottom:2px solid transparent;padding:16px 0 16px;width:100%;text-align:left;display:flex;align-items:center;gap:12px;font-size:12px;color:#909486}.stepper span{border:1px solid #d6d9c9;border-radius:50%;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-size:9px}.stepper button[aria-current=step]{border-color:var(--ink);color:var(--ink)}.stepper button[aria-current=step] span{background:var(--ink);color:var(--paper);border-color:var(--ink)}.stepper .done span{background:#e0e7d7;color:var(--ink);border-color:#e0e7d7}.builder-layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(320px,1fr);gap:60px;align-items:start}.editor-panel{min-width:0}fieldset{border:0;padding:0;margin:0;min-width:0}.section-copy{color:var(--muted);font-size:12px;margin:0 0 28px;line-height:1.8}.card-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.design-choice{position:relative;border:1px solid #d8dacd;border-radius:7px;background:transparent;padding:12px 11px 15px;text-align:left;color:var(--ink);transition:background .15s,border .15s;min-width:0}.design-choice:hover{background:#efefe4}.design-choice[aria-checked=true]{border:1.5px solid var(--ink);background:#eef0e5;padding:11.5px 10.5px 14.5px}.design-image{height:194px;display:flex;align-items:center;justify-content:center;padding:9px 0 14px}.design-image img{max-width:100%;max-height:100%;width:auto;height:auto;box-shadow:3px 5px 9px #263e281a;border:3px solid #fffdf8}.design-choice strong{font-size:12px;font-weight:550;display:block;margin-top:5px}.design-choice small{display:block;color:var(--muted);font-size:9px;line-height:1.6;margin-top:4px;padding-right:9px}.design-check{display:block;width:14px;height:14px;border-radius:50%;border:1px solid #bec6b6;position:absolute;right:10px;bottom:15px;font-size:9px;text-align:center;line-height:13px}.design-choice[aria-checked=true] .design-check{background:var(--ink);color:var(--paper);border-color:var(--ink)}.quiet-note{display:flex;align-items:center;gap:14px;margin-top:25px;color:var(--muted);font-size:11px;padding:14px 17px;border-radius:6px;background:#eeeee4}.quiet-note>span{color:var(--accent);font-size:26px}.quiet-note p{margin:0;line-height:1.8}.step-actions{display:flex;gap:20px;align-items:center;border-top:1px solid var(--line);padding:23px 0;margin-top:25px}.step-actions>span{flex:1}.preview-panel{background:#edeee3;border:1px solid #e2e3d7;border-radius:9px;position:sticky;top:25px;overflow:hidden}.preview-top{padding:20px 23px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-top .eyebrow{font-size:8px;letter-spacing:1.3px;margin:0}.preview-badge{font-size:7px;letter-spacing:.8px;border:1px solid #ccd1bd;padding:3px 7px;border-radius:20px;color:#7c876d}.preview-scene{position:relative;display:flex;flex-direction:column;align-items:center;padding:40px 30px 0;isolation:isolate}.preview-scene:before{content:"";position:absolute;inset:8% 4% 9%;z-index:-1;background:radial-gradient(ellipse,#dce2cd,transparent 70%)}.preview-paper{width:245px;max-width:90%;padding:6px;background:#fffef8;transform:rotate(4deg);box-shadow:9px 17px 20px #48563c20,2px 4px 7px #35452d19}.preview-card{position:relative;overflow:hidden}.preview-card>img:first-child{display:block;width:100%;height:auto}.preview-card canvas{position:absolute;z-index:1;object-fit:contain;transition:opacity .6s}.preview-card #preview-foreground{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}.preview-card #preview-snow{position:absolute;inset:2.5%;z-index:3;overflow:hidden;pointer-events:none}.preview-card #preview-snow span{position:absolute;background:#fffef5;border-radius:50%;animation:fall 13s linear infinite;width:3px;height:3px;opacity:.8;top:-10px}.preview-card #preview-snow span:nth-child(3n){width:5px;height:5px;filter:blur(.3px)}@keyframes fall{from{transform:translateY(0)}to{transform:translateY(450px)}}.decor-star{position:absolute;color:#a88e55}.star-one{top:32px;left:38px;font-size:42px;transform:rotate(-12deg)}.star-two{right:27px;bottom:112px;font-size:25px}.handwritten{font:italic 14px/1.7 Georgia,serif;color:#858b75;transform:rotate(-5deg);margin:25px 0 21px}.preview-caption{border-top:1px solid #dce0cf;display:flex;align-items:center;gap:13px;padding:17px 23px;background:#f0f1e9;font-size:12px}.tiny-star{font-size:28px;color:var(--accent)}.preview-caption p{margin:0}.preview-caption p>span{font-size:10px;color:var(--muted)}.preview-tip{font-size:10px;color:#8c907e;line-height:1.7;border-top:1px solid #dfe2d3;padding:16px 23px;display:flex;gap:10px}.preview-tip>span{font-size:18px;color:#a0a58e}.upload-zone{border:1.5px dashed #bec8b3;border-radius:8px;min-height:245px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;cursor:pointer;background:#f0f2e7;gap:4px;padding:25px;text-align:center;color:var(--muted)}.upload-zone.dragging,.custom-music.dragging{border-color:var(--accent);background:#ece8db}.upload-zone input,.custom-music input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-icon{font-size:33px;line-height:1.2;color:#859777;margin-bottom:12px}.upload-zone strong{color:var(--ink);font-size:14px;font-weight:550}.upload-zone>span:not(.upload-icon){font-size:11px}.upload-zone small{font-size:10px;margin-top:20px;line-height:1.8}.media-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.media-heading strong{display:block;font-size:12px;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-heading span{display:block;font-size:10px;color:var(--muted)}.crop-stage{display:flex;align-items:center;justify-content:center;position:relative;border-radius:6px;overflow:hidden;border:1px solid #cbd0be;background-color:#e6e8df;background-image:linear-gradient(45deg,#d6dacb 25%,transparent 25%),linear-gradient(-45deg,#d6dacb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d6dacb 75%),linear-gradient(-45deg,transparent 75%,#d6dacb 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.crop-stage canvas{display:block;height:auto;width:100%;max-height:420px;object-fit:contain;touch-action:none;cursor:grab}.crop-stage canvas:active{cursor:grabbing}.crop-hint{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:9px;color:#fffdf0;background:#1e392e8c;backdrop-filter:blur(6px);border-radius:20px;padding:4px 12px;pointer-events:none;white-space:nowrap}.crop-options{display:flex;align-items:flex-end;gap:20px;margin:17px 0}.crop-options label{font-size:10px;color:var(--muted);display:flex;flex-direction:column;gap:7px}.crop-options select{border:1px solid #ccd0bf;border-radius:4px;background:var(--paper);padding:8px 9px;font-size:11px;color:var(--ink);min-height:36px}.zoom-option{flex:1}.crop-options .text-button{font-size:10px;min-height:36px}input[type=range]{accent-color:var(--ink);width:100%;min-height:22px;cursor:pointer}.switch-row{display:flex;align-items:center;gap:12px;padding:18px 0 8px;position:relative;border-top:1px solid var(--line);cursor:pointer}.switch-row>span:first-child{flex:1}.switch-row strong{font-size:12px;font-weight:550}.switch-row small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.switch-row input{position:absolute;right:0;opacity:0;width:42px;height:30px;cursor:pointer}.switch{display:block;width:37px;height:22px;border-radius:20px;background:#cdd1c0;padding:3px;transition:background .15s}.switch:after{content:"";display:block;width:16px;height:16px;border-radius:50%;background:#fffef7;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch-row input:checked+.switch{background:var(--ink)}.switch-row input:checked+.switch:after{transform:translateX(15px)}.switch-row input:focus-visible+.switch{outline:2px solid var(--accent);outline-offset:3px}.helper{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 15px}.status{font-size:12px;line-height:1.8;color:var(--accent);margin:15px 0 0;min-height:0}.status.error{color:var(--danger)}.music-library{display:flex;flex-direction:column;gap:10px}.music-option{border:1px solid #d8dccd;border-radius:6px;display:flex;align-items:center;padding:13px 15px;gap:13px;text-align:left;color:var(--ink);background:transparent}.music-option[aria-checked=true]{border-color:var(--ink);background:#edf0e4}.music-art{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:43px;height:43px;border-radius:5px;background:#e6e9d9;font:24px/1 Georgia,serif;color:#8a9878}.music-option:nth-child(2) .music-art{background:#e8e4d7;color:#a28b68}.music-option:nth-child(3) .music-art{background:#e3e9e2;color:#83978d}.music-option>span:nth-child(2){flex:1}.music-option strong,.custom-music strong{font-size:12px;font-weight:550;display:block}.music-option small,.custom-music small{font-size:10px;color:var(--muted);display:block;margin-top:3px;line-height:1.8}.music-radio{width:15px;height:15px;border-radius:50%;border:1px solid #b8c2ac;padding:3px}.music-option[aria-checked=true] .music-radio:after{content:"";display:block;background:var(--ink);height:7px;width:7px;border-radius:50%}.custom-music{display:flex;gap:13px;align-items:center;border:1px dashed #c6ccba;border-radius:6px;position:relative;margin-top:16px;padding:15px;cursor:pointer}.custom-music .music-art{background:transparent;border:1px solid #d6dacb}.volume-row{display:block;margin-top:28px}.volume-row>span{display:flex;justify-content:space-between;font-size:11px}.volume-row strong{font-size:10px;color:var(--muted);font-weight:500}.volume-row input{margin:15px 0 10px}.video-controls{display:flex;gap:10px;align-items:center;margin-top:10px}.video-controls>span{font-size:10px;min-width:30px}.icon-button{width:31px;height:31px;min-width:31px;border:1px solid #c3ccba;border-radius:50%;background:transparent;font-size:10px;color:var(--ink)}.field-label{display:block;font-size:11px;color:var(--ink);margin:21px 0 8px}.text-input{width:100%;border:1px solid #cbd1c0;background:#fcfaf3;border-radius:5px;padding:13px 14px;font-size:12px;color:var(--ink);min-height:47px}.text-input::placeholder{color:#a0a48f}.review-details{margin:25px 0}.review-details>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e3e4d9;padding:13px 0;font-size:12px}.review-details dt{color:var(--muted)}.review-details dd{text-align:right;margin:0;max-width:65%;overflow:hidden;text-overflow:ellipsis}.save-note{display:flex;gap:15px;align-items:center;font-size:11px;color:var(--muted);padding:16px;background:#eeeee3;border-radius:5px;margin-top:23px}.save-note>span{font-size:25px;color:#929f7d}.save-note p{margin:0}#progress-wrap{display:flex;align-items:center;gap:20px;margin-top:12px}progress{width:100%;height:6px;accent-color:var(--ink);border-radius:5px}footer{max-width:1180px;margin:70px auto 0;border-top:1px solid var(--line);padding:26px 0 30px;display:flex;align-items:center;gap:25px}.footer-brand{font-size:22px;letter-spacing:-1px;color:#a5ab97}footer p{font:italic 13px Georgia,serif;color:#8e937f}footer>span{margin-left:auto;font-size:8px;color:#a0a58f;letter-spacing:1.3px}dialog{border:1px solid #e0e0d2;border-radius:12px;background:var(--paper);color:var(--ink);width:min(440px,calc(100vw - 28px));padding:35px 40px 28px;box-shadow:0 30px 100px #17382833;max-height:95dvh;overflow:auto}dialog::backdrop{background:#203e35aa;backdrop-filter:blur(6px)}.dialog-close{position:absolute;right:16px;top:12px;background:none;border:0;font-size:27px;line-height:1;color:#8d9681;padding:7px}.auth-star{display:block;color:var(--accent);font:45px Georgia;margin-bottom:15px}#auth-dialog>p:not(.eyebrow){color:var(--muted);font-size:12px}#auth-dialog .eyebrow{font-size:8px}#auth-dialog h2{font-size:31px}#auth-submit{width:100%;margin-top:23px}.auth-switch{border-top:1px solid var(--line);padding-top:18px;margin-top:20px;text-align:center}.auth-switch .text-button{font-size:12px;text-decoration:underline}#forgot-password{font-size:10px;margin-top:13px}.loading{position:fixed;inset:0;background:var(--paper);display:flex;align-items:center;justify-content:center;font:italic 19px Georgia;color:var(--accent);z-index:20}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:65px 0 35px}.dashboard-heading h1{font-size:45px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px;margin-bottom:100px}.project-tile{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fcfaf2}.project-art{background:#eeeee1;padding:26px;display:flex;align-items:center;justify-content:center;position:relative;height:260px}.project-art img{max-width:100%;max-height:100%;box-shadow:5px 8px 15px #3e503724;transform:rotate(3deg);border:4px solid #fffdf7}.project-badge{position:absolute;left:14px;top:13px;border:1px solid #c4ccb5;background:#f7f8eddd;color:#7e8b6f;border-radius:20px;font-size:8px;padding:3px 9px;letter-spacing:1px}.project-info{padding:18px}.project-info h3{font:20px Georgia,serif;margin:0 0 5px;overflow-wrap:anywhere}.project-info p{font-size:10px;color:var(--muted)}.project-info>div{display:flex;gap:17px;align-items:center}.project-info .delete-project{margin-left:auto;color:#a1856f;font-size:10px}.empty-state{grid-column:1/-1;text-align:center;background:#eeeee3;padding:65px 25px;border:1px dashed #ccd2bd;border-radius:7px}.empty-state h2{font-size:29px}.empty-state p{color:var(--muted);font-size:12px}.saved-panel{max-width:700px;margin:55px auto 80px;text-align:center}.saved-star{font:65px Georgia;color:var(--accent);display:block;margin-bottom:20px}.saved-panel h1{font-size:45px}.saved-panel>p:not(.eyebrow){max-width:430px;margin:20px auto;color:var(--muted);font-size:13px}.saved-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:26px 0}.share-row{display:flex;gap:10px}#share-details{margin-top:35px;border-top:1px solid var(--line);padding-top:10px}#share-qr{display:flex;align-items:center;justify-content:center;margin:24px 0}#share-qr canvas{display:block;flex:none;width:200px;max-width:100%;height:auto;aspect-ratio:1;image-rendering:pixelated;border:10px solid #fff;border-radius:6px}.saved-panel .field-label{text-align:left}
@media(min-width:1350px){main{padding:0 25px}.design-image{height:220px}.preview-paper{width:270px}}
@media(max-width:1000px){.site-header{padding:0 30px;gap:35px}.builder-layout{gap:30px;grid-template-columns:minmax(0,1.25fr) minmax(270px,1fr)}main{padding:0 30px}.design-image{height:157px}.card-gallery{gap:8px}.design-choice{padding:8px 7px 12px}.design-choice[aria-checked=true]{padding:7.5px 6.5px 11.5px}.design-choice strong{font-size:10px}.design-choice small{font-size:8px}.design-check{right:7px;bottom:11px;width:12px;height:12px;line-height:11px}.preview-top{padding:17px 16px 0}.preview-scene{padding:35px 20px 0}.preview-paper{width:217px}.preview-caption,.preview-tip{padding:15px 16px}.preview-top .eyebrow{font-size:7px}.preview-badge{font-size:6px;padding:3px 5px}h2{font-size:26px}footer{margin-left:30px;margin-right:30px}.crop-options{gap:12px}.project-grid{gap:15px}}
@media(max-width:720px){.site-header{height:82px;padding:0 22px;gap:15px}.brand{font-size:32px}.brand>span:first-child{font-size:34px}.site-header nav{margin-left:auto;gap:19px}.site-header nav .nav-link{font-size:10px}#create-nav{display:none}.account-actions{margin-left:0;gap:15px}.account-actions .nav-link{font-size:10px}#account-email{display:none!important}.button.small{font-size:10px;padding:8px 12px;gap:9px;min-height:35px}main{padding:0 22px}.intro{padding:32px 0 20px}.intro>p{display:none}h1{font-size:41px;letter-spacing:-1.4px}.intro .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:14px}.stepper{margin-bottom:28px;gap:5px}.stepper button{padding:14px 0 12px;gap:6px;font-size:9px}.stepper span{height:22px;width:22px;font-size:8px;flex-shrink:0}.builder-layout{display:flex;flex-direction:column;gap:24px}.editor-panel{width:100%}.preview-panel{position:static;width:100%;max-width:450px;align-self:center;order:2}.preview-top{padding:19px 23px 0}.preview-paper{width:235px}.preview-scene{padding:30px 30px 0}.preview-caption,.preview-tip{padding-left:23px;padding-right:23px}.preview-tip{font-size:10px}.preview-badge{font-size:7px}.preview-top .eyebrow{font-size:8px}.design-image{height:174px}.design-choice strong{font-size:11px}.design-choice small{font-size:9px}.design-choice{padding:9px 8px 13px}.design-choice[aria-checked=true]{padding:8.5px 7.5px 12.5px}.card-gallery{gap:9px}h2{font-size:28px}.step-panel>.eyebrow{font-size:8px;margin-bottom:12px}.section-copy{font-size:11px;margin-bottom:23px}.step-actions{margin-top:18px;padding-bottom:0}.quiet-note{margin-top:20px;font-size:10px}.status{font-size:11px}.crop-stage canvas{max-height:450px}.crop-options{gap:13px}.crop-options select{max-width:150px;font-size:10px}.crop-options .zoom-option{min-width:70px}.media-heading strong{max-width:240px}.switch-row small{font-size:9px}.upload-zone{min-height:230px}.project-grid{grid-template-columns:repeat(2,1fr);gap:13px}.project-art{height:230px;padding:20px}.project-info{padding:13px}.project-info h3{font-size:18px}.project-info>div{gap:10px;flex-wrap:wrap}.dashboard-heading{padding-top:35px;align-items:flex-start;gap:15px}.dashboard-heading h1{font-size:34px}.dashboard-heading .button{font-size:10px;padding:9px 13px;min-height:40px}.dashboard-heading .eyebrow{font-size:7px;letter-spacing:1px}.saved-panel{margin-top:35px}.saved-panel h1{font-size:36px}.saved-actions{gap:12px}.saved-actions .button{font-size:10px;padding:12px 15px;gap:10px}.share-row .button{padding:10px 15px}.share-row input{min-width:0}.saved-star{font-size:53px}footer{margin:45px 22px 0;padding:25px 0;gap:17px}footer>span{display:none}footer p{font-size:11px;margin-left:auto}.footer-brand{font-size:20px}.auth-switch .text-button{font-size:11px}dialog{padding:30px}.handwritten{font-size:13px}}
@media(max-width:390px){main{padding:0 17px}.site-header{padding:0 17px}.account-actions{gap:12px}.site-header nav{gap:10px}.intro h1{font-size:37px}.design-image{height:153px}.design-choice strong{font-size:10px}.design-choice small{font-size:8px}.stepper button{gap:5px;font-size:8px}.stepper span{width:20px;height:20px}.project-grid{grid-template-columns:1fr}.project-art{height:270px}.crop-options{gap:9px}.crop-options select{max-width:140px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:720px){.site-header{gap:12px}.site-header>.brand{font-size:28px;gap:7px}.site-header>.brand>span:first-child{font-size:29px}.account-actions{gap:10px}}
@media(max-width:390px){.site-header{gap:8px}.site-header>.brand{font-size:25px;gap:6px}.site-header>.brand>span:first-child{font-size:26px}.account-actions{gap:8px}.site-header nav{gap:8px}.button.small{padding:8px 9px;gap:5px}}
/* Keep the page header visible while scrolling; the paper shadow extends its background edge to edge. */
.site-header{position:sticky;top:0;z-index:10;background:var(--paper);box-shadow:0 0 0 100vmax var(--paper);clip-path:inset(0 -100vmax)}html{scroll-padding-top:120px}.preview-panel{top:130px}
.home-page .site-header{clip-path:none}
/* One type size for every header item, so text links and the Join button match on every page. */
body .site-header .nav-link,body .site-header .button.small{font-size:13px;line-height:1.4}body .site-header .nav-link{font-weight:500}body .site-header .button.small{font-weight:600}
@media(max-width:720px){body .site-header .nav-link,body .site-header .button.small{font-size:12px}}
@media(max-width:360px){body .site-header .nav-link,body .site-header .button.small{font-size:11px}}

/* ---- Match the home page's look on the studio and other shared pages ---- */
body:not(.home-page){--page-gutter:60px}
/* Header: same height, placement and hairline as the home page. */
body:not(.home-page) .site-header{height:72px;border-bottom:0;box-shadow:0 1px 0 #25473b14,0 0 0 100vmax var(--paper);clip-path:inset(0 -100vmax -1px)}
body:not(.home-page) .site-header nav{margin-left:auto;align-items:center;gap:28px}
body:not(.home-page) .site-header nav+.account-actions{margin-left:8px;gap:22px}
body:not(.home-page) .site-header .nav-link{display:inline-flex;align-items:center;min-height:44px;color:#526153;text-decoration:none}
body:not(.home-page) .site-header .nav-link.active,body:not(.home-page) .site-header .nav-link:hover{color:var(--ink)}
body:not(.home-page) .site-header .button.small{min-height:42px;border-radius:4px;padding-inline:20px}
html{scroll-padding-top:96px}.preview-panel{top:97px}
/* Content and footer share the home page's 1260px column and side gutters, aligned with the logo. */
body:not(.home-page) main{max-width:none;width:min(1260px,calc(100% - var(--page-gutter) * 2));padding:0;margin-inline:auto}
body:not(.home-page) footer{max-width:none;width:min(1260px,calc(100% - var(--page-gutter) * 2));margin:72px auto 0;padding:28px 0 32px}
body:not(.home-page) footer p{color:#657265}
/* Type: gold eyebrows and muted-green italic accents, as on the home page. */
body:not(.home-page) .eyebrow{color:#a77e4c;font-size:10px;line-height:1.5;letter-spacing:1.8px}
body:not(.home-page) h1 em,body:not(.home-page) h2 em{color:#687b67}
body:not(.home-page) .intro>p{color:#657265}
body:not(.home-page) .section-copy,body:not(.home-page) .helper{color:#657265}
/* Buttons and panels: home page sizes and corner radii. */
body:not(.home-page) .button{border-radius:4px;font-size:13px;transition:background .18s ease,transform .18s ease}
body:not(.home-page) .button:not(.small){min-height:52px;padding:14px 22px}
body:not(.home-page) .button:not(.small):not(.secondary):hover{transform:translateY(-1px)}
body:not(.home-page) .preview-panel,body:not(.home-page) .project-tile,body:not(.home-page) .empty-state{border-radius:10px}
body:not(.home-page) .design-choice,body:not(.home-page) .upload-zone,body:not(.home-page) .music-option,body:not(.home-page) .custom-music,body:not(.home-page) .quiet-note,body:not(.home-page) .save-note{border-radius:8px}
body:not(.home-page) .quiet-note,body:not(.home-page) .save-note{background:#e9ebdf}
@media(max-width:1000px){body:not(.home-page){--page-gutter:30px}body:not(.home-page) .site-header nav{gap:20px}body:not(.home-page) .site-header nav+.account-actions{margin-left:0;gap:16px}}
@media(max-width:720px){body:not(.home-page){--page-gutter:22px}body:not(.home-page) .site-header{height:64px}body:not(.home-page) .site-header nav{gap:14px}body:not(.home-page) .site-header nav+.account-actions{gap:10px}body:not(.home-page) .site-header .button.small{min-height:38px;padding-inline:13px}body:not(.home-page) .eyebrow{font-size:9px;letter-spacing:1.45px}body:not(.home-page) footer{margin-top:45px;padding:25px 0 28px}html{scroll-padding-top:80px}}
@media(max-width:390px){body:not(.home-page){--page-gutter:17px}body:not(.home-page) .site-header nav{gap:10px}body:not(.home-page) .site-header nav+.account-actions{gap:8px}body:not(.home-page) .site-header .button.small{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){body:not(.home-page) .button{transition:none}body:not(.home-page) .button:hover{transform:none}}
body:not(.home-page) .preview-top .eyebrow{font-size:8px;letter-spacing:1.3px}
body:not(.home-page) .site-header>.nav-link{margin-left:auto}
body:not(.home-page) .intro-task{padding:40px 0 22px}body:not(.home-page) .intro-task h1{font-size:clamp(30px,3.2vw,40px);line-height:1.15;letter-spacing:-.8px;margin:0}@media(max-width:720px){body:not(.home-page) .intro-task{padding:26px 0 16px}body:not(.home-page) .intro-task h1{font-size:30px}}
.keepsake-guide{border:1px solid #dcdccb;border-radius:10px;background:#fbf8ee;margin:0 0 26px;overflow:hidden}.keepsake-guide summary{list-style:none;display:flex;align-items:center;gap:14px;padding:16px 18px;cursor:pointer}.keepsake-guide summary::-webkit-details-marker{display:none}.keepsake-guide summary>span:nth-child(2){flex:1}.keepsake-guide summary strong{display:block;font:normal 18px/1.3 Georgia,serif;color:var(--ink)}.keepsake-guide summary small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.guide-star{font:26px/1 Georgia,serif;color:var(--accent)}.guide-toggle{width:9px;height:9px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s}.keepsake-guide[open] .guide-toggle{transform:rotate(-135deg) translate(-2px,-2px)}.keepsake-guide summary:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:10px}
.guide-steps{list-style:none;counter-reset:guide;margin:0;padding:4px 18px 6px;display:grid;grid-template-columns:1fr 1fr;gap:12px 22px}.guide-steps li{counter-increment:guide;position:relative;padding-left:30px;font-size:12px;line-height:1.7;color:#5f6a5f}.guide-steps li:before{content:"0" counter(guide);position:absolute;left:0;top:1px;font:italic 14px Georgia,serif;color:var(--accent)}.guide-steps strong{display:block;color:var(--ink);font-weight:600}
.guide-spark{margin:14px 18px 18px;padding:14px 16px;border-radius:8px;background:#e9ebdf;display:flex;flex-direction:column;gap:8px}.guide-spark p{margin:0;font:italic 15px/1.6 Georgia,serif;color:var(--ink)}.guide-spark .eyebrow{display:block;font:normal 650 9px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:1.6px;margin:0 0 4px;font-style:normal}.guide-spark>div{display:flex;flex-wrap:wrap;gap:4px 22px}.guide-spark .text-button{font-size:12px;font-weight:550;color:#355b4c}
.message-type-label{margin:0 0 10px;font-weight:550}.message-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.message-type{display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px 4px 11px;border:1px solid #d8dacd;border-radius:8px;background:transparent;color:var(--ink);font-size:12px;font-weight:550;line-height:1.25;text-align:center;min-width:0}.message-type svg{color:#7f8f73}.message-type:hover{background:#efefe4}.message-type[aria-checked=true]{border:1.5px solid var(--ink);background:#eef0e5;padding:12.5px 3.5px 10.5px}.message-type[aria-checked=true] svg{color:var(--accent)}
.type-tip{font-size:12px;line-height:1.75;color:#5f6a5f;margin:14px 0 18px;padding-left:14px;border-left:2px solid #d9c7a6}.type-panel{margin-bottom:6px}
.voice-record{border:1.5px dashed #bec8b3;border-radius:10px;background:#f0f2e7;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:26px;text-align:center}.record-button{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--ink);background:var(--ink);color:var(--paper);border-radius:40px;padding:13px 24px 13px 18px;font-size:13px;font-weight:600;min-height:52px}.record-button span{width:14px;height:14px;border-radius:50%;background:#e07a6b;box-shadow:0 0 0 4px #e07a6b33}.record-button.recording{background:#a03f35;border-color:#a03f35}.record-button.recording span{border-radius:3px;background:#fff;box-shadow:none;animation:recordPulse 1.2s ease-in-out infinite}@keyframes recordPulse{50%{opacity:.4}}.voice-time{margin:0;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.voice-upload{position:relative;font-size:12px;text-decoration:underline;cursor:pointer}.voice-upload input,.voice-photo label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.voice-ready audio{width:100%;margin:2px 0 16px}.voice-photo{display:flex;gap:16px;align-items:center;border-top:1px solid var(--line);padding-top:16px}.voice-thumb{width:74px;height:74px;flex:none;border-radius:8px;background:#e6e9d9;display:flex;align-items:center;justify-content:center;font-size:24px;color:#8a9878;overflow:hidden}.voice-thumb img{width:100%;height:100%;object-fit:cover}.voice-photo strong{display:block;font-size:12px;font-weight:550}.voice-photo small{display:block;font-size:11px;color:var(--muted);margin:2px 0 4px}.voice-photo label{position:relative;display:inline-block;margin-right:18px;cursor:pointer;text-decoration:underline}.voice-photo .text-button{font-size:12px}
.message-text{resize:vertical;min-height:150px;font:italic 16px/1.7 Georgia,serif;padding:14px 16px}.type-panel .field-label:first-child{margin-top:0}.char-count{text-align:right;font-size:11px;color:var(--muted);margin:6px 0 0;font-variant-numeric:tabular-nums}.text-styles{display:flex;gap:10px}.text-style{display:inline-flex;align-items:center;gap:10px;border:1px solid #d8dacd;border-radius:8px;background:transparent;padding:9px 14px 9px 10px;font-size:12px;color:var(--ink)}.text-style[aria-checked=true]{border:1.5px solid var(--ink);background:#eef0e5;padding:8.5px 13.5px 8.5px 9.5px}.style-swatch{width:22px;height:22px;border-radius:5px;border:1px solid #cfcbb8}.style-swatch{position:relative;background:#2b5244;border-color:#2b5244}.style-swatch:after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--ink-swatch)}.style-swatch.gold{--ink-swatch:#ecc98a}.style-swatch.cream{--ink-swatch:#fbf4e2}.style-swatch.evergreen{background:#eef3f1;border-color:#cfd8d3;--ink-swatch:#1f4436}.style-hint{font-size:10px;color:var(--muted);font-weight:400;margin-left:6px}
.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-choice{display:flex;flex-direction:column;gap:3px;border:1px solid #d8dacd;border-radius:10px;background:transparent;padding:8px 8px 12px;text-align:left;color:var(--ink);min-width:0}.library-choice img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:6px;margin-bottom:7px;display:block;background:#25473b}.library-choice strong{font-size:12px;font-weight:600;padding:0 4px}.library-choice small{font-size:11px;color:var(--muted);padding:0 4px}.library-choice:hover{background:#efefe4}.library-choice[aria-checked=true]{border:1.5px solid var(--ink);background:#eef0e5;padding:7.5px 7.5px 11.5px}
@media(max-width:720px){.guide-steps{grid-template-columns:1fr}.keepsake-guide summary{padding:14px}.guide-steps{padding:2px 14px 4px}.guide-spark{margin:12px 14px 14px}.message-types{gap:6px}.message-type{font-size:11px;padding:11px 2px 9px}.message-type[aria-checked=true]{padding:10.5px 1.5px 8.5px}.voice-photo{align-items:flex-start}}
@media(max-width:360px){.message-type{font-size:10px}.message-types{gap:4px}}
.parts-hint{font-size:12px;line-height:1.7;color:var(--muted);margin:-4px 0 12px}.message-type[aria-pressed=true]{border:1.5px solid var(--ink);background:#eef0e5;padding:12.5px 3.5px 10.5px}.message-type[aria-pressed=true] svg{color:var(--accent)}.message-type.is-full{opacity:.45}.message-type.is-full:hover{opacity:.7}.voice-toggle{border-style:dashed}.voice-toggle[aria-pressed=true]{border-style:solid}.voice-toggle small{display:block;font-size:9px;font-weight:500;color:var(--muted);margin-top:-3px;letter-spacing:.2px}
.part-layout{display:flex;align-items:center;gap:14px;margin:14px 0 0;padding:12px 14px;border-radius:8px;background:#f3f1e6;border:1px solid #e2e0d0}.layout-box{display:grid;grid-template-columns:1fr 1fr;width:92px;height:62px;flex:none;border-radius:6px;overflow:hidden;border:1.5px solid var(--ink)}.layout-box span{display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:600;color:var(--ink);background:#e3e8da;text-align:center;padding:2px}.layout-box span+span{border-left:1.5px dashed var(--ink);background:#ece7d6}.part-layout p{flex:1;margin:0;font-size:12px;color:#5f6a5f;line-height:1.6}.part-layout .text-button{font-size:12px;font-weight:600;white-space:nowrap}
.part-tabs{display:flex;gap:6px;margin:18px 0 0;border-bottom:1px solid var(--line);overflow-x:auto}.part-tab{position:relative;border:0;background:none;padding:10px 12px 11px;font-size:12px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap;display:inline-flex;align-items:center;gap:7px}.part-tab[aria-selected=true]{color:var(--ink);border-bottom-color:var(--ink)}.part-done{color:#4d8a63;font-size:11px}
@media(max-width:720px){.part-layout{flex-wrap:wrap}.part-layout p{flex-basis:calc(100% - 110px)}}
.message-type{position:relative}.part-remove{display:none;position:absolute;top:5px;right:5px;width:18px;height:18px;border-radius:50%;background:var(--ink);color:var(--paper);font:600 13px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;align-items:center;justify-content:center;padding-bottom:1px;transition:background .15s}.message-type[aria-pressed=true] .part-remove{display:flex}.message-type[aria-pressed=true]:hover .part-remove{background:var(--danger)}@media(max-width:720px){.part-remove{top:4px;right:4px;width:16px;height:16px;font-size:12px}}
@media(max-width:360px){.part-remove{top:2px;right:2px;width:14px;height:14px;font-size:10px}.message-type svg{margin-top:4px}}
.panel-play-row{display:flex;flex-direction:column;align-items:center;gap:8px;margin:-6px 0 22px;padding:0 20px;text-align:center}.panel-play{min-height:42px;padding:10px 20px;gap:10px;border-radius:40px}.panel-play.playing{background:#355b4c}.panel-play:disabled{cursor:not-allowed;opacity:.45}.panel-play-hint{margin:0;font-size:11px;color:var(--muted);max-width:260px;line-height:1.6}
.music-art.no-music{background:#ecebe2;color:#8d8f80}
.music-switch{border-top:0;padding:0 0 18px;margin-bottom:16px;border-bottom:1px solid var(--line)}.music-switch strong{font-size:13px}.music-off-note{margin-top:4px}
.saved-card{margin:30px auto 6px;display:flex;flex-direction:column;align-items:center;gap:14px}.saved-card-paper{position:relative;width:min(270px,72vw);padding:7px;background:#fffef8;transform:rotate(-2deg);box-shadow:10px 18px 24px #48563c26,2px 4px 8px #35452d1f}.saved-card-paper img{display:block;width:100%;height:auto}
.saved-card #share-qr{position:absolute;left:8%;bottom:6%;width:27%;aspect-ratio:1;margin:0;background:#fff;border-radius:4px;box-shadow:0 2px 8px #0003;display:block}.saved-card #share-qr canvas{width:100%;height:100%;border:0;border-radius:4px;image-rendering:pixelated}.saved-card.link-off #share-qr{background:#ffffffb3;border:1.5px dashed #9aa58f;box-shadow:none}.saved-card figcaption{font-size:12px;color:var(--muted);max-width:300px}.saved-card #publish-card{font-size:12px;font-weight:600;text-decoration:underline}
.saved-card-paper{width:min(380px,86vw)}.saved-card #share-qr{left:auto;right:7%;bottom:5%;width:19%}
.saved-panel.saved-page{max-width:1180px;text-align:left;margin:40px auto 80px}.saved-heading{display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:30px}.saved-heading .saved-star{grid-row:1/4;font-size:46px;margin:0}.saved-heading .eyebrow{margin:0 0 6px}.saved-heading h1{margin:0}.saved-heading #saved-copy{grid-column:2;margin:8px 0 0;max-width:none;color:var(--muted);font-size:13px}
.saved-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,420px);gap:48px;align-items:start}.saved-main{min-width:0;text-align:center}.saved-main #share-details{text-align:left}.saved-main .saved-card{margin-top:0}.saved-side{position:sticky;top:96px;display:flex;flex-direction:column;gap:18px;min-width:0}
.buy-box,#saved-gift-slot .gift-editor{border:1px solid #dcdccb;border-radius:10px;background:#fcfaf2;padding:22px 22px 18px;margin:0}.buy-box h2,#saved-gift-slot .gift-editor h2{font-size:24px;margin:0 0 12px}.buy-box .eyebrow,#saved-gift-slot .gift-editor .eyebrow{margin:0 0 8px}
.buy-notice{font-size:11px;line-height:1.6;padding:9px 12px;border:1px solid #cfb883;background:#f3ead3;border-radius:6px;margin:0 0 14px}.buy-product{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px}.buy-product img{width:64px;flex:none;border:3px solid #fffdf7;box-shadow:2px 4px 8px #263f3426}.buy-product strong{display:block;font-size:14px}.buy-product span{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:3px}
.buy-price{margin:4px 0 10px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.buy-amount{font:600 30px/1.1 Georgia,serif;color:var(--ink)}.buy-plus{font-size:12px;color:var(--muted)}.buy-totals{margin:0 0 12px;border-top:1px solid var(--line);padding-top:8px}.buy-totals>div{display:flex;justify-content:space-between;font-size:13px;margin:6px 0}.buy-totals dd{margin:0;font-weight:600}.buy-total{border-top:1px solid var(--line);padding-top:8px;margin-top:8px!important}.buy-total dt,.buy-total dd{font-weight:700}
.buy-delivery{font-size:12px;line-height:1.7;color:#2f6b4f;margin:0 0 10px}.buy-details{font-size:12px;margin:0 0 12px}.buy-details summary{cursor:pointer;font-weight:600;color:var(--ink)}.buy-details p{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0;overflow-wrap:anywhere}.buy-consent{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.6;margin:12px 0}.buy-consent input{margin-top:3px;flex:none}
.buy-box .buy-pay{width:100%;background:#e0bf7e;border-color:#e0bf7e;color:#1f3a30}.buy-box .buy-pay:hover:not(:disabled){background:#d4b06c}.buy-secure,.buy-seller{font-size:11px;color:var(--muted);line-height:1.6;margin:10px 0 0}.buy-seller a{text-decoration:underline}.buy-reference{font-family:monospace;font-size:12px;overflow-wrap:anywhere}.buy-full{font-size:12px;display:inline-block;margin-top:8px}.buy-status:empty{display:none}
#saved-gift-slot .gift-editor p{font-size:12px;line-height:1.7}#saved-gift-slot .gift-editor .text-input{width:100%}#saved-gift-slot .gift-editor .saved-actions{justify-content:flex-start}
@media(max-width:960px){.saved-layout{grid-template-columns:1fr;gap:30px}.saved-side{position:static}}
@media(max-width:720px){.saved-heading{grid-template-columns:1fr;text-align:center}.saved-heading .saved-star{grid-row:auto}.saved-heading #saved-copy{grid-column:1}}
.gift-teaser{display:flex;gap:16px;align-items:flex-start;border:1px solid #dcdccb;border-radius:10px;background:linear-gradient(135deg,#fbf6e8,#f3eedd);padding:20px 22px}.gift-teaser-icon{font-size:30px;line-height:1}.gift-teaser .eyebrow{margin:0 0 6px}.gift-teaser h2{font-size:22px;margin:0 0 6px}.gift-teaser p:not(.eyebrow){font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 14px;overflow-wrap:anywhere}.gift-teaser .button{min-height:44px}
.gift-attach-dialog{width:min(640px,calc(100vw - 28px));padding:30px 34px 26px;max-height:92dvh}.gift-attach-dialog #saved-gift-slot .gift-editor{border:0;padding:0;background:none}.gift-attach-dialog .gift-editor h2{font-size:30px}.gift-attach-dialog .gift-editor p{font-size:12px;line-height:1.7}.gift-attach-dialog .text-input{width:100%}
@media(max-width:720px){.gift-attach-dialog{padding:24px 20px 20px}}
.gift-attach-dialog textarea.text-input{font:13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.gift-attach-dialog form>label:not(.field-label){display:flex;gap:9px;align-items:center;font-size:12px;color:var(--ink);margin:6px 0 14px}
.saved-layout .saved-card-paper{width:min(500px,100%)}@media(max-width:960px){.saved-layout .saved-card-paper{width:min(440px,88vw)}}
button.project-art{width:100%;border:0;margin:0;font:inherit;cursor:pointer}button.project-art img{transition:transform .2s}button.project-art:hover img{transform:rotate(1deg) scale(1.03)}button.project-art:focus-visible{outline-offset:-4px}
.recipient-fields{border-top:1px solid var(--line);margin:14px 0 4px;padding-top:14px}.recipient-title{font:600 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);margin:0 0 10px}.recipient-choice{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:6px}.recipient-choice label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--ink);cursor:pointer}.recipient-fields .field-label{margin:12px 0 6px;font-size:11px}.recipient-fields .field-label small{color:var(--muted);font-weight:400;margin-left:4px}.recipient-fields .text-input{width:100%;min-height:42px;padding:10px 12px}.recipient-row{display:grid;grid-template-columns:1.2fr 1.1fr .9fr;gap:10px}.recipient-row .field-label{white-space:nowrap}.recipient-note{margin:12px 0 0}
@media(max-width:420px){.recipient-row{grid-template-columns:1fr 1fr}.recipient-row>div:first-child{grid-column:1/-1}}

/* An earlier paid or in-review order found when paying again. */
.earlier-order{margin:14px 0 0;padding:14px 16px;border:1px solid rgba(224,191,126,.55);border-radius:12px;background:rgba(224,191,126,.12);font-size:13px;line-height:1.55}.earlier-order p{margin:0 0 10px}.earlier-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}.earlier-actions .text-button{text-decoration:underline}

/* My cards: the card preview pop-up. */
.card-preview-dialog{width:min(560px,calc(100vw - 28px));padding:30px 34px 24px;text-align:center}.card-preview-dialog h2{font-size:27px;overflow-wrap:anywhere}.card-preview-scene{display:flex;justify-content:center;padding:18px 0 8px}.card-preview-paper{width:min(400px,100%);max-width:100%;transform:none}.card-preview-card{position:relative;overflow:hidden}.card-preview-card>.card-preview-art{display:block;width:100%;height:auto}.card-preview-overlay{position:absolute;z-index:1;object-fit:contain}.card-preview-foreground{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}.card-preview-snow{position:absolute;inset:2.5%;z-index:3;overflow:hidden;pointer-events:none}.card-preview-snow span{position:absolute;background:#fffef5;border-radius:50%;animation:fall 13s linear infinite;width:3px;height:3px;opacity:.8;top:-10px}.card-preview-snow span:nth-child(3n){width:5px;height:5px;filter:blur(.3px)}.card-preview-actions{display:flex;justify-content:center;margin-top:16px}.card-preview-note{margin:12px auto 0;max-width:380px}.card-preview-status:empty{display:none}
@media(max-width:720px){.card-preview-dialog{padding:24px 18px 18px}}
.card-preview-gift{position:absolute;z-index:5;left:50%;bottom:5%;transform:translateX(-50%);width:84%;display:flex;justify-content:center;text-align:center}.card-preview-gift .gift-present-button{width:74px;height:74px}.card-preview-gift .gift-present-label strong{font-size:13px}.card-preview-gift .gift-present-label span{font-size:10px}.card-preview-gift-reveal{width:100%;padding:10px 12px;border:1px solid #d7dacb;border-radius:12px;background:#fbf8efee;backdrop-filter:blur(4px);box-shadow:0 6px 24px #0b261b55;display:flex;flex-direction:column;align-items:center;gap:1px;animation:gift-rise .45s ease-out}.card-preview-gift-reveal[hidden]{display:none}.card-preview-gift-reveal .gift-symbol{font-size:24px;line-height:1}.card-preview-gift-merchant{font:17px/1.3 Georgia,serif;overflow-wrap:anywhere}.card-preview-gift-amount{font-size:12px}.card-preview-gift-how{font-size:10px;line-height:1.5;color:var(--muted);margin-top:3px}@keyframes gift-rise{from{opacity:0;transform:translateY(14px) scale(.92)}to{opacity:1;transform:none}}
.card-preview-qr{position:absolute;z-index:4;right:7%;bottom:5%;width:19%;aspect-ratio:1;background:#fff;border-radius:4px;box-shadow:0 2px 8px #0003}.card-preview-qr canvas{display:block;width:100%;height:100%;border-radius:4px;image-rendering:pixelated}
.project-tile.just-saved{border-color:var(--accent);box-shadow:0 0 0 3px #a77e4c33,0 12px 30px #48563c1f;animation:just-saved 1.2s ease-out}@keyframes just-saved{from{transform:translateY(8px);opacity:.4}to{transform:none;opacity:1}}@media (prefers-reduced-motion:reduce){.project-tile.just-saved{animation:none}}
.saved-panel.saved-order-page{max-width:640px;margin:40px auto 80px}.saved-order-page .saved-heading{margin-bottom:26px}.saved-order-page .saved-heading h1{overflow-wrap:anywhere}.saved-order-page #publish-card{grid-column:2;justify-self:start;font-weight:600;text-decoration:underline;font-size:12px}.saved-order-page .saved-side{position:static;top:auto}.saved-order-page .saved-back{margin-top:22px}
.saved-panel.saved-order-page{max-width:1080px}.saved-order-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,400px);gap:40px;align-items:start}.saved-order-layout .saved-side{position:sticky;top:96px}.saved-address{border:1px solid #dcdccb;border-radius:10px;background:#fcfaf2;padding:24px 26px 22px;text-align:left}.saved-address h2{font-size:24px;margin:0 0 6px}.saved-address .eyebrow{margin:0 0 8px}.saved-address-copy{font-size:12px;color:var(--muted);margin:0 0 4px}.saved-address .recipient-fields{border-top:0;margin-top:6px;padding-top:0}.saved-address .recipient-title{display:none}.saved-order-layout:has(.saved-address[hidden]){grid-template-columns:minmax(0,560px);justify-content:center}
@media(max-width:900px){.saved-order-layout{grid-template-columns:1fr;gap:22px}.saved-order-layout .saved-side{position:static}}
/* Five steps: the card, message, music, gift, magic. */
.stepper{grid-template-columns:repeat(5,1fr)}
@media(max-width:720px){.stepper button{flex-direction:column;align-items:flex-start;gap:4px}}
/* The gift form as step 4: the step has its own heading, and the details are attached on save. */
.gift-editor.gift-editor-step{border-top:0;margin:0;padding:0}
.gift-editor-step>.eyebrow,.gift-editor-step>h2,.gift-editor-step .gift-save{display:none}
.gift-editor-step p{font-size:12px;line-height:1.7;color:var(--muted)}
.gift-editor-step .text-input{width:100%}
.gift-editor-step form>label:not(.field-label){display:flex;gap:9px;align-items:center;font-size:12px;color:var(--ink);margin:6px 0 12px}
.gift-editor-step textarea.text-input{font:13px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.gift-editor-step .saved-actions{justify-content:flex-start}
.preview-gift{position:absolute;z-index:5;left:50%;bottom:4%;transform:translateX(-50%);width:88%;display:flex;justify-content:center;text-align:center}.preview-gift .gift-present-button{width:52px;height:52px}.preview-gift .gift-present-label{padding:5px 16px 6px}.preview-gift .gift-present-label strong{font-size:11px}.preview-gift .gift-present-label span{font-size:7px;letter-spacing:.8px}.preview-gift .gift-present-label::before{left:6px;font-size:8px}.preview-gift .gift-present-label::after{right:6px;font-size:8px}.preview-gift-reveal{width:100%;padding:8px 10px;border:1px solid #d7dacb;border-radius:10px;background:#fbf8efee;box-shadow:0 6px 18px #0b261b55;display:flex;flex-direction:column;align-items:center;font-size:10px;animation:gift-rise .45s ease-out}.preview-gift-reveal[hidden]{display:none}.preview-gift-reveal .gift-symbol{font-size:18px;line-height:1;color:#b88a4d}.preview-gift-reveal strong{font:13px/1.3 Georgia,serif;overflow-wrap:anywhere}
