.ap-demo-ribbon{position:fixed;z-index:999;top:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:14px;padding:9px 15px;background:#382030;color:#fff;font:12px Nunito,sans-serif;box-shadow:0 2px 16px #0002}.ap-demo-ribbon a{color:#ffbdd4}.ap-demo-ribbon button{font:inherit;padding:5px 10px;background:#ffffff18;color:white;border:1px solid #ffffff40;border-radius:20px;cursor:pointer}.ap-demo-document{padding-top:48px}.ap-demo-document #gate{top:48px;min-height:calc(100dvh - 48px)}.ap-demo-document #site>header{top:48px}.ap-demo-document #album-editor,.ap-demo-document #journey-editor,.ap-demo-document #edit-map{display:none!important}.ap-demo-document.ap-meeting-only [data-map-mode=distance],.ap-demo-document.ap-meeting-only [data-map-mode=trips]{display:none!important}.ap-external-note{background:var(--t-paper);border:1px solid var(--t-line);border-radius:16px;padding:14px;color:var(--t-ink);text-align:center}.ap-external-note button{font:inherit;cursor:pointer;margin:8px;border-radius:20px;padding:8px 14px;border:1px solid var(--t-accent);background:transparent;color:var(--t-accent)}@media(max-width:600px){.ap-demo-ribbon{font-size:10px;gap:6px;flex-wrap:wrap;min-height:48px;padding:5px}.ap-demo-ribbon a{display:none}.ap-demo-document #gate{padding-top:30px}.ap-demo-ribbon button{padding:4px 7px}}
.ap-demo-embedded{padding-top:0}.ap-demo-embedded .ap-demo-ribbon{display:none}.ap-demo-embedded #gate{top:0;min-height:100dvh}.ap-demo-embedded #site>header{top:0}.ap-demo-document #gate .gate-card{align-self:flex-start}
@media(max-width:320px){.ap-demo-embedded #gate{padding:14px 10px;align-items:flex-start}.ap-demo-embedded .gate-card{margin:0 auto;padding:15px 12px;flex-shrink:0}.ap-demo-embedded .gate-art{display:none}.ap-demo-embedded .gate-top{gap:8px;padding-bottom:8px;margin-bottom:8px}.ap-demo-embedded .gate-top b{font-size:23px}.ap-demo-embedded .gate-top>span{font-size:9px}.ap-demo-embedded .gate-card h1{font-size:28px;margin:10px 0}.ap-demo-embedded .gate-card>.eyebrow{font-size:8px}.ap-demo-embedded .gate-card>p{font-size:10px;margin-bottom:10px}.ap-demo-embedded .pin-slots{gap:4px}.ap-demo-embedded .pin-slot{width:25px;height:28px}.ap-demo-embedded .keypad{padding:8px;gap:6px}.ap-demo-embedded .keypad button{height:34px;font-size:18px}.ap-demo-embedded .gate-card .unlock-button{font-size:10px;margin-top:12px;padding:9px}.ap-demo-embedded .gate-sweetheart{transform:scale(.8);margin:5px auto}.ap-demo-embedded .gate-names{font-size:18px}}
/* Embedded phone previews retain touch, without nested browser chrome. */
.ap-demo-embedded,.ap-demo-embedded body,.ap-demo-embedded #gate,.ap-demo-embedded #site{scrollbar-width:none!important}.ap-demo-embedded::-webkit-scrollbar,.ap-demo-embedded body::-webkit-scrollbar,.ap-demo-embedded #gate::-webkit-scrollbar,.ap-demo-embedded #site::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
@media(max-width:320px){.ap-demo-embedded #gate{overflow:hidden!important}.ap-demo-embedded #gate .gate-card{zoom:.76;margin-inline:auto;max-width:none;width:235px}.ap-demo-embedded #gate .gate-card h1{line-height:1.1}.ap-demo-embedded .gate-top{margin-bottom:4px}.ap-demo-embedded .gate-sweetheart{margin:2px auto}}
html:has(body.ap-demo-embedded){scrollbar-width:none!important}html:has(body.ap-demo-embedded)::-webkit-scrollbar,body.ap-demo-embedded::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.ap-demo-embedded .view,.ap-demo-embedded .love-section,.ap-demo-embedded .memory-copy,.ap-demo-embedded .dream-intro,.ap-demo-embedded .postcard-options{min-width:0;max-width:100%;overflow-x:hidden}.ap-demo-embedded h1,.ap-demo-embedded h2,.ap-demo-embedded h3,.ap-demo-embedded p,.ap-demo-embedded strong{max-width:100%;overflow-wrap:anywhere;word-break:break-word}.ap-demo-embedded .memory-copy h3,.ap-demo-embedded .dream-intro h2,.ap-demo-embedded .postcard-options h2{font-size:clamp(25px,7vw,39px);line-height:1.12;letter-spacing:-.7px}.ap-demo-embedded .page-heading h2{font-size:clamp(27px,7vw,42px)}
@media(max-width:235px){.ap-demo-embedded #gate .gate-card{zoom:.78}}
@media(min-width:245px) and (max-width:320px){.ap-demo-embedded #gate .gate-card{zoom:.92}}
.ap-demo-document #journey-map.map-local{background:#bbdce7}
.local-map-city{display:block;color:#4b655c;font:700 11px/20px Arial,sans-serif;text-align:center;text-shadow:0 1px 2px #fff,1px 0 2px #fff;white-space:nowrap}
.local-map-label{background:none;border:0}
/* Fit the jar and its heading to the actual iframe viewport, not desktop widths. */
@media(max-width:620px){
 .ap-demo-document #notes .page-heading h2{font-size:clamp(24px,7.2vw,36px);overflow-wrap:anywhere}
 .ap-demo-document .notes-layout{min-width:0;grid-template-columns:minmax(0,1fr);gap:24px}
 .ap-demo-document .note-jar{width:min(260px,100%);height:338px;transform:none;margin:10px auto}
 .ap-demo-document .jar-cap{width:76%;left:12%;height:32px}
 .ap-demo-document .jar-body{top:32px;border-radius:35px}
 .ap-demo-document .jar-label{inset:103px 24px 48px;padding:14px;font-size:26px}
 .ap-demo-document .jar-label em{font-size:34px}
 .ap-demo-document .drawn-note{min-width:0;max-width:100%;overflow-wrap:anywhere}
}

.ap-demo-document{padding-top:var(--ap-demo-top,48px)}.ap-demo-document #site>header{top:var(--ap-demo-top,48px)}.ap-demo-document #gate{top:var(--ap-demo-top,48px)}.ap-demo-embedded{--ap-demo-top:0px;padding-top:0}
