@font-face {
  font-family: Bricolage;
  src: url(fonts/bricolage.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Source;
  src: url(fonts/source.woff2) format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f6f6ef;
  --surface: #fffffa;
  --text: #20251f;
  --muted: #566053;
  --rule: #c9cdc1;
  --strong: #586052;
  --wash: #e9ecdf;
  --hover: #dde3d3;
  --warn: #a42124;
  --focus: #7542b7;
  --lift: 0 4px 14px #27352212;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171b17;
  --surface: #1f251f;
  --text: #f0f0e8;
  --muted: #b2bbad;
  --rule: #424c41;
  --strong: #849181;
  --wash: #2b352b;
  --hover: #364334;
  --warn: #ffaba8;
  --focus: #d1b1ff;
  --lift: 0 4px 14px #0004;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #171b17;
    --surface: #1f251f;
    --text: #f0f0e8;
    --muted: #b2bbad;
    --rule: #424c41;
    --strong: #849181;
    --wash: #2b352b;
    --hover: #364334;
    --warn: #ffaba8;
    --focus: #d1b1ff;
    --lift: 0 4px 14px #0004;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font:
    17px/1.48 Source,
    system-ui,
    sans-serif;
  overflow-wrap: anywhere;
}
.shell {
  width: min(100% - 44px, 720px);
  margin-inline: auto;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration: underline;
}
button,
summary,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
button,
.pill,
.load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 6px 14px;
  border-radius: 7px;
  font-weight: 600;
  text-decoration: none;
}
button:hover,
.pill:hover,
.load:hover {
  background: var(--wash);
}
button.primary {
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--strong);
  min-width: 88px;
}
button.primary:hover {
  box-shadow:
    0 0 0 2px var(--surface),
    0 0 0 3px var(--strong);
}
button.is-on {
  font-weight: 750;
  text-decoration: underline;
}
.icon {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  flex: none;
}
.mast {
  background: var(--surface);
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.mast-in,
.mast-actions,
.brand,
.tools,
.actions,
.byline,
.extras,
.tabs,
.compose-bottom,
.composer-title,
.attribution,
.project-ref,
.eyebrow,
.pagination,
.foot,
.rss-link {
  display: flex;
  align-items: center;
}
.mast-in {
  min-height: 76px;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  gap: 10px;
  min-width: 0;
  font:
    800 clamp(24px, 4vw, 34px)/1 Bricolage,
    system-ui,
    sans-serif;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.mark {
  width: 46px;
  height: 46px;
  flex: none;
  filter: drop-shadow(0 0 0.6px var(--strong));
}
.mast-actions {
  gap: 10px;
  flex: none;
  max-width: 55%;
}
.icon-button {
  width: 40px;
  padding: 0;
  border: 0;
  background: transparent;
}
.menu {
  position: relative;
}
.menu summary {
  list-style: none;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--surface);
  font-weight: 600;
}
summary::-webkit-details-marker {
  display: none;
}
.menu nav {
  position: absolute;
  z-index: 10;
  right: 0;
  top: calc(100% + 3px);
  display: grid;
  min-width: 175px;
  padding: 6px;
  border-radius: 9px;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--lift);
}
.menu nav a,
.menu nav button {
  display: block;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 550;
}
.menu nav a:hover,
.menu nav button:hover {
  background: var(--wash);
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 42px 0 23px;
}
.pagehead p {
  margin: 6px 0 0;
  color: var(--muted);
}
h1,
h2,
h3,
.composer-title label {
  font-family: Bricolage, system-ui, sans-serif;
  line-height: 1.1;
}
h1 {
  font-size: clamp(35px, 6vw, 53px);
  letter-spacing: -0.065em;
  margin: 0;
  font-weight: 720;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.04em;
}
.rss-link {
  gap: 5px;
  align-self: flex-end;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  min-height: 40px;
}
.back {
  display: inline-flex;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.back + .pagehead {
  margin-top: 16px;
}
.eyebrow {
  gap: 6px;
  font-size: 15px;
  margin: 0 0 8px !important;
}
.composer,
.sheet,
.empty {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px;
}
.composer {
  border-top: 3px solid var(--ink);
  box-shadow: var(--lift);
  margin-bottom: 22px;
}
.composer-title,
.compose-bottom,
.foot {
  justify-content: space-between;
  gap: 12px;
}
.composer-title label {
  font-size: 21px;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.counter,
small,
.hint,
.timestamp,
.foot {
  color: var(--muted);
  font-size: 14px;
}
.counter,
.timestamp {
  font-variant-numeric: tabular-nums;
}
textarea,
input,
select {
  border: 1px solid var(--strong);
  border-radius: 6px;
  background: var(--surface);
  padding: 8px 10px;
  width: 100%;
  min-width: 0;
}
textarea {
  resize: vertical;
  line-height: 1.4;
}
::placeholder {
  color: var(--muted);
  opacity: 0.95;
}
#body {
  display: block;
  border: 0;
  border-radius: 2px;
  margin: 10px 0 6px;
  padding: 3px 0;
  min-height: 76px;
  font-size: 19px;
  resize: vertical;
}
.extras {
  align-items: flex-start;
  gap: 6px 15px;
  flex-wrap: wrap;
}
.extras summary,
.actions a,
.actions button,
.actions summary,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-height: 40px;
  padding: 5px 2px;
  color: var(--muted);
  border: 0;
  border-radius: 3px;
  background: none;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.extras summary:hover,
.actions a:hover,
.actions button:hover,
.text-button:hover {
  text-decoration: underline;
}
.extras details[open] {
  width: 100%;
}
.extra-fields {
  display: grid;
  gap: 7px;
  padding: 10px 12px 14px;
  background: var(--wash);
  border-radius: 6px;
}
.extra-fields label,
.stack label {
  font-weight: 620;
}
.extra-fields small,
.stack small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}
.extra-fields p {
  margin: 0;
}
.compose-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  margin-top: 8px;
}
.draft-status {
  line-height: 1.2;
}
.error {
  color: var(--warn);
  font-weight: 650;
  margin: 5px 0;
}
.error:empty,
.hint:empty {
  display: none;
}
.tabs {
  gap: 24px;
  border-bottom: 1px solid var(--rule);
}
.tabs a {
  padding: 8px 2px 10px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  border-bottom: 3px solid transparent;
}
.tabs a[aria-current] {
  color: var(--text);
  border-color: var(--text);
}
.splat {
  padding: 24px 2px 17px;
  border-bottom: 1px solid var(--rule);
  scroll-margin: 12px;
}
.splat:first-of-type {
  border-top: 1px solid var(--rule);
}
.tabs + .splat {
  border-top: 0;
}
.byline {
  gap: 10px;
}
.splat-avatar {
  color: #24744b;
  display: block;
  flex: none;
}
.avatar {
  width: 40px;
  height: 40px;
}
.profile-heading {
  justify-content: flex-start;
  gap: 16px;
}
.profile-avatar {
  width: clamp(64px, 13vw, 96px);
  height: auto;
}
.splat-editor,
.splat-picker,
.splat-swatches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.splat-editor { gap: 20px; }
.splat-preview {
  background: var(--wash);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 12px;
}
.preview-avatar { width: 108px; height: 108px; }
.splat-palette { flex: 1 1 160px; min-width: 0; }
.splat-picker { margin-top: 6px; }
.splat-picker input[type=color] { width: 64px; height: 42px; cursor: pointer; }
.splat-picker output { color: var(--muted); font-variant-numeric: tabular-nums; }
.splat-swatches { gap: 4px; margin-top: 4px; }
.splat-swatch {
  width: 36px;
  min-height: 40px;
  padding: 4px;
  border: 0;
  background: transparent;
}
.splat-swatch::before {
  content: "";
  width: 23px;
  height: 23px;
  background: var(--swatch);
  border: 1px solid var(--strong);
  border-radius: 50%;
}
.splat-swatch[aria-pressed=true]::before {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.splat-buttons { margin: 0; }
.identity {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
}
.identity span,
.attribution,
.parent-link,
.read-build {
  color: var(--muted);
  font-size: 15px;
}
.person {
  font-weight: 735;
  text-decoration: none;
}
.timestamp {
  margin-left: auto;
  text-decoration: none;
  text-align: right;
  line-height: 1.2;
  flex-shrink: 0;
}
.body-text {
  white-space: pre-wrap;
  font-size: 20px;
  line-height: 1.45;
  margin: 14px 0;
  letter-spacing: -0.012em;
}
.project-ref {
  margin: 14px 0 6px;
  padding: 10px 14px;
  background: var(--wash);
  border-left: 3px solid var(--ink);
  border-radius: 0 6px 6px 0;
  align-items: flex-start;
  gap: 10px;
}
.project-ref > .icon {
  margin-top: 4px;
}
.project-ref a {
  display: block;
  text-decoration: none;
}
.project-ref a:hover {
  text-decoration: underline;
}
.project-ref strong {
  font-size: 16px;
}
.read-build {
  line-height: 1.35;
}
.photo-link {
  display: block;
  width: fit-content;
  max-width: 100%;
}
.post-photo {
  display: block;
  max-height: 480px;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  margin: 10px 0;
}
.actions {
  gap: 3px 17px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.actions .secondary {
  margin-left: auto;
}
.actions .secondary nav a {
  padding: 9px 10px;
}
.attribution {
  gap: 5px;
  margin: 0 0 10px;
}
.attribution a {
  font-weight: 600;
}
.tomb,
.parent-link {
  font-style: italic;
  color: var(--muted);
}
.parent-link {
  display: inline-block;
  margin-top: 10px;
}
.focused {
  border-left: 3px solid var(--ink);
  padding-left: 12px;
}
.tomb {
  margin: 6px 0;
}
.tools,
.pagination {
  gap: 8px 15px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.tools a,
.pagination a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sheet {
  margin: 15px 0;
}
.sheet h2:first-child,
.empty h2 {
  margin: 0 0 9px;
}
.stack {
  display: grid;
  gap: 15px;
}
.stack label {
  display: grid;
  gap: 4px;
}
.stack button,
.stack .pill {
  justify-self: start;
}
.stack p,
.sheet p:last-child,
.empty p {
  margin: 0;
}
input[type="color"] {
  width: 85px;
  height: 45px;
}
blockquote {
  margin: 0;
  padding: 10px 16px;
  border-left: 3px solid var(--rule);
  white-space: pre-wrap;
}
.empty {
  margin: 20px 0;
  padding: 27px;
}
.notice {
  background: var(--wash);
  padding: 10px 13px;
  border-radius: 6px;
}
.load {
  margin: 20px 0;
}
.foot {
  margin-top: 40px;
  padding: 18px 0 32px;
  border-top: 1px solid var(--rule);
}
.foot b {
  font-weight: 500;
}
.foot a {
  text-decoration: none;
}
.skip,
.sr {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  z-index: 15;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  background: var(--surface);
  padding: 10px;
}
[hidden],
.js-only {
  display: none !important;
}
.js .js-only:not([hidden]) {
  display: inline-flex !important;
}
@media (max-width: 550px) {
  .shell {
    width: min(100% - 32px, 720px);
  }
  .mast-in {
    min-height: 64px;
  }
  .mark {
    width: 36px;
    height: 36px;
  }
  .mast-actions {
    gap: 2px;
  }
  .mast-actions .menu {
    min-width: 0;
  }
  .mast-actions summary {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 32vw;
  }
  .pagehead {
    margin: 28px 0 18px;
  }
  .composer,
  .sheet {
    padding: 15px;
  }
  .identity {
    display: grid;
    gap: 0;
    line-height: 1.13;
  }
  .identity span {
    font-size: 14px;
  }
  .timestamp {
    font-size: 12px;
    max-width: 95px;
  }
  .splat {
    padding: 19px 0 12px;
  }
  .body-text {
    font-size: 19px;
  }
  .actions {
    gap: 0 11px;
  }
  .actions a,
  .actions button,
  .actions summary,
  .extras summary {
    min-height: 44px;
  }
  .actions .secondary {
    margin-left: 0;
  }
  .actions .secondary nav {
    right: auto;
    left: 0;
  }
  .actions .secondary:last-child {
    margin-left: auto;
  }
  .actions .secondary:last-child nav {
    right: 0;
    left: auto;
  }
  .brand {
    gap: 6px;
  }
}

.composer .extras {
  border-top: 1px solid var(--rule);
  padding-top: 9px;
  align-items: center;
}
.composer .extras > .primary {
  margin-left: auto;
}
.composer .draft-status:not(:empty) {
  display: block;
  margin-top: 7px;
}
#body {
  height: 66px;
  min-height: 55px;
}
.timestamp time span {
  white-space: nowrap;
}
.timestamp time span + span::before {
  content: "· ";
}
.splat.focused {
  padding-left: 12px;
}
@media (max-width: 550px) {
  .timestamp time span {
    display: block;
  }
  .timestamp time span + span::before {
    content: "";
  }
}
