
[data-gf-tool=christmas-post] [hidden]{display:none!important}
.postal-shell{display:grid;grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr);gap:clamp(24px,5vw,68px);align-items:center;color:var(--text);padding:24px 0}
.post-kicker{font-size:.82rem;letter-spacing:.11em;text-transform:uppercase;font-weight:800;margin:0;color:var(--coral-deep)}
.post-kicker span{font-size:1.13em;margin-right:.45em}
.postal-intro h1,.post-workspace h2{font:700 clamp(46px,6.6vw,89px)/.93 Fraunces,Georgia,serif;letter-spacing:-.06em;margin:14px 0 22px;color:var(--ink);text-wrap:balance}
.post-lede{font-size:clamp(18px,2.1vw,25px);line-height:1.38;margin:0 0 26px;max-width:27ch}
.post-form{display:grid;gap:8px;max-width:405px}
.post-form label,.post-workspace label,.post-form legend{font-weight:800;font-size:.92rem}
.post-form input:not([type=radio]),.post-form textarea,.post-link input{background:var(--paper);color:var(--text);font:inherit;padding:11px 12px;border:1px solid var(--line);border-radius:8px;width:100%;min-height:44px}
.post-form textarea{resize:vertical}
.post-primary,.post-secondary{font:800 .92rem/1.3 Manrope,Arial,sans-serif;min-height:44px;border-radius:8px;padding:11px 17px;cursor:pointer}
.post-primary{background:var(--coral-deep);color:var(--paper);border:1px solid var(--coral-deep)}
.post-primary:hover{background:var(--ink)}
.post-secondary{background:var(--paper);border:1px solid var(--ink);color:var(--ink)}
.post-primary:disabled{opacity:.65;cursor:wait}
.post-text{border:0;background:transparent;color:var(--coral-deep);padding:8px 0;font:inherit;text-decoration:underline;cursor:pointer}
.postal-shell :focus-visible{outline:2px solid var(--coral-deep);outline-offset:3px}
.postal-board :focus-visible{outline-color:var(--gold)}
.post-meta{font-size:.85rem;color:var(--muted);max-width:46ch}
.post-status{font-size:.9rem;font-weight:700;color:var(--coral-deep);overflow-wrap:anywhere}
.post-status:empty{display:none}
.postal-board{position:relative;overflow:hidden;padding:clamp(15px,3vw,34px);background:var(--ink);color:var(--paper);border-radius:16px;border:1px solid var(--ink);box-shadow:0 8px 24px rgba(0,0,0,.15)}
.postal-board:before{content:"";position:absolute;inset:8px;border:1px dashed var(--gold);border-radius:10px;opacity:.5;pointer-events:none}
.postal-garland{display:flex;justify-content:space-around;position:relative;height:48px;margin:-14px -9px 5px;border-bottom:1px solid var(--gold);border-radius:0 0 50% 50%;transform:rotate(-3deg)}
.postal-garland i{width:7px;height:12px;border-radius:50%;background:var(--gold);align-self:flex-end;margin-bottom:-9px;box-shadow:0 1px 9px var(--gold)}
.postal-garland i:nth-child(odd){transform:translateY(-5px);background:var(--paper)}
.board-heading{text-align:center;padding:11px 0 17px}
.board-heading .post-kicker{color:var(--gold)}
.board-heading h2{font:700 clamp(28px,4.7vw,48px)/1.08 Fraunces,Georgia,serif;margin:4px 0 4px;overflow-wrap:anywhere}
.board-heading>p:last-child{font-size:.87rem;margin:0;color:var(--paper-2)}
.post-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.post-day{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:1.2;min-height:43px;border:1px solid var(--paper-2);border-radius:5px 5px 7px 7px;background:var(--paper);color:var(--ink);font:700 clamp(17px,2.2vw,24px)/1 Fraunces,Georgia,serif;cursor:pointer}
.post-day:nth-child(4n+2){background:var(--paper-2)}
.post-day:before{content:"";position:absolute;z-index:-1;top:-69%;left:10%;width:80%;aspect-ratio:1;transform:rotate(45deg);border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:3px}
.post-day:disabled{cursor:default;opacity:.66}
.post-day:not(:disabled):hover{background:var(--gold);border-color:var(--gold)}
.post-day.post-today,.post-day[data-sample]{background:var(--gold);border-color:var(--gold)}
.postal-shell:has(.post-workspace:not([hidden])) .post-workspace{grid-column:1;grid-row:1;min-width:0}
.postal-shell:has(.post-workspace:not([hidden])) .postal-board{grid-column:2;grid-row:1}
.post-workspace h2{font-size:clamp(34px,5vw,64px);overflow-wrap:anywhere}
.post-link{display:flex;gap:6px;margin:6px 0 13px}
.post-link input{min-width:0;font-size:.82rem}
.post-link button{flex-shrink:0}
.snow-wallet{display:inline-flex;align-items:center;gap:6px;background:var(--paper-2);border:1px solid var(--line);padding:8px 12px;border-radius:99px;color:var(--ink);font-size:.89rem}
.snow-wallet small{color:var(--muted);padding-left:4px}
.post-dialog{width:min(94vw,530px);max-height:90dvh;overflow:auto;background:var(--paper);color:var(--text);padding:24px;border:1px solid var(--line);border-radius:16px}
.post-dialog::backdrop{background:rgba(0,0,0,.56)}
.post-dialog header{display:flex;align-items:center;justify-content:space-between}
.post-dialog h2{font:700 33px/1.12 Fraunces,Georgia,serif;margin:6px 0 14px;color:var(--ink)}
.post-dialog .post-form{max-width:none}
.post-close{background:transparent;color:var(--ink);border:0;cursor:pointer;font-size:26px;min-width:44px;min-height:44px}
.post-decor{border:0;padding:0;margin:6px 0}
.post-decor legend{margin-bottom:6px}
.post-decor legend span{color:var(--muted);font-weight:600}
.post-decor>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.post-decor label{display:flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:6px;padding:6px;cursor:pointer}
.post-decor small{display:block;color:var(--muted);font-weight:600}
.post-topup{background:var(--paper-2);padding:8px;margin:2px 0;border-radius:6px;font-size:.85rem}
.letter-paper{border:1px solid var(--line);border-left:4px solid var(--ink);border-radius:8px;padding:11px 14px;margin:8px 0;overflow-wrap:anywhere}
.letter-paper[data-decoration=holly]{border-left-color:var(--coral-deep)}
.letter-paper[data-decoration=gold]{border-left-color:var(--gold)}
.letter-paper p{white-space:pre-wrap;margin:3px 0 8px}
.letter-paper small{font-weight:800}
@media(max-width:850px){.postal-shell{grid-template-columns:1fr;gap:22px;padding:10px 0}.postal-shell:has(.post-workspace:not([hidden])) .postal-board{grid-column:1;grid-row:2}.post-lede{margin-bottom:16px}.postal-intro h1{margin-bottom:12px}.post-grid{gap:5px}.postal-garland{height:30px}}

.board-heading{position:relative}.post-holly{position:absolute;left:5px;bottom:15px;width:46px;color:var(--gold);transform:rotate(-14deg);pointer-events:none}
.post-day:nth-child(5n+3):not(.post-today){background:var(--coral-deep);color:var(--paper);border-color:var(--coral)}
.post-day:nth-child(5n+3):before{border-color:currentColor;opacity:.34}
.post-day:nth-child(5n+3):not(:disabled):hover{background:var(--gold);color:var(--ink)}
.post-day:disabled{opacity:.82}
.letter-paper[data-decoration=frost]{border-left-color:var(--line);background:var(--paper-2)}
.letter-paper[data-decoration=holly]{border-top:3px solid var(--coral-deep)}
.letter-paper[data-decoration=gold]{border:2px solid var(--gold);background:var(--paper-2)}
.letter-paper:not([data-decoration=plain]) small:first-child{display:inline-block;padding:3px 8px;border-radius:20px;background:var(--ink);color:var(--paper)}
main:has(.post-workspace:not([hidden])) .home-reading,main:has(.post-workspace:not([hidden])) .faq-section{display:none}
@media(max-width:520px){.post-holly{width:32px;left:-4px;bottom:17px}.board-heading h2{padding:0 12px}}

/* Frosted toy post office */
.postal-shell{
  --toy-pine:#194839;
  --toy-pine-deep:#10372e;
  --toy-ice:#e4ede8;
  --toy-snow:#fffdf5;
  --toy-red:#963541;
  --toy-coral:#df675d;
  --toy-gold:#ffd47e;
  align-items:center;
}
.postal-intro{min-width:0}
.postal-intro h1{
  font-size:clamp(48px,6.35vw,90px);
  text-shadow:0 2px var(--toy-snow),0 5px 16px rgba(25,72,57,.09);
}
.postal-intro .post-kicker{display:flex;align-items:center;gap:8px}
.postal-intro .post-kicker span{
  display:grid;place-items:center;
  width:29px;height:29px;margin:0;
  color:var(--toy-snow);background:var(--toy-red);
  border-radius:50%;box-shadow:0 2px 0 #70303a;
}
.post-form[data-create]{max-width:none;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.post-form[data-create]>label{grid-column:1/-1}
.post-form[data-create] input:not([type=radio]){
  min-height:51px;background:var(--toy-snow);border-radius:11px;
  box-shadow:inset 0 2px 4px rgba(83,53,31,.1);
}
.post-form[data-create] button{
  min-height:48px;background:linear-gradient(var(--toy-coral),var(--toy-red));border:1px solid var(--toy-red);
  padding-inline:15px;box-shadow:0 4px 0 #70303a;border-radius:11px;transition:transform .18s,box-shadow .18s;
}
.post-form[data-create] button:hover{transform:translateY(-2px);box-shadow:0 6px 0 #70303a}
.post-form[data-create] button:active{transform:translateY(3px);box-shadow:0 1px 0 #70303a}
.post-diorama{
  position:relative;overflow:hidden;
  margin:20px 0 0;border-radius:16px;border:3px solid var(--toy-snow);
  background:var(--toy-pine-deep);box-shadow:0 4px 0 var(--toy-ice),0 9px 22px rgba(16,55,46,.19);
}
.post-diorama img{display:block;width:100%;height:auto;aspect-ratio:2.1;object-fit:cover;object-position:center 56%}
.post-building{position:relative;min-width:0;isolation:isolate;padding:0 0 12px}
.postal-shell:has(.post-workspace:not([hidden])) .post-building{grid-column:2;grid-row:1}
.christmas-roof{position:relative;z-index:2;margin:0 -1.5% -5px;pointer-events:none;filter:drop-shadow(0 6px 5px rgba(16,55,46,.25))}
.christmas-roof svg{display:block;width:100%;height:clamp(73px,9vw,120px);overflow:visible}
.post-attic-glow{animation:attic-glow 2.4s ease-in-out 2 alternate}
@keyframes attic-glow{0%,100%{opacity:1}50%{opacity:.64}}
.postal-board{
  isolation:isolate;position:relative;overflow:hidden;
  margin:0 2.4%;padding:clamp(14px,2.4vw,27px);
  border:3px solid var(--toy-pine-deep);border-radius:8px 8px 20px 20px;
  color:var(--toy-snow);
  background:radial-gradient(ellipse at 50% 4%,rgba(255,212,126,.23),transparent 58%),
    repeating-linear-gradient(90deg,transparent 0 40px,rgba(0,0,0,.066) 41px 43px),
    linear-gradient(var(--toy-pine),var(--toy-pine-deep));
  box-shadow:0 7px 0 var(--toy-pine-deep),0 14px 0 var(--toy-ice),0 22px 24px rgba(16,55,46,.22);
}
.postal-board:before{inset:8px;opacity:.38;border-radius:5px 5px 14px 14px;z-index:-1}
.postal-garland{
  height:26px;margin:-11px -4px 5px;border-bottom:1px solid var(--toy-gold);transform:rotate(0);
}
.postal-garland i{height:13px;width:9px;animation:light-twinkle 2.3s ease-in-out 3 alternate;animation-delay:-.6s}
.postal-garland i:nth-child(odd){animation-delay:-1.6s}
.postal-garland i:nth-child(3n){animation-delay:-1s;background:var(--toy-coral);box-shadow:0 0 9px var(--toy-coral)}
@keyframes light-twinkle{0%,100%{opacity:1}45%{opacity:.57}}
.board-heading{padding:9px 0 13px}
.board-heading h2{color:var(--toy-snow);text-shadow:0 3px 0 var(--toy-pine-deep)}
.post-holly{bottom:15px}
.post-grid{gap:9px;perspective:700px}
.post-day,.post-day:nth-child(4n+2),.post-day:nth-child(5n+3):not(.post-today){
  --tile-top:#ffefd0;--tile-bottom:#f1d59d;--tile-edge:#b18556;
  --seal-top:#cf5a53;--seal-bottom:#963541;--seal-ink:#fffdf5;
  display:grid;place-items:center;position:relative;isolation:isolate;
  overflow:hidden;aspect-ratio:1.28;min-height:44px;
  color:var(--seal-ink);
  background:linear-gradient(148deg,var(--tile-top),var(--tile-bottom));
  border:1px solid var(--tile-edge);border-radius:9px;
  box-shadow:0 4px 0 var(--tile-edge),0 6px 8px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.52);
  transform-style:preserve-3d;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
}
.post-day:before,.post-day:nth-child(5n+3):before{
  inset:auto -6% 33%;width:112%;height:70%;aspect-ratio:auto;transform:none;
  clip-path:polygon(0 0,100% 0,50% 100%);background:rgba(255,255,255,.28);
  border:0;border-radius:0;opacity:1;
}
.post-day:after{
  content:"";position:absolute;inset:auto 0 0;height:47%;z-index:-1;
  background:linear-gradient(33deg,rgba(120,74,41,.16),transparent 58%);
  clip-path:polygon(0 100%,0 0,50% 50%,100% 0,100% 100%);
}
.post-day:nth-child(4n+2){--tile-top:#dcefe1;--tile-bottom:#a8cdb7;--tile-edge:#6d9a83;--seal-top:#35735e;--seal-bottom:#194839}
.post-day:nth-child(5n+3):not(.post-today){
  --tile-top:#f28f80;--tile-bottom:#cf5a53;--tile-edge:#963541;
  --seal-top:#ffefd0;--seal-bottom:#f1d59d;--seal-ink:#70303a;
}
.post-day-seal{
  display:grid;place-items:center;position:relative;isolation:isolate;
  width:clamp(25px,3vw,39px);aspect-ratio:1;border-radius:49% 52% 46% 52%;
  font:700 clamp(15px,2vw,22px)/1 Fraunces,Georgia,serif;
  color:var(--seal-ink);background:linear-gradient(var(--seal-top),var(--seal-bottom));
  box-shadow:0 2px 0 rgba(83,35,27,.38),inset 0 1px 1px rgba(255,255,255,.35);
}
.post-day-seal:before{content:"";position:absolute;inset:3px;border:1px solid currentColor;border-radius:50%;opacity:.25;pointer-events:none}
.post-day.post-today,.post-day[data-sample]{
  --tile-top:#fff2bc;--tile-bottom:#ffd47e;--tile-edge:#b18556;
  --seal-top:#963541;--seal-bottom:#70303a;
  border-color:var(--tile-edge);
}
.post-day[data-sample]:not(:disabled){animation:sample-bob .84s .65s 2 ease-in-out}
.post-day:disabled{opacity:.78}
@media(hover:hover) and (pointer:fine){
  .post-day:not(:disabled):hover,.post-day:nth-child(5n+3):not(:disabled):hover{
    color:var(--seal-ink);background:linear-gradient(148deg,var(--tile-top),var(--tile-bottom));
    transform:translateY(-4px) rotateX(7deg);
    filter:brightness(1.08);box-shadow:0 7px 0 var(--tile-edge),0 10px 12px rgba(0,0,0,.25);
  }
}
.post-day:not(:disabled):active{transform:translateY(3px) scale(.98);box-shadow:0 1px 0 var(--tile-edge)}
@keyframes sample-bob{50%{transform:translateY(-4px) rotate(-2deg)}}
.snow-shower{position:absolute;z-index:4;inset:0;overflow:hidden;pointer-events:none}
.snow-shower i{
  position:absolute;top:-8%;left:var(--flake-x);width:var(--flake-size);height:var(--flake-size);
  border-radius:50%;background:var(--toy-snow);box-shadow:0 0 7px var(--toy-snow);opacity:0;
  animation:post-snow var(--flake-speed) var(--flake-delay) 1 linear both;
}
@keyframes post-snow{
  0%{top:-8%;transform:translateX(0);opacity:0}
  12%,72%{opacity:.72}
  50%{transform:translateX(13px)}
  100%{top:103%;transform:translateX(-11px);opacity:0}
}
/* Lift the flap and let the letter rise in the reading dialog. */
.post-dialog[open]{animation:mail-dialog .26s cubic-bezier(.16,1,.3,1) both}
@keyframes mail-dialog{from{opacity:0;transform:translateY(9px) scale(.98)}}
.post-unseal{position:relative;display:grid;place-items:center;height:104px;isolation:isolate;pointer-events:none}
.post-unseal-box{
  position:relative;isolation:isolate;width:112px;height:62px;margin-top:21px;border-radius:7px;
  background:#ffd47e;box-shadow:0 4px 0 #b18556,0 6px 13px rgba(85,51,29,.17);perspective:350px;
}
.post-unseal-note{
  position:absolute;z-index:1;inset:5px 9px 0;height:43px;transform:translateY(-22px) rotate(-4deg);border-radius:4px;
  background:repeating-linear-gradient(transparent 0 8px,#e4ede8 9px 10px),#fffdf5;
  box-shadow:0 2px 6px rgba(112,48,58,.17);animation:mail-rise .52s .11s cubic-bezier(.22,1,.36,1) both;
}
.post-unseal-pocket{position:absolute;inset:0;z-index:2;border-radius:7px;clip-path:polygon(0 23%,50% 73%,100% 23%,100% 100%,0 100%);background:linear-gradient(145deg,#ffefd0,#f1d59d)}
.post-unseal-flap{
  position:absolute;inset:0;z-index:3;transform-origin:top;transform:rotateX(165deg);
  clip-path:polygon(0 0,100% 0,50% 72%);background:#f1d59d;
  animation:mail-flap .42s ease-in-out both;
}
.post-unseal-wax{
  position:absolute;z-index:4;top:32px;left:46px;width:21px;height:21px;display:grid;place-items:center;
  border-radius:50%;font:normal 13px/1 Manrope,sans-serif;background:#963541;color:#fffdf5;
  box-shadow:0 1px 0 #70303a;
  animation:wax-release .32s ease-out both;
}
.post-unseal-star{position:absolute;z-index:5;left:calc(50% - 69px);top:27px;color:#963541;animation:mail-star .65s .22s ease-out both}
.post-unseal-star:nth-last-child(2){left:calc(50% + 55px);top:17px;color:#b18556;animation-delay:.3s}
.post-unseal-star:last-child{left:calc(50% + 69px);top:45px;color:#35735e;animation-delay:.39s}
@keyframes mail-flap{from{transform:rotateX(0deg)}to{transform:rotateX(165deg);z-index:0}}
@keyframes mail-rise{from{transform:translateY(10px) rotate(0)}}
@keyframes wax-release{to{opacity:0;transform:translateY(-22px) scale(.65)}}
@keyframes mail-star{0%{opacity:0;transform:translateY(8px) scale(.5)}40%{opacity:1}100%{opacity:.75;transform:translateY(-6px)}}
.postal-shell .letter-paper{animation:mail-dialog .35s .09s cubic-bezier(.16,1,.3,1) both}
@media(max-width:850px){
  .postal-shell{gap:21px}
  .postal-shell:has(.post-workspace:not([hidden])) .post-building{grid-column:1;grid-row:2}
  .post-diorama img{aspect-ratio:2.36}
  .post-grid{gap:7px}
}
@media(max-width:480px){
  .postal-intro h1{font-size:clamp(42px,12vw,58px);letter-spacing:-.055em}
  .post-form[data-create]{grid-template-columns:1fr}
  .post-form[data-create] button{min-height:46px}
  .postal-board{margin-inline:0;padding:12px 10px 16px}
  .post-day,.post-day:nth-child(4n+2),.post-day:nth-child(5n+3):not(.post-today){border-radius:7px;min-height:44px}
  .post-grid{gap:6px}
  .post-diorama{margin-top:14px}
}
@media(prefers-reduced-motion:reduce){
  .postal-shell *, .postal-shell *::before, .postal-shell *::after{animation:none!important;transition:none!important}
  .snow-shower,.post-unseal-wax{display:none}
}

.post-skin-picker{grid-column:1/-1;min-width:0;margin:0 0 7px;padding:0;border:0}
.post-skin-picker legend{margin-bottom:6px}
.post-skin-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.post-skin-choice{position:relative;cursor:pointer}
.post-skin-choice input{position:absolute;width:1px;height:1px;opacity:0}
.post-skin-choice span{
  display:flex;align-items:center;justify-content:center;gap:6px;
  min-height:46px;padding:4px 5px;text-align:center;line-height:1.15;font-size:.74rem;
  color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;
}
.post-skin-choice i{
  display:grid;place-items:center;flex:0 0 22px;aspect-ratio:1;border-radius:6px;font-style:normal;
  background:var(--swatch);color:#fffdf5;box-shadow:0 2px 0 var(--swatch-shadow);
}
.post-skin-choice[data-swatch=classic]{--swatch:#963541;--swatch-shadow:#70303a}
.post-skin-choice[data-swatch=gingerbread]{--swatch:#9f593b;--swatch-shadow:#693921}
.post-skin-choice[data-swatch=snowy]{--swatch:#456b94;--swatch-shadow:#263e63}
.post-skin-choice input:checked+span{border-color:var(--swatch);box-shadow:inset 0 0 0 1px var(--swatch);background:var(--toy-snow)}
.post-skin-choice input:focus-visible+span{outline:2px solid var(--swatch);outline-offset:3px}
.postal-shell .post-inline{border:0;background:transparent;color:var(--coral-deep);padding:3px;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}
.post-saved-list{margin:0 0 18px;padding:0;list-style:none;display:grid;gap:8px}
.post-saved-list:empty{display:none}
.post-saved-calendar{
  display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:44px;
  padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper-2);color:var(--ink);text-align:left;
  font:inherit;cursor:pointer;
}
.post-saved-calendar:hover{border-color:var(--ink)}
.post-saved-calendar strong{overflow-wrap:anywhere}
.post-saved-calendar span{flex:none;color:var(--muted);font-size:.82rem}
.post-saved-calendar:disabled{opacity:.6}
.christmas-roof stop:first-child{stop-color:var(--toy-coral)}
.christmas-roof stop:last-child{stop-color:var(--toy-red)}
.christmas-roof stop[stop-color="#fffdf5"]{stop-color:var(--toy-snow)}
.christmas-roof stop[stop-color="#e4ede8"]{stop-color:var(--toy-ice)}
.christmas-roof path[fill="#963541"]{fill:var(--toy-red)}
.christmas-roof .post-attic-glow{fill:var(--toy-gold)}
.postal-shell[data-skin=gingerbread]{
  --toy-pine:#965735;--toy-pine-deep:#673824;--toy-ice:#f6dda9;
  --toy-snow:#fff6e3;--toy-red:#94522f;--toy-coral:#db9b56;--toy-gold:#ffda8b;
}
[data-skin=gingerbread] .post-day{
  --tile-top:#ffefd0;--tile-bottom:#eac18a;--tile-edge:#b18556;
  --seal-top:#ac603e;--seal-bottom:#854528;
}
[data-skin=gingerbread] .post-day:nth-child(4n+2){--tile-top:#fff2df;--tile-bottom:#e3aa91;--tile-edge:#a3634b;--seal-top:#963541;--seal-bottom:#70303a}
[data-skin=gingerbread] .post-day:nth-child(5n+3):not(.post-today){--tile-top:#ffc985;--tile-bottom:#d6924c;--tile-edge:#9f593b;--seal-top:#fff2df;--seal-bottom:#eac18a;--seal-ink:#693921}
.postal-shell[data-skin=snowy]{
  --toy-pine:#365a81;--toy-pine-deep:#233b5c;--toy-ice:#d4e5f3;
  --toy-snow:#f6fbff;--toy-red:#385a84;--toy-coral:#759fca;--toy-gold:#ffdc95;
}
[data-skin=snowy] .post-day{
  --tile-top:#effaff;--tile-bottom:#bfd8ec;--tile-edge:#82a5c8;
  --seal-top:#456b94;--seal-bottom:#2a476c;
}
[data-skin=snowy] .post-day:nth-child(4n+2){--tile-top:#e8e4fb;--tile-bottom:#c3b9eb;--tile-edge:#8f84bc;--seal-top:#675892;--seal-bottom:#4a3e72}
[data-skin=snowy] .post-day:nth-child(5n+3):not(.post-today){--tile-top:#9ec5e5;--tile-bottom:#76a1cd;--tile-edge:#456b94;--seal-top:#effaff;--seal-bottom:#bfd8ec;--seal-ink:#233b5c}

.postal-shell .post-workspace h2[data-route-title]{
  font-size:clamp(34px,4.2vw,58px);
  letter-spacing:-.04em;
  margin-bottom:13px;
}
.post-workspace [data-role]{margin:0 0 17px;color:var(--muted)}
.post-invite-panel{
  padding:clamp(14px,2.1vw,22px);border:1px solid var(--line);border-radius:16px;
  background:var(--toy-snow);box-shadow:0 5px 0 var(--toy-ice),0 9px 22px rgba(37,34,21,.11);
}
.post-invite-panel h3{margin:0;color:var(--ink);font:700 29px/1.08 Fraunces,Georgia,serif}
.post-invite-panel h3 span{color:var(--coral-deep);font:700 21px/1 Manrope,sans-serif}
.post-invite-panel>p:not(.post-status){margin:7px 0 14px;font-size:.86rem;color:var(--muted)}
.post-share-main{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:0 0 11px;
  background:var(--coral-deep);border-radius:10px;box-shadow:0 3px 0 var(--toy-red);
}
.post-share-main svg,.post-share-actions svg{width:18px;height:18px;flex:none}
.post-share-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.post-share-actions button,.post-share-actions a{
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;
  min-height:58px;padding:5px 4px;line-height:1.13;text-align:center;text-decoration:none;
  font:800 .77rem/1.18 Manrope,Arial,sans-serif;border:1px solid var(--line);border-radius:9px;
  background:var(--paper);color:var(--ink);box-shadow:0 2px 0 var(--toy-ice);cursor:pointer;
}
.post-share-actions button:hover,.post-share-actions a:hover{border-color:var(--ink);background:var(--paper-2)}
.post-share-networks{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;margin:12px 0}
.post-share-networks a{
  display:inline-flex;align-items:center;min-height:31px;color:var(--coral-deep);
  font-size:.84rem;font-weight:800;text-underline-offset:3px;
}
.post-invite-code{
  margin-top:1px;padding:10px 11px 9px;border:1px dashed var(--line);border-radius:9px;background:var(--paper);
}
.post-code-row{display:flex;align-items:center;gap:6px;margin-top:3px}
.post-code-row input,.post-invite-details input,[data-invite-text]{
  width:100%;min-width:0;background:var(--toy-snow);border:1px solid var(--line);border-radius:8px;
  color:var(--text);font:inherit;padding:8px 10px;
}
.post-code-row input{
  min-height:42px;font:800 clamp(14px,1.3vw,16px)/1 monospace;letter-spacing:.045em;
}
.post-code-row button{flex:none;padding-inline:9px;min-height:42px;font-size:.77rem}
.post-invite-code p{margin:6px 0 0;color:var(--muted);font-size:.77rem}
.post-invite-details{margin-top:10px;color:var(--coral-deep);font-size:.82rem}
.post-invite-details summary{cursor:pointer;width:max-content;max-width:100%;font-weight:700}
.post-invite-details input{margin-top:5px}
.post-invite-panel .post-invite-return{margin:9px 0 0!important;font-size:.8rem!important}
.post-copy-buffer{position:fixed;left:0;top:0;width:1px;height:1px;opacity:0}
.post-join{margin:-6px 0 0;font-size:.85rem}
.post-share-dialog-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}
.post-story-dialog{width:min(94vw,540px)}
[data-story-image]{display:block;width:min(100%,290px);height:auto;margin:8px auto 13px;border-radius:12px}
.post-story-download{display:block;width:max-content;margin:auto;text-decoration:none}
@media(max-width:370px){.post-share-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

.postal-board .post-day[data-door-state=empty],.postal-board .post-day[data-door-state=unknown]{
  color:var(--toy-snow);background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.5);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.17);
}
.postal-shell .postal-board .post-day[data-door-state=empty]:not(:disabled):hover{
  transform:translateY(-2px);background:rgba(255,255,255,.15);border-color:var(--toy-snow);box-shadow:none;
}
.postal-board .post-day[data-door-state=empty]::before,.postal-board .post-day[data-door-state=empty]::after,
.postal-board .post-day[data-door-state=unknown]::before,.postal-board .post-day[data-door-state=unknown]::after,
.postal-board .post-day[data-door-state]:not([data-door-state=filled]) .post-day-seal::before{display:none}
.postal-board .post-day[data-door-state]:not([data-door-state=filled]) .post-day-seal{color:inherit;background:none;box-shadow:none}
.postal-board .post-day[data-door-state=empty][aria-pressed=true]{border:2px solid var(--toy-gold);color:var(--toy-gold);background:rgba(255,255,255,.13)}
.postal-board .post-day[data-door-state=filled]:disabled{opacity:.9}
.post-board-status{margin:11px 0 0;text-align:center;color:var(--toy-snow);font-size:.84rem}
.post-delivery-tools{text-align:center}
.postal-board .post-delivery-tools button{color:var(--toy-gold);font-size:.82rem;min-height:40px}
.postal-board .post-write{margin-top:12px;padding:15px 13px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--text);scroll-margin-top:12px}
.post-write h2{color:var(--ink);font:700 clamp(25px,3vw,34px)/1.1 Fraunces,Georgia,serif;margin:4px 0}
.post-write [data-write-help]{margin:5px 0 11px}
.post-write .post-form{max-width:none}
.post-write [data-write-status]:not(:empty){margin-bottom:0}
.postal-shell:has([data-write-panel]:not([hidden])){align-items:start}

.post-voice,.post-decoration-preview{padding:10px 11px;border:1px solid var(--line);border-radius:11px;background:var(--toy-snow)}
.post-voice-heading{font-size:.92rem;font-weight:800;margin:0 0 7px}
.post-voice-heading small{margin-left:4px;color:var(--muted);font-size:.77rem;font-weight:600}
.post-voice-actions{display:flex;flex-wrap:wrap;gap:6px}
.post-voice-actions button{min-height:40px;padding-inline:9px;font-size:.81rem}
.post-voice .post-meta{margin:6px 0 0}
.post-voice .post-status{margin:6px 0 0}
.post-voice-review{margin:9px 0 0}
.postal-shell audio{display:block;width:100%;min-height:44px;margin:6px 0}
.post-decoration-preview{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;min-height:90px}
.post-decoration-preview [data-preview-name]{font-weight:800;margin:.05em 0;overflow-wrap:anywhere}
.post-decoration-preview small{color:var(--muted)}
.post-form .post-decor label:has(input:checked){outline:2px solid var(--ink);outline-offset:-2px;background:var(--paper-2)}
.post-form .post-decor label:has(input:focus-visible){outline:2px solid var(--coral-deep)}
.post-form .post-decor label:has(input:disabled){opacity:.61;cursor:not-allowed}
.letter-paper .post-received-heading{display:flex;align-items:center;gap:8px;font-weight:800;font-size:.9rem}
.letter-paper [data-audio-status]{font-size:.8rem;color:var(--muted);margin:7px 0}
@media (max-width:380px){.post-decoration-preview{grid-template-columns:87px minmax(0,1fr);gap:8px}}

/* Golden Christmas post office and the wrapping counter below the calendar. */
.post-skin-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.post-skin-choice b{font:inherit}
.post-skin-choice[data-swatch=golden]{--swatch:#99702b;--swatch-shadow:#613914}
.post-skin-choice[data-swatch=golden]>span{background:linear-gradient(125deg,#fff8dd,#f3d37e 65%,#fdf1c8);color:#573414}
.post-skin-choice[data-swatch=golden] small{font-size:.64rem;letter-spacing:.03em;text-transform:uppercase}
.post-skin-choice[data-swatch=golden] input:checked+span{background:linear-gradient(128deg,#fff5c3,#f1c161 65%,#fdf6cf)}
.post-gold-help{margin:0;color:#694019;font-size:.81rem}
.postal-shell[data-skin=golden]{
  --toy-gold:#ffdd82;--toy-red:#926040;--toy-ice:#ebc778;
  --board-top:#64421e;--board-bottom:#362312;--board-edge:#d6a64c;
}
[data-skin=golden] #postRoofRed stop:first-child{stop-color:#f6cb68}
[data-skin=golden] #postRoofRed stop:last-child{stop-color:#9c6226}
[data-skin=golden] .postal-board{
  background:
    radial-gradient(ellipse at 50% 5%,#f6ce6b54,transparent 58%),
    repeating-linear-gradient(90deg,transparent 0 42px,#ffdf9615 43px 45px,transparent 46px),
    linear-gradient(160deg,#634022,#372314);
  border-color:#d6a64c;
  box-shadow:inset 0 0 0 3px #ffd78459,0 6px 0 #e7bf6d,0 13px 28px #44250f40;
}
[data-skin=golden] .post-day{
  --tile-top:#fff2ba;--tile-bottom:#e2af4f;--tile-edge:#9f702b;
  --seal-top:#84531f;--seal-bottom:#4e2f12;--seal-ink:#fff5cb;
}
[data-skin=golden] .post-grid>.post-day:nth-child(4n+2){--tile-top:#ffe3c3;--tile-bottom:#d68f66;--tile-edge:#9b5b40}
[data-skin=golden] .post-grid>.post-day:nth-child(5n+3):not(.post-today){--tile-top:#ffe99c;--tile-bottom:#d69f38;--seal-top:#ffedab;--seal-bottom:#d5a548;--seal-ink:#593614}
.post-form .post-decor .post-wrap-wallet{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin:0 0 9px}
.post-form .post-wrap-wallet button{font-size:.8rem;text-underline-offset:3px;min-height:36px}
.post-wrap-wallet .snow-wallet{padding:5px 9px;background:#edf7f8;border-color:#accbd2;color:#234e5c;font-size:.79rem}
.post-form .post-decor .post-wrap-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.post-form .post-decor .post-wrap-choice{
  position:relative;display:block;padding:0;min-width:0;border:0;border-radius:10px;outline:none;
  color:#4e321e;
}
.post-form .post-decor .post-wrap-choice input{position:absolute;width:1px;height:1px;opacity:0}
.post-wrap-card{
  min-height:103px;padding:8px 4px;display:grid;grid-template-rows:39px auto auto;align-content:center;
  justify-items:center;align-items:center;gap:4px;text-align:center;background:var(--wrap-face);
  border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 0 #dfcfab;
}
.post-wrap-card b{font-weight:800;font-size:clamp(.65rem,1.35vw,.8rem);line-height:1.08;overflow-wrap:anywhere}
.post-wrap-card small{font-size:.72rem;color:#4f5142}
.post-wrap-choice input:checked+.post-wrap-card{outline:2px solid #8a512c;outline-offset:-2px;box-shadow:0 2px 0 #bd8c55}
.post-wrap-choice input:focus-visible+.post-wrap-card{outline:3px solid var(--coral-deep);outline-offset:2px}
.post-wrap-choice input:checked+.post-wrap-card .post-wrap-mini{transform:translateY(-2px) rotate(-5deg)}
.post-topup{background:#ffedcd;color:#65341c;padding:8px 10px}
@media (max-width:385px){.post-form .post-decor .post-wrap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Reflections and gilded snow stay inside the gold post office. */
.post-gold-motes{display:none;pointer-events:none}
[data-skin=golden] .post-gold-motes{
  display:block;position:absolute;inset:0;overflow:hidden;border-radius:inherit;z-index:0;
}
.post-gold-motes::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(112deg,transparent 35%,#ffd9861d 47%,#fff0ae33 50%,transparent 59%) 115% 0 / 240% 100% no-repeat;
  animation:golden-light-sweep 9s ease-in-out infinite;
}
.post-gold-motes i{
  position:absolute;left:var(--x);top:var(--y);width:4px;height:4px;border-radius:50%;
  background:#ffebb0;box-shadow:0 0 7px #ffd36d;opacity:0;
  animation:golden-mote var(--time) linear var(--delay) infinite;
}
.post-gold-motes .gold-star{
  width:12px;height:12px;border-radius:0;background:#fff0a1;
  clip-path:polygon(50% 0,58% 40%,100% 50%,58% 60%,50% 100%,42% 60%,0 50%,42% 40%);
}
[data-skin=golden] .post-attic-glow{animation:attic-glow 4.8s ease-in-out infinite}
[data-skin=golden] .postal-garland i{
  background:#ffe5a6;box-shadow:0 0 5px #ffe4a8,0 0 13px #f4af49;
  animation:golden-bulb-glow 3.8s ease-in-out infinite;
}
[data-skin=golden] .postal-garland i:nth-child(3n){background:#ffc26f;animation-delay:-.7s}
[data-skin=golden] .post-day-seal::before{border-color:#ffe7a47a}
[data-skin=golden] .post-day[data-sample]{
  animation:golden-seal-glow 3.3s ease-in-out infinite;
}
@keyframes golden-light-sweep{
  0%,20%{background-position:115% 0}
  63%,100%{background-position:-25% 0}
}
@keyframes golden-mote{
  0%{opacity:0;transform:translate(0,-12px) rotate(0) scale(.5)}
  24%,60%{opacity:.85}
  100%{opacity:0;transform:translate(-15px,125px) rotate(65deg) scale(.85)}
}
@keyframes golden-bulb-glow{
  0%,100%{opacity:.82;box-shadow:0 0 4px #ffe4a8,0 0 9px #f4af49}
  50%{opacity:1;box-shadow:0 0 7px #fff3bb,0 0 17px #f4af49}
}
@keyframes golden-seal-glow{
  0%,100%{filter:drop-shadow(0 0 1px #ffdb8180)}
  50%{filter:drop-shadow(0 0 5px #ffdb81bd)}
}
@media(prefers-reduced-motion:reduce){
  [data-skin=golden] .post-gold-motes{display:none}
  [data-skin=golden] .post-attic-glow,[data-skin=golden] .postal-garland i,
  [data-skin=golden] .post-day[data-sample]{animation:none}
}
.post-refill-dialog{width:min(calc(100vw - 24px),510px);padding:0;border-radius:16px;box-shadow:0 18px 55px #132a2360}
.post-refill-dialog::backdrop{background:#102c27b5}
.post-refill-header{
  display:grid;grid-template-columns:42px minmax(0,1fr) 40px;align-items:center;gap:12px;padding:17px 18px;
  color:#fff8e4;background:repeating-linear-gradient(130deg,#ffffff06 0 5px,#ffffff00 5px 16px),#244d3d;
  border-bottom:3px solid #d5ab61;
}
.post-refill-header h2{margin:0;color:inherit;font:800 clamp(1.48rem,5vw,2rem)/1.07 Fraunces,Georgia,serif}
.post-refill-header p{margin:4px 0 0;font-size:.81rem;color:#f5e6ca}
.post-refill-stamp{
  display:grid;place-items:center;width:42px;height:42px;color:#245a6b;background:#eaf7f8;
  border:1px dashed #88afb4;border-radius:7px;font-size:1.55rem;transform:rotate(-8deg);
}
.post-refill-header .post-close{margin:0;padding:0;width:40px;height:40px;line-height:1;color:#fff4d8;background:#ffffff0d;border-color:#fff1c87d}
.post-refill-body{padding:16px 17px 18px}
.post-refill-field{margin:0;padding:0;border:0;min-width:0}
.post-refill-field legend{margin:0 0 8px;font-size:.82rem;font-weight:800;color:#335648}
.post-refill-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.post-pack-option{position:relative;cursor:pointer;min-width:0}
.post-pack-option input{position:absolute;height:1px;width:1px;opacity:0}
.post-pack-card{
  min-height:113px;display:grid;grid-template-rows:auto auto 1fr;justify-items:center;align-content:center;
  gap:4px;text-align:center;padding:11px 4px 8px;background:#fff9e9;border:1px dashed #b6a276;
  border-radius:9px;color:#2d2b23;box-shadow:0 2px 0 #e4d7b6;
}
.post-pack-quantity{font:800 clamp(1.16rem,5vw,1.58rem)/1.1 Fraunces,Georgia,serif;color:#265f72}
.post-pack-quantity{
  display:inline-flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:.22em;
  white-space:nowrap;line-height:1.15;
}
.post-pack-flake{display:block;font:inherit;font-size:.81em;color:#3f879a}
.post-pack-card .post-pack-price{
  display:block;margin-top:3px;white-space:nowrap;font:800 clamp(.86rem,4vw,1.05rem)/1.17 Manrope,Arial,sans-serif;
  color:#334732;
}
.post-pack-card small{align-self:center;line-height:1.16;font-size:.72rem;color:#65594a}
.post-pack-option input:checked+.post-pack-card{
  border:2px solid #946923;padding:10px 3px 7px;background:linear-gradient(150deg,#fff8dd,#f3e1a9);
  box-shadow:0 2px 0 #c4964e;
}
.post-pack-option input:focus-visible+.post-pack-card{outline:2px solid #8a2735;outline-offset:3px}
.post-refill-selection,.post-refill-footnote{text-align:center}
.post-refill-selection{margin:15px 0 7px;color:#23483a;font-weight:800;font-size:.96rem}
.post-refill-footnote{margin:0;color:#61574b;font-size:.79rem}
@media(max-width:365px){
  .post-refill-header{grid-template-columns:33px minmax(0,1fr) 33px;padding:14px 10px;gap:8px}
  .post-refill-stamp,.post-refill-header .post-close{width:33px;height:33px}
  .post-refill-body{padding-inline:10px}
  .post-refill-cards{gap:5px}
}

.post-refill-buy{display:block;width:100%;margin:0 0 9px;min-height:44px}
.post-refill-buy:disabled{opacity:.64;cursor:default}
.post-refill-status:empty{display:none}
.post-refill-status{margin:8px 0 0;text-align:center}
.post-payment-result{padding:9px 10px;margin:6px 0 10px;border:1px solid #aac3ac;background:#edf5e6;border-radius:8px;font-size:.85rem;color:#255640}
.post-refill-policy{text-align:center;margin:8px 0 0;font-size:.74rem}.post-refill-policy a{color:inherit;text-underline-offset:2px}

.postal-board .post-day[data-own-letter]:not([aria-pressed=true]){
  outline:1px solid var(--toy-gold);outline-offset:1px;
}
.postal-board .post-day[data-own-letter][aria-pressed=true]{
  outline:2px solid var(--toy-snow);outline-offset:1px;
}

.post-write .post-report{
  margin-top:16px;
  padding-top:6px;
  border-top:1px solid var(--line);
}
.post-write .post-report .post-text{
  min-height:44px;
  padding:0;
  color:var(--muted);
  font-size:.78rem;
  font-weight:600;
  text-underline-offset:2px;
}
.post-write .post-report .post-text:hover,
.post-write .post-report .post-text:focus-visible{
  color:var(--ink);
}
.post-write [data-report-status]{margin:0 0 4px;font-size:.78rem}

/* Letter reader and voice controls share the saved envelope's palette. */
.post-dialog.post-reader{
  --reader-surface:#fff0d7;
  --reader-rim:#c99863;
  --reader-heading:#592c31;
  --reader-tone:#9e3947;
  --reader-paper:#fffbef;
  --reader-copy:#382c23;
  --reader-muted:#6a5142;
  --reader-foil:#e7ad60;
  --reader-fold:#f4d395;
  --reader-player:#522e37;
  --reader-sound:#ffd4a0;
  --reader-lights:radial-gradient(circle at 54% 7%,#fffdf3 0%,transparent 66%);
  width:min(calc(100vw - 28px),554px);
  max-height:calc(100dvh - 28px);
  padding:clamp(16px,4vw,27px);
  border:1px solid var(--reader-rim);
  border-top:4px solid var(--reader-tone);
  border-radius:20px;
  background:var(--reader-lights),var(--reader-surface);
  color:var(--reader-heading);
  box-shadow:0 24px 80px #06120ea8,inset 0 0 0 1px #fff3;
}
.post-dialog.post-reader[data-reader-wrap=frost]{
  --reader-surface:#dbeef6;
  --reader-rim:#84b8cf;
  --reader-heading:#113e58;
  --reader-tone:#307495;
  --reader-paper:#f6fcff;
  --reader-copy:#17384a;
  --reader-muted:#426474;
  --reader-foil:#69a6c8;
  --reader-fold:#b8ddeb;
  --reader-player:#184660;
  --reader-sound:#b9f1fb;
  --reader-lights:
    radial-gradient(circle at 88% 21%,#fffdfa 1.5px,transparent 3px),
    radial-gradient(circle at 66% 6%,#fff 1px,transparent 2.5px),
    repeating-linear-gradient(124deg,transparent 0 45px,#f9ffff57 46px 47px),
    radial-gradient(ellipse at 86% 0%,#fbffff 0,transparent 66%);
}
.post-dialog.post-reader[data-reader-wrap=holly]{
  --reader-surface:#174738;
  --reader-rim:#668b69;
  --reader-heading:#fff1cf;
  --reader-tone:#a4384a;
  --reader-paper:#f3f5e7;
  --reader-copy:#213e30;
  --reader-muted:#466051;
  --reader-foil:#94ad75;
  --reader-fold:#c9d6a5;
  --reader-player:#224b3b;
  --reader-sound:#e8c789;
  --reader-lights:
    radial-gradient(circle at 85% 13%,#a4384a 2px,transparent 4px),
    radial-gradient(circle at 92% 17%,#dd8185 2px,transparent 4px),
    radial-gradient(ellipse at 76% 17%,#477150 0,transparent 53%);
}
.post-dialog.post-reader[data-reader-wrap=gold]{
  --reader-surface:#f3d9a1;
  --reader-rim:#b6863d;
  --reader-heading:#553517;
  --reader-tone:#a66a1e;
  --reader-paper:#fff7de;
  --reader-copy:#49351e;
  --reader-muted:#6c502c;
  --reader-foil:#c78934;
  --reader-fold:#f6cf73;
  --reader-player:#63421f;
  --reader-sound:#ffe1a0;
  --reader-lights:
    linear-gradient(130deg,transparent 20%,#fff6d5aa 37%,transparent 59%),
    repeating-linear-gradient(44deg,transparent 0 16px,#fff5d54d 17px 18px);
}
.post-reader::backdrop{background:#071711b8;backdrop-filter:blur(4px)}
.post-reader .post-reader-header{align-items:flex-start;gap:12px}
.post-reader .post-reader-header h2{
  margin:4px 0 0;color:var(--reader-heading);font-size:clamp(26px,5.6vw,37px);
  letter-spacing:-.03em;line-height:1.04;text-wrap:balance;
}
.post-reader [data-dialog-date]{margin:4px 0 8px;color:var(--reader-heading);font-size:.76rem}
.post-reader .post-close{
  display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;
  border:1px solid color-mix(in srgb,var(--reader-heading) 36%,transparent);
  border-radius:50%;background:#fff2;color:var(--reader-heading);font:500 26px/1 Manrope,sans-serif;
}
.post-reader .post-close:hover{background:#fff5}
.post-reader :focus-visible{outline:2px solid currentColor;outline-offset:3px}
.post-reader .post-unseal{height:113px;margin-top:3px}
.post-reader .post-unseal::before{
  content:"";position:absolute;inset:10px 24% 0;border-radius:50%;
  background:radial-gradient(ellipse,color-mix(in srgb,var(--reader-foil) 36%,transparent),transparent 72%);
}
.post-reader .post-unseal-box{
  background:var(--reader-fold);box-shadow:0 4px 0 var(--reader-foil),0 8px 18px #24171226;
}
.post-reader .post-unseal-pocket{background:linear-gradient(145deg,var(--reader-paper),var(--reader-fold))}
.post-reader .post-unseal-flap{background:var(--reader-fold)}
.post-reader .post-unseal-star{color:var(--reader-tone)}
.post-reader .post-unseal-star:nth-last-child(2){color:var(--reader-foil)}
.post-reader .post-unseal-star:last-child{color:var(--reader-heading)}
.post-reader[data-reader-wrap=holly] .post-unseal-pocket{
  background:repeating-linear-gradient(128deg,#a4384a 0 4px,#f3f5e7 4px 8px);
}
.post-reader[data-reader-wrap=gold] .post-unseal-pocket{
  background:linear-gradient(128deg,#b97b2b 0%,#fff1c5 31%,#f6cf73 55%,#c78934 88%);
}
.post-reader .letter-paper[data-decoration]{
  margin:3px 0 0;padding:clamp(13px,3.8vw,20px);
  border:1px solid var(--reader-rim);border-radius:13px;
  background:var(--reader-paper);color:var(--reader-copy);box-shadow:0 3px 0 #17140e12;
}
.post-reader .post-received-heading{
  gap:9px;margin-bottom:12px;color:var(--reader-copy);letter-spacing:.085em;
  font-size:.72rem;line-height:1.25;text-transform:uppercase;
}
.post-reader .post-letter-message{margin:0 0 10px;font-size:1rem;line-height:1.6}
.post-reader .post-letter-sender{display:block;color:var(--reader-muted);font-size:.79rem}
.post-reader [data-dialog-status]{color:var(--reader-heading)}
.post-voice-player{
  --voice-progress:0%;
  margin-top:15px;padding:13px 15px;border-radius:14px;
  background:radial-gradient(ellipse at 90% 0%,#ffffff15,transparent 68%),var(--reader-player);
  color:#fff9ed;box-shadow:0 3px 0 color-mix(in srgb,var(--reader-player) 78%,black);
}
.post-voice-transport{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px}
.post-voice-play{
  display:grid;place-items:center;width:46px;height:46px;margin:0;padding:0;
  border:1px solid #fff7;border-radius:50%;background:var(--reader-sound);color:var(--reader-player);
  box-shadow:0 2px 6px #0004;cursor:pointer;
}
.post-voice-play:hover:not(:disabled){filter:brightness(1.11)}
.post-voice-play:disabled{opacity:.58;cursor:default}
.post-voice-play i{margin-left:3px;border-block:7px solid transparent;border-left:11px solid currentColor}
.post-voice-play[data-playing] i{
  width:12px;height:14px;margin:0;border:0;border-inline:4px solid currentColor;
}
.post-voice-byline{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:.81rem}
.post-voice-byline [data-reader-time]{color:var(--reader-sound);font-size:.71rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.post-voice-wave{display:flex;align-items:center;gap:clamp(2px,.55vw,4px);height:22px;margin-top:4px;color:var(--reader-sound)}
.post-voice-wave i{flex:1;height:max(var(--voice-bar),2px);border-radius:99px;background:currentColor;opacity:.34}
.post-voice-wave i[data-played]{opacity:1}
.post-voice-seek{
  appearance:none;display:block;width:100%;height:20px;margin:0;background:transparent;
  accent-color:var(--reader-sound);cursor:pointer;
}
.post-voice-seek:disabled{cursor:default;opacity:.55}
.post-voice-seek::-webkit-slider-runnable-track{
  height:3px;border-radius:8px;background:linear-gradient(to right,var(--reader-sound) var(--voice-progress),#fff5 var(--voice-progress));
}
.post-voice-seek::-webkit-slider-thumb{
  appearance:none;width:10px;height:10px;margin-top:-3.5px;border-radius:50%;background:var(--reader-sound);
}
.post-voice-seek::-moz-range-track{height:3px;border-radius:8px;background:#fff5}
.post-voice-seek::-moz-range-progress{height:3px;border-radius:8px;background:var(--reader-sound)}
.post-voice-seek::-moz-range-thumb{width:9px;height:9px;border:0;border-radius:50%;background:var(--reader-sound)}
.post-reader .post-voice-player [data-audio-status]{margin:6px 0 0;color:#fff9ed;font-size:.75rem}
.post-reader .post-voice-player [data-audio-status]:empty,.post-voice-player audio[hidden]{display:none}
@media(max-width:375px){
  .post-reader .post-unseal{height:96px}
  .post-voice-player{padding:10px}
  .post-voice-transport{gap:8px}
}


/* One envelope illustration at every size. */
:where(.post-wrap-art,.post-wrap-stamp,.post-wrap-choice,.post-day,.post-preview-envelope){
  --wrap-face:#fff1d2;
  --wrap-fold:#e6b96f;
  --wrap-edge:#ad7950;
  --wrap-seal:#913648;
  --wrap-ink:#ffebbe;
  --wrap-date:#592b30;
  --wrap-pattern:radial-gradient(ellipse at 18% 0%,#fff5d8,transparent 71%);
}
:where(.post-wrap-art,.post-wrap-stamp,.post-wrap-choice,.post-day,.post-preview-envelope)[data-wrap=frost]{
  --wrap-face:#e5f8ff;
  --wrap-fold:#9bd5ed;
  --wrap-edge:#518daa;
  --wrap-seal:#215d80;
  --wrap-ink:#e4fbff;
  --wrap-date:#163b57;
  --wrap-pattern:
    radial-gradient(circle at 16% 28%,#fff 1px,transparent 2.2px),
    radial-gradient(circle at 78% 39%,#fff 1px,transparent 2.2px),
    radial-gradient(circle at 23% 78%,#fff 1px,transparent 2.2px),
    repeating-linear-gradient(124deg,transparent 0 11px,#f9feff78 12px 13px,transparent 14px 19px);
}
:where(.post-wrap-art,.post-wrap-stamp,.post-wrap-choice,.post-day,.post-preview-envelope)[data-wrap=holly]{
  --wrap-face:#e4f0d7;
  --wrap-fold:#7ab792;
  --wrap-edge:#4d8867;
  --wrap-seal:#204e3a;
  --wrap-ink:#e1f4bd;
  --wrap-date:#234f38;
  --wrap-pattern:
    radial-gradient(circle at 17% 29%,#b44556 1.4px,transparent 2.5px),
    radial-gradient(circle at 21% 36%,#b44556 1.4px,transparent 2.5px),
    radial-gradient(circle at 81% 34%,#b44556 1.4px,transparent 2.5px),
    repeating-linear-gradient(128deg,transparent 0 11px,#edf6dc67 12px 13px);
}
:where(.post-wrap-art,.post-wrap-stamp,.post-wrap-choice,.post-day,.post-preview-envelope)[data-wrap=gold]{
  --wrap-face:#fff1b0;
  --wrap-fold:#dfaa4a;
  --wrap-edge:#a97528;
  --wrap-seal:#79501c;
  --wrap-ink:#fff1a7;
  --wrap-date:#553417;
  --wrap-pattern:
    linear-gradient(119deg,transparent 14%,#fff9d6 33%,#fff5c3a0 39%,transparent 62%),
    repeating-linear-gradient(138deg,transparent 0 3px,#fff6c65c 4px 5px),
    repeating-linear-gradient(43deg,transparent 0 5px,#9c671e2b 6px 7px);
}
.post-wrap-art{
  position:absolute;inset:0;isolation:isolate;overflow:hidden;border-radius:inherit;pointer-events:none;
  background:var(--wrap-pattern),linear-gradient(145deg,var(--wrap-face),var(--wrap-fold));
}
.post-wrap-art::before,.post-wrap-art::after{
  content:"";position:absolute;inset:0;pointer-events:none;
}
.post-wrap-art::before{
  background:linear-gradient(155deg,#fff8,transparent 57%);
  clip-path:polygon(0 0,100% 0,50% 65%);
}
.post-wrap-art::after{
  background:linear-gradient(30deg,#72442030,transparent 57%),linear-gradient(145deg,transparent 48%,#fff4);
  clip-path:polygon(0 35%,50% 76%,100% 35%,100% 100%,0 100%);
}
.post-wrap-art[data-wrap=holly]::after{
  background:
    linear-gradient(0deg,#a9374b 0 7%,#fff3d3 7% 10%,transparent 10%),
    linear-gradient(35deg,#16553832,transparent 61%);
}
.post-wrap-stamp{
  position:relative;display:grid;place-items:center;flex:none;
  width:var(--wrap-stamp-size,32px);height:var(--wrap-stamp-size,32px);
  border:1px solid var(--wrap-ink);border-radius:50%;
  color:var(--wrap-ink);
  background:radial-gradient(circle at 31% 25%,#fff2,transparent 54%),var(--wrap-seal);
  box-shadow:0 2px 3px #201c214d,inset 0 0 0 1px #ffffff42;
}
.post-wrap-art>.post-wrap-stamp{
  position:absolute;z-index:1;top:44%;left:44%;transform:translate(-50%,-50%);
}
.post-wrap-mark{display:block;position:relative;pointer-events:none}
.post-wrap-mark-plain{width:53%;height:38%;overflow:hidden;border:1px solid currentColor;border-radius:2px}
.post-wrap-mark-plain::before{
  content:"";position:absolute;top:-69%;left:15%;width:70%;aspect-ratio:1;
  border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);
}
.post-frost-flake{
  --flake-width:calc(var(--wrap-stamp-size,32px) * .63);
  width:var(--flake-width);height:var(--flake-width);
}
.post-frost-flake i{
  position:absolute;top:4%;bottom:4%;left:50%;width:1.35px;border-radius:4px;
  background:currentColor;transform:translateX(-50%) rotate(var(--snow-axis,0deg));
}
.post-frost-flake i:nth-child(2){--snow-axis:60deg}
.post-frost-flake i:nth-child(3){--snow-axis:120deg}
.post-frost-flake i::before,.post-frost-flake i::after{
  content:"";position:absolute;left:50%;width:calc(var(--flake-width) * .165);aspect-ratio:1;
  border:solid currentColor;border-width:1.25px 1.25px 0 0;
}
.post-frost-flake i::before{top:14%;transform:translateX(-50%) rotate(-45deg)}
.post-frost-flake i::after{bottom:14%;transform:translateX(-50%) rotate(135deg)}
.post-wrap-mark-holly{
  --berry:calc(var(--wrap-stamp-size,32px) * .13);
  width:62%;height:59%;filter:drop-shadow(0 1px 1px #142b2166);
}
.post-wrap-mark-holly::before,.post-wrap-mark-holly::after{
  content:"";position:absolute;top:1%;width:53%;height:77%;background:currentColor;
  transform-origin:50% 92%;
  clip-path:polygon(50% 0,66% 20%,87% 17%,77% 39%,100% 50%,72% 61%,81% 79%,59% 77%,50% 100%,40% 77%,19% 79%,28% 61%,0 50%,23% 39%,13% 17%,34% 20%);
}
.post-wrap-mark-holly::before{left:23%;transform:rotate(-44deg)}
.post-wrap-mark-holly::after{right:23%;transform:rotate(44deg)}
.post-wrap-mark-holly i{
  position:absolute;z-index:1;top:60%;left:50%;width:var(--berry);height:var(--berry);
  transform:translateX(-50%);border-radius:50%;
  background:#ff9295;box-shadow:calc(var(--berry) * -.84) calc(var(--berry) * .37) 0 #e65368,calc(var(--berry) * .84) calc(var(--berry) * .37) 0 #e65368;
}
.post-wrap-mark-gold{
  width:66%;height:64%;
  background:linear-gradient(145deg,#fffde0,var(--wrap-ink) 44%,#e0ad4a);
  clip-path:polygon(50% 0,65% 32%,100% 37%,75% 62%,81% 98%,50% 80%,19% 98%,25% 62%,0 37%,35% 32%);
}
.post-wrap-mini,.post-preview-envelope{
  position:relative;display:block;isolation:isolate;overflow:hidden;
  border:1px solid color-mix(in srgb,var(--wrap-edge) 70%,transparent);
}
.post-wrap-mini{--wrap-stamp-size:22px;width:min(100%,57px);height:35px;border-radius:5px;box-shadow:0 2px 0 var(--wrap-edge)}
.post-wrap-choice[data-wrap=frost] .post-wrap-mini{--wrap-edge:#518daa}
.post-wrap-choice[data-wrap=holly] .post-wrap-mini{--wrap-edge:#4d8867}
.post-wrap-choice[data-wrap=gold] .post-wrap-mini{--wrap-edge:#a97528}
.post-preview-envelope{--wrap-stamp-size:35px;height:66px;border-radius:8px;box-shadow:0 3px 0 var(--wrap-edge)}
.post-decoration-preview:has(.post-wrap-art[data-wrap=frost]){border-color:#518daa}
.post-decoration-preview:has(.post-wrap-art[data-wrap=holly]){border-color:#4d8867}
.post-decoration-preview:has(.post-wrap-art[data-wrap=gold]){border-color:#a97528}
.postal-shell .postal-board .post-day[data-wrap-art][data-wrap]{
  --wrap-stamp-size:clamp(22px,2.7vw,33px);
  padding:0;border-style:solid;border-color:var(--wrap-edge);background:var(--wrap-face);
  box-shadow:0 3px 0 var(--wrap-edge),0 5px 9px #111c1b33;
}
.postal-shell .postal-board .post-day[data-wrap-art][data-wrap]::before,
.postal-shell .postal-board .post-day[data-wrap-art][data-wrap]::after{content:none}
.postal-shell .postal-board .post-day[data-wrap-art][data-wrap] .post-day-seal{
  position:absolute;z-index:2;inset:auto 3px 3px auto;
  width:auto;min-width:1.55em;height:1.5em;padding:0 3px;aspect-ratio:auto;
  border:1px solid var(--wrap-edge);border-radius:5px;
  color:var(--wrap-date);background:color-mix(in srgb,var(--wrap-face) 74%,white);
  font-size:clamp(11px,1.3vw,16px);
  box-shadow:0 1px 2px #151b163b;
}
.postal-board .post-day[data-wrap-art] .post-day-seal::before{content:none}
.postal-shell .postal-board .post-day[data-wrap-art][aria-pressed=true]{
  outline:2px solid var(--wrap-ink);outline-offset:1px;
}
.post-reader .post-unseal-wax.post-wrap-stamp{
  --wrap-stamp-size:26px;
  display:grid;place-items:center;position:absolute;top:34px;left:auto;right:13px;
  animation:none;
}
.post-reader .post-received-seal.post-wrap-stamp{--wrap-stamp-size:34px}
@media(max-width:385px){
  .postal-shell .postal-board .post-day[data-wrap-art][data-wrap]{--wrap-stamp-size:20px}
  .postal-shell .postal-board .post-day[data-wrap-art][data-wrap] .post-day-seal{inset:auto 2px 2px auto}
}
