/* Letters & Keepsakes: warm illustrated header and readable parchment cards. */
.letters-empty-note{padding:16px;border:1px solid #94703977;border-radius:9px;background:#29201699;color:#ead9b8}.letters-empty-note p{margin:0;font:17px/1.4 Georgia,serif}.letters-empty-note p+p{margin-top:6px;font:12px/1.45 system-ui,sans-serif;color:#c9b18e}
body:has(.letter-reader-page) .phone-shell{background:linear-gradient(90deg,#190e07ee,#190e0788),url('/assets/images/94d57b44b37ad058/lantern-keepsakes-header.png') right top/auto 300px no-repeat,#1a1009}
body:has(.letter-reader-page) :is(.app-header,.page-back-bar,#content){background:transparent}
.letter-reader-page{padding:0 16px 12px}.letter-reader-heading{padding:18px 5px 20px}.letter-reader-heading h1{font:400 32px/1.12 Georgia,serif;color:#fbeaca;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere;text-shadow:0 2px 5px #000}
.letter-reading-paper .letter-parchment{padding:20px 18px;min-height:230px}.letter-reading-paper .letter-reader-from{font:12px/1.5 system-ui,sans-serif;color:#795630;margin:0 0 20px;padding-right:65px;min-height:42px}.letter-reading-paper .reading-body{clear:both;font:18px/1.65 Georgia,serif;color:#4c2f15;white-space:pre-wrap;overflow-wrap:anywhere}
.letter-reader-actions{margin:16px 4px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.letter-reader-actions .primary{min-height:44px;border-radius:12px;gap:8px;font:17px Georgia,serif}.letter-reader-actions svg{width:18px;height:18px}.letter-reader-actions .subtle-button{min-height:44px;font-size:12px}.letter-reader-note{font:12px/1.5 Georgia,serif;color:#cdb896;margin:14px 5px 0}
@container phone (min-width:1000px){body:has(.letter-reader-page) :is(.phone-shell,.bottom-nav){max-width:860px;width:100%}body:has(.letter-reader-page) .phone-shell{background-size:auto 380px}.letter-reader-page{padding-inline:32px}.letter-reader-heading{padding:24px 12px}.letter-reader-heading h1{font-size:46px}.letter-reading-paper .letter-parchment{padding:28px 32px;min-height:270px}.letter-reading-paper .letter-reader-from{font-size:15px;min-height:65px}.letter-reading-paper .reading-body{font-size:23px}.letter-reader-note{font-size:15px}.letters-empty-note{padding:20px}.letters-empty-note p{font-size:22px}.letters-empty-note p+p{font-size:14px}}
body[data-page=letters] .phone-shell{background:linear-gradient(90deg,#150c05d9,#150c0522),url('/assets/images/94d57b44b37ad058/lantern-keepsakes-header.png') right 20px/auto 350px no-repeat,#190e07}
body[data-page=letters] :is(.app-header,.page-back-bar,#content){background:transparent}
.letters-page{padding:0 16px 6px}
.letters-hero{padding:15px 5px 19px;text-shadow:0 2px 6px #120a02}
.letters-kicker{font:10px/1.45 system-ui,sans-serif;letter-spacing:.18em;color:#efc477;margin:0 0 8px}
.letters-hero h1{font:400 clamp(27px,7.6vw,38px)/1.12 Georgia,serif;letter-spacing:-.03em;color:#fff0d5;margin:0 0 9px}
.letters-hero>p:not(.letters-kicker){font:16px/1.4 Georgia,serif;color:#f1dfbd;margin:0;max-width:95%}
.letters-new{display:inline-flex;align-items:center;gap:9px;min-height:44px;font:18px/1.2 Georgia,serif;padding:10px 16px;margin-top:15px;border:1px solid #e9c276;border-radius:12px;background:linear-gradient(120deg,#ffdc8a,#ba8639);color:#251506;box-shadow:inset 0 1px 2px #fff8,0 3px 6px #0004;text-shadow:none}.letters-new svg{width:20px;height:20px}
.letters-page h2{font:400 27px/1.2 Georgia,serif;color:#f7e6c7;margin:0}
.letters-inbox-heading{display:flex;gap:12px;align-items:center;margin:0 5px 10px}
.letters-inbox-symbol{display:block;position:relative;width:33px;height:25px}.letters-inbox-symbol .letter-envelope{width:100%;height:100%}
.letters-inbox-count{position:absolute;top:-7px;right:-8px;background:linear-gradient(#e44827,#b71910);color:#fff;border-radius:50%;min-width:19px;height:19px;text-align:center;font:12px/19px system-ui,sans-serif;box-shadow:0 2px 4px #0005}.letters-inbox-count[hidden]{display:none}
.letters-preview-note{font:12px/1.5 system-ui,sans-serif;color:#d3c5a8;padding:10px 12px;margin:0 4px 12px;border:1px solid #94703977;border-radius:7px;background:#29251ab3}
.letter-paper-card{position:relative;display:block;margin:0 0 12px;padding:7px;border:1px solid #c39245;border-radius:13px;background:linear-gradient(#30160835,#160b0444),url('/assets/images/f274b2bc764d497e/embossed-leather.png') center/240px repeat;box-shadow:inset 0 0 0 2px #160c05,inset 0 0 0 3px #98642f,0 4px 8px #0008}
.letter-parchment{padding:14px 13px 10px;border:1px solid #bc955c;border-radius:8px;background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),radial-gradient(ellipse at 45% 30%,#fff0d2,#efd6a8 75%,#d4aa6d);box-shadow:inset 0 0 18px #98622d36;color:#422911;min-width:0;display:flow-root}
.letter-corner{position:absolute;width:24px;height:24px;color:#d7a44d;pointer-events:none;z-index:1;filter:drop-shadow(1px 1px 1px #0008)}.letter-corner svg{display:block;width:100%;height:100%}.letter-corner-tl{top:0;left:0}.letter-corner-tr{top:0;right:0;transform:rotate(90deg)}.letter-corner-bl{bottom:0;left:0;transform:rotate(-90deg)}.letter-corner-br{bottom:0;right:0;transform:rotate(180deg)}
.letter-parchment>.letter-envelope{float:right;width:64px;height:48px;margin:0 0 5px 8px;transform:rotate(9deg);filter:drop-shadow(1px 3px 2px #704b2044)}
.letter-parchment .entry-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font:10px/1.4 system-ui,sans-serif;color:#694722;margin:0 0 7px}
.letter-parchment .tag{font:9px/1.3 system-ui,sans-serif;padding:3px 6px;border:1px solid #a1773b;background:#e4c58d;color:#634219;border-radius:12px;white-space:nowrap}.letter-parchment .tag.sample-unread{background:linear-gradient(#805121,#3c240f);color:#ffcf76;box-shadow:0 1px 3px #55311155}
.letter-parchment h3{font:400 23px/1.12 Georgia,serif;letter-spacing:-.02em;color:#2b1909;margin:0 0 8px}
.letter-parchment>p,.letter-empty p{font:16px/1.4 Georgia,serif;margin:0 0 10px;color:#604021}
.letter-parchment .entry-bottom{clear:both;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ad864d66;padding-top:9px;margin-top:10px;color:#54320f;font:15px/1.25 Georgia,serif}.letter-parchment .entry-bottom svg{width:22px;height:22px}
.letters-drafts{margin-top:12px}.letters-drafts>h2{margin:0 5px 10px}.letter-empty .letter-parchment{display:flex;align-items:center;gap:14px;padding-block:16px}.letter-empty h3{font-size:21px}.letter-empty-art{flex:0 0 60px;color:#a57536}.letter-empty-art svg{width:60px;height:60px;fill:#d3ad70;stroke:#845620;stroke-width:1}
.letters-draft-note,.letter-empty .letters-draft-note{font:11px/1.45 system-ui,sans-serif;margin:6px 0 0;color:#795835}.letter-empty .letters-draft-note{border-top:1px solid #b08b5555;padding-top:8px}.letters-drafts>.letters-draft-note{color:#cbb895;margin:0 6px 12px}
.letters-drafts>.entry-card{border:4px ridge #97672e;background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),#f1dbb5;color:#503317;border-radius:10px;padding:15px}.letters-drafts>.entry-card :is(h2,p,.entry-meta,.entry-bottom){color:#503317}.letters-drafts>.entry-card h2{font-size:24px}.letters-drafts>.entry-card .tag{border-color:#9e763f;color:#69481e}
.letters-local-note{font:11px/1.45 Georgia,serif;text-align:center;color:#c2ad89;margin:12px 7px 0}.letters-page a:focus-visible{outline:3px solid #eec579;outline-offset:4px}
@media(max-width:355px){.letters-page{padding-inline:12px}.letters-hero h1{font-size:27px}.letter-parchment{padding:13px 11px 10px}.letter-parchment>.letter-envelope{width:47px;height:38px}.letter-parchment h3{font-size:21px}.letter-parchment>p{font-size:15px}.letter-empty .letter-parchment{gap:9px}.letter-empty-art{flex-basis:45px}.letter-empty-art svg{width:45px;height:45px}}
@container phone (min-width:1000px){body[data-page=letters] :is(.phone-shell,.bottom-nav){max-width:860px;width:100%}body[data-page=letters] .phone-shell{background-size:auto 500px}.letters-page{padding-inline:32px}.letters-hero{padding:20px 12px 30px}.letters-hero h1{font-size:46px}.letters-hero>p:not(.letters-kicker){font-size:22px}.letters-kicker{font-size:12px}.letters-new{font-size:22px;padding:14px 22px}.letters-page h2{font-size:36px}.letters-inbox-heading{gap:18px}.letters-inbox-symbol{width:45px;height:34px}.letters-preview-note{font-size:14px;padding:13px 18px;margin-bottom:15px}.letter-paper-card{padding:10px;margin-bottom:16px}.letter-parchment{padding:22px 28px 17px}.letter-corner{width:33px;height:33px}.letter-parchment>.letter-envelope{width:100px;height:74px;margin-left:18px}.letter-parchment .entry-meta{font-size:13px;gap:10px}.letter-parchment .tag{font-size:11px}.letter-parchment h3{font-size:33px}.letter-parchment>p{font-size:22px}.letter-parchment .entry-bottom{font-size:20px;padding-top:13px;margin-top:16px}.letter-empty h3{font-size:29px}.letter-empty p{font-size:21px}.letter-empty .letter-parchment{gap:25px}.letter-empty-art,.letter-empty-art svg{width:90px;height:90px;flex-basis:90px}.letter-empty .letters-draft-note,.letters-draft-note{font-size:14px}.letters-local-note{font-size:14px}}
