@layer components {
.j-mast-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--s-48);
  align-items: center;
}
.j-mast-row .j-editors {
  margin: 0;
  border: 0;
  border-inline-start: 1px solid var(--line);
  padding: var(--s-8) 0 var(--s-8) var(--s-24);
}
.j-mast-row .j-editors h2 {
  font-size: var(--fs-25);
  margin: var(--s-8) 0 var(--s-8);
}
.j-mast-row .j-editors > div {
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
.j-mast-row .j-editors small {
  margin: 0;
}
.j-mast-row .j-avatar {
  width: 3.1rem;
  height: 3.1rem;
}
.j-mast-row .j-desk-bio {
  font-size: var(--fs-14);
  max-width: 44ch;
}
.j-mast-row .j-editors a {
  align-items: center;
}
@media (max-width: 760px) {
  .j-mast-row {
    display: block;
  }
  .j-mast-row .j-heading {
    margin-bottom: var(--s-24);
  }
  .j-mast-row .j-editors {
    padding: var(--s-8) 0;
    margin-bottom: var(--s-16);
    border: 0;
    border-block: 1px solid var(--line);
  }
  .j-mast-row .j-editors h2 {
    font-size: var(--fs-16);
  }
  .j-mast-row .j-editors > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .j-mast-row .j-editors .j-desk-bio,
  .j-mast-row .j-editors small {
    display: none;
  }
  .j-mast-row .j-editors a {
    flex-flow: column;
    gap: var(--s-8);
    font-size: var(--fs-14);
  }
  .j-mast-row .j-editors .j-avatar {
    width: 2.8rem;
    height: 2.8rem;
  }
  .j-mast-row .j-editors h2 {
    color: var(--muted);
  }
}
.j-mobile-nav {
  display: none;
}
@media (max-width: 760px) {
  .j-mobile-nav {
    display: flex;
    justify-content: center;
    gap: var(--s-24);
    padding: var(--s-8) var(--s-8);
    border-top: 1px solid var(--field);
  }
  .j-mobile-nav a {
    color: var(--on-inverse);
    text-decoration: none;
    font-size: var(--fs-14);
  }
  .j-mobile-nav a:hover {
    text-decoration: underline;
  }
}
.j-main {
  padding-block: var(--s-48);
  color: var(--ink);
}
.j-main h1 {
  font:
    400 var(--fs-61)/1.04 var(--font);
  letter-spacing: -.03em;
  margin: var(--s-8) 0;
}
.j-main h2,
.j-shelf h2 {
  font:
    400 var(--fs-31)/1.14 var(--font);
  color: var(--ink);
}
.j-heading {
  display: flex;
  align-items: center;
  gap: var(--s-16);
  margin-bottom: var(--s-32);
}
.j-heading > div > p,
.j-shelf > p {
  max-width: 65ch;
  line-height: 1.6;
}
.j-tools,
.j-filter,
#j-plan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-16);
}
.j-filter {
  margin: var(--s-16) 0 var(--s-32);
  align-items: flex-end;
}
.j-main label,
.j-desk label {
  display: grid;
  gap: var(--s-8);
  font-weight: 600;
}
.j-main :is(input, select, textarea),
.j-desk textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--field);
  border-radius: var(--small);
  padding: var(--s-8) var(--s-8);
  background: var(--surface);
  max-width: 100%;
  min-width: 0;
}
.j-grid {
  display: grid;
  gap: var(--s-24);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.j-card {
  border: 1px solid var(--line);
  border-radius: var(--card);
  overflow: hidden;
  background: var(--surface);
  min-width: 0;
}
.j-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 1.64;
  height: auto;
  object-fit: cover;
}
.j-card-in {
  padding: var(--s-16);
}
.j-card h2 {
  font:
    400 var(--fs-25)/1.16 var(--font);
  margin: var(--s-8) 0;
}
.j-card-in p {
  overflow-wrap: anywhere;
  line-height: 1.52;
}
.j-card h2 a,
.j-editors a,
.j-by {
  text-decoration: none;
  color: var(--ink);
}
.j-card h2 a:hover,
.j-editors a:hover strong,
.j-by:hover strong {
  text-decoration: underline;
}
.j-eyebrow,
.j-disclosure,
.j-card small,
.j-by small,
.j-editors small,
.j-story-cover figcaption {
  color: var(--muted);
  font-size: var(--fs-14);
}
.j-by {
  display: inline-flex;
  gap: var(--s-8);
  align-items: center;
}
.j-by span,
.j-editors span {
  display: grid;
}
.j-avatar {
  flex: none;
  border-radius: 50%;
  width: 2.8rem;
  height: 2.8rem;
  object-fit: cover;
}
.j-heading > .j-avatar {
  width: clamp(4rem, 10vw, 8rem);
  height: auto;
}
.j-shelf {
  margin-block: var(--s-64);
}
.j-shelf > .ink-link {
  display: inline-block;
  margin-top: var(--s-16);
}
.j-shelf .story-head {
  align-items: center;
}
.j-editors {
  margin: var(--s-48) 0 var(--s-16);
  border-top: 1px solid var(--line);
  padding-top: var(--s-16);
}
.j-editors > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-24);
}
.j-editors a {
  display: flex;
  gap: var(--s-16);
  align-items: flex-start;
  line-height: 1.4;
}
.j-editors .j-avatar {
  width: 4.25rem;
  height: 4.25rem;
}
.j-editors small {
  margin-bottom: var(--s-8);
}
.j-article,
.j-compose {
  max-width: 780px;
  margin: var(--s-16) auto;
}
.j-article h1,
.j-prose,
.j-stops,
.j-mine {
  overflow-wrap: anywhere;
}
.j-story-cover {
  margin: var(--s-24) 0;
}
.j-story-cover img {
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  display: block;
  background: var(--soft);
  border-radius: var(--card);
}
.j-story-cover figcaption {
  margin: var(--s-8) 0;
}
.j-prose p {
  white-space: pre-line;
  line-height: 1.75;
}
.j-intro {
  font-size: var(--fs-20);
}
.j-stops,
.j-desk article {
  background: var(--soft);
  border-radius: var(--card);
  padding: var(--s-24);
  margin: var(--s-32) 0;
}
.j-stops li,
.j-compose li {
  margin: var(--s-8) 0;
}
.j-stops small {
  display: inline-block;
  color: var(--muted);
}
.j-flag,
.j-compose details {
  margin: var(--s-16) 0;
}
.j-flag summary,
.j-compose summary,
.j-desk summary {
  cursor: pointer;
  color: var(--ink);
}
.j-compose,
.j-flag form {
  display: grid;
  gap: var(--s-16);
}
.j-compose fieldset {
  border: 1px solid var(--line);
  border-radius: var(--small);
  padding: var(--s-16);
  min-width: 0;
}
.j-compose fieldset > button,
.j-compose details > button {
  margin: var(--s-8) 0;
}
.j-compose :is(input, textarea, select) {
  width: 100%;
}
.j-compose input[type="checkbox"] {
  width: 1.3rem;
}
.j-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-16);
}
.j-remove {
  margin-inline-start: var(--s-8);
}
.j-mine article {
  border-top: 1px solid var(--line);
  padding: var(--s-16) 0;
}
.j-mine h2 {
  margin: var(--s-8) 0;
}
.j-desk {
  padding: var(--s-16) 0;
}
.j-desk article {
  margin: var(--s-16) 0;
}
.j-desk button,
.j-desk a {
  margin: var(--s-8) var(--s-8) var(--s-8) 0;
}
.j-desk textarea {
  display: block;
  width: 100%;
}
#j-plan input {
  max-width: 5rem;
}
.j-main .primary,
.j-main .secondary,
.j-desk button {
  cursor: pointer;
}
.j-main a:focus-visible,
.j-main button:focus-visible {
  outline: 3px solid var(--field);
  outline-offset: 3px;
}
@media (max-width: 850px) {
  .j-grid,
  .j-editors > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .j-grid,
  .j-editors > div,
  .j-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .j-filter label {
    flex: 1;
    min-width: 8rem;
  }
  .j-filter select {
    width: 100%;
  }
  .j-shelf {
    margin-block: var(--s-32);
  }
  .j-article h1 {
    font-size: var(--fs-39);
  }
  .j-main {
    padding-block: var(--s-32);
  }
  .j-tools {
    row-gap: var(--s-8);
  }
}
}
