/* Registry of the Society: the console's olive LCD, square Game Boy frames, bordeaux for the main action.
   The whole place holds in the LCD with no scrolling: one line per letter and per work, measured pages (society.js). */
.society-page [hidden] {display:none!important}
body#chimera-console.society-page #society-main {
  --society-row:40px;--society-gap:5px;
  display:flex;flex-direction:column;gap:8px;min-height:0;color:var(--lcd-ink);font:13px/1.45 var(--lcd-font);
}
body#chimera-console.society-page #society-main :is(h1,h2,h3,p,ol,ul) {margin:0}
body#chimera-console.society-page #society-main>* {flex:none}

/* Title, and the page's own links: in a row where there is room, folded under one key on a narrow screen. */
.society-page .society-top {position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px}
.society-page .society-title {min-width:0}
body#chimera-console.society-page .society-title .account-eyebrow {display:none;margin:0 0 3px;color:var(--lcd-muted);font:600 10px/1.4 var(--lcd-font);letter-spacing:.1em;text-transform:uppercase}
body#chimera-console.society-page .society-title h1 {color:var(--lcd-ink);font:800 clamp(17px,2.6vw,23px)/1.1 var(--lcd-font);letter-spacing:.04em;text-transform:uppercase}
/* Words set straight on the scenery keep a halo of the LCD's paper. */
.society-page :is(.society-title,.society-intro,.society-tools a) {text-shadow:0 0 3px var(--lcd-paper),0 0 3px var(--lcd-paper),0 0 6px var(--lcd-paper)}
body#chimera-console.society-page #society-main .society-tools-toggle {
  display:grid;place-items:center;flex:none;width:44px;height:38px;min-height:0;padding:0;border:2px solid var(--lcd-ink);
  background:var(--lcd-light);color:var(--lcd-ink);box-shadow:2px 2px 0 var(--lcd-line);font:800 20px/1 var(--lcd-font);
}
body#chimera-console.society-page #society-main .society-tools-toggle[aria-expanded=true] {background:var(--lcd-ink);color:var(--lcd-light)}
.society-page .society-tools {
  display:none;position:absolute;top:calc(100% + 4px);right:0;z-index:6;flex-direction:column;align-items:stretch;gap:2px;
  min-width:200px;padding:6px 12px;border:2px solid var(--lcd-ink);background:var(--lcd-light);box-shadow:3px 3px 0 var(--lcd-line);
}
.society-page .society-tools[data-open] {display:flex}
.society-page .society-tools a {display:flex;align-items:center;min-height:44px;color:var(--lcd-ink);font-weight:700;font-size:12px}
.society-page .society-language {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;color:var(--lcd-ink);font-size:12px}
.society-page .society-language select {min-height:40px;padding:4px;border:2px solid var(--lcd-ink);border-radius:0;background:var(--lcd-light);color:var(--lcd-ink);font:inherit}
body#chimera-console.society-page #society-main #society-refresh {min-height:40px;margin:4px 0;padding:4px 12px;border:2px solid var(--lcd-ink);background:var(--lcd-paper);color:var(--lcd-ink);box-shadow:2px 2px 0 var(--lcd-line);font:700 12px/1.2 var(--lcd-font)}
body#chimera-console.society-page #society-main #society-refresh:hover:not(:disabled) {background:var(--lcd-shade)}
.society-page .society-intro {display:none;font-size:12px;line-height:1.4}
body#chimera-console.society-page #society-main :is(#society-error,#society-status) {padding:6px 10px;font-size:12px;line-height:1.4}
body#chimera-console.society-page #society-main #society-retry {align-self:flex-start}
body#chimera-console.society-page #society-main>.account-panel {padding:12px}

/* The place under its title: a grid whose last row, the lines of the drawers, takes what is left of the LCD. */
.society-page #society-content {display:grid;flex:1 1 auto!important;min-height:0}
.society-page .society-side {display:contents}
body#chimera-console.society-page #society-admission {grid-row:1;grid-column:1/-1;margin:0 0 6px;padding:10px 12px;font-size:12px;line-height:1.45}
body#chimera-console.society-page #society-admission h2 {margin-bottom:4px;color:var(--lcd-ink);font:800 13px/1.3 var(--lcd-font);letter-spacing:.04em;text-transform:uppercase}
body#chimera-console.society-page #society-admission .society-link-button {margin-top:8px}
/* One pane at a time (narrow or low screen): the next step, the Renown, the two headings as tabs, the open pane's drawers, its lines. */
@media (max-width:699.98px),(max-height:520.98px) {
  .society-page #society-content {grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:repeat(5,auto) minmax(0,1fr);column-gap:6px}
  .society-page .society-pane {display:contents}
  .society-page .society-next {grid-row:2;grid-column:1/-1;margin-bottom:6px}
  body#chimera-console.society-page .society-renown {grid-row:3;grid-column:1/-1;margin-bottom:6px}
  .society-page .society-pane>h2 {grid-row:4;margin-bottom:4px}
  .society-page .society-pane>.society-folders {grid-row:5;grid-column:1/-1;margin-bottom:6px}
  .society-page .society-pane>.society-pane-body {grid-row:6;grid-column:1/-1}
  .society-page #society-journey>h2 {grid-column:1}
  .society-page #society-registry>h2 {grid-column:2}
  .society-page #society-content:not([data-panes=both]) .society-pane>h2 {grid-column:1/-1}
  .society-page #society-content[data-pane=mail] #society-registry>:is(.society-folders,.society-pane-body),
  .society-page #society-content[data-pane=works] #society-journey>:is(.society-folders,.society-pane-body) {display:none}
  /* An open letter or work takes the LCD. */
  .society-page #society-content[data-reading] :is(.society-side,.society-pane>h2,.society-pane>.society-folders) {display:none}
  .society-page #society-content[data-reading] .society-pane-body {grid-row:1/-1}
}

/* What to do next: the main action of the place, in bordeaux. */
body#chimera-console.society-page a.society-next {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;box-sizing:border-box;min-height:44px;padding:6px 12px;
  border:2px solid var(--lcd-accent-dark);background:var(--lcd-accent);color:var(--lcd-on-accent);box-shadow:2px 2px 0 var(--lcd-accent-dark);text-decoration:none;
}
body#chimera-console.society-page a.society-next:hover {background:var(--lcd-accent-dark)}
.society-page .society-next-copy {display:grid;gap:1px;min-width:0}
.society-page .society-next small {font:700 10px/1.3 var(--lcd-font);letter-spacing:.1em;text-transform:uppercase;opacity:.86}
.society-page .society-next strong {font:800 14px/1.25 var(--lcd-font);overflow-wrap:anywhere}
.society-page .society-next-text {font:400 11px/1.35 var(--lcd-font)}
.society-page .society-next>b {font-size:20px;line-height:1}
/* The chain of a new account: one mark per step, taken, now, to come. */
.society-page .society-next-steps {display:flex;gap:3px;margin:5px 0 1px}
.society-page .society-next-steps i {flex:1 1 0;height:6px;border:1px solid var(--lcd-on-accent);opacity:.5}
.society-page .society-next-steps i[data-state=taken] {background:var(--lcd-on-accent);opacity:1}
.society-page .society-next-steps i[data-state=now] {background:var(--lcd-on-accent);opacity:1;height:10px;margin-top:-2px}
body#chimera-console.society-page .society-next progress {height:7px;margin:4px 0 1px;border:1px solid var(--lcd-on-accent);background:var(--lcd-accent-dark);accent-color:var(--lcd-on-accent)}
.society-page .society-next progress::-webkit-progress-bar {background:var(--lcd-accent-dark)}
.society-page .society-next progress::-webkit-progress-value {background:var(--lcd-on-accent)}
.society-page .society-next progress::-moz-progress-bar {background:var(--lcd-on-accent)}

/* The Renown on a line; its sources unfold under it. */
body#chimera-console.society-page .society-renown {display:flex;flex-direction:column;justify-content:center;margin:0;padding:0;border:2px solid var(--lcd-ink);background:var(--lcd-shade);box-shadow:2px 2px 0 var(--lcd-line)}
body#chimera-console.society-page .society-renown>summary {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:'total rank more' 'next next next';align-items:center;gap:2px 12px;
  box-sizing:border-box;min-height:44px;margin:0;padding:5px 10px;color:var(--lcd-ink);font-size:12px;cursor:pointer;list-style:none;
}
.society-page .society-renown>summary::-webkit-details-marker {display:none}
.society-page .society-renown>summary:focus-visible {outline:3px solid var(--lcd-accent);outline-offset:-3px}
.society-page .society-renown-total {grid-area:total;display:flex;align-items:baseline;gap:7px;color:var(--lcd-muted);font:700 10px/1.2 var(--lcd-font);letter-spacing:.1em;text-transform:uppercase}
.society-page .society-renown-total strong {color:var(--lcd-ink);font:800 18px/1.1 var(--lcd-font);letter-spacing:0}
.society-page .society-renown-rank {grid-area:rank;display:flex;align-items:center;gap:7px;min-width:0}
.society-page .society-renown-rank strong {min-width:0;overflow:hidden;color:var(--lcd-ink);font:800 13px/1.2 var(--lcd-font);text-overflow:ellipsis;white-space:nowrap}
.society-page .society-renown-rank small {flex:none;padding:2px 5px;border:1px solid var(--lcd-line);background:var(--lcd-paper);color:var(--lcd-muted);font:600 10px/1.2 var(--lcd-font);white-space:nowrap}
.society-page .society-renown-more {grid-area:more;display:flex;align-items:center;gap:5px;color:var(--lcd-muted);font:600 11px/1.2 var(--lcd-font)}
.society-page .society-renown-more>span {display:none}
.society-page .society-renown-more b {color:var(--lcd-accent);font-size:13px}
.society-page .society-renown[open] .society-renown-more b {transform:rotate(180deg)}
.society-page .society-renown-next {grid-area:next;display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;min-width:0;color:var(--lcd-muted);font:400 11px/1.35 var(--lcd-font)}
.society-page .society-renown-next progress {flex:1 1 120px;min-width:120px;height:8px;margin:2px 0}
.society-page .society-renown-detail {padding:7px 10px 8px;border-top:1px dashed var(--lcd-line)}
.society-sources {display:flex;flex-wrap:wrap;gap:5px}
.society-sources>span {padding:3px 6px;border:1px solid var(--lcd-line);background:var(--lcd-paper);font:11px/1.4 var(--lcd-font);color:var(--lcd-ink)}
.society-page progress {display:block;width:100%;height:12px;margin:8px 0;border:2px solid var(--lcd-ink);border-radius:0;background:var(--lcd-light);accent-color:var(--lcd-ink);appearance:none}
.society-page progress::-webkit-progress-bar {background:var(--lcd-light)}
.society-page progress::-webkit-progress-value {background:var(--lcd-ink)}
.society-page progress::-moz-progress-bar {background:var(--lcd-ink)}
.society-muted {margin:6px 0 0;color:var(--lcd-muted);font-size:12px;line-height:1.55}

/* The two headings: the tabs of the panes where one shows at a time. */
body#chimera-console.society-page .society-pane>h2 {display:flex;align-items:center;gap:8px;min-width:0;color:var(--lcd-muted);font:800 11px/1.3 var(--lcd-font);letter-spacing:.1em;text-transform:uppercase}
body#chimera-console.society-page .society-pane>h2:focus {outline:none}
body#chimera-console.society-page #society-main .society-pane>h2>button {
  display:flex;align-items:center;justify-content:center;gap:6px;flex:1 1 auto;box-sizing:border-box;min-width:0;height:32px;min-height:0;margin:0;padding:0 8px;
  border:2px solid var(--lcd-line);border-bottom-width:4px;border-radius:0;background:var(--lcd-light);color:var(--lcd-muted);box-shadow:none;
  font:inherit;letter-spacing:inherit;text-transform:inherit;white-space:nowrap;overflow:hidden;transform:none;
}
body#chimera-console.society-page #society-main .society-pane>h2>button[aria-pressed=true] {border-color:var(--lcd-ink);background:var(--lcd-ink);color:var(--lcd-light)}
body#chimera-console.society-page #society-main .society-pane>h2>button[data-due]::after {content:'';flex:none;width:8px;height:8px;background:var(--lcd-accent);box-shadow:0 0 0 1px var(--lcd-light)}
/* Side by side, or alone: a plain heading, on its own paper so that the scenery never takes its letters. */
body#chimera-console.society-page #society-main .society-pane>h2>button:not([aria-pressed]) {flex:0 1 auto;justify-content:flex-start;height:auto;padding:2px 7px;border:1px solid var(--lcd-line);background:var(--lcd-paper);color:var(--lcd-ink);pointer-events:none}
body#chimera-console.society-page #society-main .society-pane>h2>button:not([aria-pressed])::after {display:none}
.society-page .society-pane>h2>.society-state {display:none}

/* The drawers of a pane. */
.society-page .society-folders {display:flex;gap:6px;min-width:0}
body#chimera-console.society-page #society-main .society-folders button {
  display:flex;align-items:center;justify-content:center;gap:7px;flex:1 1 0;box-sizing:border-box;min-width:0;height:34px;min-height:0;margin:0;padding:0 8px;
  border:2px solid var(--lcd-ink);border-radius:0;background:var(--lcd-paper);color:var(--lcd-ink);box-shadow:2px 2px 0 var(--lcd-line);
  font:700 12px/1.2 var(--lcd-font);letter-spacing:0;text-transform:none;white-space:nowrap;overflow:hidden;
}
body#chimera-console.society-page #society-main .society-folders button[aria-pressed=true] {border-color:var(--lcd-accent-dark);background:var(--lcd-accent);color:var(--lcd-on-accent)}
body#chimera-console.society-page #society-main .society-folders button:focus-visible {outline:2px solid var(--lcd-accent-dark);outline-offset:2px}
.society-folder-count {flex:none;padding:2px 5px;border:1px solid currentColor;font-size:10px;line-height:1.1}
.society-page :is(.society-folders button,.society-drawer-name)[data-due] .society-folder-count {border-color:var(--lcd-accent-dark);background:var(--lcd-accent);color:var(--lcd-on-accent)}
.society-page .society-folders button[data-due][aria-pressed=true] .society-folder-count {border-color:var(--lcd-on-accent);background:var(--lcd-on-accent);color:var(--lcd-accent-dark)}

/* A pane: its drawers by measured pages, or the letter or work that is open. */
.society-page .society-pane-body {display:flex;flex-direction:column;gap:6px;min-width:0;min-height:0}
/* One drawer at a time, chosen by its key above: its lines, its note, then its pages. Its name is on its key. */
.society-page .society-drawer,.society-page .society-drawer-head {display:contents}
.society-page .society-drawer-name {display:none}
/* Room kept for the lines of a drawer shown alone (--society-rows, society.js), fewer where the screen is low or the Renown is unfolded. */
.society-page .society-list-box {
  --society-kept:min(var(--society-rows,3),var(--society-rows-cap,5));
  flex:1 1 0;box-sizing:border-box;min-width:0;min-height:calc(var(--society-row) * var(--society-kept) + var(--society-gap) * (var(--society-kept) - 1) + 3px);
  padding:0 3px 3px 0;overflow:hidden;touch-action:pan-y;container-type:inline-size;
}
.society-page #society-content:has(.society-renown[open]) {--society-rows-cap:2}
/* A drawer that holds on one page ends with its last line: what follows it stays next to it. */
.society-page .society-list-box[data-short] {flex:0 0 auto;min-height:0}
.society-page .society-lines {display:grid;gap:var(--society-gap);padding:0;list-style:none}
.society-page .society-lines>li {min-width:0}
.society-page .society-pane-note {flex:none;margin:0;font-size:12px;line-height:1.4;text-shadow:0 0 3px var(--lcd-paper)}
.society-page .society-pane[data-open] .society-drawer {display:none}
body#chimera-console.society-page #society-main .society-row {
  display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;height:var(--society-row);min-height:0;margin:0;padding:0 10px;
  border:2px solid var(--lcd-line);border-radius:0;background:var(--lcd-light);color:var(--lcd-ink);box-shadow:2px 2px 0 var(--lcd-line);
  font:600 13px/1.2 var(--lcd-font);letter-spacing:0;text-align:left;text-transform:none;white-space:nowrap;cursor:pointer;transform:none;
}
body#chimera-console.society-page #society-main .society-row:hover:not(:disabled) {border-color:var(--lcd-accent);background:var(--lcd-shade)}
body#chimera-console.society-page #society-main .society-row:focus-visible {outline:3px solid var(--lcd-accent);outline-offset:-3px}
body#chimera-console.society-page #society-main .society-row:disabled {opacity:1;cursor:progress}
.society-page .society-row-mark {flex:none;box-sizing:border-box;width:9px;height:9px;border:2px solid var(--lcd-line)}
.society-page .society-row-title {flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.society-page .society-row-detail {flex:0 1 auto;min-width:0;overflow:hidden;color:var(--lcd-muted);font-weight:400;font-size:12px;text-overflow:ellipsis}
.society-page .society-row-date {flex:none;color:var(--lcd-muted);font:400 11px/1.2 var(--lcd-font)}
.society-page .society-row>b {flex:none;color:var(--lcd-accent);font-size:17px;line-height:1}
/* A letter still to read, a letter or a work that holds something: an ink frame and a full mark. */
body#chimera-console.society-page #society-main :is(.society-letter[data-read=false],.society-letter[data-state=ready],.society-work[data-state=ready]) .society-row {border-color:var(--lcd-ink);font-weight:800}
.society-page :is(.society-letter[data-read=false],.society-letter[data-state=ready],.society-work[data-state=ready]) .society-row-mark {border-color:var(--lcd-accent-dark);background:var(--lcd-accent)}
.society-page .society-done-line .society-row-mark {width:auto;height:auto;border:0}
.society-page .society-done-line .society-row-mark::before {content:'✓';color:var(--lcd-muted);font-weight:800}
.society-state {flex:none;padding:4px 6px;border:1px solid var(--lcd-ink);background:var(--lcd-paper);color:var(--lcd-ink);font:700 10px/1 var(--lcd-font);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.society-state.society-due {border-color:var(--lcd-accent-dark);background:var(--lcd-accent);color:var(--lcd-on-accent)}
.society-state.society-new {border-color:var(--lcd-accent);color:var(--lcd-accent-dark)}
@container (max-width:430px) {
  .society-page .society-row-date,.society-page .society-row-detail {display:none}
}
/* The pages of a drawer shown alone come under its lines, wherever their line of the template is. */
.society-page .society-pager {flex:none;order:1;display:flex;align-items:center;justify-content:center;gap:6px}
body#chimera-console.society-page #society-main .society-pager button {width:44px;height:32px;min-height:0;margin:0;padding:0;border:2px solid var(--lcd-ink);background:var(--lcd-light);color:var(--lcd-ink);box-shadow:2px 2px 0 var(--lcd-line);font:800 18px/1 var(--lcd-font)}
body#chimera-console.society-page #society-main .society-pager button:hover:not(:disabled) {background:var(--lcd-shade)}
.society-page .society-page {min-width:64px;padding:5px 10px;border:2px solid var(--lcd-ink);background:#e5edcaf2;color:var(--lcd-ink);font:800 13px/1.2 var(--lcd-font);text-align:center;white-space:nowrap}

/* Both drawers of a pane at once, one above the other, where they hold together (society.js, arrange): each under
   its name, its pages on that line. Their keys are then of no use. */
.society-page .society-pane[data-stacked]>.society-folders {display:none}
.society-page .society-pane[data-stacked] .society-drawer-head {display:flex;flex:none;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;min-width:0;min-height:30px}
.society-page .society-pane[data-stacked] .society-drawer+.society-drawer>.society-drawer-head {min-height:34px;padding-top:4px}
.society-page .society-pane[data-stacked] .society-drawer-name {
  display:inline-flex;align-items:center;gap:7px;min-width:0;padding:3px 7px;border:1px solid var(--lcd-line);background:var(--lcd-paper);color:var(--lcd-ink);
  font:800 11px/1.3 var(--lcd-font);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;
}
.society-page .society-pane[data-stacked] .society-list-box {flex:0 0 auto;min-height:0}
/* « Nothing to read, your letters are in Archives »: said by the count and by the Archives shown just below. */
.society-page .society-pane[data-stacked] #society-mail-empty {display:none}
.society-page .society-pane[data-stacked] .society-pager {order:0;justify-content:flex-end;gap:4px}
body#chimera-console.society-page #society-main .society-pane[data-stacked] .society-pager button {width:40px;height:28px}
.society-page .society-pane[data-stacked] .society-page {min-width:52px;padding:4px 7px;font-size:12px}

/* The open letter or work: its text, and its one action. */
.society-page .society-reader {
  flex:none;display:flex;flex-direction:column;gap:8px;box-sizing:border-box;min-width:0;padding:12px 14px;border:2px solid var(--lcd-ink);
  background:var(--lcd-paper);box-shadow:3px 3px 0 var(--lcd-line);overflow-wrap:anywhere;
}
.society-page .society-reader-head {display:flex;align-items:center;justify-content:space-between;gap:8px}
body#chimera-console.society-page #society-main .society-back {
  display:inline-flex;align-items:center;gap:6px;height:32px;min-height:0;margin:0;padding:0 10px 0 8px;border:2px solid var(--lcd-ink);background:var(--lcd-light);
  color:var(--lcd-ink);box-shadow:2px 2px 0 var(--lcd-line);font:700 12px/1 var(--lcd-font);letter-spacing:0;text-transform:none;
}
body#chimera-console.society-page #society-main .society-back:hover:not(:disabled) {background:var(--lcd-shade)}
.society-page .society-back>span:first-child {color:var(--lcd-accent);font-size:17px;line-height:1}
.society-letter-tags {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
body#chimera-console.society-page .society-reader h3 {color:var(--lcd-ink);font:800 15px/1.3 var(--lcd-font)}
.society-page .society-reader h3:focus {outline:none}
.society-page .society-reader p {line-height:1.55}
.society-page .society-reader time {display:block;margin:-4px 0 0;font-size:11px}
.society-page .society-reader progress {height:10px;margin:0}
.society-page .society-reader .society-reader-note {margin:0;font-size:11px;line-height:1.4}
.society-work-terms strong {font-family:var(--lcd-font)}
.society-letter-seal {align-self:flex-start;display:inline-block;padding:5px 9px;border:2px double var(--lcd-ink);color:var(--lcd-ink);font:800 10px/1.3 var(--lcd-font);letter-spacing:.06em;text-transform:uppercase}
.society-page .society-reader .society-service-closed {padding:7px;border:1px dashed var(--lcd-line);font-size:12px;line-height:1.45}
.society-work-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}
.society-page .society-reader .society-work-actions {margin-top:2px}
.society-page .society-reader .society-work-actions:empty {display:none}
.society-work-actions label {color:var(--lcd-ink);font:600 12px var(--lcd-font)}
.society-work-actions select {max-width:100%;min-height:44px;padding:4px 8px;border:2px solid var(--lcd-ink);border-radius:0;background:var(--lcd-paper);color:var(--lcd-ink);font:12px var(--lcd-font)}
.society-page .society-work-actions select {flex:1 1 180px;min-width:0;background:var(--lcd-light)}
.society-page .society-work-actions .society-muted {margin:0}
body#chimera-console.society-page .society-work-actions button {min-height:44px;padding:8px 14px;border:2px solid var(--lcd-accent-dark);border-radius:0;background:var(--lcd-accent);color:var(--lcd-on-accent);box-shadow:2px 2px 0 var(--lcd-line);font:700 .74rem/1.2 var(--lcd-font)}
body#chimera-console.society-page .society-work-actions button:hover:not(:disabled) {background:var(--lcd-accent-dark)}
.society-link-button {display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:2px solid var(--lcd-ink);background:var(--lcd-paper);box-shadow:2px 2px 0 var(--lcd-line);color:var(--lcd-ink);font:700 .74rem/1.2 var(--lcd-font);text-decoration:none}
.society-link-button:hover {background:var(--lcd-ink);color:var(--lcd-light)}
/* In an open entry the one action is the main one, whether it receives or leads somewhere. */
body#chimera-console.society-page .society-reader .society-work-actions :is(button,.society-link-button) {
  flex:1 1 auto;justify-content:center;box-sizing:border-box;min-height:44px;border:2px solid var(--lcd-accent-dark);background:var(--lcd-accent);
  color:var(--lcd-on-accent);box-shadow:2px 2px 0 var(--lcd-accent-dark);font:800 13px/1.2 var(--lcd-font);text-align:center;
}
body#chimera-console.society-page .society-reader .society-work-actions :is(button,.society-link-button):hover:not(:disabled) {background:var(--lcd-accent-dark)}
.society-letter-stamped .society-letter-seal {animation:society-stamp .3s ease-out}
.society-letter-opened {animation:society-open-letter .3s ease-out}
@keyframes society-stamp {from {opacity:0;transform:scale(1.16) rotate(-5deg)} to {opacity:1;transform:scale(1) rotate(0)}}
@keyframes society-open-letter {from {background:var(--lcd-shade)} to {background:var(--lcd-paper)}}

/* The mail and the works side by side: the next step over the mail, the Renown over the works. */
@media (min-width:700px) and (min-height:521px) {
  body#chimera-console.society-page .society-title .account-eyebrow {display:block}
  body#chimera-console.society-page #society-main .society-tools-toggle {display:none}
  .society-page .society-tools {display:flex;position:static;flex-direction:row;align-items:center;gap:4px 14px;min-width:0;padding:0;border:0;background:transparent;box-shadow:none}
  .society-page .society-tools a {min-height:38px}
  .society-page .society-language>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .society-page .society-language select,body#chimera-console.society-page #society-main #society-refresh {min-height:38px;margin:0;background:var(--lcd-light)}
  .society-page .society-intro {display:block}
  .society-page #society-content {grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);column-gap:14px}
  .society-page .society-pane {display:flex;flex-direction:column;grid-row:3;min-width:0;min-height:0}
  .society-page .society-pane>h2 {margin-bottom:5px}
  .society-page .society-pane>.society-folders {margin-bottom:6px}
  .society-page #society-journey,.society-page .society-next {grid-column:1}
  .society-page #society-registry,body#chimera-console.society-page .society-renown {grid-column:2}
  .society-page .society-next,body#chimera-console.society-page .society-renown {grid-row:2;margin-bottom:8px}
  .society-page #society-content[data-panes=mail] :is(.society-next,#society-journey),
  body#chimera-console.society-page #society-content[data-panes=works] :is(.society-renown,#society-registry) {grid-column:1/-1}
  /* No step left to take: the mail starts where the Renown does. */
  .society-page #society-content[data-panes=both]:not(:has(.society-next:not([hidden]))) #society-journey {grid-row:2/4}
  .society-page .society-pane>.society-pane-body {flex:1 1 auto}
  .society-page .society-pane>h2>.society-state {display:inline-block}
  .society-page .society-folders button {flex:0 1 190px!important}
  .society-page .society-reader {padding:14px 16px}
}
@media (min-width:1000px) and (min-height:521px) {
  .society-page .society-renown-more>span {display:inline}
}
/* A phone lying down: the next step and the Renown on the left, the open drawer on the right, its pages on the tabs' line. */
@media (max-height:520px) and (min-width:560px) {
  body#chimera-console.society-page #society-main {--society-row:36px;--society-gap:4px;--society-rows-cap:3;gap:5px}
  body#chimera-console.society-page .society-title h1 {font-size:16px}
  body#chimera-console.society-page #society-main .society-tools-toggle {height:30px}
  .society-page .society-tools[data-open] {flex-direction:row;flex-wrap:wrap;align-items:center;gap:0 14px;max-width:calc(100% - 60px)}
  .society-page #society-content {grid-template-columns:minmax(0,5fr) minmax(0,3fr) minmax(0,3fr);grid-template-rows:auto auto minmax(0,1fr) auto;column-gap:6px}
  .society-page .society-side {display:flex;flex-direction:column;gap:5px;grid-column:1;grid-row:1/-1;min-width:0;min-height:0;margin-right:4px}
  .society-page .society-side>* {margin:0!important}
  .society-page .society-pane>h2 {grid-row:1;margin-bottom:4px}
  .society-page #society-journey>h2 {grid-column:2}
  .society-page #society-registry>h2 {grid-column:3}
  .society-page #society-content:not([data-panes=both]) .society-pane>h2 {grid-column:2/-1}
  .society-page .society-pane>.society-folders {grid-row:2;grid-column:2;margin-bottom:4px}
  .society-page .society-pane>.society-pane-body {display:contents}
  .society-page .society-list-box {grid-row:3;grid-column:2/-1}
  .society-page .society-pane-note {grid-row:4;grid-column:2/-1}
  .society-page .society-pager {grid-row:2;grid-column:3;align-self:start;justify-content:flex-end;gap:4px}
  body#chimera-console.society-page #society-main .society-pager button {width:36px;height:30px}
  .society-page .society-page {min-width:48px;padding:5px 6px;font-size:12px}
  body#chimera-console.society-page #society-main .society-pane>h2>button {height:28px}
  body#chimera-console.society-page #society-main .society-folders button {height:30px}
  .society-page .society-next-text {display:none}
  .society-page .society-list-box[data-short] {align-self:start}
  /* Unfolded, the Renown takes the place of the next step. */
  body#chimera-console.society-page .society-side:has(.society-renown[open]) a.society-next {display:none}
  .society-page .society-renown-detail {padding:5px 8px 6px}
  .society-page .society-renown-detail .society-muted {margin-top:4px;font-size:11px;line-height:1.35}
  .society-page .society-sources {gap:4px}
  .society-page .society-sources>span {padding:2px 5px}
  /* The open entry takes the whole LCD, its title on the line of the way back. */
  .society-page #society-main:has(#society-content[data-reading]) .society-top {display:none}
  .society-page .society-reader {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:5px 10px;grid-row:1/-1;grid-column:1/-1;align-self:start;padding:8px 12px}
  .society-page .society-reader-head {display:contents}
  .society-page .society-reader>h3 {grid-row:1;grid-column:2}
  .society-page .society-reader .society-letter-tags {grid-row:1;grid-column:3}
  .society-page .society-reader>:not(.society-reader-head,h3) {grid-column:1/-1}
  .society-page .society-reader time {margin:0}
  .society-page .society-reader p {line-height:1.4}
  .society-page .society-reader .society-letter-seal {justify-self:start}
}

/* Levels of the measured layout (society.js): each gives something up, never a line of the drawers nor an action. */
body#chimera-console.society-page #society-main[data-density] {--society-row:36px;--society-gap:4px;gap:6px}
body#chimera-console.society-page #society-main[data-density] .society-title .account-eyebrow,
.society-page #society-main[data-density] .society-intro,
.society-page #society-main[data-density] .society-next small {display:none}
.society-page #society-main[data-density] .society-reader {gap:6px;padding:9px 11px;font-size:12px}
.society-page #society-main[data-density] .society-reader p {line-height:1.42}
body#chimera-console.society-page #society-main[data-density] .society-reader h3 {font-size:14px}
body#chimera-console.society-page #society-main[data-density=tight] {--society-row:34px;gap:5px}
.society-page #society-main[data-density=tight] .society-next-text,
.society-page #society-main[data-density=tight] #society-next {display:none}
.society-page #society-main[data-density=tight] .society-renown-next progress {margin:0}
.society-page #society-main[data-density=tight] .society-reader {gap:4px;padding:7px 9px;font-size:11.5px}
.society-page #society-main[data-density=tight] .society-reader p {line-height:1.34}
.society-page #society-main[data-density=tight] .society-reader time {display:none}

/* Renown line at the top of the collection (society-badge.js), above the slots line, which keeps its layout. */
body#chimera-console.collection-page .society-renown-badge {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;margin:0 0 10px;padding:0 0 0 10px;border:2px solid var(--lcd-ink);background:var(--lcd-shade);box-shadow:2px 2px 0 var(--lcd-line);color:var(--lcd-ink);font:600 11px/1.3 var(--lcd-font)}
body#chimera-console.collection-page .society-renown-badge[hidden] {display:none}
body#chimera-console.collection-page .society-renown-badge strong {font-weight:800}
body#chimera-console.collection-page .society-renown-badge a {display:inline-flex;align-items:center;min-height:40px;padding:0 10px;border-left:2px solid var(--lcd-ink);background:var(--lcd-light);color:var(--lcd-accent-dark);font-weight:800;text-decoration:none}
body#chimera-console.collection-page .society-renown-badge a:hover {background:var(--lcd-accent);color:var(--lcd-on-accent)}
body#chimera-console.console-page #collection-main:has(.has-selection) #collection-renown {display:none}

body#chimera-console.console-page #journey-locked-main {display:grid;place-items:center;box-sizing:border-box;min-height:100%;padding:16px}
.journey-locked-sign {box-sizing:border-box;width:min(520px,100%);padding:0 18px 18px;border:3px double var(--lcd-ink);background:var(--lcd-paper);color:var(--lcd-ink);box-shadow:3px 3px 0 var(--lcd-line);font-family:var(--lcd-font);text-align:center}
.journey-locked-sign .journey-locked-eyebrow {margin:0 -18px 14px;padding:9px;background:var(--lcd-ink);color:var(--lcd-light);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.journey-locked-sign img {object-fit:contain;image-rendering:pixelated}
.journey-locked-sign h1 {font:800 20px/1.35 var(--lcd-font);color:var(--lcd-accent-dark)}
.journey-locked-sign p {font-size:13px;line-height:1.7}
.journey-locked-next {padding:12px;border:1px dashed var(--lcd-line);background:var(--lcd-shade)}
.journey-locked-sign .society-work-actions {justify-content:center}
.journey-locked-back {display:inline-flex;align-items:center;min-height:44px;color:var(--lcd-ink);font-size:12px}
