/* Paper gallery: 25 letter papers, each with a day and a night version. */

.gallery{margin-top:48px}
.gallery-head{max-width:760px;margin-bottom:40px}
.gallery-head h1{font-size:clamp(44px,5vw,64px);color:var(--green);margin-bottom:14px}
.gallery-head p{font:400 20px/1.5 var(--serif);margin:0 0 12px}
.method{display:flex;gap:28px;flex-wrap:wrap;margin:0 0 44px;padding:18px 22px;border:1px solid var(--border);background:var(--surface);font:400 18px/1.4 var(--text)}
.method strong{font:500 30px/1 var(--serif);color:var(--green);display:block}
.paper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 40px}
.paper-card{display:flex;flex-direction:column;gap:16px}
.paper-card .letter{padding:40px 40px 36px;min-height:260px}
.paper-card .letter p{margin:0 0 12px}
.paper-meta h2{font-size:30px;margin:0;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.paper-meta .num{font:500 16px/1 var(--text);color:var(--muted)}
.paper-tag{font:600 13px/1 var(--text);padding:5px 8px;border-radius:2px;background:var(--green-soft);color:var(--green)}
.paper-tag.is-existing{background:transparent;border:1px solid var(--line);color:var(--muted)}
.paper-meta p{margin:6px 0 0;color:var(--muted)}
.writers{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:4px}
.writers li{font-size:17px}
.writers strong{font-weight:600}
.writers .nf{font-size:13px;color:var(--accent);border:1px solid var(--line);padding:1px 6px;border-radius:9px;margin-left:6px;white-space:nowrap}
@media (max-width:900px){.paper-grid{grid-template-columns:1fr}.paper-card .letter{padding:32px 22px 28px}}

.paper-meta .pick{font-size:17px;color:var(--ink)}
.paper-meta .pick strong{font-weight:600}
.hand-switch{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 36px;font:400 19px/1.3 var(--text)}
.hand-switch select{font:400 18px/1.2 var(--text);padding:8px 12px;border:1px solid var(--line);border-radius:2px;background:var(--surface);color:var(--ink);max-width:100%}
.gallery-sub{font-size:clamp(34px,4vw,46px);color:var(--green);margin:88px 0 32px}
.hand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 32px}
.hand-card{display:flex;flex-direction:column;gap:14px}
.hand-card .letter{padding:28px 28px 24px;min-height:150px}
.hand-card .letter p{margin:0 0 10px}
.hand-card h3{font-size:25px;margin:0}
@media (max-width:1000px){.hand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.hand-grid{grid-template-columns:1fr}}

:where(.letter)::before,:where(.letter)::after,:where(.letter .greeting)::before,:where(.letter .greeting)::after{text-transform:none;letter-spacing:normal;font-style:normal}
/* ---------- the 15 new papers ---------- */
/* field notebook: sewn leaf of 5mm graph paper with printed entry rules, written in pencil on the lines */
.paper-field{--ink-color:#24271f;--pl:62px;--p:#f0f1e4;--g1:#d9e3d5;--g2:#b3cbc0;--hd:#3d625c;--tape:#55634a;--thr:#e9e3cc;--lamp:#fff0;--sk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 24' fill='none' stroke='%235a5d55' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M3 17.5c20-.6 52 .5 78-.2M3 13v5M22.4 13.4v4M42 13v4.6M61.3 13.2v4M81 12.8v5M3.2 14.6c6 .3 13-.2 19 .1M42 14.8c7-.4 13 .2 19.3-.1'/%3E%3Cpath d='M100 21V4M100 4l-4 6M100 4l4 6M96.5 21h7'/%3E%3C/svg%3E");color:var(--ink-color);border-radius:2px 14px 14px 2px;padding:75px 34px 56px var(--pl)!important;background:radial-gradient(120% 80% at 30% 0,var(--lamp),#fff0 70%),var(--sk) right 26px bottom 16px/112px 24px no-repeat,repeating-linear-gradient(180deg,var(--thr) 0 13px,#0000 13px 21px) 5px 0/1.5px 100% no-repeat,linear-gradient(90deg,var(--tape) 0 11px,#0006 11px 12px,#3d3a2a4d 12px,#3d3a2a1a 22px,#3d3a2a00 42px),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .32 0 0 0 0 .2 0 0 0 .5 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),linear-gradient(var(--g2) 1px,#0000 1px) 0 19px/100% 25px,linear-gradient(90deg,var(--g2) 1px,#0000 1px) 12px 0/25px 100%,linear-gradient(var(--g1) 1px,#0000 1px) 0 19px/100% 5px,linear-gradient(90deg,var(--g1) 1px,#0000 1px) 12px 0/5px 100%,var(--p)}
.paper-field::before,.paper-field::after{position:absolute;top:31px;padding-bottom:5px;border-bottom:1px solid var(--hd);font:italic 400 13px/1 'IM Fell English',Georgia,serif;letter-spacing:.04em;color:var(--hd)}
.paper-field::before{content:'Locality';left:var(--pl);right:44%}
.paper-field::after{content:'Date';left:60%;right:30px}
.paper-field{--paper-line:25px;--paper-size:min(var(--hs),calc(25px / var(--hr)))}
.letter.paper-field p{margin-bottom:25px}
body[data-theme=night] .paper-field{--ink-color:#f3efdc;--p:#20241d;--g1:#272d26;--g2:#333e37;--hd:#a9c4b8;--tape:#2c3526;--thr:#8f8a72;--lamp:#ffc87a1c;--sk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 24' fill='none' stroke='%23b9b7a6' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M3 17.5c20-.6 52 .5 78-.2M3 13v5M22.4 13.4v4M42 13v4.6M61.3 13.2v4M81 12.8v5M3.2 14.6c6 .3 13-.2 19 .1M42 14.8c7-.4 13 .2 19.3-.1'/%3E%3Cpath d='M100 21V4M100 4l-4 6M100 4l4 6M96.5 21h7'/%3E%3C/svg%3E")}
@media (max-width:900px){.paper-field{--pl:42px;padding-right:20px!important}.paper-field::after{right:18px}}

/* papyrus: cross-laid reed strips, frayed ends, a sheet join, red-ochre rubric */
.paper-papyrus{--ink-color:#1e1105;--rub:#541303;--p:#ead4a0;--s1:#a97f382b;--s2:#fff0c626;--jn:#6e4a1a;--lamp:#fff0;--vg:#8a5e2450;color:var(--ink-color);background:none;box-shadow:none!important;filter:drop-shadow(0 2px 2px #3a2d1333) drop-shadow(0 14px 14px #3a2d1344);padding-inline:52px!important}
.paper-papyrus::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(110% 80% at 28% 0,var(--lamp),#fff0 70%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='320'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.003 .42' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .22 0 0 0 0 .05 1.4 0 0 0 -.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='640'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.3 .003' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .22 0 0 0 0 .05 1 0 0 0 -.43'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),linear-gradient(90deg,#0000 calc(71% - 1px),color-mix(in srgb,var(--jn) 38%,#0000) 71%,color-mix(in srgb,var(--jn) 9%,#0000) calc(71% + 3px) calc(71% + 15px),#0000 calc(71% + 16px)),radial-gradient(ellipse at 50% 45%,#0000 58%,var(--vg) 100%),repeating-linear-gradient(0deg,#0000 0 11px,var(--s1) 11px 12px,var(--s2) 12px 25px,var(--s1) 25px 26px,#0000 26px 41px,var(--s1) 41px 42px,var(--s2) 42px 52px,var(--s1) 52px 53px),var(--p);-webkit-mask:var(--m) center/100% 100% no-repeat;mask:var(--m) center/100% 100% no-repeat;--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='e' x='0' y='0' width='100%25' height='100%25'%3E%3CfeMorphology operator='erode' radius='9 5' result='s'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .5' numOctaves='2' seed='5' result='n'/%3E%3CfeDisplacementMap in='s' in2='n' scale='15' xChannelSelector='R' yChannelSelector='A' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02 .02' numOctaves='2' seed='2' result='w'/%3E%3CfeDisplacementMap in='d' in2='w' scale='7' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23e)'/%3E%3C/svg%3E")}
.paper-papyrus .greeting{color:var(--rub)}
body[data-theme=night] .paper-papyrus{--ink-color:#f8ebc8;--rub:#ffe3cf;--p:#2a1e0b;--s1:#1e150850;--s2:#7a5c2a14;--jn:#120b03;--lamp:#ffc67a1c;--vg:#0c070288;filter:drop-shadow(0 2px 2px #0006) drop-shadow(0 14px 14px #000a)}
body[data-theme=night] .paper-papyrus::before{filter:brightness(.82)}
@media (max-width:900px){.paper-papyrus{padding-inline:32px!important}}

/* birch bark: a cut strip with dark lenticels at the rolled edges, letters scratched in with a stylus */
.paper-birch{--ink-color:#412815;--cut:#fff3d6b3;--p:#f0e8d8;--gr:#c4b08e2b;--curl:#7d5f3d;--lamp:#fff0;color:var(--ink-color);background:none;box-shadow:none!important;filter:drop-shadow(0 2px 2px #3a2d1333) drop-shadow(0 14px 14px #3a2d1344);padding:40px 48px 44px!important}
.paper-birch::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(110% 80% at 28% 0,var(--lamp),#fff0 70%),var(--len) 0 0/100% 300px repeat-y,linear-gradient(180deg,color-mix(in srgb,var(--curl) 55%,#0000) 0,color-mix(in srgb,var(--curl) 16%,#0000) 9px,#0000 22px),linear-gradient(0deg,color-mix(in srgb,var(--curl) 60%,#0000) 0,color-mix(in srgb,var(--curl) 18%,#0000) 10px,#0000 26px),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .3' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .14 9 0 0 0 -5.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.2'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='200'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.002 .22' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .25 0 0 0 0 .15 .45 0 0 0 -.19'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),repeating-linear-gradient(0deg,var(--gr) 0 1px,#0000 1px 7px),var(--p);--len:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='300' fill='%2333261b'%3E%3Cellipse cx='0' cy='26' rx='22' ry='1.9'/%3E%3Cellipse cx='0' cy='74' rx='17' ry='1.3'/%3E%3Cellipse cx='0' cy='139' rx='24' ry='2.2'/%3E%3Cellipse cx='0' cy='171' rx='15' ry='1.2'/%3E%3Cellipse cx='0' cy='236' rx='20' ry='1.7'/%3E%3Cellipse cx='0' cy='282' rx='18' ry='1.2'/%3E%3Cellipse cx='100%25' cy='48' rx='21' ry='1.5'/%3E%3Cellipse cx='100%25' cy='101' rx='24' ry='2.2'/%3E%3Cellipse cx='100%25' cy='128' rx='16' ry='1.2'/%3E%3Cellipse cx='100%25' cy='197' rx='21' ry='1.8'/%3E%3Cellipse cx='100%25' cy='262' rx='23' ry='2.1'/%3E%3Cg opacity='.27'%3E%3Cellipse cx='23%25' cy='12' rx='15' ry='1.3'/%3E%3Cellipse cx='71%25' cy='63' rx='22' ry='1.5'/%3E%3Cellipse cx='44%25' cy='118' rx='11' ry='1.1'/%3E%3Cellipse cx='86%25' cy='160' rx='14' ry='1.3'/%3E%3Cellipse cx='12%25' cy='207' rx='18' ry='1.4'/%3E%3Cellipse cx='58%25' cy='251' rx='24' ry='1.5'/%3E%3Cellipse cx='33%25' cy='291' rx='10' ry='1.1'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--m) center/100% 100% no-repeat;mask:var(--m) center/100% 100% no-repeat;--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='e' x='0' y='0' width='100%25' height='100%25'%3E%3CfeMorphology operator='erode' radius='8 6' result='s'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011' numOctaves='2' seed='14' result='n'/%3E%3CfeDisplacementMap in='s' in2='n' scale='15' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .05' numOctaves='1' seed='3' result='w'/%3E%3CfeDisplacementMap in='d' in2='w' scale='3' xChannelSelector='A' yChannelSelector='R'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23e)'/%3E%3C/svg%3E")}
.paper-birch[data-bark=b]::before{transform:scaleX(-1)}
.paper-birch[data-doodle]{padding-bottom:84px!important}
.paper-birch[data-doodle]::after{content:'';position:absolute;right:50px;bottom:24px;width:78px;height:52px;background:var(--ink-color);filter:drop-shadow(0 1px 0 var(--cut));-webkit-mask:var(--d) center/contain no-repeat;mask:var(--d) center/contain no-repeat;--d:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 52' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 23l34-2.5M19 34l32-1M18 23l1 11M52 20.5l-1 12.5M21 34l-2.5 14M27 34l1.5 13.5M44 33.5l-1 14M50 33l2.5 14.5M51 21l8-11 12 3.5-10 4.5M59 10l-2-6.5M62 11l1.5-6.5M18 23c-5-2-8-6-9-11'/%3E%3Ccircle cx='63.5' cy='13' r='.6'/%3E%3C/svg%3E")}
.paper-birch{text-shadow:0 1px 0 var(--cut)}
body[data-theme=night] .paper-birch{--ink-color:#fbf2df;--cut:#000000b3;--p:#343230;--gr:#fff3dc12;--curl:#0a0705;--lamp:#ffc67a17;filter:drop-shadow(0 2px 2px #0006) drop-shadow(0 14px 14px #000a)}
body[data-theme=night] .paper-birch::before{--len:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='300' fill='%23060403'%3E%3Cellipse cx='0' cy='26' rx='22' ry='1.9'/%3E%3Cellipse cx='0' cy='74' rx='17' ry='1.3'/%3E%3Cellipse cx='0' cy='139' rx='24' ry='2.2'/%3E%3Cellipse cx='0' cy='171' rx='15' ry='1.2'/%3E%3Cellipse cx='0' cy='236' rx='20' ry='1.7'/%3E%3Cellipse cx='0' cy='282' rx='18' ry='1.2'/%3E%3Cellipse cx='100%25' cy='48' rx='21' ry='1.5'/%3E%3Cellipse cx='100%25' cy='101' rx='24' ry='2.2'/%3E%3Cellipse cx='100%25' cy='128' rx='16' ry='1.2'/%3E%3Cellipse cx='100%25' cy='197' rx='21' ry='1.8'/%3E%3Cellipse cx='100%25' cy='262' rx='23' ry='2.1'/%3E%3Cg opacity='.27'%3E%3Cellipse cx='23%25' cy='12' rx='15' ry='1.3'/%3E%3Cellipse cx='71%25' cy='63' rx='22' ry='1.5'/%3E%3Cellipse cx='44%25' cy='118' rx='11' ry='1.1'/%3E%3Cellipse cx='86%25' cy='160' rx='14' ry='1.3'/%3E%3Cellipse cx='12%25' cy='207' rx='18' ry='1.4'/%3E%3Cellipse cx='58%25' cy='251' rx='24' ry='1.5'/%3E%3Cellipse cx='33%25' cy='291' rx='10' ry='1.1'/%3E%3C/g%3E%3C/svg%3E")}
@media (max-width:900px){.paper-birch{padding:34px 34px 40px!important}.paper-birch[data-doodle]{padding-bottom:80px!important}.paper-birch[data-doodle]::after{right:36px}}

/* brush: plain soft handmade paper with long fibres and a deckle edge, vermilion seal by the name. Replaces washi (the indigo band made it Japan-only) */
.paper-brush{--ink-color:#1d1b19;--p:#f6f1e4;--lamp:#fff0;color:var(--ink-color);background:none;box-shadow:none!important;filter:drop-shadow(0 2px 2px #3a2d1326) drop-shadow(0 14px 14px #3a2d1340);padding:50px 46px 40px!important}
.paper-brush::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(110% 80% at 28% 0,var(--lamp),#fff0 70%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='340' fill='none' stroke-linecap='round'%3E%3Cg stroke='%236b5233' stroke-opacity='.32' stroke-width='.8'%3E%3Cpath d='M12 40c30-14 62 6 96-8M150 20c22 18 60 4 84 22M300 60c20-22 50-6 78-20M40 150c26 10 40-14 72-2M190 120c30-8 44 16 80 6M330 170c18 12 40-6 62 4M20 260c30-16 58 8 90-4M160 230c24 14 52-10 84 4M280 290c30-10 56 12 92-2M110 310c20-12 44 6 66-6'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-opacity='.17' stroke-width='1'%3E%3Cpath d='M70 90c28 12 54-10 88 2M240 150c26-14 50 8 80-6M90 200c22 10 48-12 76 0M260 30c18 10 36-6 58 2M200 300c20-10 40 6 62-4M10 110c14 8 30-4 44 2'/%3E%3C/g%3E%3Cg fill='%236b5233' fill-opacity='.35'%3E%3Ccircle cx='130' cy='70' r='.9'/%3E%3Ccircle cx='352' cy='116' r='1.1'/%3E%3Ccircle cx='226' cy='214' r='.8'/%3E%3Ccircle cx='58' cy='292' r='1'/%3E%3Ccircle cx='310' cy='250' r='.8'/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014' numOctaves='3' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .2 0 0 0 0 .14 .22 0 0 0 -.09'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),var(--p);-webkit-mask:var(--m) center/100% 100% no-repeat;mask:var(--m) center/100% 100% no-repeat;--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='e' x='0' y='0' width='100%25' height='100%25'%3E%3CfeMorphology operator='erode' radius='6' result='s'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='3' seed='21' result='n'/%3E%3CfeDisplacementMap in='s' in2='n' scale='9' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23e)'/%3E%3C/svg%3E")}
.paper-brush .signature::after{content:'';display:inline-block;width:38px;height:38px;margin-left:16px;vertical-align:-10px;transform:rotate(-4deg);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cfilter id='r' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.15'/%3E%3CfeComposite in='SourceGraphic' operator='in'/%3E%3C/filter%3E%3Cg filter='url(%23r)' fill='none' stroke='%23c0352a' stroke-width='2.7'%3E%3Cpath stroke-width='3' stroke-linejoin='round' d='M4.500 5c10-.800 21-.600 31 0 .700 10 .600 20 0 30-10 .700-21 .600-31 0-.600-10-.700-20 0-30z'/%3E%3Cpath d='M10.500 19V10.500h19v7.500h-14v-3.500h9M29.500 21.500v8.500h-19v-7.500h14v3.500h-9'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
body[data-theme=night] .paper-brush{--ink-color:#f1ebdd;--p:#2d2925;--lamp:#ffc67a30;filter:drop-shadow(0 2px 2px #0006) drop-shadow(0 14px 14px #000a)}
body[data-theme=night] .paper-brush .signature::after{filter:brightness(1.18) saturate(1.1)}
@media (max-width:900px){.paper-brush{padding:44px 30px 34px!important}}

/* airmail: blue onionskin folded in three, lozenge border, printed etiquette, typed through a blue-black ribbon */
.paper-airmail{--ink-color:#18223c;--p:#e3ebf3;--w:#f3f5f6;--r:#c1352d;--b:#27468f;--hi:#ffffffb0;--sh:#5a6f8f;--lamp:#fff0;color:var(--ink-color);border:10px solid var(--w);border-image:repeating-linear-gradient(-45deg,var(--r) 0 13px,var(--w) 13px 20px,var(--b) 20px 33px,var(--w) 33px 40px) 10;padding-top:78px!important;background:radial-gradient(120% 80% at 30% 0,var(--lamp),#fff0 70%),linear-gradient(180deg,#0000 calc(34% - 9px),color-mix(in srgb,var(--sh) 16%,#0000) calc(34% - 1px),var(--hi) calc(34% - 1px) 34%,color-mix(in srgb,var(--sh) 7%,#0000) 34%,#0000 calc(34% + 14px)),linear-gradient(180deg,#0000 calc(67% - 14px),color-mix(in srgb,var(--sh) 7%,#0000) calc(67% - 1px),var(--hi) calc(67% - 1px) 67%,color-mix(in srgb,var(--sh) 18%,#0000) 67%,#0000 calc(67% + 9px)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.06' numOctaves='2' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .35 0 0 0 0 .55 0.28 0 0 0 -.12'/%3E%3C/filter%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .28 0 0 0 0 .45 0 0 0 .7 -.26'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),var(--p)}
.paper-airmail::before{content:'BY AIR MAIL\A PAR AVION';white-space:pre;position:absolute;top:22px;left:28px;padding:6px 11px 5px;background:var(--b);color:#fff;font:500 10.5px/1.45 'Chakra Petch',system-ui,sans-serif;letter-spacing:.2em;text-align:center;outline:1px solid #ffffffb3;outline-offset:-3px}
body[data-theme=night] .paper-airmail{--ink-color:#e7edf7;--p:#1c2536;--w:#8e9399;--r:#8f2a25;--b:#2a4687;--hi:#ffffff1f;--sh:#000;--lamp:#ffc67a26}
body[data-theme=night] .paper-airmail::before{color:#eef2fb;outline-color:#eef2fb99}
@media (max-width:900px){.paper-airmail::before{left:20px}}
.paper-telegram,.paper-log,.paper-royal,.paper-school{--g:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.25 0 0 0 0 0.25 0 0 0 0.5 -0.27'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
.paper-stars,body[data-theme=night] :is(.paper-telegram,.paper-log,.paper-royal,.paper-school){--g:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 -0.12'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
/* telegram: yellow pad form torn at the perforation, printed cells, office date stamp, pasted tape strips */
.paper-telegram{--ink-color:#221d10;--form:#ecd684;--print:#5a3a10;--tape:#fbf6df;--tape2:#f0e7c6;--stamp:#45308c;--fold:#00000014 0,#ffffff40;--lamp:#0000;color:var(--ink-color);background:none;box-shadow:none!important;filter:drop-shadow(0 2px 2px #3a2d1326) drop-shadow(0 16px 14px #3a2d1340)}
.letter.paper-telegram{padding:88px 40px 34px}
.paper-telegram::before{content:'';position:absolute;inset:0;z-index:-1;background:var(--g),radial-gradient(ellipse at 15% 0,var(--lamp),#0000 65%),linear-gradient(90deg,#0000 calc(50% - 1px),var(--fold) calc(50% + 1px),#0000 calc(50% + 2px)),var(--form);-webkit-mask:radial-gradient(circle 3.5px at 50% 0,#0000 97%,#000) 0 0/12px 100%;mask:radial-gradient(circle 3.5px at 50% 0,#0000 97%,#000) 0 0/12px 100%}
.paper-telegram::after{content:' NUMBER\A  SENT BY\A  REC’D BY\A  CHECK';white-space:pre;position:absolute;top:26px;left:40px;width:calc(100% - 172px);height:36px;box-sizing:border-box;columns:4;column-gap:0;column-rule:1px solid var(--print);border:solid var(--print);border-width:1px 1px 3px;border-bottom-style:double;font:700 9px/17px 'Cinzel',serif;letter-spacing:.08em;color:var(--print)}
.paper-telegram .greeting::before{content:'REC’D\A JAN 14\A 9 40 AM';white-space:pre;position:absolute;top:13px;right:36px;width:64px;height:64px;box-sizing:border-box;display:grid;place-content:center;text-align:center;border:1.5px solid;border-radius:50%;outline:1px solid;outline-offset:-5px;font:400 9.5px/1.3 'Special Elite',monospace;letter-spacing:.03em;color:var(--stamp);opacity:.85;transform:rotate(-9deg)}
.letter.paper-telegram,.paper-telegram .greeting,.paper-telegram .signature{font:400 15.5px/2.2 'Special Elite','Courier New',monospace!important;letter-spacing:.03em!important;text-transform:uppercase!important;text-align:left!important}
.paper-telegram p{display:inline;padding:4px 9px 2px;background:linear-gradient(var(--tape),var(--tape2));box-shadow:0 1px 1px #0000004d;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.paper-telegram p:not(.signature)::after{content:'\A';white-space:pre}
.paper-telegram p:not(.greeting)::before{content:'';display:inline-block;vertical-align:baseline;height:2.6em;margin-left:-18px}
body[data-theme=night] .paper-telegram{--ink-color:#fbf2d0;--form:#3d3417;--print:#e0c77a;--tape:#5a4e2a;--tape2:#4f4424;--stamp:#c3b5f5;--fold:#00000040 0,#ffffff12;--lamp:#ffc97a2e;filter:drop-shadow(0 2px 2px #0006) drop-shadow(0 16px 14px #000a)}

/* ship's log: ledger page with H/K/F columns kept in the margin, red double rule, tide-marked salt stain */
.paper-log{--ink-color:#27222b;--page:#ece2c9;--rule:#bdc9d5;--col:#6f7f90;--red:#b24a3e;--print:#4a4034;--lamp:#0000;--c:26px;--x:8px;--h:46px;color:var(--ink-color);background:var(--g),radial-gradient(ellipse at 15% 0,var(--lamp),#0000 65%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='270' height='200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018' numOctaves='3' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='42'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none'%3E%3Cellipse cx='150' cy='105' rx='98' ry='60' fill='%237a5a25' fill-opacity='.1' stroke='%236b4f24' stroke-opacity='.17' stroke-width='1.5'/%3E%3Cellipse cx='150' cy='105' rx='94' ry='56' stroke='%23fff' stroke-opacity='.065' stroke-width='3' stroke-dasharray='5 3 14 4 2 6'/%3E%3Cellipse cx='222' cy='160' rx='46' ry='30' stroke='%236b4f24' stroke-opacity='.18' stroke-width='1.2'/%3E%3Cellipse cx='222' cy='160' rx='43' ry='27' stroke='%23fff' stroke-opacity='.06' stroke-width='2' stroke-dasharray='4 5 9 3'/%3E%3C/g%3E%3C/svg%3E") right -34px bottom -44px no-repeat,linear-gradient(90deg,#00000024,#0000 14px),linear-gradient(90deg,var(--red) 1px,#0000 0 3px,var(--red) 0) calc(var(--x) + var(--c)*3 + 5px) 0/4px 100% no-repeat,repeating-linear-gradient(90deg,#0000 0 calc(var(--c) - 1px),var(--col) 0 var(--c)) var(--x) 0/calc(var(--c)*3) 100% no-repeat,linear-gradient(var(--col),var(--col)) 0 calc(var(--h) - 3px)/100% 1px no-repeat,linear-gradient(var(--col),var(--col)) 0 var(--h)/100% 1px no-repeat,repeating-linear-gradient(#0000 0 31px,var(--rule) 0 32px) 0 var(--h)/100% 100% no-repeat,var(--page)}
.letter.paper-log{padding:calc(var(--h) + 7px) 36px 37px calc(var(--x) + var(--c)*3 + 22px)}
.letter.paper-log p{margin:0}
.paper-log{--paper-line:32px;--paper-size:min(var(--hs),calc(32px / var(--hr)))}
.paper-log::after{content:'H K F';position:absolute;top:0;left:var(--x);width:calc(var(--c)*3);box-sizing:border-box;padding:0 calc(var(--c)/2 - 5px);text-align-last:justify;font:italic 400 15px/calc(var(--h) - 3px) 'IM Fell English',serif;color:var(--print)}
.paper-log .greeting::before{content:'Remarks on board';position:absolute;top:0;left:calc(var(--x) + var(--c)*3 + 22px);font:italic 400 16px/calc(var(--h) - 3px) 'IM Fell English',serif;color:var(--print)}
.paper-log::before,.paper-log .greeting::after{content:'2\A 4\A 6\A 8';white-space:pre;position:absolute;top:calc(var(--h) + 7px);left:var(--x);width:var(--c);text-align:center;font:400 .8em/32px 'Caveat',cursive}
.paper-log .greeting::after{content:'5\A 5\A 6\A 4';left:calc(var(--x) + var(--c))}
body[data-theme=night] .paper-log{--ink-color:#efe8d6;--page:#29241d;--rule:#363b42;--col:#6a6f73;--red:#c9695b;--print:#cbbd9c;--lamp:#ffc97a26}

/* star chart: indigo polar chart with a graduated gilt frame, one constellation, gold ink */
.paper-stars{--ink-color:#f4dd9c;--sky:#1c2256;--sky2:#262d6b;--gilt:#e3c877;--gl:#e3c87718;--lamp:#0000;--p:calc(100% - 58px) calc(100% - 54px);color:var(--ink-color);background:var(--g),radial-gradient(ellipse at 15% 0,var(--lamp),#0000 65%),radial-gradient(circle at var(--p),var(--gilt) 0 2px,#0000 2.6px),repeating-radial-gradient(circle at var(--p),#0000 0 63px,var(--gl) 0 64px),repeating-conic-gradient(from 7deg at var(--p),var(--gl) 0 .25deg,#0000 0 15deg),radial-gradient(circle,#323b7a 0 1px,#0000 1.4px) 23px 41px/149px 113px,radial-gradient(circle,#323b7a 0 .9px,#0000 1.3px) 87px 12px/211px 167px,radial-gradient(circle,#323b7a 0 1.3px,#0000 1.9px) 140px 90px/283px 229px,radial-gradient(ellipse at 40% 30%,var(--sky2),var(--sky))}
.letter.paper-stars{padding:88px 44px 44px}
.paper-stars::before,.paper-stars::after{content:'';position:absolute;inset:8px;border:1px solid var(--gilt);pointer-events:none}
.paper-stars::before{--t:var(--gilt) 0 1px,#0000 0 10px;background:repeating-linear-gradient(90deg,var(--t)) 0 0/100% 4px no-repeat,repeating-linear-gradient(90deg,var(--t)) 0 100%/100% 4px no-repeat,repeating-linear-gradient(var(--t)) 0 0/4px 100% no-repeat,repeating-linear-gradient(var(--t)) 100% 0/4px 100% no-repeat;opacity:.8}
.paper-stars::after{inset:14px;opacity:.5}
.paper-stars .greeting::before{content:'';position:absolute;top:24px;right:36px;width:280px;height:52px;background:var(--gilt);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='52'%3E%3Cpath d='M8 30L52 18L96 26L138 12L176 30L214 20L232 40L268 34M176 30L190 47' fill='none' stroke='%23000' stroke-opacity='.45' stroke-width='.7'/%3E%3Ccircle cx='8' cy='30' r='1.6'/%3E%3Ccircle cx='52' cy='18' r='2.3'/%3E%3Ccircle cx='96' cy='26' r='1.5'/%3E%3Ccircle cx='138' cy='12' r='2.6'/%3E%3Ccircle cx='176' cy='30' r='1.9'/%3E%3Ccircle cx='214' cy='20' r='1.4'/%3E%3Ccircle cx='232' cy='40' r='2.3'/%3E%3Ccircle cx='268' cy='34' r='1.6'/%3E%3Ccircle cx='190' cy='47' r='1.3'/%3E%3Ccircle cx='30' cy='8' r='0.8'/%3E%3Ccircle cx='118' cy='42' r='0.8'/%3E%3Ccircle cx='250' cy='10' r='0.9'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='52'%3E%3Cpath d='M8 30L52 18L96 26L138 12L176 30L214 20L232 40L268 34M176 30L190 47' fill='none' stroke='%23000' stroke-opacity='.45' stroke-width='.7'/%3E%3Ccircle cx='8' cy='30' r='1.6'/%3E%3Ccircle cx='52' cy='18' r='2.3'/%3E%3Ccircle cx='96' cy='26' r='1.5'/%3E%3Ccircle cx='138' cy='12' r='2.6'/%3E%3Ccircle cx='176' cy='30' r='1.9'/%3E%3Ccircle cx='214' cy='20' r='1.4'/%3E%3Ccircle cx='232' cy='40' r='2.3'/%3E%3Ccircle cx='268' cy='34' r='1.6'/%3E%3Ccircle cx='190' cy='47' r='1.3'/%3E%3Ccircle cx='30' cy='8' r='0.8'/%3E%3Ccircle cx='118' cy='42' r='0.8'/%3E%3Ccircle cx='250' cy='10' r='0.9'/%3E%3C/svg%3E") center/contain no-repeat}
body[data-theme=night] .paper-stars{--ink-color:#f8e6ab;--sky:#0b0e2c;--sky2:#141a45;--gilt:#f0d480;--lamp:#ffc97a1f;text-shadow:0 0 10px #f4dd9c40}

/* royal: thick cream card with a gilt foil edge, notched inner rule, script greeting */
.paper-royal{--ink-color:#2c2217;--card:#f9f2e0;--card2:#f0e5c9;--gilt:#a8822a;--foil:linear-gradient(135deg,#8f6c1f,#ecd68b 22%,#a8822a 45%,#f5e6a8 62%,#9a7622 80%,#e2c877);--lamp:#0000;color:var(--ink-color);background:var(--g),radial-gradient(ellipse at 15% 0,var(--lamp),#0000 65%),radial-gradient(ellipse at 50% 40%,var(--card) 50%,var(--card2));border:3px solid;border-image:var(--foil) 1;box-shadow:0 1px 0 #7a5c18,0 3px 5px #3a2d1326,0 22px 40px -22px #3a2d1388!important}
.letter.paper-royal{padding:54px 46px 42px}
.paper-royal::before{content:'';position:absolute;inset:9px;--l:linear-gradient(var(--gilt),var(--gilt));--r:#0000 10px,var(--gilt) 0 11px,#0000 0;background:radial-gradient(circle at 0 0,var(--r)) 0 0/11px 11px,radial-gradient(circle at 100% 0,var(--r)) 100% 0/11px 11px,radial-gradient(circle at 0 100%,var(--r)) 0 100%/11px 11px,radial-gradient(circle at 100% 100%,var(--r)) 100% 100%/11px 11px,var(--l) 11px 0/calc(100% - 22px) 1px,var(--l) 11px 100%/calc(100% - 22px) 1px,var(--l) 0 11px/1px calc(100% - 22px),var(--l) 100% 11px/1px calc(100% - 22px);background-repeat:no-repeat;pointer-events:none}
body[data-theme=night] .paper-royal{--ink-color:#f5ead4;--card:#302126;--card2:#22161a;--gilt:#dcbc66;--lamp:#ffc97a26;box-shadow:0 1px 0 #5c4512,0 3px 6px #0006,0 22px 40px -22px #000c!important}

/* school exercise book: feint-ruled page, red margin, staples in the fold, a foil star and the teacher's tick */
.paper-school{--ink-color:#1f3178;--page:#fbfaf1;--rule:#c0d8f2;--red:#de5b5f;--pen:#c8322f;--lamp:#0000;--m:52px;--h:60px;color:var(--ink-color);border-radius:0 10px 10px 0;background:var(--g),radial-gradient(ellipse at 15% 0,var(--lamp),#0000 65%),linear-gradient(90deg,#70757e,#b4b8bf 50%,#666b74) 4px 28%/3px 16px no-repeat,linear-gradient(90deg,#70757e,#b4b8bf 50%,#666b74) 4px 74%/3px 16px no-repeat,linear-gradient(90deg,#0000001f,#0000 12px),linear-gradient(var(--red),var(--red)) var(--m) 0/1.5px 100% no-repeat,repeating-linear-gradient(#0000 0 33px,var(--rule) 0 34px) 0 calc(var(--h) - 42px)/100% 200% no-repeat,var(--page)}
.letter.paper-school{padding:calc(var(--h) + 2px) 30px 40px calc(var(--m) + 16px)}
.letter.paper-school p{margin:0}
.paper-school p+p:not(.signature){text-indent:1.6em}
.paper-school{--paper-line:34px;--paper-size:min(var(--hs),calc(34px / var(--hr)))}
body[data-theme=night] .paper-school{--ink-color:#d3deff;--page:#1c2234;--rule:#213049;--red:#b04e5c;--pen:#ff8d86;--lamp:#ffc97a22}

@media (max-width:900px){
.letter.paper-telegram{padding:86px 22px 28px}
.paper-telegram::after{content:' NUMBER\A  SENT BY\A  CHECK';columns:3;left:22px;width:calc(100% - 122px)}
.paper-telegram .greeting::before{right:20px}
.paper-log{--c:17px;--x:4px}
.paper-log::after{font-size:12.5px;padding:0 3px}
.letter.paper-log{padding-right:18px}
.letter.paper-stars{padding:84px 30px 38px}
.paper-stars .greeting::before{right:28px;width:250px}
.letter.paper-royal{padding:46px 30px 36px}
.paper-school{--m:34px}
.letter.paper-school{padding-right:18px}
}
.paper-blueprint,.paper-ember,.paper-neon,.paper-fieldpost{--px:40px;--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .3 -.08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");--lamp:radial-gradient(90% 75% at 20% 10%,#ffc97a21,#0000 70%)}
@media (max-width:900px){.paper-blueprint,.paper-ember,.paper-neon,.paper-fieldpost{--px:24px}}
/* blueprint: cyanotype sheet with ruled frame, fold crease, title block and a gear train drawn in the margin */
.paper-blueprint{--ink-color:#f3f8ff;--bp:#0e3263;--gl:#ffffff12;--gm:#ffffff09;color:var(--ink-color);outline:2px solid #f3f8ffd9;outline-offset:-12px;background:var(--grain),linear-gradient(90deg,#0000 calc(50% - 1px),#ffffff05 0 50%,#00000038 0 calc(50% + 1px),#0000 0),radial-gradient(130% 100% at 35% 25%,#0000 50%,#04122e80),linear-gradient(var(--gl) 1px,#0000 0) 12px 12px/80px 80px,linear-gradient(90deg,var(--gl) 1px,#0000 0) 12px 12px/80px 80px,linear-gradient(var(--gm) 1px,#0000 0) 12px 12px/16px 16px,linear-gradient(90deg,var(--gm) 1px,#0000 0) 12px 12px/16px 16px,var(--bp)}
body[data-theme=night] .paper-blueprint{--ink-color:#f1f4f8;--bp:#0a2242;--gl:#ffffff0f;--gm:#ffffff08;background:var(--grain),var(--lamp),linear-gradient(90deg,#0000 calc(50% - 1px),#ffffff04 0 50%,#00000047 0 calc(50% + 1px),#0000 0),radial-gradient(130% 100% at 20% 10%,#0000 45%,#020a1acc),linear-gradient(var(--gl) 1px,#0000 0) 12px 12px/80px 80px,linear-gradient(90deg,var(--gl) 1px,#0000 0) 12px 12px/80px 80px,linear-gradient(var(--gm) 1px,#0000 0) 12px 12px/16px 16px,linear-gradient(90deg,var(--gm) 1px,#0000 0) 12px 12px/16px 16px,var(--bp)}

/* ember: page burnt to an irregular charred edge; by night the char line is live ember and throws a glow */
.paper-ember{--ink-color:#36190b;color:var(--ink-color);background:none;box-shadow:none!important;filter:drop-shadow(0 12px 14px #3a2d1359);padding:50px 52px 46px!important}
.paper-ember::before{content:'';position:absolute;inset:-4px;z-index:-1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='b' x='-10%25' y='-10%25' width='120%25' height='120%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.028' numOctaves='4' seed='11' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='30' xChannelSelector='R' yChannelSelector='G' result='s'/%3E%3CfeGaussianBlur in='s' stdDeviation='10'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='gamma' exponent='2.4'/%3E%3C/feComponentTransfer%3E%3CfeComposite in2='s' operator='in' result='p'/%3E%3CfeFlood flood-color='%235b2b0e'/%3E%3CfeComposite in2='s' operator='in' result='m'/%3E%3CfeGaussianBlur in='m' stdDeviation='2.5'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='gamma' exponent='5'/%3E%3C/feComponentTransfer%3E%3CfeComposite in2='s' operator='in' result='c'/%3E%3CfeFlood flood-color='%23170904'/%3E%3CfeComposite in2='s' operator='in' result='e'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .15 0 0 0 0 .05 0 0 0 .5 -.17'/%3E%3CfeComposite in2='p' operator='in' result='g'/%3E%3CfeMerge%3E%3CfeMergeNode in='e'/%3E%3CfeMergeNode in='c'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='g'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='2.5%25' y='3%25' width='95%25' height='94%25' fill='%23f3e2bd' filter='url(%23b)'/%3E%3C/svg%3E") center/100% 100% no-repeat}
body[data-theme=night] .paper-ember{--ink-color:#f7dcae;filter:drop-shadow(0 0 5px #ff8a2acc) drop-shadow(0 0 22px #ff5a1466)}
body[data-theme=night] .paper-ember::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='b' x='-10%25' y='-10%25' width='120%25' height='120%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.028' numOctaves='4' seed='11' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='30' xChannelSelector='R' yChannelSelector='G' result='s'/%3E%3CfeGaussianBlur in='s' stdDeviation='10'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='gamma' exponent='2.2'/%3E%3C/feComponentTransfer%3E%3CfeComposite in2='s' operator='in' result='p'/%3E%3CfeFlood flood-color='%237a1f06'/%3E%3CfeComposite in2='s' operator='in' result='m'/%3E%3CfeGaussianBlur in='m' stdDeviation='2.5'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='gamma' exponent='5'/%3E%3C/feComponentTransfer%3E%3CfeComposite in2='s' operator='in' result='c'/%3E%3CfeFlood flood-color='%23ff9a2e'/%3E%3CfeComposite in2='s' operator='in' result='e'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .15 0 0 0 0 .05 0 0 0 .5 -.17'/%3E%3CfeComposite in2='p' operator='in' result='g'/%3E%3CfeMerge%3E%3CfeMergeNode in='e'/%3E%3CfeMergeNode in='c'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='g'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='2.5%25' y='3%25' width='95%25' height='94%25' fill='%232b1a10' filter='url(%23b)'/%3E%3C/svg%3E") center/100% 100% no-repeat}
@media (max-width:900px){.paper-card .paper-ember{padding:42px 36px 38px!important}}

/* neon: handheld terminal glass, scanlines, status bar, rain trails and sign-light bleeding in from the street */
.paper-neon{--ink-color:#9df5ff;--scr:#131a26;color:var(--ink-color);border-radius:16px;padding-top:66px!important;text-shadow:0 0 7px #38dfff8c;background:repeating-linear-gradient(#0000 0 2px,#00000052 2px 3px),linear-gradient(#0000,#7fe9ff38,#0000) 17% 34%/1px 90px no-repeat,linear-gradient(#0000,#ff6fc82e,#0000) 63% 78%/1px 120px no-repeat,linear-gradient(#0000,#7fe9ff2e,#0000) 88% 22%/1px 60px no-repeat,linear-gradient(115deg,#fff0 38%,#ffffff0b 44% 52%,#fff0 58%),radial-gradient(60% 50% at 100% 0,#ff2fa824,#0000 70%),radial-gradient(55% 45% at 0 100%,#22d3ee1c,#0000 70%),var(--scr);box-shadow:inset 0 0 0 1px #3f4b60,inset 0 0 70px #000b,0 0 0 5px #0a0d13,0 22px 44px -18px #3a2d1399}
.paper-neon::before{content:'23:47 // SECTOR 9 // RAIN 94%';position:absolute;top:0;left:0;right:0;padding:0 var(--px);border-bottom:1px solid #9df5ff38;font:400 11px/36px 'Share Tech Mono',monospace;letter-spacing:.1em;color:#86cbd9;white-space:nowrap;overflow:hidden;text-shadow:none}
.paper-neon::after{content:'';position:absolute;top:14px;right:18px;width:8px;height:8px;border-radius:50%;background:#ff4fbd;box-shadow:0 0 10px 2px #ff3fb4aa}
.letter.paper-neon,.paper-neon .greeting,.paper-neon .signature{font:400 16.5px/1.7 'Share Tech Mono',monospace!important;letter-spacing:normal!important;text-transform:none!important;text-align:left!important}
.paper-neon p:not(.greeting):not(.signature)::before{content:'> ';color:#ff7fd0;text-shadow:0 0 6px #ff3fb488}
.paper-neon .signature{color:#ff8fd6;text-shadow:0 0 7px #ff3fb499}
.paper-neon .signature::after{content:'_';animation:neon-blink 1.2s steps(1) infinite}
@keyframes neon-blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.paper-neon .signature::after{animation:none}}
body[data-theme=night] .paper-neon{--scr:#05070c;text-shadow:0 0 9px #38dfffc4;background:repeating-linear-gradient(#0000 0 2px,#00000066 2px 3px),linear-gradient(#0000,#7fe9ff4d,#0000) 17% 34%/1px 90px no-repeat,linear-gradient(#0000,#ff6fc840,#0000) 63% 78%/1px 120px no-repeat,linear-gradient(#0000,#7fe9ff40,#0000) 88% 22%/1px 60px no-repeat,radial-gradient(65% 55% at 100% 0,#ff2fa838,#0000 70%),radial-gradient(60% 50% at 0 100%,#22d3ee2b,#0000 70%),var(--scr);box-shadow:inset 0 0 0 1px #2c3648,inset 0 0 70px #000,0 0 0 5px #020305,0 0 34px -6px #38dfff55,0 22px 44px -18px #000c}


/* fieldpost: buff card, printed heading over a double rule, censor's ring struck across it, soft pencil */
.paper-fieldpost{--ink-color:#26262c;--rule:#453b1e;--stamp:#7b2136;color:var(--ink-color);border-radius:5px;padding-top:108px!important;background:var(--grain),linear-gradient(45deg,#0000 25px,#fff8 0 26px,#0003 0 27px,#0000 0),radial-gradient(125% 105% at 50% 42%,#0000 58%,#9c844c33),#eddfba;box-shadow:inset 0 0 0 1px #a8935f66,0 2px 6px #3a2d1314,0 22px 44px -22px #3a2d1388}
.paper-fieldpost::before{content:'ON ACTIVE SERVICE';position:absolute;top:34px;left:var(--px);right:calc(var(--px) + 94px);padding-bottom:13px;border-bottom:3px double var(--rule);font:700 15px/1 var(--serif);letter-spacing:.22em;color:var(--rule)}
.paper-fieldpost::after{content:'PASSED BY\A CENSOR\A No. 2174';white-space:pre;position:absolute;top:10px;right:calc(var(--px) - 6px);width:90px;height:90px;box-sizing:border-box;border-radius:50%;border:2px solid var(--stamp);outline:1px solid var(--stamp);outline-offset:-8px;display:grid;place-items:center;text-align:center;font:400 10px/1.35 'Special Elite',monospace;color:var(--stamp);transform:rotate(-11deg);opacity:.85}
body[data-theme=night] .paper-fieldpost{--ink-color:#e9e5dc;--rule:#cdbc8a;--stamp:#eba0ae;background:var(--grain),var(--lamp),linear-gradient(45deg,#0000 25px,#fff3 0 26px,#0006 0 27px,#0000 0),radial-gradient(125% 105% at 30% 20%,#0000 50%,#0d0b06a6),#2e291e;box-shadow:inset 0 0 0 1px #6b5d3a66,0 2px 6px #0006,0 22px 44px -22px #000c}
/* notepad: a canary legal pad page under a red gummed binding, blue feint rules, double red margin */
.paper-notepad{--ink-color:#1d2440;--page:#fbf4bd;--rule:#a9c3d8;--red:#d9777a;--bind:#8d2f2a;--lamp:#0000;--m:50px;--paper-line:30px;--paper-size:min(var(--hs),calc(30px / var(--hr)));color:var(--ink-color);border-radius:0 0 3px 3px;background:radial-gradient(ellipse at 15% 0,var(--lamp),#0000 65%),linear-gradient(var(--bind),var(--bind)) 0 0/100% 22px no-repeat,repeating-linear-gradient(90deg,#0000 0 5px,#ffffff4d 0 9px) 0 10px/100% 1px no-repeat,linear-gradient(#00000026,#0000) 0 22px/100% 5px no-repeat,linear-gradient(90deg,var(--red) 1px,#0000 0 4px,var(--red) 0) var(--m) 0/5px 100% no-repeat,repeating-linear-gradient(#0000 0 29px,var(--rule) 0 30px) 0 20px/100% 100%,var(--page)}
.letter.paper-notepad{padding:54px 30px 34px calc(var(--m) + 20px)}
.letter.paper-notepad p{margin:0}
.letter.paper-notepad p+p:not(.signature){text-indent:1.4em}
body[data-theme=night] .paper-notepad{--ink-color:#f4efc9;--page:#2c2a17;--rule:#3c4640;--red:#8f4b4d;--bind:#5c1f1c;--lamp:#ffc97a24}
@media (max-width:900px){.paper-notepad{--m:30px}.letter.paper-notepad{padding-right:18px}}

/* ---------- three papers for writers the first set left out ---------- */
/* clay tablet: a hand-patted slab with a cylinder seal rolled across the head; every stroke is pressed into the clay */
.paper-clay{--ink-color:#3a1d0a;--cy-hi:#fff3d9d9;--cy-lo:#2c130580;--cy:#d2ae84;--cy2:#b98f63;--cy-lump:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .18 0 0 0 0 .06 .7 0 0 0 -.27'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E");--lamp:#fff0;color:var(--ink-color);border-radius:30px 26px 34px 24px/26px 32px 24px 30px;text-shadow:.8px 1.3px 0 var(--cy-hi),-.6px -1px .6px var(--cy-lo);background:radial-gradient(110% 80% at 25% 0,var(--lamp),#fff0 70%),radial-gradient(ellipse 40px 28px at calc(100% - 70px) calc(100% - 34px),#5d391a33,#5d391a14 60%,#0000 100%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .17 0 0 0 0 .06 0 0 0 .55 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"),var(--cy-lump),radial-gradient(130% 110% at 40% 30%,var(--cy),var(--cy2));box-shadow:inset 0 3px 4px #fff0d28c,inset 5px 0 8px #fff0d22e,inset 0 -9px 12px #6b441f66,inset -8px 0 12px #6b441f3d,0 2px 3px #3a2d1340,0 18px 22px -8px #3a2d1377}
.letter.paper-clay{padding:88px 48px 46px}
.paper-clay::before{content:'';position:absolute;left:26px;right:26px;top:30px;height:34px;background:var(--ink-color);opacity:.8;filter:drop-shadow(.8px 1.3px 0 var(--cy-hi));-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='34' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 1.5h132M0 32.5h132'/%3E%3Ccircle cx='20' cy='17' r='2.2'/%3E%3Cpath d='M20 12.5V7M20 21.5V27M24.5 17H30M15.5 17H10M23.2 13.8l3.9-3.9M16.8 20.2l-3.9 3.9M23.2 20.2l3.9 3.9M16.8 13.8l-3.9-3.9'/%3E%3Cg fill='%23000'%3E%3Cpath d='M44 8l6 2.5-6 2.5zM44 15l6 2.5-6 2.5zM44 22l6 2.5-6 2.5z'/%3E%3Cpath d='M62 8.5l2.5 6 2.5-6zM70 8.5l2.5 6 2.5-6z'/%3E%3C/g%3E%3Cpath d='M50 10.5h8M50 17.5h8M50 24.5h8M64.5 14.5v11M72.5 14.5v11'/%3E%3Cpath d='M93 9a8.5 8.5 0 1 0 0 16a6.5 6.5 0 1 1 0-16z'/%3E%3Cpath d='M108 17c4-6 11-6 15 0c-4 6-11 6-15 0zM123 17l5-4v8z'/%3E%3C/svg%3E") center/132px 34px repeat-x;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='34' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 1.5h132M0 32.5h132'/%3E%3Ccircle cx='20' cy='17' r='2.2'/%3E%3Cpath d='M20 12.5V7M20 21.5V27M24.5 17H30M15.5 17H10M23.2 13.8l3.9-3.9M16.8 20.2l-3.9 3.9M23.2 20.2l3.9 3.9M16.8 13.8l-3.9-3.9'/%3E%3Cg fill='%23000'%3E%3Cpath d='M44 8l6 2.5-6 2.5zM44 15l6 2.5-6 2.5zM44 22l6 2.5-6 2.5z'/%3E%3Cpath d='M62 8.5l2.5 6 2.5-6zM70 8.5l2.5 6 2.5-6z'/%3E%3C/g%3E%3Cpath d='M50 10.5h8M50 17.5h8M50 24.5h8M64.5 14.5v11M72.5 14.5v11'/%3E%3Cpath d='M93 9a8.5 8.5 0 1 0 0 16a6.5 6.5 0 1 1 0-16z'/%3E%3Cpath d='M108 17c4-6 11-6 15 0c-4 6-11 6-15 0zM123 17l5-4v8z'/%3E%3C/svg%3E") center/132px 34px repeat-x}
.paper-clay .signature{letter-spacing:.02em}
body[data-theme=night] .paper-clay{--ink-color:#f6dfb8;--cy-hi:#ffd9a038;--cy-lo:#000;--cy:#523a28;--cy2:#38261a;--cy-lump:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .8 0 0 0 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E");--lamp:#ffc67a26;text-shadow:.8px 1.3px 0 var(--cy-hi),-1px -1.4px .5px var(--cy-lo),0 -2px 3px #0009;box-shadow:inset 0 3px 4px #ffd9a833,inset 5px 0 8px #ffd9a812,inset 0 -9px 12px #000000a6,inset -8px 0 12px #00000066,0 2px 3px #0008,0 18px 22px -8px #000c}
@media (max-width:900px){.letter.paper-clay{padding:80px 28px 38px}.paper-clay::before{left:18px;right:18px;top:26px}}

/* leaf: a page cut from one broad leaf with a sharp stone, so the edges run in short straight cuts; straight parallel side veins with a fine net between them; sunlit yellow-green by day, dusty terracotta with pale raised veins by night; the ink is berry juice */
.paper-leaf{--ink-color:#2f1230;--lf:#b7da4e;--lf2:#8fc32e;--vn:#5d9416;--lf-sun:#f8ffbfd9;--lf-vo:.62;--lamp:#fff0;color:var(--ink-color);background:none;box-shadow:none!important;filter:drop-shadow(0 2px 2px #3a2d1333) drop-shadow(0 14px 14px #3a2d1344)}
.letter.paper-leaf{padding:50px 54px 52px 58px}
.paper-leaf::before,.paper-leaf::after{content:'';position:absolute;inset:0;z-index:-1;clip-path:polygon(1.5% 2%,18% .6%,41% 1.8%,63% .4%,84% 1.6%,98.6% .8%,99.4% 17%,98.2% 39%,100% 58%,98.8% 80%,99.5% 98.5%,80% 99.6%,57% 98.4%,52% 99.8%,33% 98.8%,12% 100%,1% 98.6%,2.2% 76%,.4% 55%,1.8% 31%,.6% 14%)}
.paper-leaf::before{background:radial-gradient(110% 80% at 28% 0,var(--lamp),#fff0 70%),radial-gradient(58% 46% at 24% 6%,var(--lf-sun),#fff0 72%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.35' numOctaves='2' seed='6' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .3 0 0 0 0 .08 0 0 0 .5 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"),radial-gradient(120% 110% at 34% 30%,var(--lf) 35%,var(--lf2))}
.paper-leaf::after{background:var(--vn);opacity:var(--lf-vo);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none' fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath vector-effect='non-scaling-stroke' stroke-width='3.4' d='M27.4 101L37.1 -1'/%3E%3Cg stroke-width='1.25' opacity='.8'%3E%3Cpath vector-effect='non-scaling-stroke' d='M26.6 110Q63.8 96.6 101 59.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M28.3 92Q64.6 78.9 101 43.6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M30 74Q65.5 61.2 101 27.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M31.7 56Q66.3 43.5 101 10.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M33.4 38Q67.2 25.8 101 -5.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M35.1 20Q68 8.1 101 -22'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M27.4 101Q13.2 95.9 -1 80.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M29.1 83Q14.1 77.6 -1 60.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M30.8 65Q14.9 59.3 -1 40.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M32.5 47Q15.8 41 -1 20.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M34.2 29Q16.6 22.7 -1 0.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M36 11Q17.5 4.3 -1 -20.1'/%3E%3C/g%3E%3Cg stroke-width='.6' opacity='.5'%3E%3Cpath vector-effect='non-scaling-stroke' d='M29.5 108.9Q29.4 100.2 28.7 91.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M34.8 106.7Q35.5 98.1 34.9 89.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M40 104.4Q40.4 95.8 40.1 87.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M46.8 101Q46.1 92.4 45.7 83.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M53.5 97.3Q54.6 88.8 54.3 80.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M59.4 93.7Q60.6 85.2 59.7 76.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M66.7 88.8Q67.4 80.4 66.4 72'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M71.9 85.1Q73.2 76.7 72.7 68.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M77.4 80.8Q77 72.5 76.5 64.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M85.7 74Q85.6 65.7 84.9 57.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M93.3 67.3Q93.6 59.1 93 50.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M98.5 62.3Q97.9 54.2 97.5 46'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M31.5 90.8Q31.8 82.1 31.1 73.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M38.4 87.9Q38.7 79.3 37.9 70.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M46.2 84.2Q46.2 75.6 45.5 67.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M53.3 80.4Q55 71.9 54.2 63.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M59.4 76.7Q60.9 68.2 60.6 59.8'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M66.1 72.4Q67.1 64 66.7 55.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M73 67.5Q72.7 59.1 71.9 50.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M81.1 61.3Q82.2 52.9 81.3 44.6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M87.3 56.1Q88.5 47.8 87.8 39.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M94.7 49.6Q95.4 41.4 94.6 33.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M33.4 72.7Q34.1 64 33.8 55.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M41.2 69.4Q42.5 60.8 41.6 52.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M49.5 65.4Q49.5 56.8 49 48.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M57.2 61.1Q56.6 52.6 56 44.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M62.8 57.6Q62.3 49.2 61.9 40.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M70.9 52.2Q70.5 43.8 70 35.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M77.5 47.4Q78.7 39.1 78.4 30.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M84.3 42.1Q85.3 33.8 84.4 25.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M92.5 35Q93.9 26.8 93.4 18.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M99.2 28.9Q99.8 20.7 98.9 12.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M34.1 55.1Q33.8 46.4 33.4 37.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M40.1 52.7Q40.7 44 40 35.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M46.1 49.9Q45.5 41.3 44.9 32.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M52.6 46.6Q53.7 38.1 52.8 29.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M60.4 42.2Q61.1 33.7 60.4 25.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M68.1 37.3Q67.9 28.9 67 20.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M76.2 31.7Q77.9 23.3 77.1 14.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M82.8 26.7Q82.9 18.3 82.5 10'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M90.3 20.5Q89.6 12.2 89.2 3.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M96.1 15.4Q95.9 7.1 95.3 -1.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M35.4 37.3Q34.9 28.6 34.6 19.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M41.8 34.7Q41.6 26 40.7 17.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M49.3 31.2Q48.9 22.6 48.5 14'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M55.7 27.9Q55.8 19.3 55.4 10.8'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M64.1 23Q65.9 14.5 65.3 6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M71 18.5Q70.4 10.1 70 1.6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M77.4 14Q77.7 5.6 76.8 -2.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M83 9.8Q82.9 1.4 81.9 -6.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M90.2 4Q90 -4.3 89.3 -12.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M95.3 -0.3Q96.3 -8.6 95.3 -16.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M23.3 99.3Q22.2 89.9 22.7 80.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M17.6 96.3Q17.6 86.7 18.3 77.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M9.5 90.4Q8.7 80.7 9.1 71'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M1.3 82.7Q1.6 72.8 2.4 62.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M24.7 81.1Q24.8 71.7 25.2 62.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M17.6 77.1Q16.9 67.5 17.2 58'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M12.5 73.4Q11.5 63.7 11.9 54'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M4.7 66.5Q5.2 56.6 5.8 46.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M25.9 62.9Q26.4 53.5 27 44'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M20 59.6Q18.9 50 19.3 40.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M14.2 55.4Q13.5 45.7 14.5 36'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M5.8 47.8Q5 38 5.8 28.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M30.3 46.1Q29.7 36.7 30.7 27.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M22.2 41.9Q22.1 32.3 22.8 22.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M16.4 37.8Q16.6 28.2 17.1 18.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M8.2 30.6Q8.8 20.7 9.4 10.8'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M1.6 23.5Q1.9 13.4 2.7 3.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M31.9 28.1Q30.1 18.7 31 9.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M23.6 23.7Q21.9 14.2 22.8 4.6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M14.7 17Q14.5 7.3 15.1 -2.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M7.5 10.1Q6.3 0.2 6.6 -9.7'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none' fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath vector-effect='non-scaling-stroke' stroke-width='3.4' d='M27.4 101L37.1 -1'/%3E%3Cg stroke-width='1.25' opacity='.8'%3E%3Cpath vector-effect='non-scaling-stroke' d='M26.6 110Q63.8 96.6 101 59.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M28.3 92Q64.6 78.9 101 43.6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M30 74Q65.5 61.2 101 27.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M31.7 56Q66.3 43.5 101 10.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M33.4 38Q67.2 25.8 101 -5.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M35.1 20Q68 8.1 101 -22'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M27.4 101Q13.2 95.9 -1 80.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M29.1 83Q14.1 77.6 -1 60.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M30.8 65Q14.9 59.3 -1 40.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M32.5 47Q15.8 41 -1 20.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M34.2 29Q16.6 22.7 -1 0.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M36 11Q17.5 4.3 -1 -20.1'/%3E%3C/g%3E%3Cg stroke-width='.6' opacity='.5'%3E%3Cpath vector-effect='non-scaling-stroke' d='M29.5 108.9Q29.4 100.2 28.7 91.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M34.8 106.7Q35.5 98.1 34.9 89.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M40 104.4Q40.4 95.8 40.1 87.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M46.8 101Q46.1 92.4 45.7 83.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M53.5 97.3Q54.6 88.8 54.3 80.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M59.4 93.7Q60.6 85.2 59.7 76.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M66.7 88.8Q67.4 80.4 66.4 72'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M71.9 85.1Q73.2 76.7 72.7 68.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M77.4 80.8Q77 72.5 76.5 64.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M85.7 74Q85.6 65.7 84.9 57.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M93.3 67.3Q93.6 59.1 93 50.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M98.5 62.3Q97.9 54.2 97.5 46'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M31.5 90.8Q31.8 82.1 31.1 73.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M38.4 87.9Q38.7 79.3 37.9 70.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M46.2 84.2Q46.2 75.6 45.5 67.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M53.3 80.4Q55 71.9 54.2 63.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M59.4 76.7Q60.9 68.2 60.6 59.8'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M66.1 72.4Q67.1 64 66.7 55.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M73 67.5Q72.7 59.1 71.9 50.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M81.1 61.3Q82.2 52.9 81.3 44.6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M87.3 56.1Q88.5 47.8 87.8 39.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M94.7 49.6Q95.4 41.4 94.6 33.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M33.4 72.7Q34.1 64 33.8 55.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M41.2 69.4Q42.5 60.8 41.6 52.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M49.5 65.4Q49.5 56.8 49 48.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M57.2 61.1Q56.6 52.6 56 44.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M62.8 57.6Q62.3 49.2 61.9 40.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M70.9 52.2Q70.5 43.8 70 35.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M77.5 47.4Q78.7 39.1 78.4 30.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M84.3 42.1Q85.3 33.8 84.4 25.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M92.5 35Q93.9 26.8 93.4 18.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M99.2 28.9Q99.8 20.7 98.9 12.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M34.1 55.1Q33.8 46.4 33.4 37.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M40.1 52.7Q40.7 44 40 35.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M46.1 49.9Q45.5 41.3 44.9 32.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M52.6 46.6Q53.7 38.1 52.8 29.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M60.4 42.2Q61.1 33.7 60.4 25.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M68.1 37.3Q67.9 28.9 67 20.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M76.2 31.7Q77.9 23.3 77.1 14.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M82.8 26.7Q82.9 18.3 82.5 10'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M90.3 20.5Q89.6 12.2 89.2 3.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M96.1 15.4Q95.9 7.1 95.3 -1.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M35.4 37.3Q34.9 28.6 34.6 19.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M41.8 34.7Q41.6 26 40.7 17.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M49.3 31.2Q48.9 22.6 48.5 14'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M55.7 27.9Q55.8 19.3 55.4 10.8'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M64.1 23Q65.9 14.5 65.3 6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M71 18.5Q70.4 10.1 70 1.6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M77.4 14Q77.7 5.6 76.8 -2.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M83 9.8Q82.9 1.4 81.9 -6.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M90.2 4Q90 -4.3 89.3 -12.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M95.3 -0.3Q96.3 -8.6 95.3 -16.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M23.3 99.3Q22.2 89.9 22.7 80.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M17.6 96.3Q17.6 86.7 18.3 77.2'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M9.5 90.4Q8.7 80.7 9.1 71'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M1.3 82.7Q1.6 72.8 2.4 62.9'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M24.7 81.1Q24.8 71.7 25.2 62.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M17.6 77.1Q16.9 67.5 17.2 58'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M12.5 73.4Q11.5 63.7 11.9 54'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M4.7 66.5Q5.2 56.6 5.8 46.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M25.9 62.9Q26.4 53.5 27 44'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M20 59.6Q18.9 50 19.3 40.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M14.2 55.4Q13.5 45.7 14.5 36'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M5.8 47.8Q5 38 5.8 28.1'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M30.3 46.1Q29.7 36.7 30.7 27.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M22.2 41.9Q22.1 32.3 22.8 22.7'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M16.4 37.8Q16.6 28.2 17.1 18.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M8.2 30.6Q8.8 20.7 9.4 10.8'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M1.6 23.5Q1.9 13.4 2.7 3.4'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M31.9 28.1Q30.1 18.7 31 9.3'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M23.6 23.7Q21.9 14.2 22.8 4.6'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M14.7 17Q14.5 7.3 15.1 -2.5'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M7.5 10.1Q6.3 0.2 6.6 -9.7'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
body[data-theme=night] .paper-leaf{--ink-color:#fffaf2;--lf:#7c5145;--lf2:#56342c;--vn:#dcb39d;--lf-sun:#0000;--lf-vo:.42;--lamp:#ffc67a1c;filter:drop-shadow(0 2px 2px #0006) drop-shadow(0 14px 14px #000a)}
body[data-theme=night] .paper-leaf::after{filter:drop-shadow(0 1px 0 #2a151099)}
@media (max-width:900px){.letter.paper-leaf{padding:42px 30px 46px 34px}}

/* ethereal: a flawless sheet with no fibre, fold or stain, lit from within; a point of light at the head and an edge that dissolves into glow */
.paper-ethereal{--ink-color:#30366a;--et-glow:#a9b8ff66;--et-a:#fbf4ff;--et-b:#f2f7ff;--et-c:#fffdf5;--et-top:#fff;--et-ray:#d9c98a;color:var(--ink-color);border-radius:4px;isolation:isolate;background:radial-gradient(60% 150px at 50% 0,var(--et-top),#fff0 72%),linear-gradient(125deg,var(--et-a),var(--et-b) 30%,var(--et-c) 52%,var(--et-b) 74%,var(--et-a));box-shadow:0 0 0 1px #e4e1f0!important}
.letter.paper-ethereal{padding:94px 54px 52px}
.paper-ethereal::before{content:'';position:absolute;top:22px;left:50%;width:220px;height:52px;transform:translateX(-50%);pointer-events:none;background:radial-gradient(circle at 50% 50%,#fff 0 2.5px,var(--et-ray) 4px,#0000 15px),linear-gradient(90deg,#0000,var(--et-ray) 50%,#0000) center/100% 1px no-repeat,linear-gradient(#0000,var(--et-ray) 50%,#0000) center/1px 100% no-repeat;filter:drop-shadow(0 0 6px #fff3c4)}
.paper-card .paper-meta{position:relative}
main.gallery{overflow-x:visible}
@keyframes ethereal-breathe{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){body[data-theme=night] .paper-ethereal::after{animation:none}}
body[data-theme=night] .paper-ethereal{--ink-color:#f4f6ff;--et-glow:#b9c6ffb3;--et-a:#2c3264;--et-b:#3a3f7c;--et-c:#34386f;--et-top:#c3ceff5c;--et-ray:#ffe9a8;text-shadow:0 0 10px var(--et-glow);box-shadow:0 0 0 1px #e6ebffcc,0 0 9px 2px #c9d5ffcc,0 0 16px 4px #97a8ff8c!important}
body[data-theme=night] .paper-ethereal::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:0 0 14px 3px #b4c2ffb3;animation:ethereal-breathe 7s ease-in-out infinite}
@media (max-width:900px){.letter.paper-ethereal{padding:86px 30px 44px}.paper-ethereal::before{width:170px}}

/* pastel: cute modern stationery; a hand-drawn sun and clouds along the foot by day, a moon and stars by night, wobbly pencil line with watercolour that runs past it */
.paper-pastel{--ink-color:#45346a;--pa-a:#fff7f1;--pa-b:#fdeef5;--pa-c:#e8f3fd;--pa-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 130' width='600' height='130'%3E%3Cdefs%3E%3Cfilter id='w' x='-5%25' y='-20%25' width='110%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='2' seed='4' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='4.5' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cfilter id='c' x='-10%25' y='-30%25' width='120%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.028' numOctaves='3' seed='9' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='7' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeGaussianBlur in='d' stdDeviation='1.6' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='2' result='g'/%3E%3CfeColorMatrix in='g' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 -1.1 1.25' result='gm'/%3E%3CfeComposite in='b' in2='gm' operator='in'/%3E%3C/filter%3E%3Cfilter id='c2' x='-10%25' y='-30%25' width='120%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.028' numOctaves='3' seed='9' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='7' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeGaussianBlur in='d' stdDeviation='1.4'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url%28%23c%29' opacity='.8'%3E%3Ccircle cx='151.5' cy='67.5' r='34.5' fill='%23ffd45e'/%3E%3Ccircle cx='146' cy='61' r='20' fill='%23ffe58f'/%3E%3Cpath transform='translate%2817.5 60%29 scale%281.3250000000000002%29' fill='%23bfe2f7' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath transform='translate%28241.5 72%29 scale%281.06%29' fill='%23f9c9dc' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath transform='translate%28361.5 42%29 scale%281.537%29' fill='%23bfe2f7' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath transform='translate%28511.5 78%29 scale%281.007%29' fill='%23d9ccf5' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cellipse cx='134' cy='75' rx='6' ry='4' fill='%23ff9d9d'/%3E%3Cellipse cx='166' cy='75' rx='6' ry='4' fill='%23ff9d9d'/%3E%3C/g%3E%3Cg filter='url%28%23w%29' fill='none' stroke='%236d5a86' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='150' cy='66' r='32'/%3E%3Cpath d='M108.5 72.6L96.7 74.5'/%3E%3Cpath d='M110.8 51.0L99.6 46.7'/%3E%3Cpath d='M123.5 33.4L116.0 24.1'/%3E%3Cpath d='M143.4 24.5L141.5 12.7'/%3E%3Cpath d='M165.0 26.8L169.3 15.6'/%3E%3Cpath d='M182.6 39.5L191.9 32.0'/%3E%3Cpath d='M191.5 59.4L203.3 57.5'/%3E%3Cpath d='M189.2 81.0L200.4 85.3'/%3E%3Cpath d='M176.5 98.6L184.0 107.9'/%3E%3Cpath d='M138 62q0-4 0 0M162 62q0-4 0 0' stroke-width='4.2'/%3E%3Cpath d='M141 73q9 9 18 0'/%3E%3Cpath transform='translate%2822 66%29 scale%281.25%29' stroke-width='1.84' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath transform='translate%28246 78%29 scale%281.0%29' stroke-width='2.30' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath transform='translate%28366 48%29 scale%281.45%29' stroke-width='1.59' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath transform='translate%28516 84%29 scale%280.95%29' stroke-width='2.42' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3C/g%3E%3C/svg%3E");--lamp:#fff0;color:var(--ink-color);border-radius:12px;background:radial-gradient(110% 80% at 25% 0,var(--lamp),#fff0 70%),var(--pa-art) center bottom 14px/min(100% - 20px,600px) auto no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .6 0 0 0 .35 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"),linear-gradient(180deg,var(--pa-a),var(--pa-b) 45%,var(--pa-c))}
.letter.paper-pastel{padding:48px 48px 168px}
body[data-theme=night] .paper-pastel{--ink-color:#f6f0ff;--pa-a:#292747;--pa-b:#322f5a;--pa-c:#3d3769;--pa-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 130' width='600' height='130'%3E%3Cdefs%3E%3Cfilter id='w' x='-5%25' y='-20%25' width='110%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='2' seed='4' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='4.5' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cfilter id='c' x='-10%25' y='-30%25' width='120%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.028' numOctaves='3' seed='9' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='7' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeGaussianBlur in='d' stdDeviation='1.6' result='b'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='2' result='g'/%3E%3CfeColorMatrix in='g' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 -1.1 1.25' result='gm'/%3E%3CfeComposite in='b' in2='gm' operator='in'/%3E%3C/filter%3E%3Cfilter id='c2' x='-10%25' y='-30%25' width='120%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.028' numOctaves='3' seed='9' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='7' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeGaussianBlur in='d' stdDeviation='1.4'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url%28%23c2%29' opacity='.78'%3E%3Cpath d='M172 35a35 35 0 1 0 15 58a29 29 0 0 1-15-58z' fill='%23ffeeb0'/%3E%3Cpath transform='translate%2817.5 72%29 scale%281.1660000000000001%29' fill='%23a9a8ee' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath transform='translate%28409.5 72%29 scale%281.3780000000000001%29' fill='%23a9a8ee' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Ccircle cx='259' cy='41' r='13' fill='%23ffd86b'/%3E%3Ccircle cx='329' cy='83' r='9.5' fill='%23ffb7d5'/%3E%3Ccircle cx='395' cy='33' r='10.5' fill='%23ffd86b'/%3E%3Ccircle cx='545' cy='49' r='12.5' fill='%23ffd86b'/%3E%3Ccircle cx='83' cy='31' r='8.5' fill='%23ffb7d5'/%3E%3Cellipse cx='141' cy='76' rx='5' ry='3.5' fill='%23ff9db0'/%3E%3C/g%3E%3Cg filter='url%28%23w%29' fill='none' stroke='%23efe6ff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M170 36a33 33 0 1 0 14 55a27 27 0 0 1-14-55z'/%3E%3Cpath d='M138 66q4 4 8 0'/%3E%3Cpath d='M140 79q6 5 11 0'/%3E%3Cpath d='M258.0 27.0L261.4 35.3L270.4 36.0L263.6 41.8L265.6 50.5L258.0 45.9L250.4 50.5L252.4 41.8L245.6 36.0L254.6 35.3z'/%3E%3Cpath d='M328.0 73.0L330.4 78.7L336.6 79.2L331.9 83.3L333.3 89.3L328.0 86.0L322.7 89.3L324.1 83.3L319.4 79.2L325.6 78.7z'/%3E%3Cpath d='M394.0 22.0L396.6 28.4L403.5 28.9L398.3 33.4L399.9 40.1L394.0 36.5L388.1 40.1L389.7 33.4L384.5 28.9L391.4 28.4z'/%3E%3Cpath d='M544.0 36.0L547.2 43.6L555.4 44.3L549.1 49.7L551.1 57.7L544.0 53.4L536.9 57.7L538.9 49.7L532.6 44.3L540.8 43.6z'/%3E%3Cpath d='M82.0 22.0L84.1 27.1L89.6 27.5L85.4 31.1L86.7 36.5L82.0 33.6L77.3 36.5L78.6 31.1L74.4 27.5L79.9 27.1z'/%3E%3Cpath transform='translate%2822 78%29 scale%281.1%29' stroke-width='2.09' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath transform='translate%28414 78%29 scale%281.3%29' stroke-width='1.77' d='M4 34c-9-1-12-13-3-17c-2-10 11-16 18-9c5-11 23-11 27 1c9-4 18 4 14 12c8 2 8 13-1 14c-18 1-37 1-55-1z'/%3E%3Cpath d='M300 30v8M296 34h8M470 26v8M466 30h8M214 96v6M211 99h6'/%3E%3C/g%3E%3C/svg%3E");--lamp:#ffc97a14}
@media (max-width:900px){.letter.paper-pastel{padding:38px 26px 116px}}

/* spiral: a clean ruled page torn out of a spiral-bound notebook, the row of binding holes ripped open down the left edge; nothing else on it */
.paper-spiral{--ink-color:#1c2742;--sp-page:#fbfbf5;--sp-rule:#b7cde4;--lamp:#fff0;--paper-line:30px;--paper-size:min(var(--hs),calc(30px / var(--hr)));color:var(--ink-color);background:none;box-shadow:none!important;filter:drop-shadow(0 2px 2px #3a2d1333) drop-shadow(0 14px 14px #3a2d1344)}
.paper-spiral::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:0 3px 3px 0;background:radial-gradient(110% 80% at 28% 0,var(--lamp),#fff0 70%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .35 0 0 0 .25 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"),repeating-linear-gradient(#0000 0 29px,var(--sp-rule) 0 30px) 0 20px/100% 100%,var(--sp-page);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='214.4' viewBox='0 0 34 214.4'%3E%3Cpath d='M34 0L34 214L1.5 214.4L2.4 212.5L1.6 206.7L11.3 206.5L14.4 209.6L18.5 211.1L22.8 210.8L26.6 208.7L29.2 205.2L30.1 201L29.2 196.8L26.6 193.3L22.8 191.2L18.5 190.9L14.4 192.4L11.3 195.5L1.8 195.6L1.9 185L0.8 178.6L10.7 178.5L13.5 182.1L17.6 184.1L22.1 184.2L26.2 182.2L29.1 178.6L30.1 174.2L29.1 169.8L26.2 166.2L22.1 164.2L17.6 164.3L13.5 166.3L10.7 169.9L1.2 169.9L2 159.7L2.6 152.2L10.5 151.3L13.2 155.1L17.3 157.3L21.9 157.4L26.1 155.5L29 151.9L30.1 147.4L29 142.9L26.1 139.3L21.9 137.4L17.3 137.5L13.2 139.7L10.5 143.5L2.5 144.4L0.9 133L1.7 127.4L12 127L15.2 129.7L19.2 130.8L23.3 130.2L26.9 128.1L29.3 124.7L30.1 120.6L29.3 116.5L26.9 113.1L23.3 111L19.2 110.4L15.2 111.5L12 114.2L0.7 114.5L0.7 105.3L1.5 97.4L10.7 98.2L13.5 101.7L17.6 103.7L22.1 103.8L26.2 101.8L29.1 98.2L30.1 93.8L29.1 89.4L26.2 85.8L22.1 83.8L17.6 83.9L13.5 85.9L10.7 89.4L2.3 88.7L1.6 78.1L1.5 73.3L11.5 72.8L14.7 75.8L18.7 77.1L23 76.7L26.7 74.6L29.2 71.2L30.1 67L29.2 62.8L26.7 59.4L23 57.3L18.7 56.9L14.7 58.2L11.5 61.2L1.2 61.6L2.3 51.2L1.2 49.7L13.6 48.2L16.9 50L20.7 50.4L24.3 49.4L27.4 47.1L29.4 43.9L30.1 40.2L29.4 36.5L27.4 33.3L24.3 31L20.7 30L16.9 30.4L13.6 32.2L1.1 33.7L2.1 25L2.3 16.9L10.9 18.2L13.8 21.6L17.9 23.4L22.4 23.3L26.4 21.3L29.1 17.8L30.1 13.4L29.1 9L26.4 5.5L22.4 3.5L17.9 3.4L13.8 5.2L10.9 8.6L1.4 7.3L1.5 0z'/%3E%3C/svg%3E") 0 0/34px 214.4px repeat-y,linear-gradient(#000,#000) 33px 0/calc(100% - 33px) 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='214.4' viewBox='0 0 34 214.4'%3E%3Cpath d='M34 0L34 214L1.5 214.4L2.4 212.5L1.6 206.7L11.3 206.5L14.4 209.6L18.5 211.1L22.8 210.8L26.6 208.7L29.2 205.2L30.1 201L29.2 196.8L26.6 193.3L22.8 191.2L18.5 190.9L14.4 192.4L11.3 195.5L1.8 195.6L1.9 185L0.8 178.6L10.7 178.5L13.5 182.1L17.6 184.1L22.1 184.2L26.2 182.2L29.1 178.6L30.1 174.2L29.1 169.8L26.2 166.2L22.1 164.2L17.6 164.3L13.5 166.3L10.7 169.9L1.2 169.9L2 159.7L2.6 152.2L10.5 151.3L13.2 155.1L17.3 157.3L21.9 157.4L26.1 155.5L29 151.9L30.1 147.4L29 142.9L26.1 139.3L21.9 137.4L17.3 137.5L13.2 139.7L10.5 143.5L2.5 144.4L0.9 133L1.7 127.4L12 127L15.2 129.7L19.2 130.8L23.3 130.2L26.9 128.1L29.3 124.7L30.1 120.6L29.3 116.5L26.9 113.1L23.3 111L19.2 110.4L15.2 111.5L12 114.2L0.7 114.5L0.7 105.3L1.5 97.4L10.7 98.2L13.5 101.7L17.6 103.7L22.1 103.8L26.2 101.8L29.1 98.2L30.1 93.8L29.1 89.4L26.2 85.8L22.1 83.8L17.6 83.9L13.5 85.9L10.7 89.4L2.3 88.7L1.6 78.1L1.5 73.3L11.5 72.8L14.7 75.8L18.7 77.1L23 76.7L26.7 74.6L29.2 71.2L30.1 67L29.2 62.8L26.7 59.4L23 57.3L18.7 56.9L14.7 58.2L11.5 61.2L1.2 61.6L2.3 51.2L1.2 49.7L13.6 48.2L16.9 50L20.7 50.4L24.3 49.4L27.4 47.1L29.4 43.9L30.1 40.2L29.4 36.5L27.4 33.3L24.3 31L20.7 30L16.9 30.4L13.6 32.2L1.1 33.7L2.1 25L2.3 16.9L10.9 18.2L13.8 21.6L17.9 23.4L22.4 23.3L26.4 21.3L29.1 17.8L30.1 13.4L29.1 9L26.4 5.5L22.4 3.5L17.9 3.4L13.8 5.2L10.9 8.6L1.4 7.3L1.5 0z'/%3E%3C/svg%3E") 0 0/34px 214.4px repeat-y,linear-gradient(#000,#000) 33px 0/calc(100% - 33px) 100% no-repeat}
.letter.paper-spiral{padding:54px 34px 36px 64px}
.letter.paper-spiral p{margin:0}
.letter.paper-spiral p+p:not(.signature){text-indent:1.4em}
body[data-theme=night] .paper-spiral{--ink-color:#edf1f8;--sp-page:#252a33;--sp-rule:#3b4a61;--lamp:#ffc97a1f;filter:drop-shadow(0 2px 2px #0006) drop-shadow(0 14px 14px #000a)}
@media (max-width:900px){.letter.paper-spiral{padding:54px 18px 32px 50px}}

/* notepaper: plain cream writing paper of about 1800 to 1960; smooth, clean-cut, folded in three for the envelope */
.paper-notepaper{--ink-color:#1e2334;--np-a:#f7f2e4;--np-b:#f1ead8;--np-lo:#6b5a3a1f;--np-hi:#ffffff8c;color:var(--ink-color);background:linear-gradient(180deg,#0000 calc(33.4% - 2px),var(--np-lo) 33.4%,var(--np-hi) calc(33.4% + 1px),#0000 calc(33.4% + 3px),#0000 calc(66.8% - 2px),var(--np-lo) 66.8%,var(--np-hi) calc(66.8% + 1px),#0000 calc(66.8% + 3px)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 -.9 .52'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),linear-gradient(100deg,var(--np-a),var(--np-b))}
body[data-theme=night] .paper-notepaper{--ink-color:#ebe5d6;--np-lo:#0000004d;--np-hi:#ffffff12;--np-a:#2e2b25;--np-b:#27241f}
/* rag: coarse unbleached rag paper, thick with straw fibre and flecks, rough untrimmed edges */
.paper-rag{--ink-color:#2a2016;--p:#d6c7a8;color:var(--ink-color);background:none;box-shadow:none!important;filter:drop-shadow(0 2px 2px #3a2d1330) drop-shadow(0 14px 14px #3a2d1345);padding:54px 48px 46px!important}
.paper-rag::before{content:'';position:absolute;inset:0;z-index:-1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='360' fill='none' stroke-linecap='round'%3E%3Cpath stroke='%235a4222' stroke-opacity='.42' stroke-width='.9' d='M140 24q5.1 1.0 11.0 1.3M30 36q-6.6 4.9 -8.6 5.2M367 20q2.6 8.2 9.4 12.1M48 113q6.7 3.5 12.5 8.0M81 244q3.3 3.7 5.6 8.4M173 110q-5.8 7.4 -8.5 11.8M369 46q-5.7 5.6 -7.2 6.9M186 18q-4.4 4.0 -9.6 8.8M174 300q1.7 7.2 1.3 16.3M27 251q-4.4 -1.8 -12.8 0.3M67 45q-4.4 4.1 -4.3 3.8M96 142q7.2 2.2 15.0 3.9M158 130q-9.8 3.1 -15.5 2.1M70 86q0.7 3.4 0.4 7.8M359 247q-1.0 4.2 -4.0 10.4M24 321q-4.8 1.0 -13.3 5.5M29 77q-1.0 5.7 3.3 6.1M4 57q-1.6 5.7 2.6 5.7M139 47q-7.8 0.4 -15.2 0.4M184 34q0.1 4.2 3.0 5.5M59 195q2.6 -0.2 -0.5 5.3M325 249q-0.3 5.7 3.3 7.4M306 351q-4.3 2.5 -12.5 8.7M279 84q-0.4 7.9 4.9 10.1M170 334q-9.2 2.0 -16.7 2.4M86 84q3.7 1.5 5.9 4.4M36 237q-4.7 3.5 -12.3 10.1M182 67q5.4 4.4 7.3 12.5M67 49q-1.4 -0.8 -6.5 2.0M58 295q-4.9 8.3 -7.9 14.8'/%3E%3Cpath stroke='%23fff6dc' stroke-opacity='.3' stroke-width='1.1' d='M124 57q6.5 1.2 12.5 2.9M87 225q-2.6 8.6 -3.9 15.9M242 135q3.0 3.8 11.3 2.3M218 189q-6.4 7.1 -10.2 11.7M330 114q-1.5 5.9 -3.9 12.8M110 140q6.3 0.7 13.0 0.9M208 315q-8.1 4.4 -13.5 6.2M102 5q2.4 4.2 4.0 9.2M150 144q-3.9 5.5 -2.6 5.7M329 220q1.5 3.3 4.8 4.8M312 61q-2.4 0.2 -5.2 0.8M291 191q2.0 7.8 7.3 12.3M14 102q0.4 0.6 -4.6 6.7M339 300q-0.7 3.0 -5.0 9.5M365 143q-3.5 -0.5 -9.7 1.6M208 50q-1.7 -0.7 -5.1 0.5'/%3E%3Cg fill='%234a3416' fill-opacity='.4'%3E%3Ccircle cx='200' cy='333' r='1.1'/%3E%3Ccircle cx='328' cy='295' r='0.9'/%3E%3Ccircle cx='98' cy='107' r='0.9'/%3E%3Ccircle cx='222' cy='95' r='1.1'/%3E%3Ccircle cx='53' cy='324' r='1.1'/%3E%3Ccircle cx='174' cy='209' r='1.6'/%3E%3Ccircle cx='160' cy='327' r='1.2'/%3E%3Ccircle cx='202' cy='188' r='0.7'/%3E%3Ccircle cx='168' cy='68' r='0.7'/%3E%3Ccircle cx='301' cy='65' r='1.2'/%3E%3Ccircle cx='274' cy='200' r='1.0'/%3E%3Ccircle cx='197' cy='200' r='1.5'/%3E%3Ccircle cx='43' cy='201' r='0.9'/%3E%3Ccircle cx='107' cy='276' r='1.2'/%3E%3Ccircle cx='213' cy='272' r='1.6'/%3E%3Ccircle cx='169' cy='220' r='1.2'/%3E%3Ccircle cx='195' cy='248' r='1.2'/%3E%3Ccircle cx='202' cy='172' r='1.6'/%3E%3Ccircle cx='264' cy='313' r='1.6'/%3E%3Ccircle cx='101' cy='201' r='1.6'/%3E%3Ccircle cx='316' cy='52' r='0.8'/%3E%3Ccircle cx='168' cy='30' r='0.9'/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55 .9' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .12 0 0 0 -1.5 .82'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .1 .5 0 0 0 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),var(--p);-webkit-mask:var(--m) center/100% 100% no-repeat;mask:var(--m) center/100% 100% no-repeat;--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='e' x='0' y='0' width='100%25' height='100%25'%3E%3CfeMorphology operator='erode' radius='9' result='s'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.028' numOctaves='4' seed='37' result='n'/%3E%3CfeDisplacementMap in='s' in2='n' scale='15' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23e)'/%3E%3C/svg%3E")}
body[data-theme=night] .paper-rag{--ink-color:#ecdfc4;--p:#3b3226;filter:drop-shadow(0 2px 2px #0006) drop-shadow(0 14px 14px #000a)}
body[data-theme=night] .paper-rag::before{background-blend-mode:screen,multiply,multiply,normal}
@media (max-width:900px){.paper-rag{padding:46px 30px 38px!important}}
/* construction: matte, fibrous coloured craft paper. Made to be tinted; sky blue when no colour is given */
.paper-construction{--ink-color:#16283a;--cp:#9fc9de;color:var(--ink-color);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='a' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7 .25' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 -1.6 .78'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.3 .8' numOctaves='3' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.5 .7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='.55'/%3E%3Crect width='100%25' height='100%25' filter='url(%23b)' opacity='.26'/%3E%3C/svg%3E"),linear-gradient(175deg,#ffffff14,#0000000f),var(--cp);border-radius:1px}
body[data-theme=night] .paper-construction{--ink-color:#e8f2f8;--cp:#2c4a5c}
/* tinted papers: letter-tint.js sets --tint (the paper colour) and --tint-ink on a letter with data-tint. A tinted sheet looks the same by day and by night. */
body .letter[data-tint],body .excerpt[data-tint]{--ink-color:var(--tint-ink);--lamp:#0000;color:var(--tint-ink)}
body .paper-construction[data-tint]{--cp:var(--tint)}
body .paper-royal[data-tint]{--card:var(--tint);--card2:color-mix(in srgb,var(--tint) 88%,#000)}
body .paper-notepaper[data-tint]{--np-a:var(--tint);--np-b:color-mix(in srgb,var(--tint) 94%,#000);--np-lo:#00000026;--np-hi:#ffffff2e}
body .paper-pastel[data-tint]{--pa-a:color-mix(in srgb,var(--tint) 55%,#fff);--pa-b:color-mix(in srgb,var(--tint) 72%,#fff);--pa-c:var(--tint)}
body .paper-pastel[data-tint][data-tone=dark]{--pa-a:var(--tint);--pa-b:color-mix(in srgb,var(--tint) 88%,#fff);--pa-c:color-mix(in srgb,var(--tint) 78%,#fff)}
body .paper-notepad[data-tint]{--page:var(--tint);--rule:color-mix(in srgb,var(--tint-ink) 24%,var(--tint));--red:color-mix(in srgb,var(--tint-ink) 34%,var(--tint))}
body .paper-spiral[data-tint]{--sp-page:var(--tint);--sp-rule:color-mix(in srgb,var(--tint-ink) 24%,var(--tint))}
body .paper-laid[data-tint]{background:var(--tint) repeating-linear-gradient(90deg,transparent 0 5px,color-mix(in srgb,var(--tint-ink) 9%,#0000) 5px 6px)}
/* stationery: clean smooth sheet with a curled flourish in each corner; the girly, polished stationery. Tintable; blush pink by default */
.paper-stationery{--ink-color:#4a2340;--st:#fdeef3;--st-deco:#d9799f;color:var(--ink-color);background:linear-gradient(170deg,#ffffff2e,#fff0 40%),var(--st);border-radius:3px}
.paper-stationery::before{content:'';position:absolute;inset:12px;pointer-events:none;background:var(--st-deco);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cg transform=''%3E%3Cpath d='M9 9C30 5 54 6 70 12c10 4 12 15 4 19-7 3-13-3-10-9 2-4 7-4 9-1'/%3E%3Cpath d='M9 9C5 30 6 54 12 70c4 10 15 12 19 4 3-7-3-13-9-10-4 2-4 7-1 9'/%3E%3Cpath d='M9 9c12 8 24 9 31 17 5 6 2 14-5 13-5-1-7-7-3-10'/%3E%3Cpath d='M78 9h14M9 78v14' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='9' r='2.6' fill='%23000' stroke='none'/%3E%3Ccircle cx='50' cy='24' r='1.5' fill='%23000' stroke='none'/%3E%3Ccircle cx='24' cy='50' r='1.5' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 0 0/84px 84px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cg transform='translate(96 0) scale(-1 1)'%3E%3Cpath d='M9 9C30 5 54 6 70 12c10 4 12 15 4 19-7 3-13-3-10-9 2-4 7-4 9-1'/%3E%3Cpath d='M9 9C5 30 6 54 12 70c4 10 15 12 19 4 3-7-3-13-9-10-4 2-4 7-1 9'/%3E%3Cpath d='M9 9c12 8 24 9 31 17 5 6 2 14-5 13-5-1-7-7-3-10'/%3E%3Cpath d='M78 9h14M9 78v14' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='9' r='2.6' fill='%23000' stroke='none'/%3E%3Ccircle cx='50' cy='24' r='1.5' fill='%23000' stroke='none'/%3E%3Ccircle cx='24' cy='50' r='1.5' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 100% 0/84px 84px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cg transform='translate(0 96) scale(1 -1)'%3E%3Cpath d='M9 9C30 5 54 6 70 12c10 4 12 15 4 19-7 3-13-3-10-9 2-4 7-4 9-1'/%3E%3Cpath d='M9 9C5 30 6 54 12 70c4 10 15 12 19 4 3-7-3-13-9-10-4 2-4 7-1 9'/%3E%3Cpath d='M9 9c12 8 24 9 31 17 5 6 2 14-5 13-5-1-7-7-3-10'/%3E%3Cpath d='M78 9h14M9 78v14' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='9' r='2.6' fill='%23000' stroke='none'/%3E%3Ccircle cx='50' cy='24' r='1.5' fill='%23000' stroke='none'/%3E%3Ccircle cx='24' cy='50' r='1.5' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 0 100%/84px 84px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cg transform='translate(96 96) scale(-1 -1)'%3E%3Cpath d='M9 9C30 5 54 6 70 12c10 4 12 15 4 19-7 3-13-3-10-9 2-4 7-4 9-1'/%3E%3Cpath d='M9 9C5 30 6 54 12 70c4 10 15 12 19 4 3-7-3-13-9-10-4 2-4 7-1 9'/%3E%3Cpath d='M9 9c12 8 24 9 31 17 5 6 2 14-5 13-5-1-7-7-3-10'/%3E%3Cpath d='M78 9h14M9 78v14' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='9' r='2.6' fill='%23000' stroke='none'/%3E%3Ccircle cx='50' cy='24' r='1.5' fill='%23000' stroke='none'/%3E%3Ccircle cx='24' cy='50' r='1.5' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 100% 100%/84px 84px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cg transform=''%3E%3Cpath d='M9 9C30 5 54 6 70 12c10 4 12 15 4 19-7 3-13-3-10-9 2-4 7-4 9-1'/%3E%3Cpath d='M9 9C5 30 6 54 12 70c4 10 15 12 19 4 3-7-3-13-9-10-4 2-4 7-1 9'/%3E%3Cpath d='M9 9c12 8 24 9 31 17 5 6 2 14-5 13-5-1-7-7-3-10'/%3E%3Cpath d='M78 9h14M9 78v14' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='9' r='2.6' fill='%23000' stroke='none'/%3E%3Ccircle cx='50' cy='24' r='1.5' fill='%23000' stroke='none'/%3E%3Ccircle cx='24' cy='50' r='1.5' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 0 0/84px 84px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cg transform='translate(96 0) scale(-1 1)'%3E%3Cpath d='M9 9C30 5 54 6 70 12c10 4 12 15 4 19-7 3-13-3-10-9 2-4 7-4 9-1'/%3E%3Cpath d='M9 9C5 30 6 54 12 70c4 10 15 12 19 4 3-7-3-13-9-10-4 2-4 7-1 9'/%3E%3Cpath d='M9 9c12 8 24 9 31 17 5 6 2 14-5 13-5-1-7-7-3-10'/%3E%3Cpath d='M78 9h14M9 78v14' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='9' r='2.6' fill='%23000' stroke='none'/%3E%3Ccircle cx='50' cy='24' r='1.5' fill='%23000' stroke='none'/%3E%3Ccircle cx='24' cy='50' r='1.5' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 100% 0/84px 84px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cg transform='translate(0 96) scale(1 -1)'%3E%3Cpath d='M9 9C30 5 54 6 70 12c10 4 12 15 4 19-7 3-13-3-10-9 2-4 7-4 9-1'/%3E%3Cpath d='M9 9C5 30 6 54 12 70c4 10 15 12 19 4 3-7-3-13-9-10-4 2-4 7-1 9'/%3E%3Cpath d='M9 9c12 8 24 9 31 17 5 6 2 14-5 13-5-1-7-7-3-10'/%3E%3Cpath d='M78 9h14M9 78v14' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='9' r='2.6' fill='%23000' stroke='none'/%3E%3Ccircle cx='50' cy='24' r='1.5' fill='%23000' stroke='none'/%3E%3Ccircle cx='24' cy='50' r='1.5' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 0 100%/84px 84px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cg transform='translate(96 96) scale(-1 -1)'%3E%3Cpath d='M9 9C30 5 54 6 70 12c10 4 12 15 4 19-7 3-13-3-10-9 2-4 7-4 9-1'/%3E%3Cpath d='M9 9C5 30 6 54 12 70c4 10 15 12 19 4 3-7-3-13-9-10-4 2-4 7-1 9'/%3E%3Cpath d='M9 9c12 8 24 9 31 17 5 6 2 14-5 13-5-1-7-7-3-10'/%3E%3Cpath d='M78 9h14M9 78v14' stroke-width='1.3'/%3E%3Ccircle cx='9' cy='9' r='2.6' fill='%23000' stroke='none'/%3E%3Ccircle cx='50' cy='24' r='1.5' fill='%23000' stroke='none'/%3E%3Ccircle cx='24' cy='50' r='1.5' fill='%23000' stroke='none'/%3E%3C/g%3E%3C/svg%3E") 100% 100%/84px 84px no-repeat}
.letter.paper-stationery{padding:66px 62px 62px}
body[data-theme=night] .paper-stationery{--ink-color:#fde8f1;--st:#3a2233;--st-deco:#e79ab9;background:var(--st)}
@media (max-width:900px){.letter.paper-stationery{padding:58px 34px 56px}.paper-stationery::before{inset:8px}}
body .paper-stationery[data-tint]{--st:var(--tint);--st-deco:color-mix(in srgb,var(--tint-ink) 52%,var(--tint))}
/* correspondence: heavy plain white card, stiff and crisp, thick enough to show its edge. Nothing printed on it. Tintable */
.paper-correspondence{--ink-color:#16181d;--cc:#fbfaf7;--cc-edge:color-mix(in srgb,var(--cc) 80%,#000);color:var(--ink-color);background:linear-gradient(180deg,#ffffff59,#fff0 5px),linear-gradient(165deg,color-mix(in srgb,var(--cc) 96%,#fff),var(--cc) 45%,color-mix(in srgb,var(--cc) 96%,#000));border-radius:2px;box-shadow:inset 0 0 0 1px #ffffff40,1px 1px 0 var(--cc-edge),2px 2px 0 color-mix(in srgb,var(--cc-edge) 86%,#000),3px 3px 0 color-mix(in srgb,var(--cc-edge) 72%,#000),4px 6px 8px #1a1a1a2e,6px 26px 40px -20px #1a1a1a80!important}
.letter.paper-correspondence{padding:58px 54px 50px}
body[data-theme=night] .paper-correspondence{--ink-color:#eeece6;--cc:#2b2c30}
@media (max-width:900px){.letter.paper-correspondence{padding:48px 30px 40px}}
body .paper-correspondence[data-tint]{--cc:var(--tint)}
.gallery-note{max-width:70ch;margin:-6px 0 22px}
/* paper test viewer on the samples page: six letters at a time */
.pt-grid{margin-bottom:24px}
.pt-bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;margin:0 0 28px;padding-block:10px;border-bottom:1px solid color-mix(in srgb,var(--ink) 16%,#0000)}
.pt-bar label{display:flex;gap:8px;align-items:center;font:500 16px/1.2 var(--text)}
.pt-bar select,.pt-bar button{font:500 16px/1.2 var(--text);color:var(--ink);background:color-mix(in srgb,var(--paper) 86%,var(--ink));border:1px solid color-mix(in srgb,var(--ink) 32%,#0000);border-radius:6px;padding:9px 14px;min-height:42px}
.pt-bar button{cursor:pointer}
.pt-bar button:disabled{opacity:.4;cursor:default}
.pt-bar :is(select,button):focus-visible{outline:2px solid var(--green);outline-offset:2px}
.pt-count{font:500 16px/1.2 var(--text);font-variant-numeric:tabular-nums;min-width:11ch;text-align:center}
.pt-nav{display:flex;gap:8px;align-items:center;margin-left:auto}
.pt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px;align-items:start}
.pt-grid .paper-card{min-width:0}
.pt-grid .paper-card .letter{min-height:0}
.pt-grid h2{font:600 24px/1.15 var(--serif);margin:0;display:block}
.pt-fr{font:400 15px/1.3 var(--text);color:var(--muted);margin:2px 0 8px!important}
.pt-facts{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0 0 8px;padding:0;list-style:none;font:500 14px/1.2 var(--text)}
.pt-facts li{border:1px solid color-mix(in srgb,var(--ink) 24%,#0000);border-radius:99px;padding:4px 10px;display:flex;gap:6px;align-items:center;color:var(--ink)}
.pt-sw{width:12px;height:12px;border-radius:50%;border:1px solid color-mix(in srgb,var(--ink) 40%,#0000)}
.pt-fit3{background:color-mix(in srgb,var(--gold) 34%,#0000)}
.pt-why{font-size:15.5px;line-height:1.4;color:var(--muted);margin:0!important}
.pt-empty{grid-column:1/-1;color:var(--muted)}
@media (max-width:1000px){.pt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.pt-grid{grid-template-columns:1fr}.pt-nav{margin-left:0;width:100%;justify-content:space-between}}

/* ---------- furniture insets ----------
   How far each paper's own furniture (punched holes, binding, margin rule, printed header, artwork) reaches in
   from an edge. The full letter has its paddings above; every smaller rendering (.excerpt cards, the home page
   samples) pads by these plus its own margin, so writing never lands on the furniture whatever the width.
   Top insets on ruled papers also keep the first line sitting on a rule. */
.paper-spiral{--in-l:30px;--in-t:2px}
.paper-notepad{--in-l:calc(var(--m) - 6px);--in-t:32px}
.paper-school{--in-l:calc(var(--m) - 8px);--in-t:6px}
.paper-log{--in-l:calc(var(--x) + var(--c)*3 - 4px);--in-t:calc(var(--h) - 15px)}
.paper-pastel{--in-b:44px}
.paper-telegram{--in-t:56px}
.paper-stars{--in-t:10px}
.paper-stationery{--in-t:14px;--in-b:14px}
:is(.excerpt).paper-log{--c:17px;--x:4px}
:is(.excerpt).paper-log::after{font-size:12.5px;padding:0 3px}
:is(.excerpt).paper-school{--m:34px}
:is(.excerpt).paper-notepad{--m:30px}
:is(.excerpt) p+p:not(.signature){text-indent:0}
