/* Fairies: a storybook look. Parchment by day, candlelight by night. */
:root {
  --paper: #f3e7cb;
  --paper-2: #ead9b2;
  --page: #fbf4e2;
  --ink: #2e1f10;
  --ink-soft: #6b5536;
  --rubric: #8a2318;
  --gold: #a87b25;
  --gold-soft: #d8b86a;
  --line: #d4bf90;
  --shadow: rgba(70, 45, 10, .18);
  --link: #6e2a12;
  --chip: #f7ecd2;
  --display: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --serif: 'IM Fell English', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --caps: 'IM Fell English SC', 'IM Fell English', Georgia, serif;
}
:root[data-theme="dark"] {
  --paper: #17110b;
  --paper-2: #21180f;
  --page: #241a10;
  --ink: #eadcbc;
  --ink-soft: #b9a37c;
  --rubric: #e08a6a;
  --gold: #d9b45e;
  --gold-soft: #8f7333;
  --line: #4b3a22;
  --shadow: rgba(0, 0, 0, .5);
  --link: #f0c27a;
  --chip: #2c2014;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17110b; --paper-2: #21180f; --page: #241a10; --ink: #eadcbc; --ink-soft: #b9a37c;
    --rubric: #e08a6a; --gold: #d9b45e; --gold-soft: #8f7333; --line: #4b3a22; --shadow: rgba(0,0,0,.5);
    --link: #f0c27a; --chip: #2c2014; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.65;
  background: var(--paper);
  background-image:
    radial-gradient(ellipse at top, rgba(255,255,255,.25), transparent 60%),
    radial-gradient(ellipse at bottom, var(--paper-2), transparent 70%);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--link); text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--rubric); }
h1, h2, h3, h4 { font-weight: normal; line-height: 1.25; }
h2 { font-family: var(--caps); font-size: 1.5rem; color: var(--rubric); text-align: center; margin: 2.2rem 0 1rem; letter-spacing: .02em; }
h2::before, h2::after { content: ' \2726 '; color: var(--gold); font-size: .7em; vertical-align: middle; }
h3 { font-family: var(--caps); font-size: 1.15rem; margin: 1.4rem 0 .5rem; }
.m { color: var(--ink-soft); font-size: .88em; }
.center { text-align: center; }
code { font-size: .85em; background: var(--chip); padding: 0 .3em; border-radius: 3px; }

/* top bar */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  padding: .5rem 16px; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-decoration: none; color: var(--rubric); }
.topnav { display: flex; gap: .2rem .9rem; flex-wrap: wrap; font-family: var(--caps); font-size: 1rem; }
.topnav a { text-decoration: none; color: var(--ink); padding: .1rem 0; border-bottom: 2px solid transparent; }
.topnav a.on, .topnav a:hover { border-color: var(--gold); color: var(--rubric); }
.topbar .searchbar { margin-left: auto; }
.searchbar { display: flex; gap: .4rem; }
.searchbar input {
  font: inherit; font-size: .9rem; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 99px;
  background: var(--page); color: var(--ink); width: 12rem; max-width: 100%;
}
.searchbar.big { justify-content: center; margin: 1rem 0; }
.searchbar.big input { width: 26rem; font-size: 1.05rem; padding: .5rem 1rem; }
.theme { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 99px; width: 2rem; height: 2rem; cursor: pointer; font-size: 1rem; }

/* page */
.page {
  max-width: 46rem; margin: 1.5rem auto 3rem; padding: 2.2rem 2.6rem 3rem;
  background: var(--page); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -18px var(--shadow), inset 0 0 60px rgba(160, 120, 50, .08);
  position: relative;
}
.page::before {
  content: ''; position: absolute; inset: 10px; border: 1px solid var(--gold-soft); border-radius: 2px; pointer-events: none; opacity: .55;
}
.loading { padding: 4rem 0; font-style: italic; }
.crumbs { font-family: var(--caps); font-size: .95rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }

.chapter { text-align: center; margin: .6rem 0 1.4rem; }
.kicker { font-family: var(--caps); color: var(--gold); letter-spacing: .12em; font-size: .9rem; margin: 0; }
.chapter h1 { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--rubric); margin: .3rem 0 .4rem; }
.lede { font-style: italic; color: var(--ink-soft); max-width: 34rem; margin: .3rem auto; }
.blurb { color: var(--ink-soft); max-width: 34rem; margin: .4rem auto; }
.orn { color: var(--gold); font-size: 1.6rem; text-align: center; margin: .6rem 0; }
.type { font-family: var(--caps); font-size: .78rem; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 99px; padding: 0 .45em; white-space: nowrap; vertical-align: middle; }

/* the tale itself */
.tale { text-align: justify; hyphens: auto; }
.tale > p:first-of-type::first-letter, .tale > div:first-child > p:first-of-type::first-letter {
  float: left; font-family: var(--display); font-size: 3.6em; line-height: .78; color: var(--rubric);
  padding: .08em .12em 0 0; text-shadow: 1px 1px 0 var(--gold-soft);
}
.tale p { margin: 0 0 .9em; }
.tale blockquote { margin: 1em 1.6em; font-style: italic; text-align: left; }
.tale h3 { text-align: center; color: var(--rubric); }
.tale img { max-width: 100%; height: auto; display: block; margin: 1rem auto; border: 1px solid var(--line); }
.tale table { border-collapse: collapse; margin: 1rem auto; }
.tale td, .tale th { border: 1px solid var(--line); padding: .2rem .5rem; }
.fin { text-align: center; color: var(--gold); font-size: 1.4rem; margin: 1.6rem 0 0; }
.missing { text-align: center; font-style: italic; }

.turn { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin: 1.6rem 0; font-family: var(--caps); font-size: .95rem; }
.turn a { text-decoration: none; max-width: 38%; }
.turn .next { text-align: right; }

/* sections under the tale */
.provenance dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 1rem; }
.provenance dt { font-family: var(--caps); color: var(--ink-soft); }
.provenance dd { margin: 0; }
.notes { font-size: .9em; color: var(--ink-soft); border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: .6rem; }
.notes ul { padding-left: 1.1rem; }
.source-link { font-size: .85em; color: var(--ink-soft); word-break: break-word; }

.strip { margin: 1rem 0 .4rem; }
.strip .line { position: relative; height: 26px; border-bottom: 2px solid var(--gold-soft); margin: 0 8px; }
.strip .dot { position: absolute; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--gold); }
.strip .dot.me { background: var(--rubric); border-color: var(--rubric); width: 16px; height: 16px; margin-left: -8px; bottom: -9px; }
.strip .ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-soft); }

/* lists */
ol.tales, ul.pages, ul.links, ul.works, ul.writings, ul.refls { list-style: none; padding: 0; margin: .4rem 0; }
.tale-row a { display: flex; flex-direction: column; padding: .45rem .7rem; border-bottom: 1px dotted var(--line); text-decoration: none; color: var(--ink); }
.tale-row a:hover { background: var(--chip); }
.tale-row .t { font-size: 1.05rem; }
.tale-row .m { font-size: .82rem; }
.tale-row.read .t::after, .items li.read a::after { content: ' \2713'; color: var(--gold); font-size: .8em; }
ol.tales.compact .tale-row a { padding: .3rem .5rem; }
ol.tales.compact .t { font-size: .98rem; }
ul.pages li { padding: .25rem 0; border-bottom: 1px dotted var(--line); }
ul.links li, ul.works li { padding: .45rem 0; border-bottom: 1px dotted var(--line); }
ul.links .m, ul.works .m { display: block; }
.works .find { display: block; font-size: .8rem; }
.works .on-tales { display: block; font-size: .85rem; margin-top: .2rem; }
.further details { margin: .5rem 0; }
details > summary { cursor: pointer; font-family: var(--caps); color: var(--ink); padding: .3rem 0; }
details > summary::marker { color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: .6rem 0 1rem; }
.chips.small { justify-content: flex-start; }
.chip {
  font: inherit; font-size: .9rem; padding: .25rem .8rem; border-radius: 99px; border: 1px solid var(--gold-soft);
  background: var(--chip); color: var(--ink); text-decoration: none; cursor: pointer; display: inline-block;
}
.chips.small .chip { font-size: .8rem; padding: .15rem .6rem; }
.chip:hover, .chip.on { background: var(--rubric); color: var(--page); border-color: var(--rubric); }
.chip small { opacity: .7; }
.chip.danger { border-color: var(--rubric); color: var(--rubric); background: transparent; }
.button {
  font: inherit; font-family: var(--caps); font-size: 1.05rem; padding: .45rem 1.2rem; border-radius: 4px; cursor: pointer;
  background: var(--rubric); color: #fbf1dc; border: 1px solid var(--rubric); text-decoration: none; display: inline-block;
  box-shadow: inset 0 0 0 2px rgba(255, 230, 170, .25);
}
.button:hover { filter: brightness(1.1); color: #fff; }

/* cover */
.cover-page { padding-top: 1.4rem; }
.cover { text-align: center; }
.cover-frame {
  margin: .6rem auto 1.4rem; padding: 2.4rem 1rem 2rem; max-width: 30rem;
  border: 3px double var(--gold); border-radius: 6px;
  background: radial-gradient(ellipse at center, rgba(168, 123, 37, .10), transparent 70%);
}
.cover-small { font-family: var(--caps); letter-spacing: .3em; color: var(--gold); margin: 0; font-size: .85rem; }
.cover-title { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 12vw, 5rem); color: var(--rubric); margin: .2rem 0 0; line-height: 1; text-shadow: 2px 2px 0 var(--gold-soft); }
.cover-sub { font-style: italic; font-size: 1.2rem; margin: .4rem 0 0; }
.cover-count { font-family: var(--caps); margin: .2rem 0; }
.cover-credit { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.tell { text-align: center; }
.tell p { margin: 0; color: var(--ink-soft); font-style: italic; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0; }
.card { border: 1px solid var(--line); border-radius: 4px; padding: .8rem 1rem 1rem; background: color-mix(in srgb, var(--page) 70%, var(--paper-2)); }
.card h3 { margin-top: 0; color: var(--gold); font-size: 1rem; letter-spacing: .06em; }
.card .big { font-size: 1.3rem; display: block; line-height: 1.3; }
.card p { margin: .4rem 0 0; }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .7rem; margin: 1.2rem 0; }
.doors a { border: 1px solid var(--gold-soft); border-radius: 4px; padding: .7rem .8rem; text-decoration: none; color: var(--ink); background: var(--chip); }
.doors a:hover { border-color: var(--rubric); }
.doors b { font-family: var(--caps); font-weight: normal; font-size: 1.15rem; color: var(--rubric); display: block; }
.doors span { font-size: .85rem; color: var(--ink-soft); }
.epigraph { font-style: italic; text-align: center; max-width: 32rem; margin: 2rem auto 0; color: var(--ink-soft); }
.epigraph cite { display: block; font-style: normal; font-family: var(--caps); font-size: .85rem; margin-top: .4rem; }

/* contents */
.letters { display: flex; flex-wrap: wrap; gap: .25rem; justify-content: center; font-family: var(--caps); margin: 0 0 1rem; }
.letters a { text-decoration: none; padding: .05rem .45rem; border-radius: 3px; }
.letters a.on { background: var(--rubric); color: var(--page); }
.letter { font-family: var(--display); font-size: 2.4rem; text-align: left; margin: 1.6rem 0 .4rem; border-bottom: 1px solid var(--gold-soft); }
.letter::before, .letter::after { content: none; }
.entry { margin: 0 0 1rem; }
.entry h3 { margin: .8rem 0 .1rem; font-size: 1.2rem; }
.entry .blurb { margin: 0; text-align: left; font-size: .95rem; }
.items { margin: .3rem 0 0; padding-left: 1.6rem; font-size: .92rem; columns: 2 18rem; column-gap: 2rem; }
.items li { break-inside: avoid; }
.also { font-style: italic; color: var(--ink-soft); text-align: center; margin-top: 2rem; }

/* timeline */
ol.timeline { list-style: none; padding: 0; margin: 1rem 0; border-left: 2px solid var(--gold-soft); }
ol.timeline li { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; padding: .45rem 0 .45rem .9rem; position: relative; }
ol.timeline li::before { content: ''; position: absolute; left: -7px; top: .95rem; width: 12px; height: 12px; border-radius: 50%; background: var(--page); border: 2px solid var(--gold); }
ol.timeline li.me { background: var(--chip); }
ol.timeline li.me::before { background: var(--rubric); border-color: var(--rubric); }
ol.timeline .yr { font-family: var(--caps); color: var(--rubric); }
ol.timeline .m, ol.timeline .src { display: block; }
ol.timeline .src { font-size: .8rem; color: var(--ink-soft); }
.centuries details { border-bottom: 1px dotted var(--line); }
.centuries summary .yr { font-family: var(--caps); color: var(--rubric); font-size: 1.1rem; }

/* atlas */
.atlas { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .8rem; }
.land { border: 1px solid var(--gold-soft); border-radius: 4px; padding: 1rem; text-decoration: none; background: var(--chip); color: var(--ink); text-align: center; }
.land b { display: block; font-family: var(--caps); font-weight: normal; font-size: 1.25rem; color: var(--rubric); }
.land span { font-size: .85rem; color: var(--ink-soft); }

/* reflect */
.tabs { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: center; margin: .6rem 0; }
.tab { font: inherit; font-family: var(--caps); font-size: .92rem; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: .25rem .8rem; border-radius: 4px 4px 0 0; cursor: pointer; border-bottom-color: var(--gold-soft); }
.tab.on { background: var(--chip); border-color: var(--gold-soft); color: var(--rubric); }
.lens-intro { font-style: italic; text-align: center; color: var(--ink-soft); }
.q { margin: 0 0 1.1rem; position: relative; }
.q h4 { margin: 0; font-family: var(--caps); color: var(--rubric); font-size: 1.02rem; }
.q p { margin: .1rem 0 .3rem; }
textarea {
  width: 100%; font: inherit; font-size: 1rem; line-height: 1.6; color: var(--ink); resize: vertical;
  background: repeating-linear-gradient(var(--page), var(--page) calc(1.6em - 1px), var(--line) 1.6em);
  background-attachment: local; border: 1px solid var(--line); border-radius: 3px; padding: 0 .6rem;
}
textarea:focus, input:focus { outline: 2px solid var(--gold-soft); outline-offset: 1px; }
.saved { position: absolute; right: .3rem; bottom: -1.1rem; font-size: .75rem; color: var(--gold); }
.write-cta { text-align: center; }
.lens-card ul { padding-left: 1.1rem; margin: .3rem 0 0; }
.lens-card { margin: .8rem 0; }

/* desk */
.desk-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; margin: .6rem 0; }
.export { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; font-size: .9rem; }
.writings li a { display: block; padding: .7rem .4rem; border-bottom: 1px dotted var(--line); text-decoration: none; color: var(--ink); }
.writings li a:hover { background: var(--chip); }
.writings b { font-family: var(--caps); font-weight: normal; font-size: 1.2rem; color: var(--rubric); }
.writings .m, .writings .snip { display: block; }
.writings .snip { font-style: italic; color: var(--ink-soft); font-size: .92rem; }
.empty { font-style: italic; color: var(--ink-soft); padding: 2rem 0; }
.refls li { border-bottom: 1px dotted var(--line); padding: .5rem 0; }
.refls p { margin: .3rem 0 0 .8rem; white-space: pre-wrap; }

.page:has(.editor) { max-width: 68rem; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1.4rem; align-items: start; }
.w-title { width: 100%; font-family: var(--display); font-size: 1.8rem; text-align: center; color: var(--rubric); border: none; border-bottom: 1px solid var(--gold-soft); background: transparent; padding: .3rem; }
.after { text-align: center; font-style: italic; color: var(--ink-soft); margin: .3rem 0 .6rem; }
.w-body { min-height: 420px; font-size: 1.12rem; line-height: 1.75; border: none; padding: .6rem .2rem;
  background: repeating-linear-gradient(var(--page), var(--page) calc(1.75em - 1px), color-mix(in srgb, var(--line) 60%, transparent) 1.75em); background-attachment: local; }
.w-foot { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); margin: .3rem 0; }
.w-export { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; font-size: .9rem; margin-top: .6rem; }
.tools { position: sticky; top: 4rem; font-size: .92rem; max-height: calc(100vh - 5rem); overflow: auto; }
.tools details { border-bottom: 1px dotted var(--line); padding: .2rem 0 .5rem; }
.tech { list-style: none; padding: 0; margin: .2rem 0; }
.tech li { margin: .4rem 0; }
.tech b { font-family: var(--caps); font-weight: normal; color: var(--rubric); display: block; }
.formulas { list-style: none; padding: 0; margin: .2rem 0; }
.formulas li { margin: .35rem 0; }
.formulas .m { display: block; font-size: .78rem; }
.ins { font: inherit; text-align: left; background: none; border: none; color: var(--link); cursor: pointer; padding: 0; font-style: italic; }
.ins:hover { color: var(--rubric); }
.dice { font-style: italic; }

.toast {
  position: fixed; left: 50%; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 1rem);
  background: var(--ink); color: var(--page); padding: .5rem 1.1rem; border-radius: 99px; font-size: .95rem;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; z-index: 20;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--rubric); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

.colophon { text-align: center; font-size: .82rem; color: var(--ink-soft); max-width: 40rem; margin: 0 auto 2rem; padding: 0 16px; }

/* small screens */
@media (max-width: 760px) {
  body { font-size: 18px; }
  .topbar { gap: .4rem .8rem; }
  .topbar .searchbar { order: 5; width: 100%; margin: 0; }
  .topbar .searchbar input { width: 100%; }
  .theme { margin-left: auto; }
  .page { margin: .6rem 8px 2rem; padding: 1.4rem 1.1rem 2rem; }
  .page::before { inset: 5px; }
  .two { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr; }
  .tools { position: static; max-height: none; }
  .items { columns: 1; }
  .tale { text-align: left; }
  .provenance dl { grid-template-columns: 1fr; gap: 0; }
  .provenance dd { margin-bottom: .4rem; }
  ol.timeline li { grid-template-columns: 4.2rem 1fr; }
  .turn { flex-wrap: wrap; }
  .turn a { max-width: 45%; }
  .searchbar.big input { width: 100%; }
}

@media print {
  .topbar, .colophon, .turn, .reflect, .write-cta, .further, .kindred { display: none; }
  .page { box-shadow: none; border: none; }
}

/* shelves, tags, filters */
.tags { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: center; margin: .5rem 0 0; }
.tag {
  font-family: var(--caps); font-size: .78rem; text-decoration: none; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 99px; padding: .05rem .55rem; white-space: nowrap;
}
.tag:hover { color: var(--rubric); border-color: var(--gold-soft); }
.tag.kind { color: var(--rubric); border-color: var(--gold-soft); background: var(--chip); }
.tag.era { font-style: italic; }
.shelves { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .8rem; margin: 1rem 0; }
.shelf {
  display: flex; flex-direction: column; gap: .2rem; padding: .8rem 1rem; text-decoration: none; color: var(--ink);
  border: 1px solid var(--gold-soft); border-radius: 4px; background: var(--chip);
}
.shelf:hover { border-color: var(--rubric); }
.shelf b { font-family: var(--caps); font-weight: normal; font-size: 1.2rem; color: var(--rubric); }
.shelf .n { font-family: var(--caps); font-size: .85rem; color: var(--gold); }
.shelf .about { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.filters { display: grid; gap: .3rem; margin: .4rem 0 .6rem; }
.frow { display: grid; grid-template-columns: 3.5rem 1fr; align-items: start; gap: .5rem; }
.flabel { font-family: var(--caps); color: var(--ink-soft); font-size: .9rem; padding-top: .25rem; }
.frow .chips { margin: 0; }
details.group { border-bottom: 1px dotted var(--line); margin: .3rem 0; }
ul.cols { columns: 2 16rem; column-gap: 2rem; }
ul.cols li { break-inside: avoid; }
ul.books { list-style: none; padding: 0; }
ul.books li { padding: .45rem 0; border-bottom: 1px dotted var(--line); }
ul.books b { font-weight: normal; font-size: 1.08rem; }
ul.books .m { display: block; }
.tabs.top { margin: 0 0 .6rem; }
.tabs.top .tab { text-decoration: none; }
.blurb-line { font-style: italic; }
@media (max-width: 760px) { .frow { grid-template-columns: 1fr; gap: .1rem; } }

/* favorites */
.fav-row { margin: .6rem 0 0; }
.fav {
  font: inherit; font-family: var(--caps); font-size: .95rem; cursor: pointer; padding: .25rem .9rem; border-radius: 99px;
  border: 1px solid var(--gold-soft); background: transparent; color: var(--ink);
}
.fav:hover { border-color: var(--rubric); color: var(--rubric); }
.fav.on { background: var(--chip); color: var(--rubric); border-color: var(--rubric); }
.fav:focus-visible, .unfav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.star { color: var(--gold); }
ol.favs .tale-row { display: flex; align-items: center; }
ol.favs .tale-row a { flex: 1; min-width: 0; }
.unfav { font-size: 1.3rem; color: var(--gold); background: none; border: none; cursor: pointer; padding: .3rem .6rem; }
.unfav:hover { color: var(--rubric); }

/* password lock */
.unlock { display: grid; gap: .6rem; justify-items: center; margin: 1.2rem auto 0; max-width: 20rem; }
.unlock label { font-style: italic; }
.unlock input {
  font: inherit; width: 100%; padding: .5rem .8rem; border: 1px solid var(--gold-soft); border-radius: 4px;
  background: var(--page); color: var(--ink); text-align: center;
}
.linkish { font: inherit; background: none; border: none; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; }
