:root {
  --paper: #FFFEF9;
  --ink: #292923;
  --yellow: #F8EDB9;
  --accent: #8D927D;
  --muted: #6D6D61;
  --line: #E4E3D9;
  --charcoal: #292923;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 Arial, Helvetica, sans-serif;
}
main { flex: 1; }

a { color: inherit; text-underline-offset: 5px; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, textarea, select { outline-offset: 5px; }
button { cursor: pointer; }
button:disabled { opacity: .4; cursor: default; }
::selection { background: var(--yellow); color: var(--charcoal); }

/* Chrome */
header {
  padding: 30px 5vw;
  display: flex;
  align-items: center;
  gap: 30px;
}
header a { text-decoration: none; }
.logo { font-size: 17px; font-weight: 400; letter-spacing: 2px; }
.tagline { display: none; }
nav { margin-left: auto; display: flex; gap: 30px; font-size: 12px; }
nav a { padding: 10px 0; }
nav a:hover { text-decoration: underline; text-decoration-color: #c9bd81; }

footer {
  padding: 28px 5vw;
  display: flex;
  gap: 25px;
  font-size: 11px;
  color: var(--muted);
}
footer span { margin-right: auto; visibility: hidden; }

body.landing > header,
body.landing > footer,
.cut-reading > footer { display: none; }

/* Landing */
.entrance {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  background: var(--paper);
}
.vertical-word {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}
.entrance-note {
  position: absolute;
  top: calc(50% + 165px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 11px;
  letter-spacing: .6px;
  white-space: nowrap;
}
.entrance-note p { margin: 0 0 18px; color: var(--muted); }
.entrance-note a {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid var(--yellow);
  padding: 10px 8px;
}
.entrance-note a:hover { background: var(--yellow); }
.entrance-links {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  font-size: 11px;
}
.entrance-links a { text-decoration: none; letter-spacing: .4px; }
.entrance-links a:hover,
.entrance-privacy:hover { text-decoration: underline; text-decoration-color: #c9bd81; }
.entrance-privacy {
  position: absolute;
  left: 5vw;
  bottom: 35px;
  font-size: 11px;
  text-decoration: none;
  color: var(--muted);
}

/* Forms & shared text pages */
.form-page { max-width: 620px; margin: 90px auto 110px; padding: 0 25px; }
.form-page > p { line-height: 1.9; }
.about-page { max-width: 520px; }
.about-cta { margin-top: 34px; }
h1 { font-size: 26px; font-weight: 400; line-height: 1.5; letter-spacing: -.4px; margin-bottom: 35px; }
h2 { font-size: 21px; font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.muted, .label { color: var(--muted); font-size: 12px; }
label { display: block; margin: 30px 0 8px; font-size: 12px; }
input, textarea, select {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 16px;
}
input:focus, textarea:focus, select:focus { border-bottom-color: #8b8568; outline: none; }
textarea { min-height: 210px; resize: vertical; line-height: 1.7; }
form button { margin-top: 28px; }
.status { margin-top: 18px; font-size: 14px; }

.button, button.primary {
  display: inline-block;
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid #b5ac7f;
  text-decoration: none;
  border-radius: 0;
  font-size: 13px;
}
.button:hover, button.primary:hover { background: var(--yellow); }
.quiet { border: 0; background: transparent; text-decoration: underline; padding: 12px 0; }
.list-row { padding: 22px 0; border-bottom: 1px solid var(--line); display: block; width: 100%; text-align: left; }
.editor-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.editor-block textarea { min-height: 96px; }

/* Explore page collage borders */
.explore-frame {
  position: relative;
  width: 100%;
  margin: 65px 0 90px;
  padding: 10px 70px;
  min-height: 640px;
}
.explore-frame .about-page { margin: 0 auto; padding: 0 25px; }
.art-border {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 24px;
  display: grid;
  grid-template-rows: repeat(15, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.art-border-left { left: 0; }
.art-border-right { right: 0; }
.art-border img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.art-border .poetry-block { object-fit: cover; object-position: center; grid-row: span 2; }
.art-border .art-crop { width: 100%; height: 100%; min-height: 0; overflow: hidden; }
.art-border .art-crop img { transform: scale(3.5); }
.art-border .art-crop:nth-child(3n) img { transform: scale(4.2); }

/* Private collection */
.btn-solid {
  display: inline-block;
  padding: 10px 8px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .5px;
  border: 0;
  border-bottom: 1px solid var(--yellow);
  transition: background .15s ease;
}
.btn-solid:hover { background: var(--yellow); }
.collection-empty { max-width: 540px; margin: 110px auto 120px; }
.collection-empty h1 { font: 400 clamp(28px, 3vw, 36px)/1.25 Georgia, serif; margin: 14px 0 18px; letter-spacing: 0; }
.collection-empty-copy { font-size: 15px; line-height: 1.85; color: var(--muted); margin: 0 0 34px; }
.collection-empty-cta { margin-bottom: 56px; }
.collection-page { max-width: 680px; margin: 70px auto 110px; }
.collection-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.collection-head h1 { margin: 8px 0 0; font: 400 28px/1.2 Georgia, serif; letter-spacing: 0; }
.collection-list { margin-top: 8px; }
.collection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.collection-row:hover .collection-title {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #c9bd81;
}
.collection-meta { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.collection-title { font: 400 19px/1.35 Georgia, serif; color: var(--ink); }
.collection-pairing { font-size: 12px; color: var(--muted); line-height: 1.5; }
.collection-row.is-pending .collection-title { color: var(--muted); }
.collection-thumb { width: 54px; height: 54px; object-fit: cover; flex: 0 0 auto; background: #f3f1e7; }
.collection-state { font-size: 11px; color: var(--muted); letter-spacing: .3px; flex: 0 0 auto; }
.collection-util {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-size: 11px;
  color: var(--muted);
}
.collection-util a,
.collection-util-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
}
.collection-util a:hover,
.collection-util-btn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Writer profile band, modal & public page */
.collection-profile {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.collection-profile-main { min-width: 0; }
.collection-profile h1 { font: 400 20px/1.3 Georgia, serif; margin: 0; letter-spacing: 0; }
.collection-profile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--muted);
}
.profile-edit-btn,
.profile-public-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}
.profile-edit-btn:hover,
.profile-public-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.collection-empty-inline { padding: 48px 0 24px; max-width: 460px; }
.collection-empty-inline .collection-empty-copy { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 24px; }
.collection-join-card {
  position: relative;
  overflow: hidden;
  margin: 56px auto 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  max-width: 520px;
}
.collection-join-bg {
  position: absolute;
  inset: -14px;
  background: url('/assets/early-access-card.jpg') center / cover no-repeat;
  filter: blur(2.5px) saturate(1.06);
  transform: scale(1.05);
  pointer-events: none;
}
.collection-join-veil {
  position: absolute;
  inset: 0;
  background: rgba(255, 254, 249, .58);
  pointer-events: none;
}
.collection-join-body {
  position: relative;
  z-index: 1;
  padding: 34px 36px 32px;
}
.collection-join-head { margin-bottom: 22px; }
.collection-join-card .label { color: #4f4f44; }
.collection-join-price { font: 400 22px/1.3 Georgia, serif; color: var(--ink); margin-top: 8px; }
.collection-join-price span { font: 400 12px/1.5 Arial, Helvetica, sans-serif; color: #4f4f44; }
.collection-join-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.collection-join-list li {
  position: relative;
  padding-left: 16px;
}
.collection-join-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2cc6b;
}
.collection-join-list strong {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 3px;
}
.collection-join-list span {
  display: block;
  font: 14px/1.65 Georgia, serif;
  color: #3d3d34;
}
.collection-join-foot {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(41, 41, 35, .15);
}
.collection-join-foot button { margin-top: 0; }
.collection-join-foot .login-reset { color: #4f4f44; }
.collection-writing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 44px 0 14px;
}
.collection-writing-head h2 { font: 400 20px/1.3 Georgia, serif; margin: 0; letter-spacing: 0; }

.profile-summary { margin-top: 14px; }
.profile-bio { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 8px 0 0; max-width: 440px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 12px; }
.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s ease;
}
.profile-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c9bd81; }
.link-ico { display: inline-flex; width: 13px; height: 13px; flex: 0 0 auto; color: var(--muted); }
.link-ico svg { width: 100%; height: 100%; display: block; }
.profile-links a:hover .link-ico { color: var(--ink); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(41, 41, 35, .28);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 20px 36px;
  overflow-y: auto;
}
.modal-sheet {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 30px 26px;
  box-shadow: 0 18px 50px rgba(41, 41, 35, .12);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-head h2 { font: 400 22px/1.25 Georgia, serif; margin: 0; letter-spacing: 0; }
.modal-close {
  border: 0;
  background: transparent;
  padding: 0 4px;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal-close:hover { color: var(--ink); }

.share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 8px;
}
.share-url {
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-copy-btn {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 4px 2px;
  font-size: 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  cursor: pointer;
}
.share-copy-btn:hover { background: var(--yellow); }

.profile-page label { display: block; margin: 18px 0 4px; font-size: 12px; color: var(--muted); }
.profile-page input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  font-size: 14px;
}
.profile-page input:focus { border-bottom-color: #8b8568; outline: none; }
.profile-page textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.65;
  resize: vertical;
  min-height: 46px;
}
.profile-page textarea:focus { border-bottom-color: #8b8568; outline: none; }
.profile-section-label { margin: 18px 0 8px; font-size: 12px; color: var(--muted); }
.profile-link-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}
.link-remove-btn {
  border: 0;
  background: transparent;
  padding: 4px 6px;
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.link-remove-btn:hover { color: var(--ink); }
.add-link-btn {
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.add-link-btn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.add-link-btn[hidden] { display: none; }

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.modal-foot button { margin-top: 0; }
.modal-foot-right { font-size: 12px; }
.settings-status-note { font-size: 12px; }
.settings-action-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}
.settings-action-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.link-icon-wrap { position: relative; }
.link-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.link-icon-btn:hover { background: var(--yellow); border-color: var(--yellow); }
.link-icon-btn .link-ico { width: 14px; height: 14px; color: var(--ink); }
.link-icon-menu {
  position: absolute;
  left: 0;
  top: 34px;
  z-index: 20;
  min-width: 132px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(41, 41, 35, .1);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.link-icon-menu[hidden] { display: none; }
.link-icon-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.link-icon-opt:hover,
.link-icon-opt.is-active { background: var(--yellow); }
.link-icon-opt .link-ico { width: 13px; height: 13px; color: var(--ink); }
.slug-field { display: flex; align-items: baseline; border-bottom: 1px solid var(--line); }
.slug-field:focus-within { border-bottom-color: #8b8568; }
.slug-field.is-locked { opacity: .72; }
.slug-field.is-locked:focus-within { border-bottom-color: var(--line); }
.slug-field.is-locked input { cursor: default; color: var(--muted); }
.slug-locked-note { margin: 6px 0 0; font-size: 11px; }
.slug-prefix { font-size: 14px; color: var(--muted); padding-right: 2px; user-select: none; }
.slug-field input { border-bottom: 0; flex: 1; }
.spread-empty-public { max-width: 680px; margin: 44px auto 0; font-size: 14px; color: var(--muted); }
.writer-empty { margin-top: 32px; font-size: 13px; }
.cut-byline-link { color: inherit; text-decoration: none; border-bottom: 1px solid var(--yellow); padding-bottom: 1px; }
.cut-byline-link:hover { background: var(--yellow); color: var(--ink); }
.cut-end-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.cut-end-toggle:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Route loading — quiet centered breathing pebble */
.page-loading {
  min-height: calc(100svh - 170px);
  display: grid;
  place-items: center;
  animation: page-loading-in .22s ease both;
}
.page-loading-pebble {
  width: 28px;
  height: 28px;
  display: block;
  animation: spread-pebble-breathe 2.6s ease-in-out infinite;
}
@keyframes page-loading-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Awaiting echoes — centered pebble waiting room */
.waiting-room {
  min-height: calc(100svh - 170px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 24px 48px;
  text-align: center;
  transition: opacity .24s ease;
}
.waiting-room.is-leaving { opacity: 0; }
.waiting-title {
  font: 400 16px/1.4 Georgia, serif;
  color: var(--muted);
  max-width: 420px;
}
.pebble-orb {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: #F5E184;
  border-radius: 54% 46% 42% 58% / 48% 55% 45% 52%;
  transition: border-radius 2.6s cubic-bezier(.45, .05, .55, .95), background-color 3s ease, transform 2.8s ease;
}
.waiting-pebble { width: 78px; height: 78px; }
.awaiting-line {
  margin: 0;
  font: italic 14px/1.6 Georgia, serif;
  color: var(--muted);
  transition: opacity .32s ease;
}
.awaiting-line.is-fading { opacity: 0; }
.waiting-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.waiting-actions-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.waiting-actions-row .btn-solid { margin: 0; }
.ops-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 44px; }
.ops-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 14px 0 22px;
}
.ops-summary span { display: block; font-size: 11px; color: var(--muted); }
.ops-summary strong { display: block; font: 400 20px/1.3 Georgia, serif; margin-top: 4px; }
.ops-warn { color: #9a3b2a; }
.ops-row-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ops-badge { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border: 1px solid var(--line); color: var(--muted); }
.ops-badge.is-succeeded { background: #edf3e6; border-color: #c7d6b5; color: #365224; }
.ops-badge.is-failed, .ops-badge.is-stuck { background: #faeae6; border-color: #e4bbb2; color: #9a3b2a; }
.ops-badge.is-running, .ops-badge.is-queued { background: var(--yellow); border-color: #d6c98e; color: var(--ink); }
.ops-meta, .ops-stages { font-size: 12px; margin-top: 4px; }
.ops-error { font-size: 12px; color: #9a3b2a; margin-top: 6px; }
.ops-reset { margin-top: 8px; }
.flow-reader.is-entering { animation: reader-ease-in .55s ease both; }
@keyframes reader-ease-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Membership — full-bleed dark constellation gallery on left, ivory details on right */
body.membership-split header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 0;
  pointer-events: none;
}
body.membership-split header a,
body.membership-split header button { pointer-events: auto; }
body.membership-split header .logo { color: #fffef9; }
body.membership-split header .tagline { color: rgba(255, 254, 249, .58); }
body.membership-split footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-top: 0;
  pointer-events: none;
}
body.membership-split footer span { color: rgba(255, 254, 249, .45); }
body.membership-split footer a { pointer-events: auto; }

.membership-frame {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  width: 100%;
  min-height: 100svh;
  padding: 0;
}
.membership-constellation-wall {
  position: relative;
  background: #272a28;
  min-height: 100svh;
  overflow: hidden;
}
.constellation-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.membership-copy-col {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 104px clamp(28px, 5vw, 80px) 84px;
}
.membership-page { max-width: 540px; width: 100%; margin: 0; padding: 0; }
.membership-page h1 {
  font: 400 clamp(22px, 2.25vw, 31px)/1.24 Georgia, serif;
  margin: 14px 0 22px;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.membership-lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 32px;
}
.membership-price {
  font: 400 21px/1.3 Georgia, serif;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.membership-price span {
  font: 400 12px/1.5 Arial, Helvetica, sans-serif;
  color: var(--muted);
}
.membership-bullets {
  padding-left: 18px;
  margin: 28px 0 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.membership-bullets li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.membership-bullets strong {
  color: var(--ink);
  font-weight: 400;
}
.membership-access {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.membership-foot { margin-top: 8px; }
.early-access-note { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 28px; }
.membership-list { list-style: none; padding: 0; margin: 28px 0 36px; display: flex; flex-direction: column; gap: 18px; }
.membership-list li { font-size: 14px; line-height: 1.75; color: var(--muted); }
.membership-list strong { color: var(--ink); font-weight: 400; }

/* Sign in */
.login-page { max-width: 440px; margin: 92px auto 120px; }
.login-page h1 { font: 400 clamp(26px, 3vw, 34px)/1.25 Georgia, serif; margin: 14px 0 14px; letter-spacing: 0; }
.login-lead { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 0 0 28px; }
.login-page label { margin: 22px 0 4px; font-size: 12px; color: var(--muted); }
.login-page input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 15px;
}
.login-page input:focus { border-bottom-color: #8b8568; }
.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 44px));
  gap: 12px;
  margin-top: 8px;
}
.login-page .otp-digit {
  width: 100%;
  text-align: center;
  font: 400 22px/1.3 Georgia, serif;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  caret-color: var(--ink);
}
.login-page .otp-digit:focus { border-bottom-color: var(--ink); outline: none; }
.login-actions { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.login-actions button { margin-top: 0; }
.login-reset { border: 0; background: transparent; padding: 0; font-size: 12px; color: var(--muted); text-decoration: none; }
.login-reset:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.login-footnote { margin-top: 32px; font-size: 12px; line-height: 1.75; color: var(--muted); }
.login-footnote a { color: var(--ink); text-decoration: none; }
.login-footnote a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c9bd81; }
.newsletter-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 26px 0 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  cursor: pointer;
}
.newsletter-choice input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: 0;
  margin: 4px 0 0;
  flex: 0 0 auto;
  accent-color: var(--charcoal);
}
.newsletter-hint { margin: 4px 0 0 23px; font-size: 11px; line-height: 1.6; }

/* Quiet formatted writing room */
.writer-page { max-width: 660px; margin: 65px auto 110px; }
.writer-title {
  font: 400 clamp(26px, 3vw, 34px)/1.25 Georgia, serif;
  padding: 14px 0 12px;
  margin-top: 8px;
  border-bottom: 0;
}
.writer-title:focus { border-bottom: 0; }
.writer-title::placeholder { color: #b5b2a6; }
.format-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0 14px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.format-btn {
  margin-top: 0;
  border: 0;
  background: transparent;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  font: 13px/1 Georgia, serif;
  color: var(--muted);
}
.format-btn:hover,
.format-btn.is-active { background: var(--yellow); color: var(--ink); }
.format-hint { margin-left: auto; font-size: 11px; color: #9a988c; }
.writer-canvas {
  min-height: 300px;
  padding: 18px 0 36px;
  font: 17px/1.9 Georgia, serif;
  outline: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.writer-canvas:empty::before {
  content: attr(data-placeholder);
  color: #a9a69a;
  pointer-events: none;
}
.editor-note-toggle { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.editor-note-toggle summary { cursor: pointer; padding: 6px 0; }
.editor-note-toggle input { margin-top: 8px; font-size: 14px; }
.writer-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.writer-foot button { margin-top: 0; }
.writer-privacy { margin-top: 20px; }

/* Canonical gallery reading flow */
.flow-original {
  padding: 55px max(24px, calc((100% - 620px) / 2)) 95px;
  background: var(--paper);
}
.flow-original h1 { font: 400 clamp(28px, 3vw, 38px)/1.2 Georgia, serif; margin: 16px 0; }
.cut-byline { font-size: 13px; color: var(--muted); margin-bottom: 36px; }
.cut-poem { font: 17px/1.9 Georgia, serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.flow-original.is-collapsible .cut-poem { max-height: 52svh; overflow: hidden; }
.flow-original.is-collapsible.is-expanded .cut-poem { max-height: none; overflow: visible; }
.flow-toggle {
  border: 0;
  background: transparent;
  padding: 18px 0 4px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.flow-echo { padding: 72px 6vw 96px; }
.flow-echo.dark-wall { background: var(--charcoal); color: var(--paper); }
.flow-echo.warm-wall { background: var(--yellow); color: var(--charcoal); }
.flow-echo.stone-wall { background: #F3F1E7; color: var(--ink); border-top: 1px solid var(--line); }

.flow-original-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.flow-vis-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.flow-original-head { flex-wrap: wrap; }
.card-export-status { font: 12px/1.5 var(--sans); color: var(--muted); margin: 10px 0 0; }
.card-export-status:empty { display: none; }
.share-menu { position: relative; }
.share-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 172px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 20;
}
.share-popover[hidden] { display: none; }
.share-item {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  text-align: left;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s ease;
}
.share-item:hover:not(:disabled) { background: #f6f2e2; }
.share-item:disabled { opacity: .5; cursor: wait; }
.flow-vis-btn {
  border: 1px solid var(--line);
  background: transparent;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.flow-vis-btn:hover { border-color: var(--ink); color: var(--ink); }
.flow-vis-btn.is-public { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.further-section {
  padding: 64px 6vw 88px;
  background: #F3F1E7;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.further-head {
  max-width: 780px;
  margin: 0 auto 48px;
}
.further-bar {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  margin-top: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.further-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 6px 4px 10px;
  margin-bottom: -13px;
  border-bottom: 2px solid transparent;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.further-tab:hover { color: var(--ink); }
.further-tab.is-active { color: var(--ink); border-bottom-color: #d9c56b; }
.further-thumb {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #e9e6da;
}
.further-glyph {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #e9e6da;
  font: 400 20px/1 Georgia, serif;
  color: var(--muted);
}
.further-tab-text { display: flex; flex-direction: column; gap: 2px; max-width: 190px; }
.further-tab-text strong {
  font: 400 13px/1.3 Georgia, serif;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.further-tab-text span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.further-stage { transition: opacity .15s ease; }
.further-stage.is-swapping { opacity: 0; }
.further-stage .flow-work { filter: none; opacity: 1; }
.flow-work {
  max-width: 1040px;
  margin: auto;
  text-align: center;
  filter: blur(var(--reveal-blur, 0px));
  opacity: var(--reveal-opacity, 1);
}
.flow-echo .label { color: inherit; opacity: .75; font-size: 12px; margin-bottom: 24px; }
.flow-work img { display: block; width: 100%; height: auto; max-height: 80svh; object-fit: contain; }
.flow-work h2 { font: 400 21px/1.35 Georgia, serif; margin: 26px 0 12px; }
.cut-credit { white-space: pre-line; font-size: 12px; line-height: 1.75; opacity: .8; max-width: 570px; margin: auto; }
.cut-image-credit { margin-top: 8px; font-size: 11px; opacity: .68; }
.cut-source { display: inline-block; margin-top: 14px; font-size: 11px; opacity: .75; }
.cut-source:hover { opacity: 1; }
.cut-excerpt {
  max-width: 570px;
  margin: 36px auto 44px;
  text-align: left;
  white-space: pre-wrap;
  font: 18px/1.85 Georgia, serif;
}
.cut-excerpt:has(+ .cut-translation) { margin-bottom: 20px; }
.cut-translation {
  max-width: 570px;
  margin: 0 auto 44px;
  text-align: left;
  white-space: pre-wrap;
  font: italic 16px/1.8 Georgia, serif;
  color: var(--muted);
}

.cut-context { max-width: 570px; margin: 56px auto 0; text-align: left; }
.cut-context .label { font-size: 12px; margin-bottom: 14px; }
.cut-context blockquote { font: italic 16px/1.8 Georgia, serif; white-space: pre-wrap; margin: 0 0 22px; }
.cut-connection { font-size: 15px; line-height: 1.85; }
.cut-connection p { margin: 0 0 18px; }
.cut-connection p:last-child { margin-bottom: 0; }

.cut-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  font-size: 12px;
}
.cut-action { border: 0; background: transparent; padding: 4px 0; font-size: 12px; opacity: .72; text-decoration: none; }
.cut-action:hover, .cut-action.is-selected { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.cut-dot { opacity: .35; }
.cut-redirect { margin-top: 18px; }
.cut-redirect label { margin: 0 0 8px; font-size: 12px; opacity: .8; }
.cut-optional { opacity: .7; }
.cut-redirect-row { display: flex; gap: 16px; align-items: flex-end; }
.cut-redirect input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}
.cut-submit {
  margin-top: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 8px 2px;
  font-size: 12px;
  white-space: nowrap;
}
.cut-submit:hover { opacity: .75; }
.cut-feedback-status { margin-top: 14px; font-size: 12px; opacity: .8; min-height: 18px; }

.cut-end {
  padding: 40px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: var(--yellow);
  font-size: 12px;
}
.cut-end-actions { display: flex; align-items: center; gap: 20px; }
.cut-end-delete { border: 0; background: transparent; padding: 0; font-size: 12px; opacity: .65; text-decoration: underline; }
.cut-end-delete:hover { opacity: 1; }

/* Responsive */
@media (max-width: 760px) {
  header { padding: 22px 24px; gap: 20px; }
  nav { gap: 18px; }
  footer { padding: 20px 24px; }
  footer span { display: none; }
  .form-page { margin: 65px auto 80px; }
  .entrance-links {
    top: auto;
    bottom: 36px;
    left: 24px;
    right: 24px;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 26px;
  }
  .entrance-privacy { bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 10px; }
  .entrance-note { top: calc(50% + 125px); }
  .vertical-word { font-size: 17px; gap: 11px; }
  .explore-frame { margin: 45px auto 65px; padding: 0 35px; min-height: 640px; }
  .explore-frame .about-page { padding: 0 8px; }
  .art-border { width: 12px; }
  .collection-head { flex-direction: column; align-items: flex-start; }
  .collection-thumb { width: 46px; height: 46px; }
  body.membership-split header { position: static; background: var(--paper); border-bottom: 1px solid var(--line); pointer-events: auto; }
  body.membership-split header .logo { color: var(--ink); }
  body.membership-split header .tagline { color: var(--muted); }
  body.membership-split footer { position: static; background: var(--paper); border-top: 1px solid var(--line); pointer-events: auto; }
  .membership-frame { grid-template-columns: 1fr; padding: 0; min-height: auto; }
  .membership-constellation-wall { min-height: 360px; height: 380px; }
  .membership-copy-col { padding: 48px 24px 72px; }
  .membership-page h1 { white-space: normal; }
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .preview-stage { grid-template-columns: 1fr; }
  .preview-poem, .preview-echo { padding: 26px 22px; }
  .flow-original { padding: 36px 7vw 72px; }
  .cut-poem { font-size: 16px; }
  .flow-echo { padding: 56px 7vw 72px; }
  .flow-work img { max-height: 74svh; }
  .cut-excerpt { font-size: 17px; }
  .cut-context { margin-top: 42px; }
  .cut-redirect-row { flex-direction: column; align-items: stretch; }
  .cut-end { flex-wrap: wrap; }
}

@media (max-height: 540px) { .entrance { min-height: 540px; } }
@media (prefers-reduced-motion: reduce) { .flow-work { filter: none; opacity: 1; } }

.newsletter-choice { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.newsletter-choice input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: 5px 0 0; padding: 0; accent-color: #64684f; }


/* Explore walkthrough — matched to tart's quiet editorial scale */
.encounter-story { max-width: 1080px; margin: 0 auto; }
.encounter-begin {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
  padding: 64px 40px 88px;
  align-items: start;
}
.encounter-intro { padding-top: 28px; }
.encounter-intro h1 {
  font: 400 clamp(28px, 3vw, 36px)/1.22 Georgia, serif;
  letter-spacing: 0;
  margin: 0 0 18px;
}
.encounter-intro > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 340px;
  margin: 0;
}
.story-jump {
  display: inline-block;
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: .3px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--yellow);
  padding: 4px 2px;
  transition: background .15s ease;
}
.story-jump:hover { background: var(--yellow); }
.encounter-editor { min-width: 0; }
.encounter-editor .writer-canvas { min-height: 280px; }
.sample-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.encounter-caption { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.sample-reset {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 2px 0;
  background: none;
  font-size: 11px;
  color: var(--muted);
}
.sample-reset:hover { color: var(--ink); border-bottom-color: var(--ink); }

.encounter-literature {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 64px;
  padding: 76px 48px;
  background: linear-gradient(90deg, transparent 0%, transparent 48%, #f8edb966 48%, #f8edb966 100%);
  scroll-margin-top: 28px;
}
.encounter-passage { align-self: center; }
.encounter-passage blockquote { font: 19px/1.85 Georgia, serif; margin: 0; }
.encounter-story mark {
  color: inherit;
  background: linear-gradient(var(--yellow), var(--yellow)) left bottom/0% 88% no-repeat;
  transition: background-size 1.2s .2s;
}
.encounter-story .in-view mark { background-size: 100% 88%; }

.encounter-dufu h2,
.encounter-art-copy h2 {
  font: 400 22px/1.3 Georgia, serif;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.encounter-credit { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.dufu-chinese { font: 18px/1.85 Georgia, serif; margin: 0 0 18px; }
.encounter-dufu blockquote { font: italic 16px/1.8 Georgia, serif; margin: 0 0 24px; color: var(--ink); }
.encounter-connection,
.encounter-art-copy > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 14px;
}
.encounter-art-copy > p:last-child,
.encounter-connection { margin-bottom: 0; }

.encounter-art {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  padding: 88px 40px 76px;
  align-items: center;
}
.encounter-art figure { margin: 0; }
.encounter-art img { width: 100%; max-height: 520px; object-fit: contain; display: block; }
.encounter-art figcaption { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 14px; }
.encounter-art-copy blockquote { font: 17px/1.8 Georgia, serif; margin: 0 0 24px; }

.encounter-return { max-width: 640px; margin: 36px auto 88px; padding: 0 24px; }
.encounter-return h2,
.encounter-invitation h2 {
  font: 400 26px/1.28 Georgia, serif;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.encounter-return > p,
.encounter-invitation > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.encounter-return > p { max-width: 480px; }
.encounter-saved {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  margin-top: 32px;
  border-block: 1px solid var(--line);
  text-decoration: none;
}
.encounter-saved strong { display: block; font: 400 20px/1.35 Georgia, serif; margin: 8px 0 6px; color: var(--ink); }
.encounter-saved-sub { font-size: 12px; color: var(--muted); }
.encounter-saved img { width: 76px; height: 88px; object-fit: cover; }
.encounter-read {
  grid-column: 1/-1;
  font-size: 12px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #c9bd81;
}

.encounter-invitation { max-width: 520px; margin: 0 auto 96px; text-align: center; padding: 0 24px; }
.encounter-cta { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 26px; }
.encounter-back { font-size: 12px; color: var(--muted); text-decoration: none; }
.encounter-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.encounter-invitation .encounter-caption { margin-top: 18px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  .encounter-begin { grid-template-columns: 1fr; gap: 36px; padding: 36px 24px 64px; }
  .encounter-intro { padding-top: 0; }
  .encounter-literature { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; background: #f8edb940; }
  .encounter-passage blockquote { font-size: 17px; }
  .encounter-art { grid-template-columns: 1fr; gap: 36px; padding: 64px 24px; }
  .encounter-return { margin: 20px auto 68px; padding: 0 24px; }
  .encounter-editor .format-hint { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .encounter-story mark { background-size: 100% 88%; transition: none; }
}

/* Collection: quiet top profile band + curved spread of writing. */
.collection-spread-page { max-width: 1440px; margin: 0 auto; padding: 64px 4vw 88px; }
.spread-profile { max-width: 680px; margin: 0 auto; }
.membership-banner {
  max-width: 680px;
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.membership-banner-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.membership-banner-pebble { width: 16px; height: 16px; flex: 0 0 auto; display: block; }
.membership-banner-text {
  font: 400 15px/1.4 Georgia, serif;
  color: var(--ink);
}
.membership-banner-price {
  font: 400 12px/1.4 var(--sans);
  color: var(--muted);
  margin-left: 6px;
}
.membership-banner-action { flex: 0 0 auto; }
.membership-banner-action .btn-solid { margin: 0; font-size: 12px; padding: 5px 2px; }
.membership-banner .status { flex-basis: 100%; margin: 0; font-size: 11px; }
.membership-banner .status:empty { display: none; }
.spread-intro { max-width: 500px; text-align: center; margin: 44px auto 0; }
.spread-intro h2 { font: 400 clamp(24px, 2.8vw, 30px)/1.25 Georgia, serif; letter-spacing: 0; margin: 12px 0 14px; }
.spread-intro > p { max-width: 440px; margin: 0 auto 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.spread-intro .spread-aside { font: italic 14px/1.6 Georgia, serif; color: var(--muted); }
.spread-action { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 22px; }
.spread-action button { margin-top: 0; }
.spread-intro .spread-terms { font-size: 11px; line-height: 1.7; margin: 14px auto 0; color: var(--muted); }
.spread-intro .status:empty { display: none; }
.spread-browse-head {
  max-width: 680px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.spread-browse-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.spread-shelf {
  display: flex;
  gap: 28px;
  margin-top: 52px;
  padding: 24px 48px 56px;
  overflow-x: auto;
  align-items: stretch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.spread-shelf:has(.spread-card:nth-child(-n+5):last-child) { justify-content: safe center; }
.spread-card {
  position: relative;
  flex: 0 0 176px;
  height: 244px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid #e6e2d7;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), border-color .25s ease;
  scroll-snap-align: center;
  animation: spread-arrive .55s both;
  animation-delay: var(--delay);
}
.spread-card:hover,
.spread-card:focus-visible {
  transform: translateY(-6px);
  border-color: #cfc9b8;
  z-index: 2;
}
.spread-poem-body {
  position: relative;
  flex: 0 0 52%;
  min-height: 0;
  padding: 15px 14px 8px;
  overflow: hidden;
  background: var(--paper);
}
.spread-poem-body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: linear-gradient(transparent, var(--paper));
  pointer-events: none;
}
.spread-poem-body h2 {
  font: 400 14px/1.25 Georgia, serif;
  margin: 0 0 7px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spread-poem-lines {
  font: 11px/1.58 Georgia, serif;
  color: #4f4f44;
  white-space: pre-wrap;
  margin: 0;
}
.spread-poem-art {
  position: relative;
  flex: 1 1 48%;
  min-height: 0;
  background: #f5f2e6;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.spread-poem-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spread-poem-art.has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 24, 20, .68) 0%, rgba(24, 24, 20, .18) 44%, transparent 74%);
  pointer-events: none;
}
.spread-poem-echoes {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 8px 11px;
  font-size: 10px;
  line-height: 1.35;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spread-poem-art.has-img .spread-poem-echoes { color: rgba(255, 254, 249, .92); }
.spread-poem-art.is-pending-art {
  background: #f7f4e9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.spread-pending-pebble {
  width: 22px;
  height: 22px;
  display: block;
  animation: spread-pebble-breathe 3.6s ease-in-out infinite;
}
.spread-pending-label {
  font: italic 11px/1.3 Georgia, serif;
  color: var(--muted);
}
@keyframes spread-pebble-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .9; }
  50% { transform: scale(1.09) rotate(8deg); opacity: 1; }
}
.spread-membership {
  background: #fdfbf2;
  border-color: #d8d2be;
  padding: 16px 15px 14px;
  justify-content: space-between;
}
.spread-ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.spread-ticket-top .label { font-size: 10px; color: var(--muted); }
.spread-ticket-pebble { width: 17px; height: 17px; display: block; flex: 0 0 auto; }
.spread-ticket-mid { margin: auto 0; padding: 6px 0; }
.spread-ticket-price {
  font: 400 32px/1 Georgia, serif;
  color: var(--ink);
  letter-spacing: -.5px;
}
.spread-ticket-price span {
  font: 400 12px/1 Arial, Helvetica, sans-serif;
  color: var(--muted);
  margin-left: 3px;
  letter-spacing: 0;
}
.spread-ticket-mid p {
  font: italic 12px/1.55 Georgia, serif;
  color: var(--muted);
  margin: 10px 0 0;
}
.spread-ticket-stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed #d6d0bc;
}
.spread-ticket-stub .btn-solid { padding: 5px 2px; font-size: 11px; }
.spread-ticket-stub .login-reset { font-size: 10px; }
.spread-membership .status { margin: 6px 0 0; font-size: 10px; }
.spread-membership .status:empty { display: none; }
.new-piece-fab {
  position: fixed;
  left: max(60px, 6.5vw);
  bottom: 64px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
  z-index: 25;
  transition: color .22s ease;
}
.new-piece-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.new-piece-pebble {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(.72) rotate(-10deg);
  transition: opacity .24s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.new-piece-plus {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  display: block;
}
.new-piece-label {
  font: 400 11px/1.3 Georgia, serif;
  color: inherit;
}
.new-piece-fab:hover,
.new-piece-fab:focus-visible {
  color: var(--ink);
}
.new-piece-fab:hover .new-piece-pebble,
.new-piece-fab:focus-visible .new-piece-pebble {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
@media (max-width: 760px) {
  .new-piece-fab { left: 24px; bottom: 52px; }
}
.modal-backdrop-center { align-items: center; padding-top: 24px; }
.modal-gate {
  max-width: 420px;
  padding: 28px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.gate-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.gate-title { font: 400 18px/1.35 Georgia, serif; margin: 0; color: var(--ink); }
.gate-body { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 10px 0 22px; }
.gate-actions { display: flex; align-items: center; gap: 18px; }
.gate-actions .btn-solid { margin: 0; font-size: 12px; }
.modal-gate .status { margin: 12px 0 0; font-size: 12px; }
.modal-gate .status:empty { display: none; }
.spread-example-note,.spread-footnote { text-align:center; font-size:11px; color:var(--muted); margin:10px auto; }
.spread-footnote { margin-top:28px; }
.spread-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap: 28px; overflow:visible; padding:30px 0; }
.spread-grid .spread-card { transform:none; margin-left: 0; box-shadow: none; }
.spread-grid .spread-card:hover,
.spread-grid .spread-card:focus-visible { transform: translateY(-6px); }
.spread-grid .spread-card:hover + .spread-card,
.spread-grid .spread-card:focus-visible + .spread-card { margin-left: 0; }
.spread-grid + .spread-caption { display: none; }
@keyframes spread-arrive { from { opacity:0; translate:0 18px; } to { opacity:1; translate:0 0; } }
@media(max-width:650px) {
 .collection-spread-page { padding:20px 22px 55px; }
 .spread-toolbar { align-items:flex-start; font-size:11px; }
 .spread-profile-actions { gap:10px; flex-wrap:wrap; justify-content:flex-end; }
 .spread-intro { margin-top:48px; }
 .spread-intro h1 { font-size:39px; }
 .spread-intro > p { font-size:14px; }
 .spread-shelf { margin:0 -22px; padding:48px 35px 44px; gap:0; }
 .spread-shelf:has(.spread-card:nth-child(n+2)) { justify-content:flex-start; }
 .spread-card { flex-basis:240px; height:300px; transform:perspective(560px) rotateY(50deg); }
 .spread-card + .spread-card { margin-left: -110px; }
 .spread-card:hover,.spread-card:focus-visible { transform:perspective(560px) rotateY(45deg) translateY(-8px); }
 .spread-card:hover + .spread-card,.spread-card:focus-visible + .spread-card { margin-left: -110px; }
 .spread-grid { margin:0; padding:24px 0; grid-template-columns:1fr; }
 .spread-grid .spread-card { max-width:330px; width:100%; justify-self:center; transform:none; margin-left:0; }
 .spread-grid .spread-card:hover + .spread-card,.spread-grid .spread-card:focus-visible + .spread-card { margin-left:0; }
 .spread-browse-head { margin-top:35px; }
}
@media(prefers-reduced-motion:reduce) { .spread-card { animation:none; transition:none; } }
