/* ReedSpot: a writing timeline. Icon rail, one central column of compact post cards, a right column of cards.
   Prefix rs-. Manrope throughout. Off-white paper, near-black ink, reed green. */

:root {
  --bg: #f2f1ea;
  --paper: #fcfbf7;
  --card: #ffffff;
  --sunk: #f4f3ec;
  --line: #e2e0d5;
  --line-2: #d3d1c4;
  --ink: #12150f;
  --ink-2: #353a31;
  --muted: #5c6256;
  --reed: #2d6a35;
  --reed-ink: #24592b;
  --reed-hover: #22562a;
  --reed-soft: #e3eddb;
  --reed-tint: #eef4e8;
  --lime: #d8ee6b;
  --cattail: #7a4f27;
  --warn: #8a4b0f;
  --warn-soft: #fbf0df;
  --r-card: 18px;
  --r-pill: 999px;
  --font: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(18, 21, 15, 0.05), 0 8px 24px -14px rgba(18, 21, 15, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--reed);
  outline-offset: 2px;
  border-radius: 6px;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--sunk);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.36em;
  overflow-wrap: anywhere;
}

.rs-vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.rs-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  transition: top 0.15s;
}

.rs-skip:focus {
  top: 12px;
}

.rs-i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rs-dot {
  color: var(--muted);
  margin: 0 5px;
}

/* ── App grid ─────────────────────────────────────────────────────────────── */

.rs-app {
  display: grid;
  grid-template-columns: 252px minmax(0, 620px) 340px;
  grid-template-rows: auto 1fr;
  justify-content: center;
  column-gap: 26px;
  min-height: 100vh;
}

.rs-side {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.rs-side__in {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 10px 6px 20px;
  overflow-y: auto;
}

.rs-col {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  min-height: 100vh;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.rs-col:focus {
  outline: none;
}

.rs-rail {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px 0 0;
  min-width: 0;
}

.rs-foot {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  padding: 18px 6px 36px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Left rail ────────────────────────────────────────────────────────────── */

.rs-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  align-self: flex-start;
}

.rs-logo:hover {
  background: var(--reed-tint);
}

.rs-logo__mark {
  width: 38px;
  height: 38px;
  display: block;
}

.rs-logo__w {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.rs-logo__w b {
  font-weight: 800;
  color: var(--reed);
}

.rs-menu {
  display: none;
}

.rs-nav {
  margin-top: 8px;
}

.rs-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rs-nav__a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 11px 18px 11px 14px;
  border-radius: var(--r-pill);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  transition: background 0.15s;
}

.rs-nav__a .rs-i {
  width: 25px;
  height: 25px;
  stroke-width: 1.7;
}

.rs-nav__a:hover {
  background: var(--reed-tint);
  color: var(--ink);
}

.rs-nav__a[aria-current='page'] {
  font-weight: 800;
  color: var(--ink);
}

.rs-nav__a[aria-current='page'] .rs-i {
  stroke-width: 2.4;
  color: var(--reed);
}

.rs-nav__cta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 228px;
  min-height: 52px;
  padding: 0 22px;
  background: var(--reed);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -10px rgba(45, 106, 53, 0.8);
  transition: background 0.15s;
}

.rs-nav__cta:hover {
  background: var(--reed-hover);
}

.rs-side__note {
  margin: auto 0 0;
  padding: 16px 14px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ── Sticky column bar + tabs ─────────────────────────────────────────────── */

.rs-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(252, 251, 247, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}

.rs-bar__row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
  padding: 6px 18px;
}

.rs-bar--tabs .rs-bar__row {
  min-height: 52px;
}

.rs-bar__txt {
  min-width: 0;
}

.rs-bar__t {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-bar__s {
  margin: 1px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.rs-back {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -8px;
  border-radius: 50%;
  flex: none;
}

.rs-back:hover {
  background: var(--reed-tint);
}

.rs-tabs {
  display: flex;
}

.rs-tabs a {
  flex: 1;
  position: relative;
  text-align: center;
  padding: 15px 14px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.rs-tabs a:hover {
  background: rgba(45, 106, 53, 0.06);
  color: var(--ink);
}

.rs-tabs a[aria-current] {
  color: var(--ink);
  font-weight: 800;
}

.rs-tabs a[aria-current]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(56px, 70%);
  height: 4px;
  border-radius: 4px;
  background: var(--reed);
  transform: translateX(-50%);
}

.rs-tabs--prof {
  border-bottom: 1px solid var(--line);
}

.rs-tabs--scroll {
  overflow-x: auto;
  scrollbar-width: none;
}

.rs-tabs--scroll::-webkit-scrollbar {
  display: none;
}

.rs-tabs--scroll a {
  flex: 0 0 auto;
  padding-inline: 18px;
}

/* ── Composer (decorative) ────────────────────────────────────────────────── */

.rs-compose {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.rs-compose__av {
  width: 48px;
  height: 48px;
  display: block;
}

.rs-compose__field {
  display: block;
  padding: 11px 0 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.rs-compose__field:hover {
  color: var(--ink-2);
}

.rs-compose__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
}

.rs-compose__tools {
  display: inline-flex;
  gap: 4px;
  color: var(--reed);
}

.rs-compose__tools .rs-i {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
}

.rs-compose__note {
  margin: 0 0 0 auto;
  font-size: 13px;
  color: var(--muted);
}

/* ── Pills / buttons ──────────────────────────────────────────────────────── */

.rs-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.rs-pill:hover {
  background: var(--reed-tint);
  border-color: var(--reed);
}

.rs-pill .rs-i {
  width: 17px;
  height: 17px;
}

.rs-pill--solid {
  background: var(--reed);
  border-color: var(--reed);
  color: #fff;
}

.rs-pill--solid:hover {
  background: var(--reed-hover);
  border-color: var(--reed-hover);
  color: #fff;
}

.rs-pill--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.rs-pill--ink:hover {
  background: #2a2f25;
  border-color: #2a2f25;
  color: #fff;
}

.rs-pill--sm {
  min-height: 34px;
  padding: 0 15px;
  font-size: 14px;
}

.rs-pill--block {
  display: flex;
  width: 100%;
}

/* ── Post card ────────────────────────────────────────────────────────────── */

.rs-feed {
  display: flex;
  flex-direction: column;
}

.rs-post {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 18px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}

.rs-post:hover {
  background: rgba(45, 106, 53, 0.025);
}

.rs-av {
  border-radius: 50%;
  object-fit: cover;
  background: var(--reed-soft);
}

.rs-av--sm {
  width: 40px;
  height: 40px;
}

.rs-av--md {
  width: 48px;
  height: 48px;
}

.rs-av--lg {
  width: 56px;
  height: 56px;
}

.rs-av--xl {
  width: 136px;
  height: 136px;
}

.rs-post__av {
  align-self: start;
}

.rs-post__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  min-width: 0;
}

.rs-post__name {
  font-weight: 800;
  margin-right: 5px;
  color: var(--ink);
}

a.rs-post__name:hover {
  text-decoration: underline;
}

.rs-post__handle {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.rs-post__time {
  color: var(--muted);
}

.rs-post__time:hover {
  text-decoration: underline;
}

.rs-post__ctx {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.rs-post__ctx .rs-i {
  width: 15px;
  height: 15px;
}

.rs-post__ctx a {
  font-weight: 700;
  color: var(--reed-ink);
}

.rs-post__ctx a:hover {
  text-decoration: underline;
}

.rs-post__title {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.rs-post__title a:hover {
  color: var(--reed-ink);
}

.rs-post__ex {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rs-post__media {
  display: block;
  margin-top: 12px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--reed-soft);
}

.rs-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.rs-post__media:hover img {
  transform: scale(1.02);
}

.rs-tags {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 14px;
}

.rs-tags a {
  color: var(--reed-ink);
  font-weight: 600;
}

.rs-tags a:hover {
  text-decoration: underline;
}

.rs-acts {
  list-style: none;
  margin: 6px 0 0 -9px;
  padding: 0;
  display: flex;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

.rs-acts li:last-child {
  margin-left: auto;
}

.rs-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  transition: background 0.15s, color 0.15s;
}

.rs-act .rs-i {
  width: 18px;
  height: 18px;
}

.rs-act b {
  font-weight: 700;
}

a.rs-act:hover {
  color: var(--reed-ink);
  background: var(--reed-tint);
}

/* ── Pager / end ──────────────────────────────────────────────────────────── */

.rs-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.rs-pager__pos {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.rs-pager__gap {
  min-width: 96px;
}

.rs-feedend {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 36px 18px 48px;
  font-size: 14px;
  color: var(--muted);
}

.rs-feedend__mark {
  width: 32px;
  height: 32px;
  opacity: 0.85;
}

.rs-empty {
  padding: 48px 28px;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.rs-empty__mark {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
}

.rs-empty__t {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.rs-empty p {
  margin: 0;
}

/* ── Right rail cards ─────────────────────────────────────────────────────── */

.rs-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px 18px 18px;
}

.rs-card__h {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.rs-card p {
  margin: 0;
}

.rs-signin {
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-margin-top: 16px;
}

.rs-signin__img {
  position: relative;
  aspect-ratio: 8 / 3;
  background: #c9b48b;
}

.rs-signin__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-signin__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 21, 15, 0.18));
}

.rs-signin__body {
  padding: 16px 18px 18px;
}

.rs-signin__body .rs-card__h {
  margin-bottom: 2px;
}

.rs-signin__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px !important;
}

.rs-signin__f {
  margin-bottom: 10px;
}

.rs-signin__f label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.rs-signin .rs-pill {
  margin-top: 4px;
  min-height: 44px;
}

.rs-signin__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px !important;
  font-size: 13px;
  color: var(--muted);
}

.rs-signin__note .rs-i {
  width: 15px;
  height: 15px;
}

.rs-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rs-who__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.rs-who__txt strong {
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs-who__txt span {
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.rs-who:hover strong {
  text-decoration: underline;
}

.rs-writers ul,
.rs-trend ol,
.rs-docs ul,
.rs-toc ol {
  list-style: none;
  margin: 0 -18px;
  padding: 0;
}

.rs-writer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
}

.rs-writer:hover {
  background: var(--sunk);
}

.rs-trend li a {
  display: grid;
  padding: 9px 18px;
  line-height: 1.3;
}

.rs-trend li a:hover {
  background: var(--sunk);
}

.rs-trend__k,
.rs-trend__n {
  font-size: 13px;
  color: var(--muted);
}

.rs-trend strong {
  font-weight: 800;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.rs-intro p {
  color: var(--ink-2);
  font-size: 14px;
}

.rs-intro__acts {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.rs-intro__acts .rs-pill {
  min-height: 36px;
  font-size: 14px;
}

.rs-wcard .rs-who {
  margin-bottom: 10px;
}

.rs-wcard__bio {
  font-size: 14px;
  color: var(--ink-2);
}

.rs-wcard__meta {
  margin: 8px 0 14px !important;
  font-size: 13px;
  color: var(--muted);
}

.rs-follow p {
  font-size: 14px;
  color: var(--ink-2);
}

.rs-feedurl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--reed-tint);
  color: var(--reed-ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.rs-feedurl:hover {
  background: var(--reed-soft);
}

.rs-toc ol {
  counter-reset: toc;
}

.rs-toc li a {
  display: flex;
  gap: 10px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
}

.rs-toc li a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--reed);
  padding-top: 2px;
}

.rs-toc li a:hover {
  background: var(--sunk);
  color: var(--ink);
}

.rs-toc--inline {
  display: none;
}

.rs-docs li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
}

.rs-docs li a .rs-i {
  color: var(--muted);
}

.rs-docs li a:hover {
  background: var(--sunk);
  color: var(--ink);
}

.rs-docs li a[aria-current='page'] {
  color: var(--reed-ink);
  font-weight: 800;
}

.rs-docs li a[aria-current='page'] .rs-i {
  color: var(--reed);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.rs-foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.rs-foot__links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.rs-foot__links a[aria-current='page'] {
  color: var(--reed-ink);
  font-weight: 700;
}

.rs-foot__c {
  margin: 10px 0 0;
}

/* ── Profile ──────────────────────────────────────────────────────────────── */

.rs-prof {
  padding-bottom: 14px;
}

.rs-prof__cover {
  aspect-ratio: 3 / 1;
  background: var(--reed-soft);
  overflow: hidden;
}

.rs-prof__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-prof__cover--none {
  position: relative;
  background-color: #2d6a35;
  background-image:
    radial-gradient(circle at 86% 74%, var(--lime) 0 16px, transparent 17px),
    repeating-linear-gradient(100deg, transparent 0 22px, rgba(255, 255, 255, 0.07) 22px 24px, transparent 24px 46px),
    linear-gradient(160deg, #3a7d42, #234f29);
}

.rs-prof__cover--none.rs-c1 {
  background-color: #6b4524;
  background-image:
    radial-gradient(circle at 14% 70%, #f1d9a6 0 14px, transparent 15px),
    repeating-linear-gradient(80deg, transparent 0 20px, rgba(255, 255, 255, 0.08) 20px 22px, transparent 22px 44px),
    linear-gradient(160deg, #8a5a2d, #4e3119);
}

.rs-prof__cover--none.rs-c2 {
  background-color: #1d3b33;
  background-image:
    radial-gradient(circle at 78% 30%, var(--lime) 0 12px, transparent 13px),
    repeating-linear-gradient(95deg, transparent 0 18px, rgba(216, 238, 107, 0.12) 18px 20px, transparent 20px 40px),
    linear-gradient(160deg, #2a5246, #13271f);
}

.rs-prof__cover--none.rs-c3 {
  background-color: #c9d8bd;
  background-image:
    radial-gradient(circle at 20% 34%, #2d6a35 0 13px, transparent 14px),
    repeating-linear-gradient(104deg, transparent 0 24px, rgba(45, 106, 53, 0.12) 24px 26px, transparent 26px 50px),
    linear-gradient(160deg, #dfe9d3, #b6caa6);
}

.rs-prof__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  margin-top: -68px;
}

.rs-prof__av {
  display: block;
  border-radius: 50%;
  border: 4px solid var(--paper);
  background: var(--paper);
}

.rs-prof__top .rs-pill {
  margin-bottom: 6px;
}

.rs-prof__id {
  padding: 10px 18px 0;
}

.rs-prof__name {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.rs-prof__handle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.rs-prof__bio {
  margin: 12px 0 0;
  padding: 0 18px;
  font-size: 16px;
  line-height: 1.5;
  max-width: 60ch;
}

.rs-prof__facts {
  list-style: none;
  margin: 12px 0 0;
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--muted);
}

.rs-prof__facts li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.rs-prof__facts .rs-i {
  width: 17px;
  height: 17px;
}

.rs-prof__facts a {
  color: var(--reed-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rs-prof__facts a:hover {
  text-decoration: underline;
}

.rs-prof__stats {
  list-style: none;
  margin: 12px 0 0;
  padding: 0 18px;
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.rs-prof__stats b {
  color: var(--ink);
  font-weight: 800;
}

.rs-prof__stats a:hover {
  text-decoration: underline;
}

.rs-pin {
  padding: 14px 18px 16px;
  border-bottom: 1px solid var(--line);
}

.rs-pin__k {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.rs-pin__k .rs-i {
  width: 16px;
  height: 16px;
}

.rs-pin__card {
  padding: 14px 16px 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--reed-tint);
}

.rs-sec {
  border-bottom: 1px solid var(--line);
}

.rs-sec__h {
  margin: 0;
  padding: 16px 18px 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}

.rs-sec__h span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.rs-sec--pad {
  padding-bottom: 18px;
}

.rs-sec .rs-feed .rs-post:last-child {
  border-bottom: 0;
}

.rs-sec .rs-pager {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.rs-chips {
  list-style: none;
  margin: 0;
  padding: 16px 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rs-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 8px 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--card);
  font-weight: 700;
  font-size: 14px;
}

.rs-chips a .rs-i {
  width: 16px;
  height: 16px;
  color: var(--reed);
}

.rs-chips b {
  min-width: 26px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--reed-tint);
  color: var(--reed-ink);
  font-size: 12px;
  text-align: center;
}

.rs-chips a:hover {
  border-color: var(--reed);
  background: var(--reed-tint);
}

.rs-about__bio {
  margin: 16px 18px 0;
  font-size: 15px;
  color: var(--ink-2);
}

.rs-dl {
  margin: 14px 18px 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.rs-dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 14px;
  font-size: 14px;
}

.rs-dl div + div {
  border-top: 1px solid var(--line);
}

.rs-dl dt {
  color: var(--muted);
  font-weight: 600;
}

.rs-dl dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.rs-dl a {
  color: var(--reed-ink);
}

.rs-dl a:hover {
  text-decoration: underline;
}

/* ── Category / topic / doc headers ───────────────────────────────────────── */

.rs-head {
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--line);
}

.rs-head__k {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 11px 5px 8px;
  border-radius: var(--r-pill);
  background: var(--reed-tint);
  color: var(--reed-ink);
  font-size: 13px;
  font-weight: 700;
}

.rs-head__k .rs-i {
  width: 16px;
  height: 16px;
}

.rs-head__t {
  margin: 12px 0 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.rs-head__s {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.rs-head__s a {
  color: var(--ink);
  font-weight: 700;
}

.rs-head__s a:hover {
  text-decoration: underline;
}

.rs-head--doc {
  border-bottom: 0;
  padding-bottom: 4px;
}

/* ── Full post ────────────────────────────────────────────────────────────── */

.rs-full {
  padding: 16px 18px 6px;
  border-bottom: 1px solid var(--line);
}

.rs-full__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rs-full .rs-post__ctx {
  margin-top: 16px;
}

.rs-full__t {
  margin: 6px 0 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.rs-full__cover {
  margin: 16px 0 0;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--reed-soft);
}

.rs-full__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-full--plain .rs-full__meta {
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-2);
}

.rs-full__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.rs-full__meta .rs-i {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.rs-full__stats {
  list-style: none;
  margin: 18px 0 0;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.rs-full__stats b {
  color: var(--ink);
  font-weight: 800;
}

.rs-full__stats a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rs-full__stats a:hover {
  color: var(--reed-ink);
  text-decoration: underline;
}

.rs-full__stats .rs-i {
  width: 16px;
  height: 16px;
}

.rs-tags--lg {
  margin-top: 22px;
  gap: 8px;
}

.rs-tags--lg a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--reed-tint);
}

.rs-tags--lg a:hover {
  background: var(--reed-soft);
  text-decoration: none;
}

.rs-toc-m {
  display: none;
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.rs-toc-m summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.rs-toc-m summary::-webkit-details-marker {
  display: none;
}

.rs-toc-m summary span {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.rs-toc-m ol {
  margin: 0;
  padding: 0 14px 12px 34px;
  font-size: 14px;
  font-weight: 600;
}

.rs-toc-m li {
  padding: 4px 0;
}

.rs-toc-m a {
  color: var(--reed-ink);
}

/* ── Prose ────────────────────────────────────────────────────────────────── */

.rs-prose {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink);
  overflow-wrap: break-word;
}

.rs-prose--post {
  margin-top: 18px;
}

.rs-prose > :first-child {
  margin-top: 0;
}

.rs-prose p,
.rs-prose ul,
.rs-prose ol,
.rs-prose dl,
.rs-prose figure,
.rs-prose table,
.rs-prose pre,
.rs-prose blockquote {
  margin: 0 0 1.1em;
}

.rs-prose h2 {
  margin: 1.6em 0 0.5em;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  scroll-margin-top: 76px;
}

.rs-prose h3 {
  margin: 1.4em 0 0.4em;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.rs-prose h4,
.rs-prose h5,
.rs-prose h6 {
  margin: 1.2em 0 0.3em;
  font-size: 16px;
  font-weight: 800;
}

.rs-prose a {
  color: var(--reed-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(45, 106, 53, 0.4);
}

.rs-prose a:hover {
  text-decoration-color: currentColor;
}

.rs-prose ul,
.rs-prose ol {
  padding-left: 1.4em;
}

.rs-prose li {
  margin: 0.3em 0;
}

.rs-prose li::marker {
  color: var(--reed);
  font-weight: 700;
}

.rs-prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 4px solid var(--reed);
  color: var(--ink-2);
  font-size: 17.5px;
  font-weight: 500;
}

.rs-prose blockquote p:last-child {
  margin-bottom: 0;
}

.rs-prose img {
  height: auto;
  border-radius: 14px;
}

.rs-prose figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.rs-prose pre {
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 14px;
  background: #171b14;
  color: #e9eee2;
  font-size: 14px;
  line-height: 1.6;
}

.rs-prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

.rs-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 14.5px;
}

.rs-prose th,
.rs-prose td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.rs-prose th {
  background: var(--sunk);
}

.rs-prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2em 0;
}

.rs-prose--hub {
  font-size: 15px;
  line-height: 1.6;
}

.rs-prose--hub h3 {
  font-size: 16px;
  margin-top: 1em;
}

.rs-prose--hub ul {
  margin-bottom: 0.8em;
}

.rs-lead {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: var(--ink-2);
}

/* ── Thread ───────────────────────────────────────────────────────────────── */

.rs-thread {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 60px;
}

.rs-thread__h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 16px 18px 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}

.rs-thread__h span {
  min-width: 26px;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: var(--reed-tint);
  color: var(--reed-ink);
  font-size: 13px;
  text-align: center;
}

.rs-thread__none {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.rs-replies {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rs-reply {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 18px 12px;
}

.rs-reply:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 37px;
  top: 58px;
  bottom: -14px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-2);
}

.rs-reply:last-child {
  border-bottom: 1px solid var(--line);
}

.rs-reply__av {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  position: relative;
  z-index: 1;
}

.rs-hue0 { background: #2d6a35; }
.rs-hue1 { background: #7a4f27; }
.rs-hue2 { background: #2f5f73; }
.rs-hue3 { background: #6a3d63; }
.rs-hue4 { background: #8a4b0f; }
.rs-hue5 { background: #3d4a2a; }

.rs-reply--author .rs-reply__av {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--lime);
}

.rs-reply__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  font-size: 15px;
}

.rs-reply__head strong {
  font-weight: 800;
}

.rs-reply__head .rs-when {
  color: var(--muted);
  font-size: 14px;
}

.rs-badge {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--reed);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rs-reply__body {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.rs-reply__body p {
  margin: 0 0 0.5em;
}

.rs-reply__body p:last-child {
  margin: 0;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */

.rs-form {
  position: relative;
}

.rs-rform {
  margin: 16px 18px 20px;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.rs-form__t {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rs-form__t .rs-i {
  color: var(--reed);
}

.rs-form__s {
  margin: 4px 0 14px;
  font-size: 14px;
  color: var(--muted);
}

.rs-field {
  margin-bottom: 12px;
}

.rs-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.rs-field__hint {
  margin: 5px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.rs-field__hint a {
  color: var(--reed-ink);
  font-weight: 700;
  text-decoration: underline;
}

.rs-input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper);
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.rs-input::placeholder {
  color: #7b8075;
}

.rs-input:hover {
  border-color: #b9b7a8;
}

.rs-input:focus {
  outline: none;
  border-color: var(--reed);
  box-shadow: 0 0 0 3px rgba(45, 106, 53, 0.22);
}

.rs-area {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.rs-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a35' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.rs-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.rs-form__foot .rs-field__hint {
  margin: 0;
}

.rs-form__foot .rs-pill {
  min-height: 42px;
  padding: 0 22px;
}

.rs-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rs-status {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--reed-tint);
  color: var(--reed-ink);
  font-size: 14px;
  font-weight: 600;
}

.rs-status:empty {
  display: none;
}

.rs-status[data-state='invalid'],
.rs-status[data-state='error'] {
  background: var(--warn-soft);
  color: var(--warn);
}

.rs-note {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.rs-note--ok {
  background: var(--reed-tint);
  color: var(--reed-ink);
  border: 1px solid #c4d9b6;
}

.rs-note--warn {
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid #ecd2ad;
}

.rs-cform {
  margin: 8px 0 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.rs-cform .rs-form__t {
  margin-bottom: 12px;
}

.rs-form__2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

/* ── Docs ─────────────────────────────────────────────────────────────────── */

.rs-doc {
  padding: 10px 18px 28px;
}

.rs-prose--doc {
  max-width: 68ch;
}

.rs-prose--doc h2 {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.rs-banner {
  position: relative;
  aspect-ratio: 5 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eef0ea;
}

.rs-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-banner__tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.rs-banner__mark {
  width: 26px;
  height: 26px;
}

.rs-fgrid {
  list-style: none;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rs-fcard {
  margin: 0 !important;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.rs-fcard::marker {
  content: none;
}

.rs-fcard__i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--reed-tint);
  color: var(--reed);
}

.rs-prose .rs-fcard h3 {
  margin: 12px 0 4px;
  font-size: 16px;
}

.rs-prose .rs-fcard p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.rs-qa {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  margin: 0 0 8px;
}

.rs-qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.rs-qa summary::-webkit-details-marker {
  display: none;
}

.rs-qa summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--reed-tint);
  color: var(--reed-ink);
  font-weight: 800;
}

.rs-qa[open] summary::after {
  content: '–';
}

.rs-qa__a {
  padding: 0 16px 4px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ── 404 ──────────────────────────────────────────────────────────────────── */

.rs-404 {
  padding: 56px 24px 64px;
  text-align: center;
}

.rs-404__mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
}

.rs-404 > p:not(.rs-head__k) {
  max-width: 46ch;
  margin: 12px auto 0;
  color: var(--ink-2);
}

.rs-404__acts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 1279px) {
  .rs-app {
    grid-template-columns: 80px minmax(0, 600px) 310px;
    column-gap: 20px;
  }

  .rs-side__in {
    align-items: center;
  }

  .rs-logo {
    align-self: center;
    padding: 8px;
  }

  .rs-logo__w,
  .rs-nav__l,
  .rs-side__note {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .rs-nav__a {
    padding: 12px;
  }

  .rs-nav__a .rs-i {
    width: 26px;
    height: 26px;
  }

  .rs-nav__cta {
    width: 52px;
    padding: 0;
  }
}

@media (max-width: 1023px) {
  .rs-app {
    grid-template-columns: 80px minmax(0, 640px);
    grid-template-rows: auto auto 1fr;
  }

  .rs-side {
    grid-row: 1 / span 3;
  }

  .rs-col {
    grid-row: 1;
    min-height: 0;
  }

  .rs-rail {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 20px 0 0;
  }

  .rs-foot {
    grid-column: 2;
    grid-row: 3;
  }

  .rs-rail > .rs-toc {
    display: none;
  }

  .rs-toc-m,
  .rs-toc--inline {
    display: block;
  }

  .rs-toc--inline {
    margin-bottom: 18px;
  }
}

@media (max-width: 699px) {
  html {
    scroll-padding-top: 120px;
  }

  body {
    background: var(--paper);
  }

  .rs-app {
    display: block;
  }

  .rs-side {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .rs-side__in {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    overflow: visible;
  }

  .rs-logo {
    padding: 4px;
  }

  .rs-logo__mark {
    width: 34px;
    height: 34px;
  }

  .rs-logo__w {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    font-size: 20px;
  }

  .rs-menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-pill);
    background: var(--card);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
  }

  .rs-menu[aria-expanded='true'] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }

  .rs-nav {
    display: none;
    width: 100%;
    margin: 8px 0 6px;
  }

  .rs-nav.is-open {
    display: block;
  }

  .rs-nav__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .rs-nav__a {
    display: flex;
    padding: 10px 12px;
    gap: 10px;
    font-size: 16px;
    border-radius: 12px;
    background: var(--sunk);
  }

  .rs-nav__a .rs-i {
    width: 22px;
    height: 22px;
  }

  .rs-nav__l {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
  }

  .rs-nav__cta {
    width: 100%;
    max-width: none;
    margin-top: 8px;
    min-height: 46px;
    padding: 0 18px;
  }

  .rs-side__note {
    display: none;
  }

  .rs-col {
    border: 0;
  }

  .rs-bar {
    top: 59px;
  }

  .rs-bar__row {
    padding: 6px 16px;
  }

  .rs-rail {
    display: flex;
    padding: 20px 16px 0;
    background: var(--bg);
  }

  .rs-foot {
    padding: 18px 16px 32px;
    background: var(--bg);
  }

  .rs-post {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 16px 6px;
  }

  .rs-post .rs-av--md {
    width: 40px;
    height: 40px;
  }

  .rs-post__title {
    font-size: 16px;
  }

  .rs-post__ex {
    font-size: 14.5px;
  }

  .rs-post__media {
    border-radius: 14px;
  }

  .rs-act__l {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .rs-compose {
    padding: 12px 16px 10px;
    grid-template-columns: 40px 1fr;
  }

  .rs-compose__av {
    width: 40px;
    height: 40px;
  }

  .rs-compose__field {
    font-size: 17px;
  }

  .rs-compose__tools {
    display: none;
  }

  .rs-compose__note {
    margin-left: 0;
  }

  .rs-compose__row {
    justify-content: space-between;
  }

  .rs-av--xl {
    width: 92px;
    height: 92px;
  }

  .rs-prof__top {
    margin-top: -46px;
    padding: 0 16px;
  }

  .rs-prof__top .rs-pill {
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .rs-prof__name {
    font-size: 23px;
  }

  .rs-prof__id,
  .rs-prof__bio,
  .rs-prof__facts,
  .rs-prof__stats {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rs-dl div {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rs-head {
    padding: 18px 16px 16px;
  }

  .rs-head__t {
    font-size: 27px;
  }

  .rs-full {
    padding: 14px 16px 4px;
  }

  .rs-full__t {
    font-size: 25px;
  }

  .rs-full__head .rs-pill {
    padding: 0 12px;
  }

  .rs-prose {
    font-size: 16px;
  }

  .rs-rform {
    margin: 14px 16px 18px;
  }

  .rs-reply {
    padding: 12px 16px 10px;
  }

  .rs-reply:not(:last-child)::before {
    left: 35px;
  }

  .rs-doc {
    padding: 8px 16px 24px;
  }

  .rs-fgrid,
  .rs-form__2 {
    grid-template-columns: 1fr;
  }

  .rs-banner {
    aspect-ratio: 2 / 1;
  }

  .rs-pager {
    padding: 16px;
  }

  .rs-pager__gap {
    min-width: 0;
  }

  .rs-pager .rs-pill {
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
