*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#082c55;font-family:Arial,Tahoma,sans-serif}body{min-height:100dvh;display:flex;align-items:center;justify-content:center}.invitation{position:relative;width:min(100vw,calc(100dvh * 941 / 1672),520px);aspect-ratio:941/1672;background:#00aef4;overflow:hidden;box-shadow:0 0 45px #001b3d66}.scene{position:absolute;inset:0;display:none;overflow:hidden}.scene.active{display:block;animation:fade .4s ease both}@keyframes fade{from{opacity:0}to{opacity:1}}.artwork img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.hotspot{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);border:0;background:transparent;cursor:pointer;touch-action:manipulation;border-radius:14px}.hotspot:focus-visible{outline:3px solid #fff;outline-offset:2px;background:#ffffff24}.scene-video video{width:100%;height:100%;object-fit:contain;background:#00aef4}.video-start{position:absolute;left:50%;bottom:16%;transform:translateX(-50%);border:3px solid #fff;border-radius:24px;background:#ffd800;color:#084fbd;font-weight:900;padding:13px 22px;white-space:nowrap;font-size:clamp(13px,3.5vw,18px);cursor:pointer;box-shadow:0 5px 12px #0005}.skip{position:absolute;bottom:3%;right:3%;border:1px solid #fff8;border-radius:25px;background:#0647aacc;color:#fff;padding:8px 12px;font-size:12px;cursor:pointer}.music-toggle{position:absolute;top:1.5%;left:2%;z-index:3;border:1px solid #fff9;border-radius:20px;background:#0752a8db;color:#fff;font-weight:700;font-size:12px;padding:8px 10px;cursor:pointer}.guest-name{position:absolute;top:39.4%;left:17%;width:67%;height:4%;border:0;border-bottom:1px solid #9dc1ff;background:transparent;text-align:right;direction:rtl;font-size:clamp(12px,3vw,19px);color:#0b51a8;padding:0 3%;outline:none}.guest-name::placeholder{color:#8bb5e3}.modal{position:fixed;inset:0;z-index:20;background:#001a3bbd;display:flex;align-items:center;justify-content:center;padding:12px}.modal-panel{width:min(100%,540px);height:min(92dvh,900px);background:#fff;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 12px 35px #0007}.modal-header,.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;color:#084eaa}.modal-header button,.modal-footer button{background:#ffd900;border:0;border-radius:16px;padding:9px 14px;font-weight:700;color:#084eaa;cursor:pointer}.modal-footer{flex-wrap:wrap;font-size:12px}.modal-footer a{color:#084eaa}.modal iframe{width:100%;flex:1;border:0}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-aspect-ratio:941/1672){.invitation{width:100vw}}@media(prefers-reduced-motion:reduce){.scene.active{animation:none}}

/* Updated full-viewport experience: never crop or stretch the supplied artwork. */
html,body{width:100%;height:100%;overflow:hidden;background:#01b1fd}
body{display:block}
.invitation{width:100vw;height:100dvh;max-width:none;aspect-ratio:auto;box-shadow:none;background:#01b1fd}
.scene.artwork{background:#01b1fd}
/* Solid sky-blue side areas (replaces the blurred backdrop); artwork itself is untouched. */
#surprise{--scene-image:url('assets/surprise.png')}
#birthday{--scene-image:url('assets/birthday.png')}
#details{--scene-image:url('assets/details.png')}
#rsvp{--scene-image:url('assets/rsvp.png')}
.artwork-frame{position:absolute;width:min(100vw,calc(100dvh * 852 / 1846));height:min(100dvh,calc(100vw * 1846 / 852));left:50%;top:50%;transform:translate(-50%,-50%);overflow:hidden}
.artwork-frame>img{width:100%;height:100%;object-fit:contain}
.artwork-frame>.hotspot,.artwork-frame>.guest-name{position:absolute}
.scene-video{background:#05b7ef}
.scene-video video{width:100%;height:100%;object-fit:contain;background:#05b7ef}
.guest-name{top:38.2%;left:9%;width:83%;height:4.4%;background:#fff;border:0;border-radius:0;text-align:right;direction:rtl;padding:0 1% 0 0;font-size:clamp(14px,3.8vw,23px);color:#0b51a8;z-index:2}
.music-toggle{top:auto;bottom:calc(env(safe-area-inset-bottom) + 8px);left:8px;z-index:5;font-size:10px;line-height:1;padding:5px 8px;border-radius:14px;opacity:.8}
.video-start{bottom:14%}
.skip{bottom:calc(env(safe-area-inset-bottom) + 16px)}
