/* Textile borders and sealed stationery echo the portraits without competing with the writing. */
[hidden]{display:none!important}.together-home{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin:0 0 24px}.checkin-summary{padding:20px 24px;background:#f1e9dc;border:1px solid #e1d1b9;border-radius:16px;position:relative;overflow:hidden}.checkin-summary:before,.unsealed-letter:before{content:'';display:block;height:5px;background:repeating-linear-gradient(45deg,#ac824480 0 4px,transparent 4px 9px,#71394b60 9px 13px,transparent 13px 18px);position:absolute;inset:0 0 auto}.checkin-summary>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.checkin-summary h2{font-size:1.2rem}.checkin-summary p{font-size:14px;color:#746159;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.checkin-summary .text-link{white-space:nowrap}.checkin-summary .checkin-note{color:var(--wine);font-size:15px}.together-shortcuts{display:grid;gap:9px}.together-shortcuts>button{display:flex;align-items:center;text-align:right;gap:16px;padding:16px 20px;background:var(--white);border:1px solid var(--line);border-radius:13px}.together-shortcuts>button>svg{width:28px;height:28px;color:var(--gold)}.together-shortcuts small{display:block;font-size:12px}.together-links{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.envelope-grid,.wish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.letter-filters{max-width:400px;margin:0 0 24px}.letter-filters label{font-size:14px;display:grid;gap:7px}.envelope{isolation:isolate;position:relative;overflow:hidden;text-align:center;padding:35px 24px 24px;background:linear-gradient(150deg,#fff9ec,#f1e3cb);border:1px solid #d6c19e;border-radius:6px 6px 18px 18px;box-shadow:0 8px 24px #63372109;display:flex;align-items:center;flex-direction:column;gap:12px}.envelope-fold{position:absolute;z-index:-1;top:-100px;left:50%;width:260px;height:180px;transform:translateX(-50%) rotate(45deg);border:1px solid #d6c19e70;background:#ead8b433}.envelope-seal,.opened-seal{background:radial-gradient(circle at 35% 25%,#99556a,#401e2a);box-shadow:0 3px 8px #401e2a25,inset 0 0 0 3px #b27c6740;border:1px solid #b99a6a;color:#efd6a3;border-radius:50%;width:56px;height:56px;display:grid;place-items:center}.envelope h2{font-size:1.3rem;overflow-wrap:anywhere}.envelope p{font-size:14px;color:var(--muted)}.envelope>.primary{margin-top:auto}.envelope.opened{background:var(--white)}.envelope.opened .envelope-seal{opacity:.75}.envelope>.text-link{font-size:12px}
.unsealed-letter{padding:30px 8px;text-align:center;position:relative}.unsealed-letter .opened-seal{margin:0 auto 25px;animation:seal-open .65s ease both}.unsealed-letter>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.3rem;line-height:2.3;animation:letter-rise .7s ease both}.unsealed-letter .signature{display:block;margin-top:28px;color:var(--gold)}@keyframes seal-open{from{transform:rotate(-20deg) scale(.6);opacity:0}to{transform:rotate(0) scale(1);opacity:1}}@keyframes letter-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.voice-field{margin:0;padding:17px;border:1px dashed #cdb490;border-radius:12px;min-width:0;background:#f5ede14d}.voice-field legend{padding:0 8px;color:var(--wine);font-size:15px}.voice-field .actions{margin:10px 0 15px}.voice-field .voice-status{display:block;margin-top:10px}.voice-preview:empty{display:none}.voice-player{padding:14px;border:1px solid var(--line);border-radius:12px;margin:18px 0;background:#f5ede4}.voice-player>span{display:flex;gap:8px;align-items:center;font-size:14px;margin-bottom:8px;color:var(--wine2)}.voice-player small{font-size:11px}.voice-player a{text-decoration:underline}audio{display:block;width:100%;max-width:100%;height:42px}.reaction-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.reaction-row button{padding:8px 11px;border:1px solid var(--line);border-radius:100px;font-size:12px;min-height:42px}.reaction-row button.selected{background:var(--wine);color:#fff4e4;border-color:var(--wine)}.received-reaction{display:flex;gap:6px;align-items:center;color:var(--wine2);font-size:12px;margin-top:8px}.received-reaction svg{width:15px;height:15px}
.wish-card{padding:25px;background:var(--white);border:1px solid var(--line);border-radius:16px;position:relative}.wish-card h2{margin:10px 0}.wish-card>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;font-size:15px}.wish-card .actions{align-items:center}.wish-done{background:#eff0e7;border-color:#d3d7bc}.wish-complete{display:flex;gap:8px;align-items:center;color:#687047}.anniversary-banner{display:flex;align-items:center;gap:14px;text-align:right;padding:15px 20px;width:100%;border:1px solid #d9c6a4;background:#f0e5d3;border-radius:13px;margin-bottom:22px}.anniversary-banner span{flex:1}.anniversary-banner small{display:block}.anniversary-banner>svg{color:var(--gold)}.anniversary-memory+.anniversary-memory{margin-top:25px}.anniversary-memory h3{margin:8px 0}.anniversary-memory .memory-photo{width:100%;height:230px;border-radius:12px}.anniversary-memory p{white-space:pre-wrap;margin-top:12px}
.album-story{padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.album-story h3{margin:26px 0 12px}.album-story textarea{min-height:78px}.memory-comments{max-height:260px;overflow:auto;margin-bottom:18px}.memory-comments article{border-right:2px solid #ba9c70;padding:10px 15px;margin:10px 0;background:#fff8ec60;border-radius:6px}.memory-comments article p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.memory-comments small{font-size:11px}.memory-comments .text-link{font-size:11px}.checkin-history{padding:15px 0;border-bottom:1px solid var(--line)}.checkin-history p{white-space:pre-wrap;margin-top:8px}.checkin-history h3{font-size:15px}
@media(max-width:1150px){.together-home{grid-template-columns:1fr}.together-shortcuts{grid-template-columns:1fr 1fr}.envelope-grid,.wish-grid{gap:16px}}
@media(max-width:800px){.together-home{gap:12px;margin-bottom:20px}.checkin-summary{padding:17px}.checkin-summary>div{align-items:flex-start}.checkin-summary h2{font-size:1.05rem}.checkin-summary .text-link{font-size:12px}.together-shortcuts{gap:9px}.together-shortcuts>button{gap:9px;padding:13px 11px;font-size:13px}.together-shortcuts>button>svg{width:23px;height:23px}.together-shortcuts small{font-size:10px}.envelope-grid,.wish-grid{grid-template-columns:1fr}.envelope{padding:30px 20px 23px}.together-links{display:grid;grid-template-columns:1fr}.wish-card{padding:20px}.voice-field{padding:12px}.voice-field .secondary{padding:9px 12px}.unsealed-letter>p{font-size:1.15rem}.welcome:has([data-together]){align-items:stretch;flex-direction:column}.welcome:has([data-together])>.primary{align-self:flex-start}.gallery-viewer .photo-caption .actions{display:flex}.reaction-row button{flex-grow:1}.letter-filters{max-width:none}}
@media(prefers-reduced-motion:reduce){.unsealed-letter .opened-seal,.unsealed-letter>p{animation:none}}
