@font-face{font-family:"SJGSM Signature";src:url("../v1229/footer-signature.woff") format("woff");font-style:normal;font-weight:400;font-display:swap}
:root{color-scheme:light;/* The Atlas edition: pale vanilla paper, engraved brass, and three depths of wine. */
--ink:#35212b;--wine:#52152c;--paper:#f8f0df;--cream:#fff8e9;--ivory:#fffbf2;--vanilla:#f1e3c8;
--blush:#f3e2df;--claret:#792d4c;--line:#d9c7af;--gold:#f1d190;--ochre:#753451;--muted:#695559;
--gilt-marks:url("../v1229/atlas-wine.svg");
--card-wash:linear-gradient(116deg,#431326,#722540 61%,#54182e);
--control-wash:linear-gradient(120deg,#50152b,#7b2947);
--paper-wash:linear-gradient(110deg,#fffaf0 0%,#fbf3e3 53%,#f5ead4 100%);
--sans:system-ui,-apple-system,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif;font-family:var(--sans);color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.62}button:focus-visible,a:focus-visible{outline:3px solid #853853;outline-offset:3px}.reader-shell :focus-visible,.dock :focus-visible,.mast :focus-visible{outline-color:#ffe69c}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:normal}.skip{position:fixed;left:.5rem;top:-8rem;background:white;z-index:12;padding:1rem}.skip:focus{top:1rem}.mast{color:#fff9e9;border-bottom:2px solid #d1a660;box-shadow:inset 0 -1px #f8db9b26}.mastin{max-width:56rem;display:flex;align-items:center;justify-content:space-between;margin:auto;padding:calc(.8rem + env(safe-area-inset-top)) 1.3rem .8rem}.identity{display:flex;align-items:center;gap:.75rem}.identity img{object-fit:contain;border-radius:9px}.identity span,.identity small{display:block}.identity span{font:600 1.23rem var(--serif);letter-spacing:.11em}.identity small{color:#ebcc86;font:600 .75rem/1.9 var(--sans);text-transform:uppercase;letter-spacing:.17em}.help{position:relative;flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;box-sizing:border-box;padding:2px;border:1px solid #d8ab50;border-radius:50%;background:transparent;color:white;isolation:isolate}.help img,.help-mark{grid-area:1/1}.help img{width:100%;height:100%;object-fit:contain;display:block}.help-mark{position:relative;color:#fff;font:700 1.4rem/1 var(--serif);text-shadow:0 1px 2px #14283c,0 0 2px #14283c;pointer-events:none}main{max-width:49rem;margin:0 auto;padding:0 clamp(1.05rem,5vw,2.6rem) var(--pocket-bottom-clearance)}.titleblock{padding:clamp(2rem,6vw,3.7rem) 0 1.65rem}.eyebrow{font:700 .75rem/1.5 var(--sans);letter-spacing:.15em;text-transform:uppercase;color:var(--ochre)}.eyebrow i{display:inline-block;height:2px;width:1.7rem;vertical-align:middle;margin-right:.3rem;background:#b4863e}.titleblock h1{font-size:clamp(3.2rem,10vw,5.5rem);line-height:1.06;letter-spacing:-.059em;margin:.29rem 0 .55rem}.titleblock h1 span{color:#a9772b}.titleblock p{max-width:33rem;line-height:1.55;color:var(--muted)}.continue{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;text-align:left;padding:1.1rem 1.15rem;background:var(--gilt-marks) right center/360px 96px repeat,var(--card-wash),var(--wine);color:var(--cream);border:1px solid #803c52;border-radius:.7rem}.continue .eyebrow,.orbit .eyebrow{color:var(--gold)}.continue strong{display:block;font:normal 1.48rem/1.18 var(--serif);margin:.25rem 0}.continue-page{font-size:.83rem;color:#f3e4d3}.catalog-head{display:flex;align-items:flex-end;justify-content:space-between;padding:.95rem 0 .6rem;gap:1rem}.catalog-head h2,.pulse h2,.sheet h2{font-size:clamp(1.8rem,5vw,2.4rem);letter-spacing:-.045em}.counter,.badge,.fine,.footer,.muted{color:var(--muted)}.counter{font-size:.76rem;margin-bottom:.3rem}.filters{display:flex;gap:.35rem;flex-wrap:wrap;margin:.2rem 0 .75rem}.filters button{background:transparent;border:1px solid var(--line);border-radius:100px;min-height:44px;min-width:44px;font-size:.83rem;font-weight:650;padding:.3rem .82rem}.filters button[aria-pressed=true]{background:var(--control-wash),var(--wine);color:var(--cream);border-color:var(--wine)}.edition{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:.6rem;border-top:1px solid var(--line);padding:.65rem 0}.open-edition{display:flex;align-items:center;text-align:left;gap:.85rem;background:none;border:0;padding:.4rem 0;min-height:3.7rem;min-width:0}.edition-sigil{font:normal 1.08rem var(--serif);color:var(--ochre);height:2.65rem;width:2.65rem;border:1px solid #bba775;display:grid;place-items:center;flex-shrink:0;border-radius:50%}.edition-text{display:grid;gap:.25rem;min-width:0}.edition-name{font:normal clamp(1.15rem,4vw,1.52rem)/1.13 var(--serif);overflow-wrap:anywhere}.badge{font-size:.75rem;line-height:1.4}.save,.light{border:1px solid #bca88f;border-radius:7px;background:var(--ivory);font-size:.77rem;font-weight:650;padding:.5rem .7rem;min-height:44px}.save.saved{background:var(--blush);color:#59233a;border-color:#bc9294}.save[aria-busy=true]{background:var(--vanilla)}.footer{border-top:1px solid var(--line);padding-top:.8rem;text-transform:uppercase;font-size:.75rem;font-weight:600;letter-spacing:.12em}.footer {
  container: pocket-footer / inline-size;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: .38rem .48rem;
}
.footer-brand {
  grid-area: 1 / 1 / 3 / 2;
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-rows: 1fr auto;
  grid-template-rows: subgrid;
  align-items: center;
  gap: inherit;
  column-gap: 0;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.footer-name {
  display: contents;
  font: 400 1.05rem/1.22 "SJGSM Signature", Georgia, serif;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.footer-initials {grid-area: 1 / 1}
.footer-eye {grid-area: 1 / 2; white-space: pre; color: #203642}
.footer-brand img {
  grid-area: 2 / 1;
  justify-self: center;
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.footer-copyright {
  grid-area: 1 / 2;
  display: flex;
  align-items: center;
  gap: .36rem;
  font-size: .75rem;
}
.footer-note {
  grid-area: 2 / 1 / 3 / -1;
  justify-self: center;
  max-inline-size: calc(100% - 7.5rem);
  text-align: center;
  font: 500 .625rem/1.45 Arial, var(--sans);
  letter-spacing: .05em;
  pointer-events: none;
}
.footer-version {white-space: nowrap}
.footer #install-open {
  grid-area: 3 / 1 / 4 / -1;
  justify-self: start;
  margin: 0;
  padding: 0 .15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
/* Enlarged text can leave too little room beside the signature. */
@container pocket-footer (max-width: 17em) {
  .footer-brand {grid-column: 1 / -1; justify-self: start}
  .footer-brand img {justify-self: start}
  .footer-note {max-inline-size: calc(100% - 76px)}
  .footer-copyright {grid-area: 3 / 1 / 4 / -1; justify-self: center}
  .footer #install-open {grid-row: 4}
}
.dock{position:fixed;bottom:0;inset-inline:0;z-index:2;border-top:1px solid #d1a660;box-shadow:inset 0 1px #ffdd9e20;padding-bottom:env(safe-area-inset-bottom)}.dock>div{display:flex;max-width:36rem;margin:auto}.dock button{position:relative;flex:1;min-width:0;min-height:58px;display:flex;justify-content:center;align-items:center;gap:.55rem;border:0;color:#f2dfd8;background:transparent;font-weight:600}.dock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.dock button[aria-current=page]{color:#ffe3a7;background:linear-gradient(180deg,#ffe0aa12,transparent 90%)}.dock button[aria-current=page]::before{content:"";position:absolute;top:0;height:3px;width:44px;background:var(--gold)}.orbit,.pulse{border-radius:13px;padding:clamp(1.15rem,4vw,1.8rem);margin:.3rem 0 1rem}.orbit{background:var(--gilt-marks) right center/420px 112px repeat,var(--card-wash),var(--wine);color:#fff8e6}.orbit-grid{display:grid;grid-template-columns:minmax(0,1fr) 32%;align-items:center;gap:.5rem}.orbit-grid h2{font-size:clamp(2.1rem,7vw,3.4rem);line-height:1.05;letter-spacing:-.04em;margin:.7rem 0}.orbit-grid p,.pulse p{line-height:1.5}.orbit-grid p{font-size:.91rem;color:#f1e2d4}.orb-art{width:100%;color:#d9b665}.gold,.primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;border:0;border-radius:6px;padding:.55rem .95rem;background:#ebcc86;color:#3c1d29;font-weight:700;font-size:.83rem}.gold{margin:.9rem 0 .4rem}.fine{font-size:.75rem;line-height:1.45}.orbit .fine{color:#efdbcb}.pulse{border:1px solid var(--line)}.pulse h2{margin:.3rem 0}.pulse-data{display:flex;align-items:center;gap:.85rem;border-block:1px solid var(--line);padding:1rem 0;margin:.8rem 0}.pulse-data>span{font:normal 1.85rem var(--serif);color:var(--claret)}.pulse-data strong,.pulse-data small{display:block}.pulse-data small{font-size:.75rem;color:var(--muted);margin-top:.2rem}.pulse-actions{display:flex;align-items:center;justify-content:space-between;margin-top:.6rem}.text-link{font-weight:700;font-size:.8rem;text-underline-offset:.17em}.muted{font-size:.9rem}.empty{padding:1rem 0;line-height:1.5}dialog{margin:auto;max-width:100vw;max-height:100vh;border:0;padding:0;color:var(--ink)}dialog::backdrop{background:#21121bcc}body.has-dialog{overflow:hidden}#reader{width:100%;height:100vh;height:100dvh;max-height:none;margin:0;inset:0;background:#24121c;color:#f9edcf}.reader-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.reader-head,.reader-foot{padding:.5rem max(.7rem,env(safe-area-inset-right)) .5rem max(.7rem,env(safe-area-inset-left))}.reader-head{border-bottom:1px solid #bc955b;padding-top:max(.5rem,env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between;gap:.65rem}.reader-head .eyebrow{color:#e0c084}.reader-head strong{font:normal 1.15rem/1.15 var(--serif);display:block;overflow-wrap:anywhere}.reader-foot{border-top:1px solid #bc955b;padding-bottom:max(.5rem,env(safe-area-inset-bottom))}.dark-control{border:1px solid #bd969e;color:#f5eddd;background:transparent;border-radius:6px;font-size:.81rem;font-weight:650;padding:.4rem .7rem;min-height:44px}.dark-control[aria-pressed=true]{border-color:var(--gold);color:#ffe4a4}.reader-tools,.paging{display:flex;justify-content:center;align-items:center;gap:.55rem}.reader-tools{margin:0 auto .3rem}.reader-tools .dark-control{border-color:transparent;text-decoration:underline;text-underline-offset:.18em}.paging{justify-content:space-between;max-width:42rem;margin:auto}.paging>span{font-size:.8rem;color:#f0d8a8}.stage{position:relative;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;background:linear-gradient(#21121adc,#21121adc),var(--gilt-marks) center center/540px 144px repeat,#21121a}.stage img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}.stage.detail{display:block;text-align:center}.stage.detail img{display:inline-block;width:auto;max-width:none;height:auto;min-width:100%;min-height:100%;vertical-align:top}.stage-message{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#f6e7bf;font-size:.94rem;padding:1rem;pointer-events:none}.stage-message:empty{display:none}.sheet{width:min(88vw,28rem);border:1px solid #b79d66;border-radius:14px;box-shadow:0 6px 35px #30152540}.sheet-inner{padding:1.4rem}.sheet h2{margin:.3rem 0 .75rem}.sheet p{line-height:1.55;margin:.7rem 0;font-size:.93rem}.primary{background:var(--control-wash),var(--wine);color:var(--cream);margin-top:.3rem}#toast:not(:empty){background:#50162d;color:#fff4d8;border:1px solid #c9aa60;padding:.7rem 1rem;position:fixed;left:50%;transform:translateX(-50%);bottom:calc(4.3rem + env(safe-area-inset-bottom));max-width:min(90vw,32rem);width:max-content;z-index:4;border-radius:8px;font-size:.86rem}button:disabled{cursor:not-allowed}#catalog-error{padding:1rem 0}#catalog-error button{margin:.5rem 0}@media(max-height:520px) and (orientation:landscape){.reader-tools{float:left;margin:0}.reader-head{padding-block:.2rem}.reader-head .eyebrow{display:none}.reader-foot{display:flex;justify-content:space-around;gap:1rem;padding-block:.2rem}.paging{flex:1;max-width:28rem}.dock button{min-height:46px}}@media(max-width:350px){.edition-sigil{display:none}.reader-head strong{font-size:1rem}.identity img{width:33px;height:33px}.filters{gap:.18rem}.filters button{padding-inline:.55rem}.paging span{font-size:.75rem}}
#guide-tip{border-left:2px solid #ac6d77;margin:.5rem 0 1rem;padding:.3rem .8rem;background:var(--vanilla);font-size:.83rem;line-height:1.45}#guide-tip div{display:flex;gap:.7rem}.text-button{border:0;background:transparent;font-weight:650;text-decoration:underline;text-underline-offset:.16em;padding:.35rem .15rem;min-height:44px;font-size:.8rem}.gold[aria-disabled=true]{opacity:.7}html:has(#reader[open]){overscroll-behavior:none}

.place-group{margin:1.1rem 0 1.45rem;background:var(--cream);border:1px solid var(--line);border-radius:.55rem;overflow:hidden}
.place-heading{display:flex;align-items:center;gap:.7rem;margin:0;padding:.7rem .9rem;border-bottom:1px solid var(--line);background:linear-gradient(100deg,#f0dbd7,#f6eadb);font-size:1.4rem;line-height:1.25}
.place-ordinal{color:var(--ochre);font:700 .75rem var(--sans);letter-spacing:.13em}
.place-link{display:flex;width:100%;gap:.7rem;align-items:center;padding:.55rem .9rem;min-height:53px;text-align:left;border:0;background:transparent}
.place-link+.place-link{border-top:1px solid var(--line)}
.place-link:focus-visible{outline-offset:-4px}.place-link .place-title{flex:1;font:normal 1.1rem/1.18 var(--serif);overflow-wrap:anywhere}.place-link .edition-sigil{height:2rem;width:2rem;font-size:.95rem}
.place-goto{color:var(--ochre);font:normal 1.3rem var(--serif)}#places>.muted{margin:1rem 0}

.bookmark-arrow{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #b89757;border-radius:50%;color:#f8e2aa;font:normal 1.25rem/1 var(--serif)}

/* The journal's web sections and the reading room's collection filters serve different purposes. */
.site-sections{background:linear-gradient(100deg,#faf2df,#f6e7d3);border-bottom:1px solid var(--line)}
.site-sections__inner{max-width:49rem;margin:auto;display:flex;align-items:center;gap:clamp(.35rem,2vw,1.25rem);padding:0 clamp(.5rem,3vw,1.6rem)}
.site-sections__caption{font:700 .75rem/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--claret)}
.site-sections ul{display:flex;flex:1;flex-wrap:wrap;list-style:none;margin:0;padding:0;max-width:27rem}
.site-sections li{flex:1 0 44px}
.site-sections a{min-height:44px;display:flex;align-items:center;justify-content:center;padding:0 .2rem;color:var(--ink);font:600 1.1rem/1.1 var(--serif);text-decoration:none}
.site-sections li:first-child a{font:650 .78rem/1.1 var(--sans)}
.posts-icon-defs {position: absolute; overflow: hidden; pointer-events: none}
.posts-home-icon {display: block; width: 2rem; height: auto; aspect-ratio: 73 / 53}
#posts-heading .posts-home-icon {display: none}
#posts-heading.is-home {display: flex; align-items: center; gap: .22em}
#posts-heading.is-home .posts-home-icon {display: block; width: auto; height: 1.1em}
#posts-heading.is-home #posts-heading-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-sections a:hover,.site-sections a:focus-visible{background:var(--blush);color:var(--ink)}
.site-sections a:focus-visible{outline-offset:-3px}
@media(max-width:21.5rem){.site-sections__inner{flex-wrap:wrap;gap:0}.site-sections__caption{flex-basis:100%;padding:.5rem .35rem 0}.site-sections ul{width:100%}}
#install-panel{margin:1rem 0 0;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:.75rem;background:var(--cream);color:var(--ink)}
#install-title{font:normal 1.45rem/1.15 var(--serif);margin:0 0 .4rem}
#install-hint{font-size:.89rem;max-width:55ch;line-height:1.5;color:var(--muted)}
.install-actions{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap;margin-top:.65rem}
.install-actions button{margin:0}
#install-open{margin-inline-start:.55rem;color:var(--ochre);letter-spacing:0;text-transform:none}

/* Online directory and offline illustrated shelf are separate collections. */
.site-sections{position:sticky;top:0;z-index:3}
.site-sections a[aria-current="page"]{color:var(--ink);background:linear-gradient(180deg,#f8eae0,#f1dadd);box-shadow:inset 0 -3px var(--claret)}
.member-lock{display:block;width:28px;height:30px;object-fit:contain;flex-shrink:0}
#filters.shelf-sections{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(2px,1vw,6px);max-width:28rem}
#filters.shelf-sections button,#filters.shelf-sections a{min-width:0;min-height:44px;height:44px;padding:0 .15rem;border-radius:999px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font:650 .93rem/1 var(--sans);background:transparent;color:var(--ink);text-decoration:none}
#filters.shelf-sections [aria-pressed="true"]{background:var(--control-wash),var(--wine);border-color:var(--wine);color:var(--cream)}
#filters.shelf-sections button:hover,#filters.shelf-sections a:hover{box-shadow:inset 0 0 0 1px #946076}
#filters.shelf-sections [data-key="HOME"]{font-size:.82rem}
.read-modes{display:flex;gap:.25rem;padding:.25rem;border:1px solid var(--line);border-radius:.55rem;background:#f3e6ce;margin:0 0 1rem}
.read-modes a{flex:1;min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;padding:.25rem .2rem;border-radius:.37rem;color:var(--ink);text-decoration:none;font:650 .85rem/1.22 var(--sans)}
.read-modes a[aria-current]{background:var(--control-wash),var(--wine);color:var(--cream)}
.posts-topline{display:flex;align-items:flex-end;justify-content:space-between;gap:.6rem;border-bottom:2px solid #ac7380;padding:.55rem 0 .55rem}
.posts-topline h2{font:normal clamp(1.65rem,5vw,2.35rem)/1.1 var(--serif);letter-spacing:-.035em;margin:.3rem 0 .12rem;scroll-margin-top:6.5rem}
.posts-topline h2:focus{outline:none}
#posts-page{color:#682540;background:var(--blush);white-space:nowrap;border:1px solid #ccaaa9;border-radius:1rem;padding:.25rem .65rem;font:650 .75rem/1.35 var(--sans)}
#posts-status{font:.77rem/1.5 var(--sans);margin:.5rem 0;color:var(--ink)}
#posts-status.is-summary {
  position:absolute;width:1px;height:1px;margin:0;padding:0;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
#posts-list{list-style:none;margin:0;padding:0}
#posts-list li{border-bottom:1px solid var(--line)}
#posts-list a{display:flex;justify-content:space-between;align-items:center;gap:.8rem;min-height:48px;padding:.55rem .1rem;color:var(--ink);font:normal 1.14rem/1.35 var(--serif);text-decoration:none;overflow-wrap:anywhere}
#posts-list a:hover .post-title{text-decoration:underline;text-underline-offset:.16em}
.posts-arrow{flex-shrink:0;font:normal .95rem var(--sans);color:var(--ochre)}
.posts-pager{display:flex;justify-content:space-between;gap:.45rem;flex-wrap:wrap;margin:.8rem 0}
.posts-pager a,.posts-recovery a,.posts-recovery button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:var(--cream);color:var(--ink);border:1px solid var(--line);border-radius:.35rem;text-decoration:none;font:650 .81rem/1.2 var(--sans);padding:.45rem .72rem}
#posts-older{margin-inline-start:auto}
.posts-recovery{display:flex;gap:.5rem;flex-wrap:wrap}
.titleblock{padding-bottom:1rem}

@media (forced-colors:active){#filters.shelf-sections [aria-pressed="true"],.read-modes [aria-current],.site-sections [aria-current]{outline:2px solid Highlight;outline-offset:-3px}.dock [aria-current]{text-decoration:underline}}

/* 1.1.0 — editions from every page, opened from the post index too; the Earth Pulse list; a link from the reader to the post. */
:root{--serif:Georgia,"Times New Roman","SJGSM Signature",serif} /* the bundled signature font draws the Eye of Horus of the titles on devices without hieroglyphs */
.posts-here{font:650 .75rem/1.3 var(--sans);letter-spacing:.02em;white-space:nowrap}
.quakes{list-style:none;margin:.8rem 0;padding:0;border-block:1px solid var(--line)}
.quake{display:flex;align-items:center;gap:.85rem;padding:.7rem 0}
.quake+.quake{border-top:1px solid var(--line)}
.quake-mag{flex:0 0 4.2rem;font:normal 1.6rem var(--serif);color:var(--claret)}
.quake-body{display:grid;gap:.2rem;min-width:0}
.quake-place{font-weight:700;overflow-wrap:anywhere;text-underline-offset:.17em}
.quake-body small{font-size:.75rem;color:var(--muted);line-height:1.4}
.quake-note{padding:.9rem 0;color:var(--muted);font-size:.9rem;line-height:1.5}
.pulse-actions{gap:.8rem}
.reader-tools{flex-wrap:wrap}
a.dark-control{display:inline-flex;align-items:center}

/* 1.2.0 — Explore as an index with letters and search; the Saved view; "New" marks. */
.new-tag{display:inline-block;margin-right:.2rem;padding:.06rem .42rem;border-radius:1rem;background:var(--claret);color:var(--ivory);font:700 .75rem/1.55 var(--sans);letter-spacing:.09em;text-transform:uppercase;vertical-align:.1em;white-space:nowrap}
#posts-list .new-tag{margin:0 0 0 auto;flex-shrink:0}
#posts-list .post-title{flex:1;min-width:0}
.new-notice{display:flex;align-items:center;min-height:44px;margin:0 0 1rem;padding:.5rem .85rem;border:1px solid #ccaaa9;border-radius:.55rem;background:var(--blush);color:var(--ink);font:650 .85rem/1.3 var(--sans);text-decoration:none}
.saved-bar{display:flex;align-items:center;justify-content:space-between;gap:.6rem;width:100%;min-height:44px;margin:0 0 .75rem;padding:.45rem .85rem;border:1px solid var(--line);border-radius:.55rem;background:var(--ivory);color:var(--ink);font:650 .8rem/1.3 var(--sans);text-align:left}
.saved-bar #saved-summary{font-weight:500;color:var(--muted);white-space:nowrap}
.saved-bar[aria-pressed="true"]{background:var(--control-wash),var(--wine);border-color:var(--wine);color:var(--cream)}
.saved-bar[aria-pressed="true"] #saved-summary{color:#f2dfd8}
.index-search{margin:0 0 .8rem}
.index-search label{display:block;margin-bottom:.35rem}
.index-search input{display:block;width:100%;min-height:48px;margin:0;padding:.55rem .85rem;border:1px solid var(--line);border-radius:.55rem;background:var(--ivory);color:var(--ink);font:1rem/1.3 var(--sans);-webkit-appearance:none;appearance:none}
.index-search input:focus-visible{outline:3px solid #853853;outline-offset:2px}
.index-letters{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:.3rem;margin:0 0 .5rem}
.index-letters button{min-width:0;width:100%;min-height:44px;padding:0 .3rem;border:1px solid var(--line);border-radius:.45rem;background:transparent;color:var(--ink);font:600 1rem/1 var(--serif)}
.index-letters button:hover{background:var(--blush)}
.index-group{margin:.4rem 0 1rem;background:var(--cream);border:1px solid var(--line);border-radius:.55rem;overflow:hidden}
.index-letter{margin:0;padding:.42rem .9rem;border-bottom:1px solid var(--line);background:linear-gradient(100deg,#f0dbd7,#f6eadb);color:var(--claret);font:normal 1.15rem/1.25 var(--serif);scroll-margin-top:4.2rem}
.index-letter:focus{outline:none}
.index-row{display:flex;width:100%;gap:.7rem;align-items:center;min-height:56px;padding:.5rem .9rem;border:0;background:transparent;color:var(--ink);text-align:left;text-decoration:none}
.index-row+.index-row{border-top:1px solid var(--line)}
.index-row:focus-visible{outline-offset:-4px}
.index-row .edition-sigil{height:2rem;width:2rem;font-size:.95rem}
.index-text{display:grid;gap:.2rem;flex:1;min-width:0}
.index-title{font:normal 1.1rem/1.18 var(--serif);overflow-wrap:anywhere}
#index-list>.muted{margin:1rem 0}

/* Keep the clickable area on the actual plate, excluding the bars beside it. */
.stage:not(.detail){container-type:size}
.stage .plate-link{display:block;flex:none;line-height:0;color:inherit;max-width:100%;max-height:100%}
.stage:not(.detail) .plate-link{width:min(100cqw,calc(100cqh * var(--plate-ratio)));aspect-ratio:var(--plate-ratio)}
.stage .plate-link:focus-visible{outline-offset:-3px}
.stage.detail .plate-link{display:contents}
.stage.detail .plate-link:focus-visible img{outline:3px solid #ffe69c;outline-offset:-3px}

/* Keep the journal controls legible in the system contrast palette. */
@media (forced-colors:active){body,.mast,.dock,.orbit,.continue,.reader-head,.reader-foot,.stage,.sheet,.pulse{background-image:none}.dock button[aria-current=page]{background-image:none}}

/* End of an illustrated edition. Keep the plate itself and its link unobstructed. */
.reader-foot .finish-status{font:700 .78rem/1.15 var(--sans);color:#ffe6af;letter-spacing:.015em;text-align:right}.reader-foot .finish-status span{color:#f3cf89}
.finish-strip{max-width:42rem;margin:.35rem auto 0;border-top:1px solid #e9c88d66}
.finish-next{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.65rem;min-height:48px;text-align:left;border:0;background:none;color:#fff5dd;padding:.32rem .37rem .22rem}
.finish-copy{display:grid;gap:.12rem;min-width:0}
.finish-copy small{color:#f3d594;font-size:.75rem;letter-spacing:.06em;font-weight:700}
.finish-copy strong{overflow-wrap:anywhere;font:600 1.08rem/1.12 var(--serif)}
.finish-arrow{flex:0 0 auto;color:#f3d594;font-size:1.25rem}
#finish-note{margin:.35rem .4rem .1rem;color:#f3e4ca;font-size:.76rem;line-height:1.35}
@media (max-height:520px) and (orientation:landscape){
 .reader-foot:has(.finish-strip:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.12rem .6rem;align-items:center}
 .reader-foot:has(.finish-strip:not([hidden])) .reader-tools{margin:0}
 .finish-strip{grid-column:1/-1;width:100%;max-width:none;margin:0}
 .finish-next{min-height:44px;padding:.1rem .4rem}
 .finish-copy{display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem}
}

/* 1.2.3 · The reading shelf keeps the reader's place without adding another tab. */
.reading-shelf{margin:0 0 1.3rem;padding:.8rem 1rem .35rem;border:1px solid #82364f;border-radius:.7rem;background:var(--gilt-marks) right center/360px 96px repeat,var(--card-wash),var(--wine);color:var(--cream)}
.reading-shelf h2{margin:0;padding:0 0 .4rem;font:600 .75rem/1.35 var(--sans);color:#fff2e4;text-transform:uppercase;letter-spacing:.16em}
.resume-edition{display:flex;align-items:center;justify-content:space-between;gap:.7rem;width:100%;min-height:3.2rem;padding:.48rem .05rem;text-align:left;background:transparent;color:var(--cream);border:0;border-top:1px solid #ebc78d54}
.resume-copy{display:grid;min-width:0;gap:.12rem}.resume-title{font:normal 1.16rem/1.22 var(--serif);overflow-wrap:anywhere}
.resume-plate{color:#f1decb;font-size:.77rem;line-height:1.32;font-variant-numeric:tabular-nums}
.resume-arrow{flex:none;color:var(--gold);font:normal 1.22rem/1 var(--serif)}
.resume-edition:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
@media (hover:hover){.resume-edition:hover .resume-title{text-decoration:underline;text-underline-offset:.16em}}
.reading-status{display:block;color:var(--claret);font-weight:650}
.post-reading-status{font:650 .75rem/1.4 var(--sans);margin-top:.15rem}

/* The journal and dark reader share the engraved night chart. */
:root[data-reader-theme="dark"],#reader[data-reader-theme="dark"] {
  color-scheme:dark; --reader-ink:#F7EBD8; --reader-hint:#E9D0A5; --reader-stage:#211B1E;
  --reader-control-bg:#4D2035; --reader-control-edge:#B89991;
  --reader-active:#ECD2A2; --reader-active-ink:#35212C; --reader-focus:#FFDF9A;
}
#reader[data-reader-theme="light"] {
  color-scheme:light; --reader-ink:#3E2430; --reader-hint:#613449; --reader-stage:#F8F0DF;
  --reader-control-bg:#F9EEDC; --reader-control-edge:#A48179;
  --reader-active:#60223C; --reader-active-ink:#FFF7E7; --reader-focus:#742044;
}
#reader[data-reader-theme]{background:var(--reader-stage);color:var(--reader-ink)}
#reader[data-reader-theme] .reader-head,
#reader[data-reader-theme] .reader-foot{
  color:var(--reader-ink);border-color:var(--reader-rule)
}
/* Each engraving occupies unused space in the controls, never a text background. */
#reader[data-reader-theme] .reader-head > div{min-width:min(7rem,38%);flex:0 1 auto}
#reader[data-reader-theme] .reader-head::after{
  content:"";order:1;flex:1 20 16rem;min-width:0;align-self:stretch;
  pointer-events:none
}
#reader[data-reader-theme] #reader-close{order:2;flex:none}
#reader[data-reader-theme] .paging{align-items:center}
#reader[data-reader-theme] .paging::before,#reader[data-reader-theme] .paging::after{
  content:"";flex:1 20 9rem;min-width:0;height:40px;
  pointer-events:none
}
#reader[data-reader-theme] #prev{order:0;flex:none}
#reader[data-reader-theme] .paging::before{order:1;background-position:calc(50% + 98px) center}
#reader[data-reader-theme] #page-count{order:2;flex:none}
#reader[data-reader-theme] .paging::after{order:3;background-position:calc(50% - 61px) center}
#reader[data-reader-theme] #next,#reader[data-reader-theme] #finish-status{order:4;flex:none}
@media(max-width:21rem){#reader[data-reader-theme] .paging{gap:.22rem}}
#reader[data-reader-theme] .reader-head .eyebrow,#reader[data-reader-theme] .paging>span,
#reader[data-reader-theme] .finish-status span,#reader[data-reader-theme] .finish-copy small,
#reader[data-reader-theme] .finish-arrow,#reader[data-reader-theme] #finish-note{color:var(--reader-hint)}
#reader[data-reader-theme] .finish-next,#reader[data-reader-theme] .stage-message{color:var(--reader-ink)}
#reader[data-reader-theme] .finish-strip{border-color:var(--reader-rule)}
#reader[data-reader-theme] .dark-control{background:var(--reader-control-bg);border:1px solid var(--reader-control-edge);color:var(--reader-ink)}
#reader[data-reader-theme] .dark-control[aria-pressed=true]{background:var(--reader-active);color:var(--reader-active-ink);border-color:var(--reader-active)}
#reader[data-reader-theme] .reader-tools{gap:.3rem .45rem;align-items:center}
#reader[data-reader-theme] .reader-tools .dark-control{border-color:transparent;background:transparent;color:var(--reader-ink)}
#reader[data-reader-theme] .reader-tools .dark-control[aria-pressed=true]{text-decoration-thickness:.16em}
#reader[data-reader-theme] :focus-visible{outline:3px solid var(--reader-focus);outline-offset:1px}
.reader-theme-switch{
  --theme-face-height:max(26px,1.35rem);
  position:relative;isolation:isolate;display:inline-flex;flex:none;align-items:stretch;
  min-inline-size:0;margin:0;padding:0 2px;border:0;background:transparent;color:var(--reader-ink)
}
/* The drawn track is smaller than its two non-overlapping touch targets. */
.reader-theme-switch::before{
  content:"";position:absolute;inset-inline:0;top:50%;transform:translateY(-50%);z-index:-1;
  height:calc(var(--theme-face-height) + 4px);box-sizing:border-box;border-radius:7px;
  border:1px solid var(--reader-control-edge);background:var(--reader-control-bg);pointer-events:none
}
.reader-theme-switch legend,.reader-theme-switch input{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap
}
.reader-theme-switch label{
  position:relative;display:grid;align-items:center;min-width:44px;min-height:max(44px,calc(var(--theme-face-height) + 4px));cursor:pointer
}
.reader-theme-switch span{
  min-height:var(--theme-face-height);display:grid;place-items:center;padding:.06rem .33rem;
  border-radius:4px;font:600 .75rem/1.2 var(--sans);color:var(--reader-ink)
}
.reader-theme-switch input:checked+span{background:var(--reader-active);color:var(--reader-active-ink)}
.reader-theme-switch input:focus-visible+span{outline:3px solid var(--reader-focus);outline-offset:1px}
@media(max-width:27rem) {
 #reader[data-reader-theme] .reader-tools{display:flex;flex-wrap:wrap;gap:.1rem;justify-content:center}
 #reader[data-reader-theme] .reader-tools .dark-control{padding-inline:.25rem;font-size:.76rem}
 .reader-theme-switch span{padding-inline:.24rem}
}
@media(max-height:520px) and (orientation:landscape) {
 #reader[data-reader-theme] .reader-foot{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.2rem .7rem;align-items:center}
 #reader[data-reader-theme] .reader-tools{margin:0;gap:.2rem}
 #reader[data-reader-theme] .paging{width:100%;gap:.3rem}
}
@media(forced-colors:active){
 #reader[data-reader-theme] .stage,#reader[data-reader-theme] .reader-head,#reader[data-reader-theme] .reader-foot{background-image:none}
 #reader[data-reader-theme] .reader-head::after,#reader[data-reader-theme] .paging::before,#reader[data-reader-theme] .paging::after{content:none}
 .reader-theme-switch input:checked+span{outline:2px solid Highlight;outline-offset:-3px}
}

.lunar-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 44px;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  padding: .85rem clamp(.75rem, 3vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
}
.lunar-disc { width: clamp(2.5rem, 9vw, 3rem); height: auto; }
.lunar-card h2 { margin: .12rem 0; font: normal 1.45rem/1.12 var(--serif); }
.lunar-card .eyebrow { font-size: .75rem; }
.lunar-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--claret);
  font-size: 1.15rem;
  text-decoration: none;
}

/* Give the engravings their own space beside the controls. */
.mastin {gap:.5rem}
.mastin .help {order:2}
.dock {isolation:isolate}
.orbit,.reading-shelf,.continue {
  position:relative;isolation:isolate;background:var(--card-wash),var(--wine);
}
.orbit::before {
  content:"";position:absolute;top:0;right:0;width:min(23%,6rem);height:2rem;
  border-top-right-radius:inherit;pointer-events:none;z-index:-1;
  background:var(--gilt-marks) right -34px center/200px 53px no-repeat;
}
.orbit::before {height:2.75rem}
.identity small,.site-sections__caption,.footer,.eyebrow,.place-ordinal,.new-tag,.finish-copy small {font-size:.75rem}

@media (max-width:42rem) {
  .titleblock {padding:.85rem 0 .7rem}
  .titleblock h1 {
    font-size:clamp(2.5rem,9vw,3.4rem);margin:.12rem 0 .2rem;
  }
  .titleblock p {font-size:.93rem;line-height:1.4}
  .read-modes,.new-notice,.reading-shelf,.index-search {margin-bottom:.5rem}
  #guide-tip {
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
    gap:0 .6rem;margin:.25rem 0 .45rem;padding:0 .65rem;
  }
  #guide-tip div {gap:.25rem}
  #guide-tip .text-button {min-width:44px}
  .catalog-head,.posts-topline {padding:.35rem 0}
  .filters {margin:.15rem 0 .45rem}
  .reading-shelf {padding:.58rem .8rem .15rem}
  .reading-shelf h2 {padding-bottom:.2rem}
  .resume-edition {min-height:44px;padding:.32rem .05rem}
  .index-letters button:focus-visible {outline-offset:-3px}
}
@media (forced-colors:active) {
  .mast,.dock,.orbit,.reading-shelf,.continue {background-image:none}
  .orbit::before {display:none}
}

/* Illustrated editions. The section letter is visible until its small cover loads. */
:is(.edition,#posts-list) .edition-sigil{position:relative;display:grid;flex:none;width:2.75rem;height:2.75rem;overflow:hidden}
:is(.edition,#posts-list) .has-thumbnail{border-radius:.19rem;background:var(--paper);color:transparent}
.edition-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}
.has-thumbnail>.edition-thumbnail{opacity:1}
@media(max-width:350px){:is(.edition,#posts-list) .edition-sigil{width:2.2rem;height:2.2rem}.edition .open-edition,#posts-list a[data-edition]{gap:.45rem}}

#guide-tip .text-button {min-width:44px}
.pulse-actions .text-link,.quake-body a.quake-place {
  display:inline-flex;align-items:center;min-height:44px;
}

/* Honour the browser's preferred text size and reflow when few characters fit. */
:root {font-size:100%;scrollbar-gutter:stable}
@media (max-width:17em) {
  .mastin {padding-inline:3vw;gap:4px}
  .identity {gap:6px}
  .identity span,.identity small {letter-spacing:.06em}
  main {padding-inline:5vw}
  .dock button {flex-direction:column;gap:2px;padding:.15em 0;overflow-wrap:anywhere}
  .pulse-actions {flex-wrap:wrap}
  #reader[data-reader-theme] #prev span,#reader[data-reader-theme] #next span,
  #reader[data-reader-theme] .paging::before,#reader[data-reader-theme] .paging::after {display:none}
  #reader[data-reader-theme] #finish-status {flex:1 1 0;text-align:right}
}


/* The same reader preference is available before and during an edition. */
.reader-mode-setting {
  display:flex;align-items:center;flex-wrap:wrap;gap:.3rem .65rem;
}
.reader-mode-label {font:500 .75rem/1.35 var(--sans)}
.titleblock .reader-mode-label {color:var(--muted)}
.titleblock .reader-mode-setting {
  --reader-ink:var(--ink);--reader-control-edge:#aa827c;--reader-control-bg:var(--ivory);
  --reader-active:var(--wine);--reader-active-ink:var(--cream);--reader-focus:var(--claret);
  margin-top:.15rem;
}
@media (min-width:600px) {
  .titleblock {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:1rem}
  .titleblock > :is(.eyebrow,h1,p) {grid-column:1}
  .titleblock .reader-mode-setting {grid-column:2;grid-row:2;align-self:center;margin:0}
}
#reader[data-reader-theme] .reader-head {
  display:grid;grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto auto;
  grid-template-areas:"title engraving mode close";gap:.15rem .65rem;
}
#reader[data-reader-theme] .reader-head .reader-headline {grid-area:title;min-width:0}
#reader[data-reader-theme] .reader-head::after {grid-area:engraving}
#reader[data-reader-theme] .reader-head .reader-mode-setting {grid-area:mode;min-width:0;justify-self:start}
#reader[data-reader-theme] .reader-head .reader-mode-label {color:var(--reader-hint)}
.reader-actions {grid-area:close;display:flex;align-items:center;gap:.3rem}
#reader-full {display:grid;place-items:center;width:44px;height:44px;padding:0}
@media(max-width:35rem) and (orientation:portrait), (max-width:28rem) {
  #reader[data-reader-theme] .reader-head {
    grid-template-columns:minmax(0,max-content) minmax(0,1fr) auto;
    grid-template-areas:"title engraving close" "mode mode mode";
  }
}

/* Leave room for the plate when a narrow screen uses large browser text. */
@media(max-width:17em), (max-width:28em) and (max-height:520px) and (orientation:landscape) {
  #reader[data-reader-theme] .reader-head {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"title close" "mode mode";
    padding:max(4px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left));
  }
  #reader[data-reader-theme] .reader-head::after,#reader #reader-kicker,
  #reader[data-reader-theme] .paging::before,#reader[data-reader-theme] .paging::after,
  #reader #prev span,#reader #next span {display:none}
  #reader[data-reader-theme] .reader-head .reader-mode-setting {width:100%;flex-wrap:nowrap;gap:.25rem}
  #reader[data-reader-theme] .reader-head .reader-mode-label {min-width:0}
  #reader[data-reader-theme] .dark-control {min-width:44px;padding:3px .25rem}
  #reader[data-reader-theme] .reader-foot {
    display:grid;grid-template-columns:minmax(0,1fr);gap:3px;
    max-height:46vh;max-height:46dvh;overflow-y:auto;overscroll-behavior:contain;
    padding:4px max(8px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
  }
  #reader[data-reader-theme] .reader-tools {
    display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%;gap:3px;
  }
  #reader[data-reader-theme] .reader-tools .dark-control {
    min-width:0;justify-content:center;overflow-wrap:anywhere;white-space:normal;padding:3px;
  }
  #reader[data-reader-theme] .paging {width:100%;max-width:none;gap:3px}
}


/* Dark paper, warm ink and burgundy controls for the full Pocket Edition. */
:root[data-reader-theme="dark"] {
  --ink:#f4e9db;--muted:#d2c1ba;--paper:#1b191d;--cream:#292329;--ivory:#322a30;
  --vanilla:#362c30;--blush:#452e39;--line:#806a70;--wine:#472033;
  --gold:#f2d193;--ochre:#ebc495;--claret:#efb9cb;
  --paper-wash:linear-gradient(110deg,#242025,#19181d 54%,#242027);
  --card-wash:linear-gradient(116deg,#31202b,#4c2536 65%,#36212c);
  --control-wash:linear-gradient(115deg,#58273e,#743750);
  --section-wash:linear-gradient(100deg,#342830,#292329);
}
:root[data-reader-theme="dark"] :is(.site-sections,.place-heading,.index-letter) {background:var(--section-wash)}
:root[data-reader-theme="dark"] .site-sections a[aria-current="page"] {
  background:var(--blush);box-shadow:inset 0 -3px var(--claret)
}
:root[data-reader-theme="dark"] .read-modes {background:var(--cream)}
:root[data-reader-theme="dark"] :is(.continue,.resume-edition,.primary,.read-modes a[aria-current],
  .filters [aria-pressed="true"],.saved-bar[aria-pressed="true"]) {color:var(--ink)}
:root[data-reader-theme="dark"] #filters.shelf-sections [aria-pressed="true"] {
  color:var(--ink);border-color:#b97f92
}
:root[data-reader-theme="dark"] :is(.save.saved,#posts-page) {color:var(--ink);border-color:var(--line)}
:root[data-reader-theme="dark"] :is(.save,.light,.new-notice) {border-color:var(--line)}
:root[data-reader-theme="dark"] .skip {background:var(--ivory)}
:root[data-reader-theme="dark"] .index-search input::placeholder {color:var(--muted);opacity:1}
:root[data-reader-theme="dark"] :is(.footer-eye,.titleblock h1 span) {color:var(--gold)}
:root[data-reader-theme="dark"] .titleblock .reader-mode-setting {
  --reader-ink:var(--ink);--reader-control-edge:#937b7b;--reader-control-bg:#34292f;
  --reader-active:#eed1a0;--reader-active-ink:#35232c;--reader-focus:#ffe09c;
}
:root[data-reader-theme="dark"] :focus-visible {outline-color:#ffe09c}
@media(forced-colors:active) {
  :root[data-reader-theme="dark"] :is(.site-sections,.place-heading,.index-letter,.pulse) {background-image:none}
  .reader-theme-switch::before {border-color:ButtonText;background:Canvas}
}

/* Copperplate atlas. Keep the two ends of one engraving at their native proportions. */
:root {
  --atlas-plate:url("../card/pocket-atlas.webp");
  --atlas-ink:url("../art/atlas-sepia.webp");
  --iss-plate:url("../art/iss-engraving.webp");
  --map-strength:.75;
  --muted:#392b30;
  --ochre:#4a2335;
  --field:radial-gradient(ellipse at 54% 30%,#fff9eb 5%,#faf1df 48%,#e6cda5 100%);
  --frame:linear-gradient(110deg,#32101ef2 0%,#621b37c9 25%,#7d2949ba 49%,#4a1029a8 73%,#2b0a17b3);
  --dock-frame:linear-gradient(100deg,#2d0b1bd9 0%,#53152ed6 34%,#661e39d1 55%,#461028c4 83%,#260914de);
  --aux-sheet:linear-gradient(115deg,#f6e6c9 0%,#fff5e1 40%,#efd9b5 100%);
  --record:linear-gradient(120deg,#fff8e9,#f6ead2 68%,#ead5b1);
  --engraved-edge:#b59765;
}
:root[data-reader-theme="dark"] {
  --atlas-ink:url("../art/atlas-gold.webp");
  --map-strength:.66;
  --muted:#f7e9da;
  --ochre:#ffe3be;
  --field:radial-gradient(ellipse at 47% 37%,#201e21 3%,#221d20 55%,#302321 100%);
  --frame:linear-gradient(110deg,#250a15ef 0%,#49112bd6 26%,#701d43c4 53%,#390c24b0 83%,#250811bc);
  --dock-frame:linear-gradient(100deg,#230813dc 0%,#3c0d24d6 31%,#5c1834d1 53%,#3d0d27c9 82%,#200710e3);
  --aux-sheet:linear-gradient(115deg,#31232b 0%,#302730 46%,#3a2930 100%);
  --record:linear-gradient(120deg,#2d2429,#292329 68%,#33282c);
  --engraved-edge:#8c7660;
}

body {
  position:relative;
  isolation:isolate;
  background:var(--field);
}
body::before,body::after {
  content:"";
  position:fixed;
  pointer-events:none;
  z-index:-1;
  width:clamp(25rem,55vw,71rem);
  height:clamp(26rem,79vh,57rem);
  /* The ink is part of the image. CSS masks only soften the edges. */
  background:transparent var(--atlas-ink) no-repeat;
  background-size:auto 100%;
  opacity:var(--map-strength);
  -webkit-mask-image:var(--map-x),var(--map-y);
  -webkit-mask-composite:source-in;
  mask-image:var(--map-x),var(--map-y);
  mask-composite:intersect;
}
body::before {
  left:0;
  bottom:0;
  --map-x:linear-gradient(90deg,#000 14%,#000e 41%,#0005 79%,transparent);
  --map-y:linear-gradient(180deg,transparent 0%,#0009 18%,#000 42%,#000 100%);
  background-position:left bottom;
}
body::after {
  right:0;
  top:0;
  --map-x:linear-gradient(270deg,#000 22%,#000e 45%,#0007 76%,transparent);
  --map-y:linear-gradient(180deg,#000 0%,#000 39%,#0008 66%,transparent 100%);
  background-position:right top;
}
@media (max-width:47rem) {
  body::before,body::after {
    width:min(100%,32rem);
    height:clamp(16rem,45vh,26rem);
  }
  body::before {
    bottom:1.6rem;
    --map-x:linear-gradient(90deg,#000d 0%,#0006 49%,#0002 75%,transparent 100%);
  }
  body::after {
    top:4.2rem;
    --map-x:linear-gradient(270deg,#000 0%,#0008 46%,#0003 68%,transparent 96%);
  }
}
@media(max-height:30rem) and (orientation:landscape) {
  body::before,body::after {height:75vh;opacity:calc(var(--map-strength) * .84)}
}

.titleblock h1 span {color:#66431b}
.footer-copyright .diamond {color:var(--claret)}

.mast {
  background:var(--frame),var(--atlas-plate) center 29% / max(100%,58rem) auto no-repeat,#4c1129;
  border-bottom:1px solid #cfab70;
  box-shadow:inset 0 1px #ffdbaf2e,inset 0 -2px #32101cbf,0 2px 9px #21101924;
}
.dock {
  background:var(--dock-frame),var(--atlas-plate) center 71% / max(100%,44rem) auto no-repeat,#390d20;
  border-top-color:#c19763;
  box-shadow:inset 0 1px #f7cfa23b,inset 0 -2px #250a1bc9,0 -2px 10px #2f172626;
}
.dock button[aria-current=page] {
  background:linear-gradient(180deg,#ffdd9f25,transparent 86%);
}
.site-sections,:root[data-reader-theme="dark"] .site-sections {
  background:var(--aux-sheet);
  box-shadow:inset 0 1px #fff3,0 1px 4px #32162518;
}
.read-modes a[aria-current] {
  background:linear-gradient(150deg,#792c48 0%,#5c1c35 52%,#461228);
  box-shadow:inset 0 1px #f3c39b47,inset 0 -1px #330f21;
}
:root[data-reader-theme="dark"] .read-modes a[aria-current] {
  background:linear-gradient(150deg,#82394e,#62233b 53%,#49192d);
}
.reading-shelf,.continue {
  background:linear-gradient(100deg,#421125f0 0%,#56172ed9 48%,#52182fab 73%,#3e0c1e84),
    var(--atlas-plate) right 42% / max(100%,38rem) auto no-repeat,#54152d;
  box-shadow:inset 0 1px #f9dba22b;
}

/* The observation plate faces the text, with its station and limb kept in view. */
.orbit {
  overflow:hidden;
  border:1px solid #895436;
  background:radial-gradient(ellipse at 58% 83%,#561d2d,#300c19 73%);
  box-shadow:inset 0 0 0 2px #f0bc6c20,0 4px 14px #36162620;
}
.orbit::before {
  inset:0;
  width:auto;
  height:auto;
  border-radius:inherit;
  background:linear-gradient(90deg,#340c1cec,#350c1bc2 28%,#360d1a35 54%,transparent 78%),
    var(--iss-plate) center 53% / cover no-repeat;
}
.orbit-grid {display:block}
.orbit-grid > div {width:52%;max-width:23rem}
.orbit .eyebrow {color:#f6d08f}
.orbit-grid p,.orbit .fine {color:#fff6e9}
.orbit-grid p {text-shadow:0 1px 2px #2e0918}
.orbit .gold {
  color:#37202a;
  background:linear-gradient(150deg,#f8e5b4,#e7bb71);
  box-shadow:inset 0 1px #fff4da88,0 2px 5px #23081459;
}
@media (max-width:38rem) {
  .orbit::before {
    inset:0 -.6rem auto auto;
    width:calc(100% + 1.8rem);
    aspect-ratio:2/1;
    background:linear-gradient(180deg,transparent 42%,#330b1930 60%,#330b19b5 85%,#330b19 100%),
      linear-gradient(90deg,#330b19e6,#330b19ae 34%,#360d192b 62%,transparent 80%),
      var(--iss-plate) center / 100% 100% no-repeat;
    -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 68%,transparent 100%);
    mask-image:linear-gradient(180deg,#000 0%,#000 68%,transparent 100%);
  }
  .orbit-grid > div {width:65%}
  .orbit-grid p {max-width:16.5rem}
}
@media(max-width:20em) {
  .orbit-grid > div {width:78%}
  .orbit::before {width:100%}
}

.lunar-card,.pulse,:root[data-reader-theme="dark"] .pulse,.sheet,#install-panel {
  position:relative;
  isolation:isolate;
  background:var(--record);
  border-color:var(--engraved-edge);
}
.lunar-card,.pulse {box-shadow:inset 0 1px #dcb88733}
.lunar-card::before,.pulse::before,.sheet::before {
  content:"";
  position:absolute;
  inset:0 0 auto auto;
  z-index:-1;
  width:min(64%,20rem);
  height:100%;
  border-radius:inherit;
  pointer-events:none;
  background:transparent var(--atlas-ink) right top / auto 165% no-repeat;
  opacity:.44;
  --corner-fade:linear-gradient(270deg,#000,transparent);
  -webkit-mask-image:var(--corner-fade);
  mask-image:var(--corner-fade);
}
.pulse::before {
  width:min(58%,22rem);
  height:6.5rem;
  --corner-fade:linear-gradient(240deg,#000 15%,transparent 73%);
  background-position:left 12% bottom;
  background-size:210% auto;
}
.sheet::before {
  width:min(70%,19rem);
  height:80%;
  opacity:.4;
  --corner-fade:linear-gradient(225deg,#000,transparent 62%);
  background-size:auto 115%;
}
.lunar-link {background:var(--record)}
.place-heading,.index-letter,:root[data-reader-theme="dark"] :is(.place-heading,.index-letter) {background:var(--aux-sheet)}

#reader[data-reader-theme] .stage {
  isolation:isolate;
  background:var(--field);
}
#reader[data-reader-theme] .stage::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:transparent var(--atlas-ink) center / max(100vw,30rem) auto no-repeat;
  opacity:var(--map-strength);
  --plate-fade:linear-gradient(180deg,transparent,#000 16%,#000 82%,transparent);
  -webkit-mask:var(--plate-fade) center / 100% max(33.3vw,10rem) no-repeat;
  mask:var(--plate-fade) center / 100% max(33.3vw,10rem) no-repeat;
}
#reader[data-reader-theme] :is(.reader-head,.reader-foot) {
  position:relative;
  isolation:isolate;
  background:var(--aux-sheet);
  border-color:var(--engraved-edge);
  box-shadow:inset 0 1px #fdcd9d25;
}
#reader[data-reader-theme="dark"] :is(.reader-head,.reader-foot) {
  background:linear-gradient(110deg,#32101e,#531b32 47%,#2c1020);
}
#reader[data-reader-theme] :is(.reader-head,.reader-foot)::before {
  content:"";
  position:absolute;
  pointer-events:none;
  inset:0;
  z-index:-1;
  background:transparent var(--atlas-ink) center 34% / max(100%,32rem) auto no-repeat;
  opacity:.45;
  --bar-fade:linear-gradient(90deg,transparent 1%,#000 53%,transparent);
  -webkit-mask-image:var(--bar-fade);
  mask-image:var(--bar-fade);
}
#reader[data-reader-theme] .reader-foot::before {background-position:center 80%}
#reader[data-reader-theme] .reader-head::after,#reader[data-reader-theme] .paging::before,#reader[data-reader-theme] .paging::after {background:none}
@media (forced-colors:active) {
  body,.mast,.dock,.orbit,.reading-shelf,.continue,.sheet,#install-panel,.lunar-card,.pulse,
  :root[data-reader-theme] :is(.site-sections,.place-heading,.index-letter,.pulse,.read-modes a[aria-current]),
  #reader[data-reader-theme] :is(.stage,.reader-head,.reader-foot) {background-image:none}
  body::before,body::after,.orbit::before,.lunar-card::before,.pulse::before,.sheet::before,
  #reader[data-reader-theme] :is(.stage,.reader-head,.reader-foot)::before {content:none}
}

.footer-brand:focus-visible {outline:2px solid currentColor;outline-offset:4px;border-radius:.2rem}
.footer-brand:hover .footer-initials {text-decoration:underline;text-underline-offset:.15em}

/* Lunar portrait and the Earth Pulse instrument engraving. */
.lunar-portrait {
  width:clamp(4.2rem,15vw,6.1rem);aspect-ratio:1;position:relative;
  border:1px solid #937449;border-radius:50%;overflow:hidden;
  background:radial-gradient(ellipse at 35% 22%,#263340,#080e19 78%);
  box-shadow:inset 0 0 0 2px #d8b88166,0 1px 5px #1a10273b;
}
.lunar-portrait .lunar-disc,.lunar-portrait canvas {position:absolute;inset:6%;width:88%;height:88%;display:block}
.seismic-head {display:flex;gap:clamp(.45rem,2.8vw,1.5rem);align-items:center;justify-content:space-between}
.seismic-head>div {min-width:0}
.seismic-engraving {
  flex:0 0 auto;width:clamp(4.9rem,21vw,10rem);aspect-ratio:1.58;
  background:url("../art/seismograph.webp") center / contain no-repeat;
}
@media(max-width:24rem){.lunar-card {gap:.5rem;padding-inline:.7rem}.lunar-card h2 {font-size:1.25rem}}

/* Burgundy observation plates echo the ISS card in both reading themes. */
@media not all and (forced-colors:active) {
  #lunar-card, .pulse[data-today-tool="pulse"], :root[data-reader-theme="dark"] .pulse[data-today-tool="pulse"] {
    --ink:#fff4df;
    --muted:#faeada;
    --ochre:#ffdd9b;
    --claret:#ffe2aa;
    --line:#ba8e6b85;
    color:var(--ink);
    border-color:#a47a53;
    background:radial-gradient(ellipse at 98% 12%,#942f3e6b,transparent 62%),
      linear-gradient(116deg,#310c1c 0%,#461022 39%,#641a31 77%,#481226);
    box-shadow:inset 0 1px #efc99030;
  }
  #lunar-card .eyebrow {color:#fff2d4}
  #lunar-card .lunar-link, .pulse[data-today-tool="pulse"] #quake-retry {
    color:#3a1423;
    background:linear-gradient(155deg,#fff0c8,#e9c784);
    border-color:#e4c18b;
  }
  #lunar-card :focus-visible, .pulse[data-today-tool="pulse"] :focus-visible {
    outline:2px solid #ffe9b6;
    outline-offset:3px;
  }
  #lunar-card::before,
  .pulse[data-today-tool="pulse"]::before {
    inset:0; width:100%; height:100%;
    background-color:transparent;
    background-repeat:no-repeat;
    -webkit-mask:none; mask:none;
  }
  #lunar-card::before {
    background-image:url("../art/moon-engraving.webp");
    background-position:right 53%; background-size:auto 178%;
    opacity:.61;
  }
  .pulse[data-today-tool="pulse"]::before {
    background-image:url("../art/seismic-engraving.webp");
    background-position:right 77%; background-size:min(100%,39rem) auto;
    opacity:.43;
  }
}

.today-signature{font-family:"SJGSM Signature",Georgia,serif;font-weight:400}

/* Leave room for fixed and sticky controls during keyboard or native scrolling. */
:root {
  --pocket-bottom-clearance: calc(5.725rem + env(safe-area-inset-bottom));
  scroll-padding-bottom: calc(var(--pocket-dock-height, 3.7rem + env(safe-area-inset-bottom)) + 8px);
  scroll-padding-top: calc(var(--pocket-tabs-height, 2.8rem) + 8px);
}
.posts-topline h2 { scroll-margin-top: 0; }

/* The tabs and content fill the viewport after the masthead scrolls away. */
.pocket-pages {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.pocket-pages main {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100%;
}
/* Keep the footer above the dock within the space left by the current page. */
.footer-space {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 0 auto;
  margin-top: 2.875rem;
}
.footer {
  position: sticky;
  bottom: var(--pocket-bottom-clearance);
}

/* The two original membership plates share the public shell's gold edges and burgundy palette. */
.members-cards {
  display: grid;
  gap: clamp(.85rem, 2.5vw, 1.35rem);
  width: min(100%, 34rem);
  margin-inline: auto;
  padding-top: clamp(1.15rem, 3vw, 2rem);
}
.members-entry,
.members-account {
  position: relative;
  overflow: hidden;
  border: 1px solid #a98552;
  border-radius: .85rem;
  box-shadow: 0 4px 14px #28101826;
}
.members-entry {
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(.55rem, 2.6vw, 1.2rem) 5%;
  color: #ffe8b4;
  background: radial-gradient(ellipse at 50% 78%, #6b2a35, transparent 68%),
    linear-gradient(115deg, #301522, #4d1c2c 52%, #2d1421);
}
.members-entry img {
  display: block;
  width: min(100%, 25rem);
  height: auto;
  aspect-ratio: 900 / 460;
  object-fit: contain;
  text-align: center;
}
.members-entry:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.members-account {
  --button-width: 42%;
  --button-height: max(44px, 19.7%);
  --button-middle: 67.6%;
  --button-inset: 6.3%;
  aspect-ratio: 1061 / 577;
  background: #312319;
  color: #ffe5a0;
  isolation: isolate;
}
.members-account h2,
.members-free {
  position: absolute;
  inset-inline: 0;
  margin: 0;
  text-align: center;
  pointer-events: none;
}
.members-account h2 { top: 38%; font: bold clamp(1.25rem, 5vw, 2.15rem)/1.1 var(--serif); }
.members-free { top: 84%; font: clamp(.8rem, 2.5vw, 1.1rem)/1.2 var(--serif); }
.members-account a { color: inherit; text-decoration: none; }
.members-join { position: absolute; inset: 0; z-index: 0; }
.members-signin, .members-join span, .members-action-ring {
  position: absolute;
  top: var(--button-middle);
  width: var(--button-width);
  height: var(--button-height);
  transform: translateY(-50%);
  border-radius: .65rem;
}
.members-signin, .members-join span {
  display: grid;
  place-items: center;
  border: 1px solid #ddbc76;
  font: bold clamp(1rem, 3.9vw, 1.65rem)/1.1 var(--serif);
}
.members-signin { left: var(--button-inset); z-index: 1; background: #182e60; }
.members-join span { right: var(--button-inset); background: #493425; }
/* Native text and links underneath remain usable if the card illustration is unavailable. */
.members-account-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.members-action-ring { z-index: 3; display: none; pointer-events: none; }
.members-signin:focus-visible ~ .members-action-ring,
.members-join:focus-visible ~ .members-action-ring {
  display: block;
  outline: 3px solid #fff9e1;
  outline-offset: 2px;
  box-shadow: 0 0 0 7px #29151c;
}
.members-signin:focus-visible ~ .members-action-ring { left: var(--button-inset); }
.members-join:focus-visible ~ .members-action-ring { right: var(--button-inset); }
#members-status { color: var(--ink); font-size: .94rem; }
@media (hover:hover) {
  .members-signin:hover ~ .members-action-ring,
  .members-join:hover ~ .members-action-ring {
    display: block;
    border: 2px solid #ffe6a0;
    background: #ffe4a318;
  }
  .members-signin:hover ~ .members-action-ring { left: var(--button-inset); }
  .members-join:hover ~ .members-action-ring { right: var(--button-inset); }
}
@media (forced-colors:active) {
  .members-account-art { display: none; }
  .members-action-ring { forced-color-adjust: none; }
  .members-signin:focus-visible ~ .members-action-ring,
  .members-join:focus-visible ~ .members-action-ring { outline-color: Highlight; box-shadow: none; }
}

/* Fit the first post or featured edition below a compact, keyboard-accessible masthead. */
@media (max-width: 599.98px) {
  .identity small { letter-spacing: .1em; line-height: 1.5; }
  .mastin {
    padding-top: calc(.4rem + env(safe-area-inset-top));
    padding-bottom: .4rem;
  }

  .titleblock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 .5rem;
    align-items: center;
    padding: .4rem 0;
  }
  .titleblock > .eyebrow { grid-column: 1; }
  .titleblock h1 {
    grid-column: 1;
    margin: 0;
    font-size: clamp(1.85rem, 7vw, 2.35rem);
  }
  #view-read .titleblock > p, .titleblock .reader-mode-label { display: none; }
  .titleblock > p {
    grid-column: 1 / -1;
    margin-top: .25rem;
  }
  .titleblock .reader-mode-setting {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
  }
  .read-modes { margin-bottom: .3rem; }
  .posts-topline { align-items: center; padding: .15rem 0; }
  .posts-topline .eyebrow { display: none; }
  .posts-topline h2 { margin: .1rem 0; font-size: 1.4rem; }
  #posts-status { margin: .25rem 0; line-height: 1.35; }
}

/* Continue reading. The button includes both the title and its progress. */
.resume-copy {flex:1;gap:.22rem}
.resume-action {flex:none;color:#fff2e4}
.resume-label {display:none}
.resume-progress {
  appearance:none;display:block;width:min(100%,14rem);height:4px;margin:.15rem 0;
  border:0;border-radius:4px;overflow:hidden;background:#916e77;color:#f2d493;
}
.resume-progress::-webkit-progress-bar {background:#916e77;border-radius:4px}
.resume-progress::-webkit-progress-value {background:#f2d493;border-radius:4px}
.resume-progress::-moz-progress-bar {background:#f2d493;border-radius:4px}
.resume-edition:first-child {min-height:5rem;padding-block:.75rem}
.resume-edition:first-child .resume-title {font-size:clamp(1.35rem,4.5vw,1.8rem)}
.resume-edition:first-child .resume-action {
  display:inline-flex;min-height:44px;align-items:center;padding:0 .8rem;
  border:1px solid #f2d49399;border-radius:.35rem;color:#fff2e4;
  font:650 .875rem/1.2 var(--sans);
}
.resume-edition:first-child .resume-label {display:inline}
.resume-edition:first-child .resume-arrow {display:none}
@media (forced-colors:active) {
  .resume-progress {appearance:auto;height:.5rem}
  .resume-edition:first-child .resume-action {border-color:ButtonText;color:ButtonText}
}

@media (max-width: 22rem) {
  #filters.shelf-sections { column-gap: 1px; }
  .site-sections__caption,
  .titleblock > .eyebrow i { display: none; }
}
/* Crop the editorial cover from the masthead, as on the printed front page. */
.editorial-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 1.25rem;
  overflow: hidden;
  border: 1px solid #987348;
  border-radius: .7rem;
  background: var(--card-wash), #53172e;
  color: #fff6e9;
}
.editorial-feature__art {
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gilt-marks) center/20rem auto, #361424;
}
.editorial-feature__art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.editorial-feature__copy {
  align-self: center;
  min-width: 0;
  padding: clamp(.9rem, 3vw, 1.75rem);
  overflow-wrap: anywhere;
}
.editorial-feature__kicker {
  color: #fff2e4;
  font: 700 .75rem/1.4 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.editorial-feature__copy h2 {
  margin: .3rem 0;
  color: #fff6e9;
  font: normal clamp(1.65rem, 5vw, 2.65rem)/1.08 var(--serif);
}
.editorial-feature__description {color: #f7eadb; font-size: .95rem; line-height: 1.45;}
.editorial-feature__action {
  min-width: 4.5rem;
  min-height: 44px;
  margin: .65rem .45rem 0 0;
  padding: .4rem 1.15rem;
  border: 1px solid #efce92;
  border-radius: .35rem;
  background: #fff2e3;
  color: #40172a;
  font: 700 .94rem/1.2 var(--sans);
}
.editorial-feature__action:focus-visible {outline: 3px solid #fff6e9; outline-offset: 3px;}
.editorial-feature__action:disabled {opacity: 1; background: #dacbbb;}
.editorial-feature__offline {color: #f7eadb; font-size: .8rem;}
@media (min-width: 600px) {
  .editorial-feature:has(.editorial-feature__art:not([hidden])) {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }
  .editorial-feature__art {max-height: 24rem;}
}

/* The signature's initials centre the 31px medallion in the first footer column. */
@media (min-width: 601px) {
  .footer-note {
    justify-self: start;
    margin-inline-start: calc(2.5rem + 15.5px + .65rem);
    text-align: start;
  }
}

/* The reader's contact sheet uses small, complete reproductions of each plate. */
#reader .plate-counter {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .1rem .5rem;
  min-width: 0;
  font: 500 .8rem/1.25 var(--sans);
  color: var(--reader-hint);
  text-align: center;
}
#reader[data-reader-theme] .plate-counter #page-count {order: 0; flex: 0 1 auto}
#reader[data-reader-theme] #all-plates {min-height: 44px; min-width: 44px; padding-inline: .55rem}
#reader[data-reader-theme] .reader-tools #share-plate {min-height: 44px; min-width: 44px}
#reader[data-reader-theme] .paging:has(#all-plates:not([hidden])) {
  container: reader-paging / inline-size;
  display: grid;
  grid-template-columns: minmax(44px, 1fr) minmax(0, max-content) minmax(44px, 1fr);
  width: 100%;
}
.paging:has(#all-plates:not([hidden]))::before,
.paging:has(#all-plates:not([hidden]))::after {display: none}
.paging:has(#all-plates:not([hidden])) #prev {grid-area: 1 / 1; justify-self: start}
.paging:has(#all-plates:not([hidden])) .plate-counter {grid-area: 1 / 2}
.paging:has(#all-plates:not([hidden])) :is(#next, #finish-status) {grid-area: 1 / 3; justify-self: end; max-width: 100%}
@container reader-paging (max-width: 19rem) {
  #reader[data-reader-theme] :is(#prev, #next) {min-width: 44px}
  #reader[data-reader-theme] :is(#prev, #next) span {display: none}
  #reader[data-reader-theme] #finish-status {overflow-wrap: anywhere}
}
@media (max-height: 520px) and (max-width: 42rem) and (orientation: landscape) {
  #reader[data-reader-theme] .reader-foot:has(#all-plates:not([hidden])) {grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)}
  #reader[data-reader-theme] .reader-tools .dark-control {font-size: .78rem; padding-inline: .25rem}
}
#reader .reader-shell {container: reader-layout / inline-size}
#share-feedback {
  position: absolute;
  z-index: 2;
  inset-inline-start: 50%;
  bottom: calc(100% + .4rem);
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 1.5rem);
  padding: .48rem .85rem;
  border: 1px solid var(--reader-rule);
  border-radius: .4rem;
  background: var(--ivory);
  box-shadow: 0 .15rem .45rem #21121b38;
  color: var(--ink);
  font: 650 .85rem/1.35 var(--sans);
  text-align: center;
  overflow-wrap: anywhere;
  pointer-events: none;
}
#share-feedback:empty {padding: 0; border: 0; box-shadow: none}
@container reader-layout (max-width: 17em) {
  #reader[data-reader-theme] .reader-head {max-height: 32dvh; overflow-y: auto}
  #reader[data-reader-theme] .reader-foot {max-height: 42dvh; overflow-y: auto}
  #reader #share-feedback {position: fixed; bottom: 43dvh}
}
#plate-index {
  --index-padding: clamp(.9rem, 3.5vw, 2rem);
  width: min(100%, 62rem);
  height: min(100%, 54rem);
  max-height: 100dvh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--paper-wash), var(--paper);
  color: var(--ink);
}
#plate-index[open] {display: grid; grid-template-rows: auto minmax(0, 1fr)}
#plate-index[open]:has(#plate-index-status:not([hidden])) {grid-template-rows: auto auto minmax(0, 1fr)}
#plate-index-status {
  margin: 0;
  padding: .6rem var(--index-padding) 0;
  color: var(--muted);
  font: 500 .84rem/1.4 var(--sans);
}
.plate-index-placeholder {color: var(--muted); font: 400 2rem/1 var(--serif)}
.plate-index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1rem;
  padding: max(.8rem, env(safe-area-inset-top)) max(var(--index-padding), env(safe-area-inset-right)) .75rem max(var(--index-padding), env(safe-area-inset-left));
  border-block-end: 1px solid var(--line);
}
.plate-index-head > div {min-width: 0}
.plate-index-title {
  margin: 0;
  color: var(--ink);
  font: 400 clamp(1.4rem, 4vw, 2.4rem)/1.1 var(--serif);
  overflow-wrap: anywhere;
}
#plate-index-title {
  margin: .22rem 0 0;
  color: var(--claret);
  font: italic 400 1.05rem/1.25 var(--serif);
}
#plate-index-close {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  max-inline-size: 42%;
  padding: .38rem .75rem;
  border: 1px solid var(--line);
  border-radius: .32rem;
  background: var(--ivory);
  color: var(--ink);
  font: 650 .8rem/1.2 var(--sans);
  overflow-wrap: anywhere;
}
.plate-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  align-items: start;
  gap: 1.1rem clamp(.65rem, 2vw, 1.25rem);
  margin: 0;
  padding: 1rem max(var(--index-padding), env(safe-area-inset-right)) max(1.35rem, env(safe-area-inset-bottom)) max(var(--index-padding), env(safe-area-inset-left));
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: .7rem;
}
.plate-index-grid > li {min-width: 0}
.plate-index-card {
  display: grid;
  gap: .35rem;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 .84rem/1.35 var(--sans);
  text-align: start;
}
.plate-index-image,.kiosk-cover {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
}
.plate-index-image > * {grid-area: 1 / 1}
.plate-index-image img,.kiosk-cover img {width: 100%; height: 100%; min-width: 0; min-height: 0; display: block; object-fit: contain}
.plate-index-caption {overflow-wrap: anywhere}
.plate-index-card[aria-current="true"] .plate-index-image {
  outline: 3px solid var(--claret);
  outline-offset: -3px;
}
.plate-index-card[aria-current="true"] .plate-index-caption {font-weight: 750; color: var(--claret)}
#plate-index :is(.plate-index-card, #plate-index-close):focus-visible {
  outline: 3px solid var(--claret);
  outline-offset: 3px;
}
@media (hover: hover) {
  .plate-index-card:hover .plate-index-caption {text-decoration: underline; text-underline-offset: .16em}
  #plate-index-close:hover {background: var(--blush)}
}
@media (min-width: 601px) {
  .plate-index-grid {grid-template-columns: repeat(3, minmax(0, 1fr))}
}
@media (min-width: 58rem) {
  .plate-index-grid {grid-template-columns: repeat(4, minmax(0, 1fr))}
}
@media (max-width: 40rem), (max-height: 33rem) {
  #plate-index {height: 100vh; height: 100dvh; border: 0; border-radius: 0}
}
@media (forced-colors: active) {
  .plate-index-card[aria-current="true"] .plate-index-image {outline-color: Highlight}
}

/* Local display type. The adjusted faces keep the line box and wrapping close
   to the printed headings as the single Latin font arrives. */
@font-face {
  font-family: "EB Garamond";
  src: url("../v1229/eb-garamond-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Pocket Georgia";
  src: local("Georgia");
  font-weight: 500;
  size-adjust: 90%;
  ascent-override: 111.89%;
  descent-override: 33.11%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Pocket Times";
  src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif");
  font-weight: 500;
  size-adjust: 100.85%;
  ascent-override: 99.85%;
  descent-override: 29.55%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Pocket Noto Serif";
  src: local("Noto Serif");
  font-weight: 500;
  size-adjust: 88%;
  ascent-override: 114.43%;
  descent-override: 33.86%;
  line-gap-override: 0%;
}
.titleblock h1, #posts-list .post-title, .edition-name, #feature-title, #reader-title {
  font-family: "EB Garamond", "Pocket Georgia", "Pocket Times", "Pocket Noto Serif",
               Georgia, "Times New Roman", "SJGSM Signature", serif;
  font-weight: 500;
  text-wrap: balance;
}
#posts-list .post-title { letter-spacing: -.01em; }
main p, #reader p { text-wrap: pretty; }

/* Full first-plate covers in the two reading lists, including narrow phones. */
:is(.edition, #posts-list) .edition-sigil.shelf-poster {
  width: 52px;
  height: var(--poster-height, 92px);
  border: 1px solid #a48961;
  border-radius: 3px;
  box-shadow: 0 1px 3px #301d1926;
  background: var(--paper);
}

/* Keep the engraved folio at its original strength in the desktop margins. */
body:has(#view-members[hidden])::before,
body:has(#view-members[hidden])::after {opacity: .5}
@media (min-width: 49rem) {
  body:has(#view-members[hidden])::before,
  body:has(#view-members[hidden])::after {
    opacity: calc(var(--map-strength) * var(--map-height-factor, 1));
    --map-margin: max(0px, calc(50vw - 24.5rem));
    --map-reading-alpha: calc(.5 / var(--map-strength) / var(--map-height-factor, 1));
    --map-column: linear-gradient(var(--map-inward), black var(--map-margin),
      rgb(0 0 0 / var(--map-reading-alpha)) calc(var(--map-margin) + 1.75rem));
    -webkit-mask-image: var(--map-x), var(--map-y), var(--map-column);
    mask-image: var(--map-x), var(--map-y), var(--map-column);
  }
  body::before {--map-inward: to right}
  body::after {--map-inward: to left}
}
@media (min-width: 49rem) and (max-height: 30rem) and (orientation: landscape) {
  body {--map-height-factor: .84}
}

/* The three library selectors use one ink, paper and brass rule. */
@media (forced-colors: none) {
  :root[data-reader-theme] :is(.site-sections a[aria-current="page"],
    .read-modes a[aria-current="page"], #filters.shelf-sections [aria-pressed="true"],
    .kiosk-layout [aria-pressed="true"], .kiosk-filters [aria-pressed="true"]) {
    color: #fff5e5;
    background: #591b34;
    border-color: #591b34;
    box-shadow: inset 0 -3px #e1ba7b;
  }
}

@keyframes pocket-content-in {from {opacity: .74} to {opacity: 1}}
@keyframes pocket-art-in {from {opacity: 0} to {opacity: 1}}
@media (prefers-reduced-motion: no-preference) {
  /* Keep the masthead, section titles and dock steady while content changes. */
  #view-read > :is(#posts-directory, #editorial-feature, #continue-wrap),
  #view-today > #today-tools,
  #view-explore > :is(.index-search, #index-letters, .catalog-head, #index-list),
  #posts-list.section-arrived {
    animation: pocket-content-in 170ms ease-out;
  }
  #feature-art img.cover-loaded {animation: pocket-art-in 170ms ease-out}
  .edition-thumbnail {transition: opacity 170ms ease-out}

  :root.opening-edition {view-transition-name: none}
  #reader.reader-arriving {view-transition-name: pocket-reader}
  :root.opening-edition::view-transition {pointer-events: none}
  :root.opening-edition::view-transition-group(pocket-reader) {animation-duration: 170ms}
  :root.opening-edition::view-transition-new(pocket-reader) {animation: pocket-art-in 170ms ease-out both}
}

/* Reserve the post covers and page controls before the listing request completes. */
#posts-list .post-placeholder {
  position: relative;
  height: calc(93px + 1.1rem);
  padding: .55rem .1rem;
  overflow: hidden;
}
.post-placeholder::before, .post-placeholder::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 3px;
  background: currentColor;
  opacity: .09;
}
.post-placeholder::before {
  inset-inline-start: .1rem;
  width: 52px;
  height: calc(100% - 1.1rem);
  max-height: 92px;
  border: 1px solid currentColor;
}
.post-placeholder::after {
  inset-inline-start: calc(52px + .9rem);
  width: min(50%, 18rem);
  height: .7rem;
}
#posts-directory:has(.posts-loading) .posts-pager { min-height: 44px; }
/* During replacement the end of the page is unknown. Show its signature with
   the final list and pager, rather than flashing it part way through a short page. */
@media (scripting: enabled) {
  #posts-directory:has(.posts-loading) .posts-recovery,
  main:has(#view-read:not([hidden]) #posts-directory:not([hidden]) .posts-loading) > .footer-space {
    display: none;
  }
}
@media (scripting: none) {
  #posts-list.posts-loading { display: none; }
}
@keyframes pocket-paper-glow { to { opacity: .16; } }
@media (prefers-reduced-motion: no-preference) {
  .post-placeholder::after { animation: pocket-paper-glow 1.2s ease-in-out infinite alternate; }
}

.kiosk-layout {align-self:center;flex-wrap:nowrap;gap:0}
.kiosk-layout button {padding:0;border-radius:6px;font-size:1.25rem}
.kiosk-filters {flex-wrap:nowrap;margin-bottom:1rem}
.kiosk-filters button {padding:.25rem;flex:1;font-size:.78rem}
.kiosk-filters [data-count] {font-weight:500;font-variant-numeric:tabular-nums}
.kiosk-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}
@media (min-width:600px) {
  .kiosk-grid {grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:28px 26px}
}
.kiosk-grid .empty {grid-column:1/-1}
.kiosk-card {position:relative;min-width:0;align-self:start}
.kiosk-open {display:block;color:inherit;text-decoration:none;border-radius:7px}
.kiosk-cover {
  position:relative;border-color:#a48961;border-radius:7px;color:var(--ochre);
  box-shadow:0 3px 9px #21111b2b;font:normal 2rem var(--serif);
}
.kiosk-cover img {position:absolute;inset:0;object-position:top center;background:var(--ivory);transition:none}
.kiosk-open .edition-name {display:block;margin-top:.55rem;line-height:1.07;text-wrap:pretty}
.kiosk-open:hover .edition-name {text-decoration:underline}
.kiosk-meta {display:flex;align-items:center;min-height:44px;padding-right:47px;font:.77rem/1.3 var(--sans);color:var(--muted)}
.kiosk-save {position:absolute;bottom:0;right:0;width:44px;height:44px;padding:0;border-radius:50%;font-size:1rem}
.kiosk-save[aria-busy=true] {font-size:.75rem}
.kiosk-new,.kiosk-progress,.kiosk-seal {position:absolute;pointer-events:none}
.kiosk-new {top:6px;left:6px;padding:.2rem .55rem;border-radius:4px;background:#edc77d;color:#372319;font:700 .75rem/1.2 var(--sans)}
.kiosk-progress {inset:auto 0 0;height:5px;background:linear-gradient(to right,#edc77d var(--read),#372332 var(--read))}
.kiosk-seal {
  right:6px;bottom:6px;display:grid;place-items:center;width:46px;height:46px;
  transform:rotate(-12deg);border:3px double #d3a76a;border-radius:48% 51% 46% 52%;
  background:radial-gradient(at 38% 28%,#87344c,#591b34 68%,#371524);color:#ffe0a0;
  box-shadow:0 2px 4px #230c1c80,inset 0 0 0 2px #651e35;
}
.kiosk-seal svg {width:26px;height:20px;fill:currentColor}
@media (prefers-reduced-motion:no-preference) {
  img.pocket-reveal {animation:pocket-reveal 350ms ease-out}
  .kiosk-seal.stamp {animation:pocket-stamp 300ms ease-out}
  @keyframes pocket-reveal {from {filter:sepia(.65) contrast(.85);opacity:.6} to {filter:none;opacity:1}}
  @keyframes pocket-stamp {from {transform:rotate(-23deg) scale(1.4)}}
}
@media (forced-colors:active) {
  :is(.kiosk-layout,.kiosk-filters) [aria-pressed=true] {outline:2px solid Highlight;outline-offset:-3px}
  .kiosk-progress {background:Highlight;width:var(--read)}
}

.mast {position:relative;isolation:isolate}
.pocket-season-head,.pocket-season-foot {position:absolute;inset:0;pointer-events:none;z-index:-1}
.pocket-season-head {max-width:56rem;margin-inline:auto;overflow:hidden}
.pocket-season-foot {grid-area:2/1/3/-1}

/* The plate and controls share the safe area in native and in-app full screen. */
#reader.immersive .reader-shell {
  position:relative;display:block;width:100%;height:100%;background:var(--reader-stage);
  --reader-insets:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
#reader.immersive :is(.reader-head,.reader-foot) {display:none}
#reader.immersive #stage, #immersive-tools {position:absolute;inset:var(--reader-insets)}
#reader.immersive #stage {overflow:hidden;touch-action:none;user-select:none}
#reader.immersive #plate {-webkit-user-drag:none;transform-origin:center}
#immersive-tools {z-index:2;pointer-events:none;color:#fff6e5;font:650 .875rem/1.3 var(--sans)}
.immersive-bar {display:flex;align-items:center;gap:.5rem;padding:0 .4rem 0 1rem;background:#291a21e8}
#immersive-page {margin-right:auto}
#immersive-tools :is(a,button) {pointer-events:auto;display:grid;place-items:center;min-width:44px;min-height:44px;color:inherit;border:0;background:transparent}
#immersive-tools button {font:normal 1.6rem/1 var(--sans)}
#immersive-tools > button {position:absolute;top:50%;transform:translateY(-50%);margin:0 .35rem;background:#291a21;border-radius:50%;opacity:.45}
#immersive-next {right:0}
#immersive-tools > button:is(:focus-visible,:hover) {opacity:1}
#reader.immersive .reader-shell:focus {outline:0}

/* Reader's passport */
.titleblock {container:page-title / inline-size}
@container page-title (max-width:17em) {
  .titleblock > :is(.eyebrow,h1,p,.reader-mode-setting) {grid-column:1/-1}
  .titleblock .reader-mode-setting {grid-row:4}
}
.posts-topline {flex-wrap:wrap}
.dock button {padding-inline:2px;gap:clamp(3px,1vw,9px)}
.dock svg {flex:none}
.dock>div {container:dock / inline-size}
@container dock (max-width:23.75em) {
  .dock button {flex-direction:column;min-height:58px;gap:2px;font-size:max(.75rem,12px)}
}
.fav-button {
  display:grid;place-items:center;width:44px;height:44px;padding:0;
  border:0;background:transparent;color:#591b34;
}
.fav-button span {
  display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  border:1px solid #ac8d69;background:#fff5e3;font:700 21px/1 var(--sans);
}
.fav-button[aria-pressed=true] span {background:#591b34;color:#ffe4aa}
:is(.kiosk-card,.passport-fav)>.fav-button {position:absolute;top:0;right:0}
.edition:has(>.fav-button) {grid-template-columns:minmax(0,1fr) 44px auto;column-gap:.3rem}
#reader[data-reader-theme] .reader-head {
  grid-template-columns:minmax(0,1fr) auto 44px;
  grid-template-areas:"title close close" "mode mode favourite";row-gap:8px;
  padding-block:max(5.2px,env(safe-area-inset-top)) 5.2px;
}
#reader[data-reader-theme] .reader-head::after {display:none}
#reader-fav {grid-area:favourite;justify-self:end}
#reader-fav span {width:100%;height:100%;border-radius:6px}

.passport-shortcuts,.passport-head,#passport-sections,.passport-row,.passport-row a {
  display:flex;align-items:center;gap:.5rem;
}
.passport-shortcuts {flex-wrap:wrap;margin:.2rem 0 .85rem}
.passport-shortcuts a {
  display:inline-flex;align-items:center;white-space:pre;min-height:44px;padding:0 .8rem;
  border:1px solid #ac8d69;border-radius:2rem;color:var(--claret);
  font:650 .85rem var(--sans);text-decoration:none;
}
.passport-card {
  --ghost:#6b5a57;--sheet:#fcf3e1;
  background:var(--sheet);border:1px solid #b39159;border-radius:.8rem;
  box-shadow:inset 0 0 0 4px var(--sheet),inset 0 0 0 5px #b391596e;
  padding:clamp(.8rem,3vw,1.4rem);
}
:root[data-reader-theme=dark] .passport-card {--ghost:#b9a7a2;--sheet:#2a1d21}
.passport-head,#passport-sections {justify-content:space-between}
.passport-head {flex-wrap:wrap}
#passport-since,.passport-card small,.passport-row small {font:.76rem/1.3 var(--sans)}
#passport-sections {margin:.7rem 0;gap:2px}
.stamp-section,.stamp-place {
  display:grid;place-content:center;justify-items:center;min-width:0;border:2px dashed currentColor;
  background:transparent;color:var(--ghost);text-decoration:none;text-align:center;
}
.stamp-section {
  width:clamp(44px,calc(15vw - 4px),56px);aspect-ratio:1;border-radius:50%;padding:0;
  font:700 1.6rem/1 var(--serif);
}
.stamp-section svg {width:1.08em;height:1em;fill:currentColor}
.stamp-section.earned {background:#591b34;color:#f1d190;border:4px double #e8bf7e}
.passport-counts,#passport-places {display:grid;text-align:center}
.passport-counts {
  grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #b391597d;
  padding:.65rem 0;font-size:.76rem;
}
.passport-counts strong {display:block;font:normal 1.25rem var(--serif);color:var(--claret)}
#passport-places {grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem .7rem;margin:.85rem .2rem .2rem}
.stamp-place {
  position:relative;min-height:80px;border-radius:.45rem;padding:.6rem .45rem;
  line-height:1.2;overflow-wrap:anywhere;
}
.stamp-place strong,.stamp-place time {text-transform:uppercase;letter-spacing:.05em}
.stamp-place strong {font-size:.95rem}
.stamp-place time,.stamp-place em,.stamp-place i {font-size:.76rem}
.stamp-place i {position:absolute;right:3px;top:1px}
.stamp-place i svg {width:1em;height:1em}
.stamp-place em {font-family:var(--serif)}
.stamp-place.earned {border:4px double;color:var(--ink);transform:rotate(var(--tilt))}
:root[data-reader-theme=dark] .stamp-place.earned {color:var(--ink-dark)}
@media (prefers-reduced-motion:no-preference) {
  .stamp-new {animation:passport-stamp .35s ease-out}
  @keyframes passport-stamp {from {transform:scale(1.12) rotate(-6deg);opacity:.5}}
}
.passport-block {margin:1.3rem 0}
.passport-block h2 {font-size:1.55rem}
#fav-count {font:650 .83rem var(--sans);color:var(--claret)}
.passport-block .text-button {min-width:44px;color:var(--claret)}
#passport-fav-list {display:flex;gap:.65rem;overflow-x:auto;padding:5px 3px}
#passport-fav-list.expanded {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.passport-fav {position:relative;min-width:0;flex:0 0 96px}
.passport-open {color:inherit;text-decoration:none;overflow-wrap:anywhere}
.passport-fav a {display:block;font:600 .8rem/1.35 var(--sans)}
#view-passport .edition-sigil {display:grid;position:relative;overflow:hidden;border-radius:.35rem;background:var(--ivory)}
.passport-fav .edition-sigil {width:100%;height:auto;aspect-ratio:9/16;margin-bottom:.35rem}
.passport-row {justify-content:space-between;border-bottom:1px solid var(--line);padding:.4rem 0}
.passport-row a {flex:1;min-width:0}
.passport-row .edition-sigil {width:40px;height:71px}
.passport-text {display:grid;gap:.2rem}
.passport-text strong {font:normal 1.12rem/1.15 var(--serif)}
#passport-entries h3 {margin-top:1rem}

@media (min-width:35.01rem), (min-width:28.01rem) and (orientation:landscape) {
  #reader[data-reader-theme] .reader-head {
    grid-template-columns:minmax(0,1fr) auto auto 44px;grid-template-areas:"title mode close favourite";
    column-gap:8px;padding-block:max(.5rem,env(safe-area-inset-top)) .5rem;
  }
}
#info{position:fixed}
#info .sheet-inner{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;max-height:calc(100dvh - 2rem)}
#info-copy{overflow:auto;overscroll-behavior:contain}
#info-close{justify-self:start}
@container dock (width > 23.75em) {
  .dock button {flex:2 1 auto;padding-inline:0}
  .dock>div::before,.dock>div::after {content:"";flex:1}
}

/* ===== 1.2.30 «Observatory» and Passport+ ===== */

/* Candle: the dark edition lit by a candle. It keeps every dark rule (data-reader-theme="dark") and warms the palette. */
:root[data-reader-tone="candle"] {
  --ink:#f6e5c6;--muted:#ecd6b0;--paper:#1c140c;--cream:#2b1e12;--ivory:#352617;
  --vanilla:#3b2a19;--blush:#4b301c;--line:#8c6c49;--wine:#4b2614;
  --gold:#f5cb7c;--ochre:#ffd9a6;--claret:#f6bf8f;
  --paper-wash:linear-gradient(110deg,#251a0f,#1b130b 54%,#271a0f);
  --card-wash:linear-gradient(116deg,#34210f,#4e2d14 65%,#39230f);
  --control-wash:linear-gradient(115deg,#5c3117,#7a4421);
  --section-wash:linear-gradient(100deg,#36261a,#2b1e12);
  --field:radial-gradient(ellipse at 47% 37%,#24180d 3%,#22170c 55%,#33220f 100%);
  --frame:linear-gradient(110deg,#231206ef 0%,#4a2511d6 26%,#6e3a17c4 53%,#3a1d0bb0 83%,#231106bc);
  --dock-frame:linear-gradient(100deg,#211106dc 0%,#3c1e0bd6 31%,#5a3014d1 53%,#3d1f0cc9 82%,#1f1006e3);
  --aux-sheet:linear-gradient(115deg,#33241a 0%,#302419 46%,#3b2a1c 100%);
  --record:linear-gradient(120deg,#2f2217,#2b1e12 68%,#34261a);
  --engraved-edge:#937552;
}
:root[data-reader-tone="candle"],#reader[data-reader-tone="candle"] {
  --reader-ink:#F6E5C6; --reader-hint:#EDCD9C; --reader-stage:#1D150D;
  --reader-control-bg:#4F2F17; --reader-control-edge:#BA9870;
  --reader-active:#F2CC8A; --reader-active-ink:#2F1E10; --reader-focus:#FFDA8C;
}
:root[data-reader-tone="candle"] .mast {background-color:#3a1d0b}
:root[data-reader-tone="candle"] .dock {background-color:#2c1708}
/* Three modes make the switch wider (92 → 140 px). On phones the section line keeps the whole width (one line at 320 px)
   and the switch sits beside the title, as on wider screens, centred on the title line without making the block taller. */
@media (max-width:599.98px) {
  .titleblock > .eyebrow {grid-column:1/-1}
  .titleblock .reader-mode-setting {grid-row:2;margin-block:-7px}
}
@container page-title (max-width:17em) {
  .titleblock .reader-mode-setting {grid-row:4;margin-block:0}
}

/* The real sky over Madrid: a glow along the top of the header and, after sunset, stars and the Moon's true phase. */
.mastin {position:relative}
.mast {background:var(--sky-glow,none),var(--frame),var(--atlas-plate) center 29% / max(100%,58rem) auto no-repeat,#4c1129}
:root[data-sky="day"] {--sky-glow:linear-gradient(180deg,#a9cbe63d,#a9cbe612 34%,transparent 58%)}
:root[data-sky="golden"] {--sky-glow:linear-gradient(180deg,#f6a75a4d,#e3786a26 36%,transparent 62%)}
:root[data-sky="twilight"] {--sky-glow:linear-gradient(180deg,#5b4fa04d,#a2628226 40%,transparent 66%)}
:root[data-sky="night"] {
  --sky-glow:radial-gradient(1.4px 1.4px at 8% 22%,#fff6e0d0 98%,transparent),radial-gradient(1px 1px at 19% 12%,#fff6e0a8 98%,transparent),
    radial-gradient(1.2px 1.2px at 31% 28%,#fff6e0b8 98%,transparent),radial-gradient(1px 1px at 46% 10%,#fff6e0a0 98%,transparent),
    radial-gradient(1.4px 1.4px at 58% 24%,#fff6e0c8 98%,transparent),radial-gradient(1px 1px at 71% 14%,#fff6e0a0 98%,transparent),
    radial-gradient(1.2px 1.2px at 84% 30%,#fff6e0b0 98%,transparent),radial-gradient(1px 1px at 93% 9%,#fff6e09a 98%,transparent),
    linear-gradient(180deg,#0e1a4a55,#0e1a4a1c 38%,transparent 64%);
}
.pocket-sky {position:absolute;top:50%;right:calc(44px + 1.3rem + 10px);transform:translateY(-50%);width:16px;height:16px;pointer-events:none;display:none}
:root:is([data-sky="night"],[data-sky="twilight"]) .pocket-sky[data-moon="lit"] {display:block}
.sky-moon {display:block;width:16px;height:16px;filter:drop-shadow(0 0 3px #ffe7b366)}
.sky-moon-dark {fill:#2a1c2c;stroke:#e7cf9c80;stroke-width:.6}
.sky-moon-lit {fill:#f6e7c4}
@media (max-width:359px) {.pocket-sky {display:none!important}}
@media (forced-colors:active) {.mast {--sky-glow:none} .pocket-sky {display:none!important}}

/* Today at a glance */
.today-glance {margin:-.35rem 0 1.15rem;padding:.75rem .9rem .55rem;border:1px solid var(--line);border-radius:.7rem;background:var(--record)}
.glance-head {display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.glance-head .eyebrow {margin:0}
.pin-open {display:inline-flex;align-items:center;gap:.35rem;min-height:44px;min-width:44px;padding:.3rem .75rem;border:1px solid var(--line);border-radius:100px;background:var(--ivory);font:650 .8rem/1.2 var(--sans);color:var(--claret)}
.pin-open .pin-count {color:var(--muted);font-weight:600}
.glance {list-style:none;margin:.35rem 0 0;padding:0;display:grid;gap:.15rem}
.glance li {display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.3rem 0;border-top:1px solid var(--line)}
.glance li:first-child {border-top:0}
.glance-icon {flex:0 0 28px;height:28px;display:grid;place-items:center;border-radius:50%;border:1px solid #c19a5f;color:var(--gold);background:var(--wine);font:700 15px/1 var(--serif)}
.glance-sun::before {content:"";width:11px;height:11px;border-radius:50%;background:#f3c96f;box-shadow:0 0 0 3px #f3c96f40}
.glance-moon::before {content:"";width:12px;height:12px;border-radius:50%;box-shadow:inset -4px 0 0 #f4e3bd;background:transparent}
.glance-sky::before {content:"✦";font-size:13px}
.glance-text {display:grid;gap:.1rem;min-width:0}
.glance-text strong {font:normal 1.05rem/1.2 var(--serif)}
.glance-text small {font:500 .75rem/1.35 var(--sans);color:var(--muted)}
@media (min-width:600px) {.glance {grid-template-columns:repeat(3,minmax(0,1fr));column-gap:1rem} .glance li {border-top:0}}

/* Three pinned tools: they move to the top of Today; a small gold label marks them */
#today-tools [data-today-pinned] {position:relative}
.pin-badge {position:absolute;top:.45rem;right:.5rem;z-index:3;pointer-events:none;padding:.05rem .45rem;border-radius:100px;border:1px solid #d8b16d;background:#2d0f1ce0;color:#ffe6ae;font:650 .75rem/1.5 var(--sans);letter-spacing:.04em}
.pin-list {list-style:none;margin:.6rem 0 1rem;padding:0;display:grid;gap:.35rem;max-height:min(55dvh,26rem);overflow:auto;overscroll-behavior:contain}
.pin-toggle {width:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:.8rem;text-align:left;padding:.45rem .75rem;border:1px solid var(--line);border-radius:.55rem;background:var(--ivory);color:var(--ink)}
.pin-toggle span {font:normal 1.05rem/1.2 var(--serif)}
.pin-toggle small {flex:none;font:650 .75rem/1.3 var(--sans);color:var(--muted)}
.pin-toggle[aria-pressed="true"] {background:var(--control-wash),var(--wine);border-color:var(--wine);color:var(--cream)}
.pin-toggle[aria-pressed="true"] small {color:#ffe2a8}
#pin-sheet .sheet-inner {display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;max-height:calc(100dvh - 2rem)}

/* Passport+: hearts on posts and in Explore; pinned tools; a copy for another phone */
#posts-list li:has(> .fav-button) {display:flex;align-items:center;gap:.25rem}
#posts-list li:has(> .fav-button) > a {flex:1 1 auto;min-width:0}
#posts-list li > .fav-button {flex:none}
.index-item {display:flex;align-items:center;gap:.25rem}
.index-item > .index-row {flex:1 1 auto;min-width:0}
.index-item > .fav-button {flex:none}
.passport-fav .edition-sigil.web-sigil {display:grid;place-items:center;font:normal 1.6rem var(--serif);color:var(--ochre);border:1px solid #bba775}
.passport-tool-list {display:grid;gap:.35rem}
.passport-tool {display:flex;align-items:center;gap:.7rem;min-height:52px;padding:.35rem .2rem;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
.passport-tool .tool-sigil,.passport-row .tool-sigil {flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid #c19a5f;background:var(--wine);color:var(--gold);font:700 1rem/1 var(--serif)}
.passport-tool strong {font:normal 1.1rem/1.2 var(--serif)}
.passport-row .tool-sigil {height:40px;margin-block:15px}
.backup-actions {display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0 .3rem}
.file-pick {position:relative;display:inline-grid;place-items:center;cursor:pointer}
.file-pick input {position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;font-size:0}
.file-pick:focus-within {outline:3px solid var(--claret);outline-offset:2px}
#backup-status:empty {display:none}

/* 1.2.31.1 · At a glance: antique-gold Horus engraving with lotus ornaments, inspired by the supplied papyrus.
   The transparent 2:1 artwork stays at the right/bottom and is capped at the normal panel height (13.875rem).
   A small mobile offset keeps the eye on the right; the ornamental edge may crop while the wedjat stays visible.
   The stronger wine-coloured veil protects the left-hand text without flattening the engraved relief.
   Same treatment in Light, Dark and Candle. Background layers cannot intercept input or keyboard focus.
   The place selector, compact glyphs, link targets and panel geometry are unchanged from 1.2.31. */
#view-today #today-glance {
  --glance-top:linear-gradient(180deg,#300c1959,transparent 45%);
  --glance-shade:linear-gradient(90deg,#300c19e0,#300c19c7 44%,#300c198c 72%,#300c1973);
  --glance-eye:right bottom;
  border-color:#895436;color:#fff8e6;background-color:#300c19;
  background-image:var(--glance-top),var(--glance-shade),url("../art/glance-horus-engraving.webp"),radial-gradient(ellipse 75% 120% at 80% 50%,#58202f,#300c19 72%);
  background-position:center,center,var(--glance-eye),center;
  background-size:100% 100%,100% 100%,auto min(100%,13.875rem),100% 100%;
  background-repeat:no-repeat;
  background-blend-mode:normal,normal,normal,normal;
  box-shadow:inset 0 0 0 2px #f0bc6c20,0 4px 14px #36162620}
#view-today #today-glance .glance-head .eyebrow {color:#f6d08f;text-shadow:0 0 1px #250814,0 0 2px #250814,0 0 5px #250814,0 1px 3px #250814}
#view-today #today-glance .glance-text strong {color:#fff8e6;text-shadow:0 0 1px #250814,0 0 2px #250814,0 0 5px #250814,0 1px 3px #250814}
#view-today #today-glance .glance-text small {color:#fff6e9;text-shadow:0 0 1px #250814,0 0 2px #250814,0 0 5px #250814,0 1px 3px #250814}
#view-today #today-glance .glance li {border-top-color:#f0bc6c35}
#view-today #today-glance #pin-open {background:#340c1ce8;border-color:#d1a568;color:#fff2d8;box-shadow:inset 0 1px #f8db9b20}
#view-today #today-glance #pin-open .pin-count {color:#ebcc86}
#view-today #today-glance #pin-open:focus-visible {outline:3px solid #f2cc8c;outline-offset:3px}
/* The heading names the place; the name is the button that changes it. */
.glance-head h2 {display:flex;flex-wrap:wrap;align-items:center;column-gap:.3em;min-width:0}
.glance-sep {letter-spacing:0}
.glance-place {display:inline-flex;align-items:center;gap:.3em;min-height:44px;min-width:44px;margin:0;padding:0;border:0;background:none;
  font:inherit;letter-spacing:inherit;text-transform:inherit;line-height:inherit;color:inherit;text-shadow:inherit;
  text-decoration:underline dotted 1px;text-underline-offset:.32em}
.glance-chevron {flex:none;width:.42em;height:.42em;margin-top:-.25em;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
#view-today #today-glance .glance-place:focus-visible {outline:3px solid #f2cc8c;outline-offset:1px;border-radius:.3rem}
/* Each row is the link to its tool; one column at every width. */
.glance li {padding:0}
@media (min-width:600px) {.glance {grid-template-columns:none;column-gap:0} .glance li {border-top:1px solid var(--line)} .glance li:first-child {border-top:0}}
.glance-link {flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:.7rem;min-height:44px;padding:.3rem 0;color:inherit;text-decoration:none;border-radius:.4rem}
.glance-link[href] .glance-text strong {display:flex;align-items:center;gap:.5em}
.glance-link[href] .glance-text strong::after {content:"";flex:none;width:.34em;height:.34em;margin-top:.08em;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.glance-hint {position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
#view-today #today-glance .glance-link[href] .glance-text strong::after {border-color:#f6d08f;filter:drop-shadow(0 0 1px #250814) drop-shadow(0 0 2px #250814)}
#view-today #today-glance .glance-link:focus-visible {outline:3px solid #f2cc8c;outline-offset:2px}
@media (hover:hover) {.glance-link[href]:hover strong {text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}}
#today-tools [data-glance-found] {outline:3px solid #d8b16d;outline-offset:3px}
@media (prefers-reduced-motion:no-preference) {#today-tools [data-glance-found] {animation:glance-found 1.8s ease-out both}}
@keyframes glance-found {0%,45% {outline-color:#e7c27a} 100% {outline-color:#e7c27a00}}
/* The place sheet. */
/* 1.2.33.2: a single scrollable column; the former six-row grid collapsed the fifth
   child (Use Home) onto Use my location, obscuring touch targets and the city list. */
#place-sheet {max-height:calc(100dvh - 1rem)}
#place-sheet .sheet-inner {
  display:flex;flex-direction:column;align-items:stretch;
  max-height:calc(100dvh - 1rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y:auto;overscroll-behavior:contain;
  padding:clamp(.85rem,3.4vw,1.4rem)
}
#place-sheet .place-slots {margin:.6rem 0 .7rem;gap:.4rem}
#place-sheet .place-slots button {min-width:0;padding:.5rem .35rem;flex:1 1 0;white-space:normal;overflow-wrap:anywhere}
#place-sheet #place-current-choice {margin:.25rem 0 .45rem;overflow-wrap:anywhere;font-size:.875rem}
#place-sheet #place-use {align-self:stretch;width:100%;margin:.2rem 0 .5rem;min-height:44px}
#place-sheet .place-here {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:.25rem;min-height:64px;min-width:0;margin:.2rem 0 .4rem;
  padding:.65rem .8rem;white-space:normal
}
#place-sheet .place-here span {max-width:100%;font-size:1.05rem;line-height:1.25;overflow-wrap:anywhere}
#place-sheet .place-here small {display:block;flex:0 1 auto;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:.75rem;line-height:1.4}
#place-sheet #place-status {margin:.15rem 0 .65rem;font-size:.875rem;overflow-wrap:anywhere}
#place-sheet #place-status:empty {display:none}
#place-sheet label[for="place-search"] {margin:.4rem 0 .25rem;display:block}
#place-sheet #place-search {flex:none}
#place-sheet #place-list {
  flex:0 1 auto;min-height:0;max-height:min(29dvh,13rem);
  margin:.45rem 0 .65rem;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain
}
#place-sheet #place-list .pin-toggle {
  display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;
  gap:.12rem;min-width:0;min-height:54px;padding:.55rem .75rem
}
#place-sheet #place-list .pin-toggle span,#place-sheet #place-list .pin-toggle small {
  min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal
}
#place-sheet #place-list .pin-toggle small {flex:auto}
#place-sheet #place-done {
  position:sticky;bottom:0;z-index:1;flex:none;
  width:100%;min-height:48px;margin:.4rem 0 0;box-shadow:0 0 0 .35rem var(--ivory)
}
@media(max-width:350px) {#place-sheet .place-slots button {font-size:.75rem}}
@media (max-width:599.98px) {#view-today #today-glance {--glance-shade:linear-gradient(90deg,#300c19e0,#300c19c7 44%,#300c19a6 72%,#300c1994);--glance-eye:calc(100% + 2rem) bottom}}
@media (prefers-contrast:more) {#view-today #today-glance {--glance-top:linear-gradient(180deg,#300c1959,transparent 45%);--glance-shade:linear-gradient(90deg,#300c19f2,#300c19e8 48%,#300c19d9)}}
@media (prefers-contrast:more) and (max-width:599.98px) {#view-today #today-glance {--glance-shade:linear-gradient(90deg,#300c19f2,#300c19eb 48%,#300c19e0)}}
@media (forced-colors:active) {
  #view-today #today-glance {background:Canvas!important;color:CanvasText;border-color:CanvasText;box-shadow:none}
  #view-today #today-glance .glance-head .eyebrow,#view-today #today-glance .glance-text strong,#view-today #today-glance .glance-text small {color:CanvasText;text-shadow:none}
  #view-today #today-glance .glance-link[href] .glance-text strong {color:LinkText}
  #view-today #today-glance .glance-link[href] .glance-text strong::after {border-color:LinkText;filter:none}
  #view-today #today-glance .glance-place {color:ButtonText;text-shadow:none}
  #view-today #today-glance #pin-open {background:ButtonFace!important;color:ButtonText;border-color:ButtonText;box-shadow:none}
  #view-today #today-glance #pin-open .pin-count {color:ButtonText}
  #view-today #today-glance #pin-open:focus-visible,#view-today #today-glance .glance-link:focus-visible,#view-today #today-glance .glance-place:focus-visible {outline-color:Highlight}
  #today-tools [data-glance-found] {outline-color:Highlight;animation:none}}

/* Shared controls use existing editorial art; text keeps a quiet readable panel. */
.update-panel { display:flex; gap:1rem; align-items:center; justify-content:space-between; padding:1rem 1.25rem; margin:1rem 0; border:1px solid var(--sjgsm-border); border-radius:var(--sjgsm-radius-card); color:var(--sjgsm-fg); background:linear-gradient(90deg,var(--sjgsm-surface) 65%,transparent),url(../art/atlas-gold.webp) right center/auto 220% no-repeat,var(--sjgsm-surface); }
.update-panel[hidden] { display:none; }.update-panel h2{margin:0;font-size:1.375rem}.update-panel p{margin:.4rem 0 0;font:400 .875rem/1.5 var(--sans)}.update-actions{display:flex;flex-wrap:wrap;gap:.5rem;flex:none}.update-actions button{min-height:44px}.place-slots{display:flex;gap:.4rem;flex-wrap:wrap;margin:1rem 0}.place-slots button{min-height:44px;font-size:.875rem;flex:1}.place-slots [aria-pressed=true]{background:var(--sjgsm-accent);color:var(--sjgsm-surface)}:root[data-reader-theme=dark] .place-slots [aria-pressed=true]{color:#251018}.place-custom{margin:1rem 0}.place-custom summary{padding:.75rem 0;font-size:1rem;min-height:44px}.place-custom label{display:grid;gap:.35rem;margin:.8rem 0;font-size:.875rem}.place-custom input,#place-search{width:100%;min-width:0;box-sizing:border-box;font:400 1rem/1.5 var(--sans);padding:.6rem;border:1px solid var(--sjgsm-border);border-radius:.5rem;background:var(--sjgsm-surface);color:var(--sjgsm-fg);min-height:44px}.place-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}#place-list{max-height:38vh;overflow:auto}#place-current-choice{overflow-wrap:anywhere}#place-use{margin-bottom:.75rem}#release-notes-list{padding-left:1.35rem;font-size:1rem;line-height:1.6}#release-notes-list li{margin:.8rem 0}.update-panel button:focus-visible,.place-slots button:focus-visible,.place-custom summary:focus-visible{outline:3px solid var(--sjgsm-accent);outline-offset:3px}
@media(max-width:600px){.update-panel{align-items:flex-start;flex-direction:column}.update-actions{width:100%}.update-actions button{flex:1}.place-coordinates{grid-template-columns:1fr}.place-slots button{min-width:5rem}}
@media(forced-colors:active){.update-panel{background:Canvas;color:CanvasText;border-color:CanvasText}.place-slots [aria-pressed=true]{background:Highlight;color:HighlightText}}
:root { font-size: 100% }

/* 1.2.33.3: keep the compact Pin n/3 action aligned with At a glance on phones.
   Only this card's header is affected. Very long place names wrap without overlapping the Pin. */
@media (max-width: 480px) {
  #view-today #today-glance .glance-head {
    display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:.375rem; align-items:start;
  }
  #view-today #today-glance .glance-head .eyebrow {
    min-width:0; font-size:.75rem; letter-spacing:.03em; column-gap:.13em;
  }
  #view-today #today-glance #pin-open {
    justify-self:end; flex:none; white-space:nowrap; padding-inline:.5rem;
  }
}

/* 1.2.33.8 — local portrait atlas behind the original launch medallion. */
#sjgsm-launch-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #52152c url("launch-atlas.webp") center / 100% 100% no-repeat;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: sjgsm-launch-dissolve 2500ms linear both;
}
#sjgsm-launch-splash[hidden] { display: none !important; }
#sjgsm-launch-splash img {
  display: block;
  width: 45vw;
  max-width: 240px;
  max-height: 45vh;
  height: auto;
  object-fit: contain;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
@keyframes sjgsm-launch-dissolve {
  0%, 40% { opacity: 1; visibility: visible; }
  40% { animation-timing-function: ease-out; }
  99.999% { visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  #sjgsm-launch-splash { display: none !important; animation: none; }
}

@media (min-aspect-ratio: 1/1) {
  #sjgsm-launch-splash { background-size: auto 100%; }
}
