/* The two Facebook memories are in-game recreations, using the supplied photos. */
.memory-screen{position:absolute;inset:0;z-index:10;overflow:auto;overscroll-behavior:contain;background:linear-gradient(120deg,#111229f5,#17162bdc);padding:88px max(28px,env(safe-area-inset-right)) 36px max(28px,env(safe-area-inset-left));color:var(--cream)}
.memory-layout{width:min(1100px,100%);min-height:100%;margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px 64px}
.memory-copy .eyebrow{color:var(--pink);font-size:12px;line-height:1.6;margin:0 0 18px}
.memory-copy h1,.memory-copy h2{font-size:clamp(38px,4.3vw,60px);line-height:1.07;margin-bottom:24px}
.memory-copy h1:focus,.memory-copy h2:focus{outline:none}
.memory-copy>p:not(.eyebrow){font-size:18px;line-height:1.7;color:#eee5ed;margin:0 0 17px}
.memory-copy strong{color:var(--cream);font-weight:600}
.memory-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px}
.memory-actions nav{display:flex;gap:10px 22px;flex-wrap:wrap}.memory-actions .chapter-link{margin:0;font-size:14px;color:#e6dbe9}
.memory-actions .primary{margin:0;text-decoration:none;gap:30px}.memory-actions .memory-back{background:transparent;color:var(--cream);border:1px solid var(--line);box-shadow:none}
.memory-screen~.hud,.story-visible .hud{z-index:12}.story-visible .sound-hint{display:none!important}
.facebook-memory{align-self:center;background:#e9ebee;border-radius:4px;border:1px solid #ffffff38;box-shadow:0 22px 70px #0004;color:#1d2129;font-family:Arial,Helvetica,sans-serif;overflow:hidden;min-width:0}
.fb-bar{background:#4267a9;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:12px 17px;gap:12px;border-bottom:1px solid #29487d}
.fb-wordmark{font-size:27px;letter-spacing:-1.3px;font-weight:700;line-height:1}.fb-year{font-size:13px;color:#eef2fa}
.fb-post{margin:15px;background:#fff;border:1px solid #d3d6db;border-radius:3px}
.fb-post-header{padding:15px 15px 0;display:flex;align-items:center;gap:10px;text-align:left}
.fb-avatar{width:42px;height:42px;object-fit:cover;border:1px solid #0002;flex-shrink:0}.fb-avatar-raquel{object-position:35% 54%}
.fb-author{font-size:14px;color:#365899;font-weight:700;line-height:1.4}.fb-date{display:block;font-size:12px;font-weight:400;line-height:1.5;color:#606770;margin-top:2px}
.fb-message{padding:17px 20px 14px;text-align:center}.fb-message h2,.fb-message h3{font-family:Arial,Helvetica,sans-serif;letter-spacing:0;font-size:19px;line-height:1.4;font-weight:400;margin:0;color:#1d2129}.fb-message strong{color:#365899;font-weight:700}.fb-message p{font-size:13px;line-height:1.5;margin:5px 0 0;color:#606770}
.fb-portraits{display:grid;grid-template-columns:1fr 1fr;gap:3px;position:relative;margin:0 14px 15px}.fb-portrait{margin:0;min-width:0}.fb-portrait img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.fb-portrait figcaption{font-size:13px;font-weight:700;color:#365899;text-align:center;padding:9px 0 0}.fb-connection{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;background:#4267a9;border:4px solid white;border-radius:50%;color:white;font-size:23px;line-height:1}.fb-connection svg{width:23px;height:23px;fill:currentColor}.fb-relationship .fb-connection{background:#e46b83}
.fb-post-footer{padding:12px 14px;border-top:1px solid #e5e5e5;display:flex;gap:18px;color:#626973;font-size:12px;font-weight:700;background:#fafbfc}.fb-memory-caption{margin:0;padding:0 15px 13px;font-size:12px;line-height:1.5;color:#606770;text-align:center}
@media(min-width:850px) and (min-height:780px){.memory-layout{align-content:center;min-height:100%;row-gap:38px}}
@media(max-width:849px){.memory-screen{padding:82px 24px 28px}.memory-layout{max-width:540px;grid-template-columns:1fr;gap:24px;align-content:start}.memory-copy h1,.memory-copy h2{font-size:41px;margin-bottom:20px}.memory-copy>p:not(.eyebrow){font-size:16px;line-height:1.65;margin-bottom:13px}.memory-copy .eyebrow{margin-bottom:12px}.facebook-memory{width:100%;max-width:430px;justify-self:center}.memory-actions{gap:22px;padding-top:20px}.memory-actions>.primary{width:100%}.memory-actions nav{gap:10px 18px}.fb-portrait img{max-height:200px}.fb-message h2,.fb-message h3{font-size:18px}}
@media(max-height:550px) and (min-width:700px){.memory-screen{padding:72px 28px 24px}.memory-layout{max-width:1100px;grid-template-columns:1fr 1fr;gap:24px 32px}.memory-copy h1,.memory-copy h2{font-size:36px}.memory-copy>p:not(.eyebrow){font-size:16px}.fb-portrait img{max-height:180px}.memory-actions>.primary{width:auto}.memory-actions nav{gap:12px}}
@media(prefers-reduced-motion:no-preference){.memory-screen:not(.hidden) .facebook-memory{animation:memory-arrive .7s ease both}@keyframes memory-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}
/* Keep the relationship announcement between the proposal and the years that follow. */
#epilogue .memory-layout{max-width:640px;min-height:0;grid-template-columns:1fr;align-content:start;gap:24px}
#epilogue .facebook-memory{width:100%;max-width:430px;justify-self:center}
