.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.poster-opening{background:#fffdf5;text-align:center}.cover-open{display:block;width:100%;padding:0;background:#fff;border:0;border-radius:0;cursor:zoom-in}.cover-open img{width:100%;height:auto;display:block}
.poster-footer{padding:18px 20px 28px;background:#f0f3df}.poster-footer p{font-size:15px;margin:0 0 8px}.poster-footer small{display:block;font-size:12px;color:#839177;margin-top:14px}.poster-footer button{font-size:12px;text-decoration:underline;text-underline-offset:4px}
.stamp-action{margin-top:26px;padding-top:20px;border-top:1px dashed #b8c6a2;text-align:center}.stamp-action p{font-size:13px!important;text-align:center!important;margin:0 0 12px!important;color:#87916b}.stamp-action .primary-button{font-size:14px;min-height:48px;width:100%;justify-content:center;padding:13px 15px}.stamp-action small{display:block;font-size:11px;color:#8e947f;margin-top:12px}
.stamp-action #accepted-stamp{position:relative;display:block;right:auto;bottom:auto;margin:20px auto 6px;width:max-content;max-width:100%;padding:9px 15px;transform:rotate(-7deg);font-size:18px;color:#aa674d;border:3px double #aa674d;border-radius:8px}
.letter-stamped #accepted-stamp{animation:stamp-land .35s ease-out}.letter-stamped .stamp-action button{opacity:.65}
.passport .resident-role{white-space:normal;font-size:11px;line-height:1.6}.passport .profile-bio{font-size:13px;line-height:1.95;color:#637654;margin:0;padding:0 20px 20px;text-align:left}.couple-section #couple-story{max-width:340px;margin:15px auto 0;text-align:left;font-size:14px;line-height:1.95;white-space:normal}
.island-friends{text-align:center;margin-top:32px}.island-friends p{font-size:14px;letter-spacing:1px}.island-friends small{font-size:11px;color:#879374}.friend-portraits{display:flex;justify-content:center;gap:16px;margin:18px 0}.friend-portrait{position:relative;display:block;width:76px;height:76px;overflow:hidden;border:4px solid #fffbea;box-shadow:0 4px 0 #cbd9b67a;border-radius:50%;background:#f4f3a3}.friend-portrait img{position:absolute;width:440px;max-width:none;height:auto;left:50%;top:-80px;transform:translateX(-50%)}
.friend-portrait:nth-child(2) img{top:-72px}.friend-portrait:nth-child(3) img{top:-78px}
.life-section{background:#f8f7e9;padding:40px 16px}.life-section .section-intro{margin-bottom:23px}.life-section .section-intro h2{font-size:24px;letter-spacing:1px}.life-section .section-intro>p:last-child{font-size:12px}.life-section .eyebrow{font-size:9px}
#photo-groups{position:relative;max-width:400px;margin:auto;padding:17px 10px 13px;border:9px solid #b48d5e;border-radius:12px;background-color:#d5b78a;background-image:radial-gradient(#8b6b3926 .7px,transparent .9px),radial-gradient(#fff6d83d .9px,transparent 1.1px);background-size:5px 7px,9px 11px;box-shadow:inset 0 2px 5px #77532940,0 5px 0 #987345,0 9px 18px #68573918}
.photo-group{margin:0 0 18px}.photo-group:last-child{margin-bottom:0}.board-label{display:table;margin:0 0 12px 3px;padding:3px 10px;background:#fff7d9;color:#725e40;font-size:11px;line-height:1.65;font-weight:600;letter-spacing:1px;transform:rotate(-2deg);box-shadow:0 2px 2px #76552915}.photo-group:nth-child(2) .board-label{background:#eaf0d1;transform:rotate(1deg)}.photo-group:nth-child(3) .board-label{background:#f6e5d4}
.photo-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:start}.life-photo{position:relative;min-width:0;margin:0;padding:5px 4px 4px;background:#fffdf0;border-radius:2px;box-shadow:1px 3px 4px #6f54342e;transform:rotate(-2deg)}.life-photo:nth-child(2){transform:rotate(2deg);margin-top:4px}.life-photo:nth-child(3){transform:rotate(-1deg)}.life-photo:before{content:"";position:absolute;z-index:1;left:calc(50% - 4px);top:-4px;width:8px;height:8px;border-radius:50%;background:#9f6b49;box-shadow:inset 1px 1px 1px #f0cda0,0 2px 1px #70522c55}.life-photo:nth-child(2):before{width:25px;height:9px;left:calc(50% - 12px);top:-3px;border-radius:0;background:#c3cc95cf;box-shadow:none;transform:rotate(-8deg)}.life-photo img{display:block;width:100%;max-width:105px;height:auto;aspect-ratio:1;max-height:105px;object-fit:contain;margin:auto;background:#faf8ed}.life-photo figcaption{font-size:9px;color:#8a7c62;text-align:center;margin-top:4px;line-height:1.5;min-height:27px;overflow-wrap:anywhere}.photo-appeared{animation:photo-arrive .5s ease-out}
.reminders-section{background:#eaf0da;padding:34px 24px}.reminder-heading{display:flex;gap:13px;align-items:center;margin-bottom:24px}.reminder-heading h2{font-size:20px;margin:0}.reminder-heading .eyebrow{font-size:9px;margin-bottom:8px;letter-spacing:2px}.isabelle-avatar{width:65px;height:65px;flex-shrink:0;border-radius:50%;border:3px solid #fffbea;overflow:hidden;position:relative;background:#bdcea6}.isabelle-avatar img{position:absolute;width:102px;max-width:none;left:50%;top:-12px;transform:translateX(-50%)}
#reminder-list{list-style:none;padding:0;counter-reset:reminder;margin:0}#reminder-list li{position:relative;padding:15px 14px 15px 40px;border-radius:17px;background:#fffbed;margin:12px 0;font-size:13px;line-height:1.9;color:#647454;counter-increment:reminder}#reminder-list li:before{content:counter(reminder);position:absolute;left:15px;top:16px;font-weight:700;color:#a5ad79}
#photo-dialog{padding:48px 12px 15px;width:min(94vw,650px);max-width:94vw;max-height:94dvh;background:#fffdf0;overflow:auto}#photo-dialog #large-photo{max-width:100%;width:auto;height:auto;max-height:calc(94dvh - 150px);object-fit:contain;touch-action:pan-y pinch-zoom}#photo-dialog #close-photo{position:absolute;top:8px;right:8px;min-width:36px;min-height:36px}#photo-dialog #large-caption{font-size:11px;line-height:1.6;margin:10px 0}.lightbox-controls{display:flex;gap:10px;justify-content:space-between}.lightbox-controls button{border:1px solid #d9e1bd;background:#f1f5df;border-radius:22px;min-height:44px;padding:10px 16px;font-size:12px;color:#61764d}#photo-load-error{font-size:12px;color:#a4674c}
.balloon-burst{position:absolute;left:80px;top:60px;z-index:3;pointer-events:none;visibility:hidden}.balloon-burst:before{content:"";position:absolute;width:125px;height:100px;left:-63px;top:-50px;border-radius:45%;background:#fffce9;box-shadow:22px -12px 0 -13px #fffce9,-24px 8px 0 -15px #fffce9,4px 23px 0 -17px #fffce9}.balloon-burst i{position:absolute;width:15px;height:22px;border-radius:80% 20% 50% 20%;background:#e74837;--x:90px;--y:-45px}.balloon-burst i:nth-child(2){--x:-82px;--y:-55px}.balloon-burst i:nth-child(3){--x:100px;--y:35px}.balloon-burst i:nth-child(4){--x:-90px;--y:45px}.balloon-burst i:nth-child(5){--x:30px;--y:-92px}.balloon-burst i:nth-child(6){--x:-22px;--y:90px}
[data-stage="shooting"] .balloon-burst{visibility:visible}[data-stage="shooting"] .balloon-burst:before{animation:burst-cloud .4s ease-out both}[data-stage="shooting"] .balloon-burst i{animation:burst-fragment .4s ease-out both}[data-stage="shooting"] .balloon{animation:balloon-pop .12s ease-out both}
.flying-letter{display:none;position:absolute;width:116px;height:77px;left:calc(50% - 58px);top:calc(25% + 10dvh + 163px);z-index:4;background:linear-gradient(32deg,#ead9b4 50%,transparent 50%),linear-gradient(-32deg,#f1e2bf 50%,#fff7de 50%);box-shadow:0 8px 15px #4c75552a;border-radius:4px}.flying-letter:before{content:"";position:absolute;inset:0;background:#fff6db;clip-path:polygon(0 0,100% 0,50% 65%)}.flying-letter img{width:24px;height:24px;position:absolute;left:46px;top:27px}
[data-stage="opening"] .flying-letter{display:block;animation:letter-takeoff .8s cubic-bezier(.25,.55,.45,1) both}
@keyframes burst-cloud{0%{transform:scale(.3);opacity:1}65%{opacity:.9}100%{transform:scale(1.4);opacity:0}}
@keyframes burst-fragment{from{transform:translate(0,0) rotate(0);opacity:1}to{transform:translate(var(--x),var(--y)) rotate(160deg);opacity:0}}
@keyframes letter-takeoff{0%{transform:translateY(0) rotate(-6deg) scale(.5);opacity:0}25%{opacity:1}75%{opacity:1}100%{transform:translateY(-160px) rotate(8deg) scale(1.65);opacity:0}}
@keyframes stamp-land{from{transform:scale(2) rotate(-16deg);opacity:0}to{transform:scale(1) rotate(-7deg);opacity:1}}
@keyframes photo-arrive{from{opacity:.4;translate:0 12px}to{opacity:1;translate:0 0}}

.invitation .album-section {
  background: #eef0e3;
}
.invitation .album-section .section-intro {
  margin-bottom: 26px;
}
.album-frames {
  display: grid;
  gap: 24px;
  max-width: 400px;
  margin: 0 auto;
}
.album-frame {
  padding: 12px;
  border: 5px solid #b89a73;
  border-radius: 16px;
  background: #fffdf4;
  box-shadow: inset 0 0 0 1px #e4d4b7, 0 4px 0 #9b805e, 0 8px 20px #4e4e3022;
}
.album-mat {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #e0d7c2;
  border-radius: 7px;
  background: #ede9dc;
}
.album-mat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.album-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.album-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c6d0b5;
  border-radius: 50%;
  background: #e9eedb;
  color: #425838;
  font: 28px/1 sans-serif;
}
.album-controls button:hover {
  background: #dce6cc;
}
.album-position {
  color: #647057;
  font: 13px/1.4 var(--utility);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
@media(max-width:350px){.life-section{padding-left:17px;padding-right:17px}.reminders-section{padding-left:18px;padding-right:18px}.reminder-heading h2{font-size:18px}.friend-portraits{gap:12px}}
@media(prefers-reduced-motion:reduce){.balloon-burst:before,.balloon-burst i,.flying-letter,.photo-appeared,.letter-stamped #accepted-stamp{animation:none!important}.balloon-burst{display:none}.flying-letter{opacity:1}}

/* 婚礼日顶部完整展示新人和动物伙伴。 */
.invitation .schedule-scenery{height:auto;aspect-ratio:3/2;margin:0 16px 12px;border-radius:24px;transform:none}.invitation .schedule-scenery img{object-fit:contain;object-position:center}.invitation .schedule-scenery>span{bottom:12px}

