:root {
  color-scheme: dark;
  --bg: #141b1a;
  --panel: #1b2422;
  --line: #39423d;
  --ink: #edece0;
  --muted: #a3aca2;
  --accent: #cfdd99;
  --accent-ink: #192318;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body[data-theme="1"] {
  --bg: #191d25;
  --panel: #212732;
  --line: #3d4656;
  --accent: #aac5e1;
  --accent-ink: #172333;
}
body[data-theme="2"] {
  --bg: #241d1b;
  --panel: #2c2421;
  --line: #51433d;
  --accent: #e9b78b;
  --accent-ink: #322218;
}
body[data-theme="3"] {
  --bg: #201c27;
  --panel: #292331;
  --line: #494052;
  --accent: #cbb6e1;
  --accent-ink: #271c34;
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1120px;
  padding: 0 40px;
  margin: auto;
}
header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
a {
  color: var(--accent);
}
.wordmark {
  text-decoration: none;
  letter-spacing: 0.17em;
  font-size: 15px;
  font-weight: 750;
  display: flex;
  gap: 13px;
  align-items: center;
  color: var(--ink);
}
.mark {
  font-size: 38px;
  color: var(--accent);
  font-weight: 400;
}
.eyebrow {
  font:
    11px/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.section-label {
  margin: 62px 0 20px;
  color: var(--accent);
}
h1 {
  font-size: clamp(42px, 6.6vw, 76px);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 0 0 22px;
}
p {
  line-height: 1.65;
}
.intro {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 34px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
  border-radius: 4px;
}
.create-panel {
  max-width: 490px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 23px;
}
.panel-heading h2 {
  margin: 0;
}
h2 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.015em;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
}
select,
input,
textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 3px;
  padding: 13px;
  width: 100%;
}
select {
  margin-bottom: 16px;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--accent);
  color: var(--accent-ink);
  font:
    600 14px/1.4 ui-sans-serif,
    system-ui;
  cursor: pointer;
  padding: 13px 19px;
  text-decoration: none;
}
button:hover,
.button:hover {
  filter: brightness(1.09);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
#create,
#send {
  width: 100%;
  justify-content: space-between;
}
.small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.create-panel .small {
  margin: 16px 0 0;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 55px 0 65px;
}
.principles p {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0;
}
.station-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.station-heading h1 {
  font-size: clamp(36px, 5vw, 57px);
  margin: 0;
}
.badge {
  white-space: nowrap;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 10px 13px;
  border-radius: 30px;
  font:
    12px ui-monospace,
    monospace;
}
.row {
  display: flex;
  gap: 10px;
}
.row input {
  min-width: 0;
  font:
    12px ui-monospace,
    monospace;
}
.row button {
  white-space: nowrap;
}
.link-panel .small {
  margin-bottom: 0;
}
.station-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 30px;
  align-items: start;
}
textarea {
  resize: vertical;
  min-height: 180px;
  font:
    14px/1.7 ui-monospace,
    monospace;
}
.editor-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
}
.text-button {
  padding: 8px 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
}
.notes {
  padding-top: 10px;
}
.notes .panel-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
#post-count {
  font:
    12px ui-monospace,
    monospace;
  color: var(--muted);
  margin-left: 8px;
}
.empty {
  border: 1px dashed var(--line);
  padding: 34px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
article {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
article:first-child {
  padding-top: 0;
}
.note-meta {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 14px;
}
.rendered {
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.rendered p {
  margin: 8px 0;
  white-space: pre-wrap;
}
.rendered h2 {
  font-size: 23px;
}
.rendered h3 {
  font-size: 19px;
}
.rendered h4 {
  font-size: 16px;
}
.rendered pre {
  white-space: pre-wrap;
  background: var(--bg);
  padding: 14px;
  border: 1px solid var(--line);
}
.rendered code {
  font:
    12px/1.6 ui-monospace,
    monospace;
  background: var(--bg);
  padding: 2px 4px;
}
.rendered blockquote {
  margin-left: 0;
  padding-left: 15px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
}
#preview {
  padding: 15px;
  border: 1px solid var(--line);
  margin-top: 10px;
}
.burn-row {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
  padding: 24px 0;
  gap: 18px;
}
.burn-row h2 {
  margin: 0;
}
.burn-row p {
  margin-bottom: 0;
}
.danger {
  color: #efb2a1;
  background: transparent;
  border-color: #80564b;
}
.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}
#status {
  color: var(--accent);
  font-size: 14px;
  min-height: 24px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  color: var(--muted);
  font:
    10px/1.7 ui-monospace,
    monospace;
  letter-spacing: 0.06em;
}
footer p {
  margin: 0;
  font:
    11px/1.7 ui-sans-serif,
    system-ui;
  letter-spacing: 0;
}
dialog {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  max-width: 440px;
  padding: 30px;
}
dialog::backdrop {
  background: #000a;
}
dialog p {
  color: var(--muted);
  font-size: 14px;
}
dialog .row {
  margin-top: 25px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#unavailable {
  padding-bottom: 60px;
}
@media (max-width: 700px) {
  .shell {
    padding: 0 22px;
  }
  header {
    height: 85px;
  }
  header > .eyebrow {
    display: none;
  }
  .section-label {
    margin-top: 40px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 36px 0;
  }
  .station-grid {
    grid-template-columns: 1fr;
  }
  .station-heading {
    align-items: start;
    flex-direction: column;
  }
  .panel {
    padding: 20px;
  }
  .link-panel .row {
    flex-direction: column;
  }
  .burn-row {
    align-items: start;
    flex-direction: column;
  }
  footer {
    flex-direction: column;
  }
  .intro br {
    display: none;
  }
  .row {
    flex-wrap: wrap;
  }
  dialog {
    width: calc(100% - 36px);
  }
}

.info-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  font-size: 14px;
}
.public-info {
  max-width: 760px;
  margin: 30px 0 60px;
}
.public-info section {
  margin-top: 32px;
  scroll-margin-top: 24px;
}
.public-info h2 {
  font-size: 20px;
}
.public-info p {
  font-size: 15px;
  color: var(--muted);
}
