@charset "UTF-8";:root{--app-bg: #f5f1e8;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:var(--app-bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input,select,textarea{font-size:16px;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;background-color:var(--app-bg);font-family:sans-serif;min-height:100dvh}h1{font-size:3.2em;line-height:1.1}#app{width:100%;max-width:430px;margin:0 auto;background-color:var(--app-bg);text-align:center;position:relative;min-height:100dvh;overflow-x:hidden;transform:translateZ(0)}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em rgba(100,108,255,.6666666667))}.logo.vanilla:hover{filter:drop-shadow(0 0 2em rgba(247,223,30,.6666666667))}.card{padding:2em}.read-the-docs{color:#888}button{border-radius:12px;border:1px solid rgba(255,255,255,.2);padding:.75rem 1.5rem;font-size:1rem;background-color:#ffffff1a;color:#000;cursor:pointer;transition:all .2s ease-in-out;box-shadow:0 2px 6px #0000001a;letter-spacing:.3px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);touch-action:manipulation;font-family:Quicksand,sans-serif}button:hover{transform:translateY(-1px);background-color:#fff3;border-color:#ffffff4d;box-shadow:0 4px 10px #0003}button:active{transform:translateY(0);background-color:#ffffff26;box-shadow:0 2px 6px #0000001a}button:disabled{background-color:#8e8e9333;color:#aeaeb2cc;border-color:#8e8e934d;cursor:not-allowed;transform:none;box-shadow:0 1px 3px #0000001a}button:disabled:hover{transform:none;background-color:#8e8e9333;box-shadow:0 1px 3px #0000001a}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}#postControls{display:flex}@media (prefers-color-scheme: light){:root{color:#213547;background-color:var(--app-bg)}a:hover{color:#747bff}button{background-color:#f9f9f9}}h1{font-family:Sacramento,cursive}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content .permission-icon{color:#007aff;margin-bottom:1rem;display:flex;justify-content:center}.selfie-section .camera-wrapper .shutter-area{position:absolute;bottom:max(50px,env(safe-area-inset-bottom,50px));left:50%;transform:translate(-50%);z-index:10;display:flex;flex-direction:row;align-items:center;gap:24px}.name-section{height:100dvh;width:100%;display:none;background-color:var(--app-bg);flex-direction:column;justify-content:center;align-items:center}.name-section h2{color:#000}.name-section #nameActions button{background:#007aff33;color:#fff;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;border-radius:12px;border:1px solid rgba(0,122,255,.4);cursor:pointer;transition:all .2s ease-in-out;box-shadow:0 2px 6px #0000001a;letter-spacing:.3px;margin:0 .25rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-family:Reenie Beanie,cursive}.name-section #nameActions button:hover{transform:translateY(-1px);background:#007aff4d;border-color:#007aff80;box-shadow:0 4px 10px #0003}.name-section #nameActions button:active{transform:translateY(0);background:#007aff40;box-shadow:0 2px 6px #0000001a}.name-section #nameActions button#restartBtn{background:#ff3b3033;border-color:#ff3b3066;box-shadow:0 2px 6px #ff3b3033}.name-section #nameActions button#restartBtn:hover{background:#ff3b304d;border-color:#ff3b3080;box-shadow:0 4px 10px #ff3b304d}.name-section #nameActions button#submitNameBtn{background:#34c75933;border-color:#34c75966;box-shadow:0 2px 6px #34c75933}.name-section #nameActions button#submitNameBtn:hover{background:#34c7594d;border-color:#34c75980;box-shadow:0 4px 10px #34c7594d}.active-flex{display:flex}.gallery-section{display:none;position:fixed;top:0;left:50%;transform:translate(-50%);width:100%;max-width:430px;height:100dvh;background:var(--app-bg);z-index:1000;overflow-y:auto;overflow-x:hidden;padding:1rem;box-sizing:border-box}.gallery-section .gallery-container{width:100%;max-width:100%;margin:0 auto;text-align:center;display:flex;flex-direction:column;min-height:calc(100dvh - 2rem);overflow-x:hidden;padding-bottom:2rem;position:relative}.gallery-section .gallery-header{margin-bottom:1.75rem;margin-top:1.5rem;color:#1f1d18;flex-shrink:0}.gallery-section .gallery-header .gallery-title{font-family:Playfair Display,serif;font-style:italic;font-weight:500;font-size:2.2rem;margin:0 0 .4rem;color:#1f1d18;letter-spacing:.5px}.gallery-section .gallery-header .gallery-subtitle{font-family:Playfair Display,serif;font-size:.95rem;margin:0 0 1.1rem;color:#7c776b;font-weight:400}.gallery-section .gallery-header .gallery-stats{background:#0000000a;padding:.55rem 1.25rem;border-radius:999px;border:1px solid rgba(0,0,0,.1);display:inline-block;font-family:Quicksand,sans-serif;font-size:.78rem;font-weight:600;letter-spacing:.3px;color:#5a564c}.gallery-section .polaroid-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;margin-bottom:2rem;padding:0 0 2rem;flex:1;align-content:start;justify-items:center;width:100%;max-width:100%;overflow:visible;min-height:auto}.gallery-section .polaroid-grid .polaroid-item{background:#fff;padding:.5rem .5rem 0;border-radius:2px;box-shadow:0 6px 18px #0000001f;transition:transform .25s ease,box-shadow .25s ease;position:relative;cursor:pointer;display:flex;flex-direction:column;width:80%;overflow:hidden}.gallery-section .polaroid-grid .polaroid-item:hover{transform:translateY(-3px);box-shadow:0 10px 26px #0000002e}.gallery-section .polaroid-grid .polaroid-item .polaroid-photo{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:0;background:#ece8dd;display:block}.gallery-section .polaroid-grid .polaroid-item .polaroid-photo[src=""],.gallery-section .polaroid-grid .polaroid-item .polaroid-photo:not([src]){display:flex;align-items:center;justify-content:center;color:#b9b3a3;font-size:.7rem}.gallery-section .polaroid-grid .polaroid-item .polaroid-info{background:#fff;padding:.55rem .4rem .7rem;text-align:center;overflow:hidden}.gallery-section .polaroid-grid .polaroid-item .polaroid-info .guest-name{font-family:Reenie Beanie,cursive;font-size:1.05rem;font-weight:600;margin:0 0 .1rem;color:#2b2b2b;line-height:1.1;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-section .polaroid-grid .polaroid-item .polaroid-info .guest-date{font-family:Quicksand,sans-serif;font-size:.62rem;letter-spacing:.5px;color:#9a9486;margin:0;word-wrap:break-word}.gallery-section .gallery-actions{display:flex;flex-direction:column;gap:.8rem;align-items:center;margin-top:auto;padding-top:1rem;flex-shrink:0}.gallery-section .gallery-actions .gallery-btn{padding:.8rem 1.5rem;border:none;border-radius:20px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100%;max-width:280px}.gallery-section .gallery-actions .gallery-btn:not(.primary){background:#0000000f;color:#1f1d18;border:1px solid rgba(0,0,0,.15)}.gallery-section .gallery-actions .gallery-btn:not(.primary):hover{background:#0000001a;transform:translateY(-1px)}.gallery-section .gallery-actions .gallery-btn.primary{background:linear-gradient(45deg,#ff6b6b,#ff8e8e);color:#fff;border:1px solid rgba(255,107,107,.3);box-shadow:0 3px 10px #ff6b6b4d}.gallery-section .gallery-actions .gallery-btn.primary:hover{background:linear-gradient(45deg,#ff5252,#ff7676);transform:translateY(-1px);box-shadow:0 5px 15px #ff6b6b66}@media (max-width: 360px){.gallery-section{padding:.5rem}.gallery-section .polaroid-grid{grid-template-columns:repeat(2,1fr);gap:.6rem}.gallery-section .polaroid-grid .polaroid-item{padding:.35rem .35rem 0}.gallery-section .polaroid-grid .polaroid-item .polaroid-info .guest-name{font-size:.9rem}.gallery-section .polaroid-grid .polaroid-item .polaroid-info .guest-date{font-size:.55rem}}@media (min-width: 768px){.gallery-section{padding:2rem}.gallery-section .gallery-container{max-width:900px}.gallery-section .gallery-header{margin-bottom:2.25rem}.gallery-section .gallery-header .gallery-title{font-size:3rem}.gallery-section .gallery-header .gallery-subtitle{font-size:1.15rem}.gallery-section .gallery-header .gallery-stats{padding:.7rem 1.75rem;font-size:.85rem}.gallery-section .polaroid-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-bottom:3rem;max-width:100%}.gallery-section .polaroid-grid .polaroid-item{padding:.7rem .7rem 0}.gallery-section .polaroid-grid .polaroid-item .polaroid-info .guest-name{font-size:1.2rem;white-space:normal;line-height:1.2}.gallery-section .polaroid-grid .polaroid-item .polaroid-info .guest-date{font-size:.7rem}.gallery-section .gallery-actions{flex-direction:row;gap:1rem;justify-content:center}.gallery-section .gallery-actions .gallery-btn{width:auto;min-width:180px;padding:1rem 2rem;font-size:1.1rem}}@media (min-width: 1024px){.gallery-section .gallery-header .gallery-title{font-size:3.5rem}.gallery-section .gallery-header .gallery-subtitle{font-size:1.3rem}.gallery-section .polaroid-grid{grid-template-columns:repeat(3,1fr);gap:1.75rem;max-width:100%}.gallery-section .polaroid-grid .polaroid-item{padding:.85rem .85rem 0}.gallery-section .polaroid-grid .polaroid-item .polaroid-info .guest-name{font-size:1.3rem;white-space:normal;line-height:1.3}.gallery-section .polaroid-grid .polaroid-item .polaroid-info .guest-date{font-size:.75rem}}.lightbox-modal{display:none;position:fixed;z-index:2000;left:0;top:0;width:100%;height:100%;background-color:#000000f2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;transition:opacity .3s ease}.lightbox-modal.show{display:flex;opacity:1}.lightbox-content{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:2rem;box-sizing:border-box}.lightbox-close{position:absolute;top:20px;right:30px;color:#fff;font-size:2.5rem;font-weight:700;cursor:pointer;z-index:2001;transition:all .3s ease}.lightbox-close:hover{color:#ff6b6b;transform:scale(1.1)}.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%);color:#fff;font-size:2rem;font-weight:700;cursor:pointer;background:#00000080;border:none;padding:1rem;border-radius:50%;transition:all .3s ease;z-index:2001}.lightbox-prev:hover,.lightbox-next:hover{background:#000c;transform:translateY(-50%) scale(1.1)}.lightbox-prev{left:30px}.lightbox-next{right:30px}.lightbox-image-container{position:relative;max-width:90%;max-height:90%;display:flex;flex-direction:column;align-items:center;justify-content:center}.lightbox-image-container:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:calc(100% + 4rem);height:calc(100% + 6rem);background:#fff;border-radius:0;box-shadow:0 0 0 1px #0000001a,0 20px 40px #0000004d,0 0 0 1px #fffc inset;z-index:-1;pointer-events:none}.lightbox-image{max-width:100%;max-height:80vh;object-fit:contain;border-radius:0;box-shadow:none;transition:transform .3s ease;position:relative;z-index:1}.lightbox-image:hover{transform:scale(1.02)}.lightbox-info{margin-top:1rem;min-width:250px;text-align:center;color:#333;padding:1rem 2rem}.lightbox-name{font-family:Reenie Beanie,cursive;font-size:1.5rem;font-weight:600;margin-bottom:.5rem;color:#333}.lightbox-date{font-size:1rem;color:#666;opacity:.9}.lightbox-counter{position:absolute;bottom:30px;left:50%;transform:translate(-50%);color:#fff;background:#000000b3;padding:.5rem 1rem;border-radius:20px;font-size:.9rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}@media (max-width: 768px){.lightbox-content{padding:1rem}.lightbox-close{top:15px;right:20px;font-size:2rem}.lightbox-prev,.lightbox-next{font-size:1.5rem;padding:.8rem}.lightbox-prev{left:20px}.lightbox-next{right:20px}.lightbox-image{max-height:70vh}.lightbox-image-container:before{width:calc(100% + 2rem);height:calc(100% + 4rem)}.lightbox-info{padding:.8rem 1.5rem;margin-top:.8rem}.lightbox-name{font-size:1.2rem}.lightbox-date{font-size:.9rem}.lightbox-counter{bottom:20px;font-size:.8rem;padding:.4rem .8rem}}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}to{transform:scale(1);opacity:1}}.splash-screen{position:fixed;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--app-bg);color:#2b2b2b;z-index:9999;opacity:1;visibility:visible;transition:opacity 1s ease,visibility .6s ease;overflow:hidden;padding:2rem 1.5rem}.splash-screen .flower-top,.splash-screen .flower-bottom{position:absolute;left:0;width:100%;z-index:1;pointer-events:none}.splash-screen .flower-top img,.splash-screen .flower-bottom img{display:block;width:100%;height:auto;max-height:18vh;object-fit:cover}.splash-screen .flower-top{top:0}.splash-screen .flower-bottom{bottom:0}.splash-screen .splash-inner{position:relative;z-index:2;width:100%;max-width:360px;display:flex;flex-direction:column;align-items:center;text-align:center}.splash-screen .splash-eyebrow{font-family:Playfair Display,serif;font-style:italic;font-size:1.05rem;color:#4a463d;margin:0 0 .4rem;letter-spacing:.5px}.splash-screen .splash-names{display:flex;flex-direction:column;align-items:center;line-height:.95;margin:.2rem 0 1.4rem}.splash-screen .splash-names .splash-name{font-family:Playfair Display,serif;font-style:italic;font-weight:500;font-size:4rem;color:#1f1d18;margin:0;line-height:1}.splash-screen .splash-names .splash-amp{font-family:Playfair Display,serif;font-style:italic;font-size:1.6rem;color:#b08d4f;margin:.1rem 0}.splash-screen .splash-divider{display:flex;align-items:center;justify-content:center;gap:.75rem;width:160px;margin:0 0 1.6rem}.splash-screen .splash-divider .line{flex:1;height:1px;background:#2b2b2b59}.splash-screen .splash-divider .ornament{font-size:.7rem;color:#b08d4f;line-height:1}.splash-screen .splash-date{font-family:Playfair Display,serif;font-size:1.15rem;color:#2b2b2b;margin:0 0 .45rem;letter-spacing:.3px}.splash-screen .splash-date sup{font-size:.6em;vertical-align:super}.splash-screen .splash-location{font-family:Quicksand,sans-serif;font-size:.78rem;font-weight:500;letter-spacing:4px;text-transform:uppercase;color:#7c776b;margin:0 0 2.6rem}.splash-screen .start-button{width:100%;max-width:300px;text-align:center;background:#1f1d18;border-radius:2px;cursor:pointer;transition:transform .2s ease,background .2s ease;box-shadow:0 12px 28px #1f1d1838}.splash-screen .start-button:hover{transform:translateY(-2px);background:#000}.splash-screen .start-button:active{transform:translateY(0)}.splash-screen .start-button p{color:#f5f1e8;font-family:Quicksand,sans-serif;font-weight:600;font-size:.85rem;letter-spacing:2.5px;margin:1rem 1.5rem}.splash-screen .splash-subtext{font-family:Playfair Display,serif;font-style:italic;font-size:.85rem;color:#9a9486;margin:1.3rem 0 0}.splash-screen.removed{opacity:0;visibility:hidden}.splash-screen.fade-out{opacity:0;pointer-events:none}@media (max-height: 640px){.splash-screen .splash-names .splash-name{font-size:3.2rem}.splash-screen .splash-location{margin-bottom:2rem}}.brides-greeting-section{display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:100%;position:fixed;opacity:1;visibility:visible;transition:opacity 1s ease,visibility .6s ease}.brides-greeting-section.hidden{opacity:0;visibility:hidden;pointer-events:none}.brides-greeting-section.fade-out{opacity:0;pointer-events:none}.brides-greeting-section .flower-top,.brides-greeting-section .flower-bottom{position:relative;width:100%;pointer-events:none}.brides-greeting-section .flower-top img,.brides-greeting-section .flower-bottom img{display:block;width:100%;height:auto;max-height:18vh;object-fit:cover}.content-wrapper{width:90%;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.25rem}.greeting-title{display:flex;flex-direction:column;align-items:center;line-height:1.05}.greeting-title .greeting-title-line{font-family:Playfair Display,serif;font-style:italic;font-weight:500;font-size:1.6rem;color:#1f1d18}.greeting-title .greeting-title-line:last-child{color:#b08d4f}.greeting-polaroid{background:#fff;padding:.7rem .7rem 1.6rem;box-shadow:0 12px 32px #00000040;transform:rotate(-2deg);width:min(58vw,30vh,240px);min-width:180px}.greeting-polaroid .greeting-polaroid-photo{width:100%;aspect-ratio:1/1;background:#e7e3d8;display:flex;align-items:center;justify-content:center;overflow:hidden}.greeting-polaroid .greeting-polaroid-photo img{width:100%;height:100%;object-fit:cover;display:block}.greeting-polaroid .greeting-polaroid-photo.no-photo:after{content:"♥";font-size:2rem;color:#b9b3a3}.waveform-container{width:90%;max-width:100%;height:80px;margin:0 auto;background:#000;border-radius:12px;padding:1rem;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden}.visualizer-canvas{width:100%;height:80px;background:#000;border-radius:8px;display:block;margin:.75rem auto}#lyricsBox{transition:opacity .4s ease;opacity:1;font-size:1.2rem;line-height:1.4;color:#fff;font-family:Playfair Display,serif;text-shadow:0 1px 2px rgba(0,0,0,.1);text-align:center;margin:25px auto;min-height:2em;padding:15px 20px;max-width:100%;word-wrap:break-word}#lyricsBox.fade-out{opacity:0}.guest-wishes-section{text-align:center;display:none;flex-direction:column;align-items:center;justify-content:space-between;min-height:100dvh;width:100%;position:relative}.guest-wishes-section .flower-top,.guest-wishes-section .flower-bottom{position:relative;width:100%;pointer-events:none}.guest-wishes-section .flower-top img,.guest-wishes-section .flower-bottom img{display:block;width:100%;height:auto;max-height:18vh;object-fit:cover}.guest-wishes-section .voice-recorder-container{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem}.guest-wishes-section .recorder-title{color:#000;font-size:1.5rem;font-weight:600;margin:0;font-family:Playfair Display,serif}.guest-wishes-section .guest-wishes-title{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.4rem;margin-bottom:.5rem}.guest-wishes-section .guest-wishes-title .guest-wishes-eyebrow{margin:0;font-family:Quicksand,sans-serif;font-size:.72rem;font-weight:600;letter-spacing:4px;text-transform:uppercase;color:#9a9486}.guest-wishes-section .guest-wishes-title .guest-wishes-heading{margin:0;font-family:Playfair Display,serif;font-style:italic;font-weight:500;font-size:1.8rem;color:#1f1d18}.guest-wishes-section .guest-wishes-title .guest-wishes-subtext{margin:0;font-family:Playfair Display,serif;font-size:.92rem;color:#7c776b}.guest-wishes-section .recording-indicator-container{position:relative;width:100px;height:100px;display:flex;align-items:center;justify-content:center}.guest-wishes-section .recording-indicator-container:before,.guest-wishes-section .recording-indicator-container:after{content:"";position:absolute;border-radius:50%;border:2px solid rgba(255,75,92,.3);animation:pulseCircle 2s infinite}.guest-wishes-section .recording-indicator-container:before{width:120px;height:120px;animation-delay:0s}.guest-wishes-section .recording-indicator-container:after{width:90px;height:90px;animation-delay:1s}.guest-wishes-section .recording-indicator-container.recording:before,.guest-wishes-section .recording-indicator-container.recording:after{animation-play-state:running}.guest-wishes-section .recording-indicator-container:not(.recording):before,.guest-wishes-section .recording-indicator-container:not(.recording):after{animation-play-state:paused;opacity:0}.guest-wishes-section .waveform-container{width:80%;height:80px;background:#000;border-radius:12px;padding:1rem;display:flex;align-items:center;justify-content:center}.guest-wishes-section .waveform-canvas{width:100%;height:100%;background:transparent;border-radius:8px}.guest-wishes-section .recording-indicator{position:relative;z-index:3;width:70px;height:70px;border-radius:50%;background:#ff4b5c;display:flex;align-items:center;justify-content:center;box-shadow:0 0 20px #ff4b5c99;transition:all .3s ease;cursor:pointer}.guest-wishes-section .recording-indicator.recording{animation:pulseMic 1.5s infinite}.guest-wishes-section .recording-indicator .microphone-icon{position:relative;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.guest-wishes-section .recording-indicator .microphone-icon .mic-circle{position:relative}.guest-wishes-section .recording-indicator .microphone-icon .mic-circle img{width:70%}.guest-wishes-section .recording-timer{color:#000;font-size:1.5rem;font-weight:600;font-family:Courier New,monospace;letter-spacing:2px}.guest-wishes-section .recording-controls{display:flex;flex-direction:column;gap:1rem;width:100%;align-items:center}.guest-wishes-section .record-btn{color:#000;padding:1rem 2rem;border:none;border-radius:25px;cursor:pointer;transition:all .3s ease}.guest-wishes-section .pause-btn{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#2ed573,#1dd1a1);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px #2ed5734d;transition:all .3s ease}.guest-wishes-section .pause-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #2ed57366}.guest-wishes-section .pause-btn .pause-icon{font-size:1.5rem;color:#fff}.guest-wishes-section .stop-btn{background:linear-gradient(135deg,#ff6b9d,#ff4757);color:#fff;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;border:none;border-radius:20px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #ff6b9d4d}.guest-wishes-section .stop-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ff6b9d66}.guest-wishes-section .post-controls{display:flex;gap:1rem;width:100%;justify-content:center}.guest-wishes-section .restart-btn,.guest-wishes-section .save-btn{background:#ffffff1a;color:#000;padding:.75rem 1.5rem;border:1px solid rgba(255,255,255,.2);border-radius:20px;cursor:pointer;transition:all .3s ease}.guest-wishes-section .restart-btn:hover,.guest-wishes-section .save-btn:hover{background:#fff3;transform:translateY(-2px)}.guest-wishes-section .save-btn{border:none}@keyframes pulseCircle{0%{transform:scale(.8);opacity:.8}50%{transform:scale(1.2);opacity:.4}to{transform:scale(1.5);opacity:0}}@keyframes pulseMic{0%{transform:scale(1);box-shadow:0 0 20px #ff4b5c99}50%{transform:scale(1.05);box-shadow:0 0 30px #ff4b5ccc}to{transform:scale(1);box-shadow:0 0 20px #ff4b5c99}}.selfie-section{display:none;position:fixed;top:0;left:0;width:100%;height:100dvh;background:#000;z-index:1000;transform:none;transform-origin:center}.selfie-section .camera-wrapper{position:relative;width:100%;height:100%;overflow:hidden;transform:none;transform-origin:center;display:flex;flex-direction:column}.selfie-section .camera-wrapper video{width:100%;height:100%;object-fit:cover;object-position:center;transform:scaleX(-1);transform-origin:center}.selfie-section .camera-wrapper .camera-filter{position:absolute;inset:0;pointer-events:none;mix-blend-mode:overlay;background:radial-gradient(circle at 20% 50%,transparent 20%,rgba(120,120,120,.03) 21%,rgba(120,120,120,.03) 34%,transparent 35%,transparent),radial-gradient(circle at 40% 20%,transparent 20%,rgba(120,120,120,.03) 21%,rgba(120,120,120,.03) 34%,transparent 35%,transparent),radial-gradient(circle at 90% 40%,transparent 20%,rgba(120,120,120,.03) 21%,rgba(120,120,120,.03) 34%,transparent 35%,transparent),radial-gradient(circle at 40% 90%,transparent 20%,rgba(120,120,120,.03) 21%,rgba(120,120,120,.03) 34%,transparent 35%,transparent),linear-gradient(#0000001a,#ffffff1a);filter:contrast(1.3) saturate(0) brightness(.9);background-size:200px 200px,180px 180px,220px 220px,190px 190px,100% 100%}.selfie-section .camera-wrapper .camera-filter:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,255,255,.03) 2px,rgba(255,255,255,.03) 4px),repeating-linear-gradient(90deg,transparent,transparent 2px,rgba(0,0,0,.03) 2px,rgba(0,0,0,.03) 4px);mix-blend-mode:multiply;opacity:.6}.selfie-section .camera-wrapper .filter-controls{position:absolute;top:20px;left:50%;transform:translate(-50%);z-index:10;display:flex;gap:.5rem;background:#00000080;padding:.5rem;border-radius:25px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.selfie-section .camera-wrapper .filter-controls .filter-btn{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:20px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .3s ease}.selfie-section .camera-wrapper .filter-controls .filter-btn:hover{background:#ffffff4d;transform:translateY(-1px)}.selfie-section .camera-wrapper .filter-controls .filter-btn.active{background:#ffffffe6;color:#000;border-color:#ffffffe6;box-shadow:0 2px 8px #0000004d}.selfie-section .camera-wrapper .camera-permission-overlay{position:absolute;inset:0;background:#000c;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);display:flex;align-items:center;justify-content:center;z-index:20;opacity:1;transition:opacity .5s ease}.selfie-section .camera-wrapper .camera-permission-overlay.hidden{opacity:0;pointer-events:none}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:1rem;text-align:center;max-width:400px;width:80%}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content .permission-title{font-size:1.5rem;font-weight:600;color:#fff;margin:0 0 1rem;font-family:Playfair Display,serif}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content .permission-message{color:#666;font-size:1rem;line-height:1.5;margin:0 0 1.5rem}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content .permission-button{font-family:sans-serif;color:#fff;border:none;padding:1rem 2rem;border-radius:25px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content .permission-button:hover{transform:translateY(-2px)}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content .permission-button:active{transform:translateY(0)}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content .permission-warning{color:#ffd24a;font-size:.92rem;font-weight:600;line-height:1.45;margin:1.25rem 0 0;padding:.65rem .9rem;border:1px solid rgba(255,210,74,.5);border-radius:10px;background:#ffd24a1f}.selfie-section .camera-wrapper .camera-permission-overlay .permission-content .permission-note{color:#999;font-size:.85rem;margin:1rem 0 0;line-height:1.4}.selfie-section .camera-wrapper .shutter-area{position:absolute;bottom:max(50px,env(safe-area-inset-bottom,50px));left:50%;transform:translate(-50%);z-index:10;display:flex;align-items:center;gap:24px}.selfie-section .camera-wrapper .shutter-button-wrapper{width:80px;height:80px;flex-shrink:0;display:flex;justify-content:center;align-items:center;border-radius:50%;border:4px solid white;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 20px #0000004d;transition:all .3s ease}.selfie-section .camera-wrapper .shutter-button-wrapper:hover{transform:scale(1.05);background:#fff3}.selfie-section .camera-wrapper .shutter-button-wrapper .shutter-button{width:60px;height:60px;border-radius:50%;background:#fff;border:none;cursor:pointer;transition:all .2s ease}.selfie-section .camera-wrapper .shutter-button-wrapper .shutter-button:active{transform:scale(.95)}.selfie-section .camera-wrapper .shutter-button-wrapper .shutter-button:disabled{background:#ffffff4d;cursor:not-allowed;opacity:.5}.selfie-section .camera-wrapper .flip-camera-btn,.selfie-section .camera-wrapper .upload-image-btn{width:48px;height:48px;flex-shrink:0;border-radius:50%;background:#ffffff26;border:2px solid rgba(255,255,255,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 10px #0000004d}.selfie-section .camera-wrapper .flip-camera-btn svg,.selfie-section .camera-wrapper .flip-camera-btn img,.selfie-section .camera-wrapper .upload-image-btn svg,.selfie-section .camera-wrapper .upload-image-btn img{width:22px;height:22px;object-fit:contain;pointer-events:none}.selfie-section .camera-wrapper .flip-camera-btn:hover,.selfie-section .camera-wrapper .upload-image-btn:hover{background:#ffffff4d;transform:scale(1.08)}.selfie-section .camera-wrapper .flip-camera-btn:active,.selfie-section .camera-wrapper .upload-image-btn:active{transform:scale(.95)}.selfie-section .camera-wrapper .flip-camera-btn.spinning svg,.selfie-section .camera-wrapper .flip-camera-btn.spinning img{animation:flip-spin .4s ease}@keyframes flip-spin{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@media (max-height: 600px){.selfie-section .camera-wrapper .shutter-area{bottom:max(30px,env(safe-area-inset-bottom,30px))}.selfie-section .camera-wrapper .shutter-button-wrapper{width:70px;height:70px}.selfie-section .camera-wrapper .shutter-button-wrapper .shutter-button{width:50px;height:50px}.selfie-section .camera-wrapper .flip-camera-btn,.selfie-section .camera-wrapper .upload-image-btn{width:42px;height:42px}.selfie-section .camera-wrapper .flip-camera-btn svg,.selfie-section .camera-wrapper .flip-camera-btn img,.selfie-section .camera-wrapper .upload-image-btn svg,.selfie-section .camera-wrapper .upload-image-btn img{width:18px;height:18px}}@media (max-height: 500px){.selfie-section .camera-wrapper .shutter-button-wrapper{width:60px;height:60px}.selfie-section .camera-wrapper .shutter-button-wrapper .shutter-button{width:40px;height:40px}.selfie-section .camera-wrapper .flip-camera-btn,.selfie-section .camera-wrapper .upload-image-btn{width:36px;height:36px}.selfie-section .camera-wrapper .flip-camera-btn svg,.selfie-section .camera-wrapper .flip-camera-btn img,.selfie-section .camera-wrapper .upload-image-btn svg,.selfie-section .camera-wrapper .upload-image-btn img{width:16px;height:16px}}.selfie-section .flash-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#fff;opacity:0;pointer-events:none;z-index:20;transition:opacity .1s ease}.selfie-section .flash-overlay.flash{opacity:1}.final-preview-overlay{display:none;position:relative;inset:0;margin:0 auto;flex-direction:column;justify-content:space-between;align-items:center;min-height:100dvh;height:100%;width:100%;overflow-x:hidden;gap:.75rem}.final-preview-overlay .hidden-control{display:none!important}.final-preview-overlay .flower-top,.final-preview-overlay .flower-bottom{width:100%;z-index:1;pointer-events:none}.final-preview-overlay .flower-top img,.final-preview-overlay .flower-bottom img{display:block;width:100%;height:auto;max-height:18vh;object-fit:cover}.final-preview-overlay .preview-wrapper{position:relative;z-index:2;width:100%;display:flex;flex-direction:column;align-items:center;gap:.75rem}.final-preview-overlay .preview-wrapper .polaroid-flip{position:relative;z-index:2;width:min(76vw,42vh,380px);min-width:240px;perspective:1600px}.final-preview-overlay .preview-wrapper .polaroid-flip .polaroid-flip-inner{position:relative;width:100%;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.4,.2,.2,1)}.final-preview-overlay .preview-wrapper .polaroid-flip.flipped .polaroid-flip-inner{transform:rotateY(180deg)}.final-preview-overlay .preview-wrapper .polaroid-flip .polaroid-frame{backface-visibility:hidden;-webkit-backface-visibility:hidden;width:100%;min-width:0}.final-preview-overlay .preview-wrapper .polaroid-flip .polaroid-back{position:absolute;inset:0;transform:rotateY(180deg)}.final-preview-overlay .preview-wrapper .polaroid-frame{position:relative;z-index:2;background:#fff;padding:1rem 1rem 3rem;box-shadow:0 12px 40px #0006;text-align:center;width:min(76vw,42vh,380px);min-width:240px;display:flex;flex-direction:column;align-items:center}.final-preview-overlay .preview-wrapper .polaroid-frame .photo-area{width:100%;aspect-ratio:1/1;background:#d9d9d9;border:3px solid #fff;display:flex;align-items:center;justify-content:center;overflow:hidden}.final-preview-overlay .preview-wrapper .polaroid-frame .photo-area .guest-photo{width:100%;height:100%;object-fit:cover}.final-preview-overlay .preview-wrapper .polaroid-frame .guest-info{width:100%}.final-preview-overlay .preview-wrapper .polaroid-frame .guest-info .guest-name{font-family:Reenie Beanie,cursive;font-weight:bolder;font-size:clamp(1.35rem,4.8vw,1.9rem);color:#333;margin:10px 0;text-shadow:0 1px 2px rgba(0,0,0,.1);transform:rotate(357deg)}.final-preview-overlay .preview-wrapper .polaroid-frame .guest-info .editable-name{font-size:clamp(1.25rem,4.6vw,1.8rem);font-weight:600;font-family:Reenie Beanie,cursive;margin:10px 0;text-shadow:0 1px 2px rgba(0,0,0,.1);transform:rotate(357deg);text-align:center;margin-top:1rem;position:relative;display:block;width:100%;word-break:break-word;overflow-wrap:break-word;cursor:text;color:#000}.final-preview-overlay .preview-wrapper .polaroid-frame .guest-info .cursor{display:inline-block;width:1px;height:1.2em;background-color:#fff;margin-left:4px;animation:blink 1s step-start infinite}@keyframes blink{50%{opacity:0}}.final-preview-overlay .preview-wrapper .polaroid-frame .guest-info .audio-visualizer{display:none;width:100%;height:60px;background:#f4f4f4;border-radius:4px;border:1px solid #ddd;box-shadow:inset 0 2px 6px #00000014}.final-preview-overlay .preview-wrapper .polaroid-frame .bottom-bar{position:absolute;bottom:.2rem;right:.5rem}.final-preview-overlay .preview-wrapper .polaroid-frame .bottom-bar .guest-date{font-size:.9rem;color:#555;opacity:.8;font-family:Poppins,sans-serif}.final-preview-overlay .preview-wrapper .polaroid-back{justify-content:flex-start}.final-preview-overlay .preview-wrapper .polaroid-back .message-input{width:100%;flex:1;min-height:clamp(180px,30vh,260px);resize:none;border:none;outline:none;background:transparent;font-family:Reenie Beanie,cursive;font-size:clamp(1.2rem,5vw,1.6rem);line-height:1.45;color:#333;text-align:left;padding:.25rem;box-sizing:border-box;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(1.45em - 1px),rgba(0,0,0,.08) calc(1.45em - 1px),rgba(0,0,0,.08) 1.45em);line-height:1.45em}.final-preview-overlay .preview-wrapper .polaroid-back .message-input::placeholder{color:#b3a98f;opacity:1}.final-preview-overlay .preview-wrapper .polaroid-back .message-meta{width:100%;display:flex;justify-content:flex-end;padding-top:.35rem}.final-preview-overlay .preview-wrapper .polaroid-back .message-meta .message-word-count{font-size:.8rem;color:#888;font-family:Poppins,sans-serif}.final-preview-overlay .preview-wrapper .polaroid-back .message-meta .message-word-count.over-limit{color:#ff5252;font-weight:600}.final-preview-overlay .preview-wrapper .card-flip-btn{position:absolute;bottom:.55rem;left:.6rem;z-index:3;display:inline-flex;align-items:center;gap:.3rem;padding:.28rem .6rem .28rem .45rem;border:1px solid rgba(0,0,0,.12);border-radius:999px;background:#ffffffeb;color:#6b6b6b;cursor:pointer;box-shadow:0 2px 6px #0000001f;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:transform .2s ease,color .2s ease,box-shadow .2s ease;animation:flip-hint 2.4s ease-in-out 1s 2}.final-preview-overlay .preview-wrapper .card-flip-btn svg{width:15px;height:15px;flex-shrink:0}.final-preview-overlay .preview-wrapper .card-flip-btn .card-flip-label{font-family:Poppins,sans-serif;font-size:.72rem;font-weight:500;letter-spacing:.2px;line-height:1}.final-preview-overlay .preview-wrapper .card-flip-btn:hover{color:#2b2b2b;transform:translateY(-1px);box-shadow:0 4px 10px #0000002e}.final-preview-overlay .preview-wrapper .card-flip-btn:active{transform:translateY(0) scale(.96)}.final-preview-overlay .preview-wrapper .card-flip-btn:hover svg{animation:flip-spin .5s ease}@keyframes flip-hint{0%,to{transform:translateY(0)}50%{transform:translateY(-3px);box-shadow:0 6px 12px #0003}}@keyframes flip-spin{0%{transform:rotate(0)}to{transform:rotate(-180deg)}}.final-preview-overlay .preview-wrapper .retake-photo-section{position:relative;z-index:2;margin-top:20px;margin-bottom:10px}.final-preview-overlay .preview-wrapper .retake-photo-section .retake-photo-text{color:#ff6b6b;font-size:1rem;font-weight:500;cursor:pointer;text-decoration:underline;transition:all .3s ease;font-family:Poppins,sans-serif}.final-preview-overlay .preview-wrapper .retake-photo-section .retake-photo-text:hover{color:#ff5252;text-decoration:none;transform:scale(1.05)}.final-preview-overlay .preview-wrapper .final-button{position:relative;z-index:2;display:flex;flex-direction:row;justify-content:center;gap:20px;width:100%;max-width:300px;margin-top:16px}.final-preview-overlay .preview-wrapper .final-button .hidden-control{display:none}@media (max-height: 740px){.final-preview-overlay .polaroid-flip{width:min(72vw,40vh,340px)}.final-preview-overlay .polaroid-frame{width:min(72vw,40vh,340px);padding:.9rem .9rem 2.6rem}.final-preview-overlay .retake-photo-section{margin-top:12px;margin-bottom:8px}.final-preview-overlay .final-button{margin-top:10px}}@media (max-width: 430px){.final-preview-overlay .polaroid-flip{width:min(70vw,36vh,320px);min-width:220px}.final-preview-overlay .polaroid-frame{width:min(70vw,36vh,320px);min-width:220px;padding:.85rem .85rem 2.3rem}.final-preview-overlay .retake-photo-section{margin-top:10px;margin-bottom:6px}.final-preview-overlay .final-button{gap:12px;max-width:260px;margin-top:8px}}
