/* BirchCamp: social newsfeed for writers. Prefix bc-. Birch-bark surfaces, charcoal ink, forest green, warm amber. */
:root {
  --bg: #eef0ec;
  --surface: #ffffff;
  --surface-2: #f4f5f2;
  --surface-3: #e8ebe5;
  --line: #e0e4dd;
  --line-2: #cfd5cc;
  --ink: #1c211e;
  --ink-2: #414a45;
  --muted: #5b645f;
  --green: #1f5a3d;
  --green-600: #174a31;
  --green-500: #2a7350;
  --green-50: #e7f1ea;
  --green-100: #d2e6d9;
  --amber: #e9a23b;
  --amber-50: #fcf1de;
  --amber-100: #f8e0b4;
  --amber-ink: #7a4a00;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 33, 27, 0.06), 0 6px 18px rgba(22, 33, 27, 0.05);
  --shadow-lg: 0 2px 4px rgba(22, 33, 27, 0.06), 0 14px 34px rgba(22, 33, 27, 0.1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --top: 62px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--top) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--font);
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--green);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  line-height: 1.25;
  letter-spacing: -0.015em;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}
.bc-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.bc-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.bc-skip:focus {
  top: 10px;
}
.bc-ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bc-dot {
  color: var(--line-2);
  margin: 0 6px;
}
.bc-muted {
  color: var(--muted);
  margin: 0;
}

/* ── Buttons, pills ─────────────────────────────────────────────── */
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.bc-btn .bc-ico {
  width: 18px;
  height: 18px;
}
.bc-btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 6px rgba(31, 90, 61, 0.25);
}
.bc-btn--primary:hover {
  background: var(--green-600);
}
.bc-btn--soft {
  background: var(--surface-3);
  color: var(--ink);
}
.bc-btn--soft:hover {
  background: var(--green-100);
  color: var(--green-600);
}
.bc-btn--sm {
  min-height: 34px;
  padding: 6px 13px;
  font-size: 13.5px;
}
.bc-btn--block {
  width: 100%;
}
.bc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  background: var(--amber-50);
  color: var(--amber-ink);
  font-size: 13px;
  font-weight: 700;
}
.bc-pill .bc-ico {
  width: 16px;
  height: 16px;
}
.bc-textlink {
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.bc-textlink:hover {
  text-decoration: underline;
}

/* ── Top bar ────────────────────────────────────────────────────── */
.bc-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(22, 33, 27, 0.05);
}
@supports (backdrop-filter: blur(8px)) {
  .bc-top {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(1.4) blur(10px);
  }
}
.bc-top__in {
  max-width: 1320px;
  margin: 0 auto;
  height: var(--top);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.bc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.bc-brand__mark {
  width: 38px;
  height: 38px;
  display: block;
}
.bc-brand__word {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.bc-brand__word span {
  color: var(--green);
}
.bc-top__nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.bc-top__nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  gap: 4px;
  height: var(--top);
}
.bc-top__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 18px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
}
.bc-top__tab::before {
  content: '';
  position: absolute;
  inset: 9px 4px;
  border-radius: 10px;
  z-index: -1;
  transition: background-color 0.15s;
}
.bc-top__tab:hover::before {
  background: var(--surface-2);
}
.bc-top__tab[aria-current='page'] {
  color: var(--green);
}
.bc-top__tab[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--green);
}
.bc-top__menu {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--surface-3);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bc-top__menu[aria-expanded='true'] {
  background: var(--green-100);
  color: var(--green-600);
}

/* ── Page grids ─────────────────────────────────────────────────── */
.bc-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 20px 0;
}
.bc-app {
  display: grid;
  gap: 24px;
  align-items: start;
  justify-content: center;
}
.bc-app--3 {
  grid-template-columns: 264px minmax(0, 640px) 320px;
}
.bc-app--2 {
  grid-template-columns: minmax(0, 680px) 320px;
}
.bc-app--post {
  grid-template-columns: minmax(0, 740px) 320px;
}
.bc-app--doc {
  grid-template-columns: 220px minmax(0, 780px) 272px;
}
.bc-main {
  min-width: 0;
  display: grid;
  gap: 16px;
}
.bc-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.bc-rail--l {
  position: sticky;
  top: calc(var(--top) + 20px);
}
.bc-wide {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Cards ──────────────────────────────────────────────────────── */
.bc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.bc-card--inset {
  background: var(--surface-2);
  box-shadow: none;
}
.bc-side {
  padding: 16px 16px 14px;
}
.bc-side__h {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}
.bc-side__p {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* ── Left rail ──────────────────────────────────────────────────── */
.bc-rail__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.bc-rail__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.15s;
}
.bc-rail__link:hover {
  background: rgba(255, 255, 255, 0.75);
}
.bc-rail__link[aria-current='page'] {
  background: var(--surface);
  color: var(--green);
  box-shadow: var(--shadow);
}
.bc-rail__ic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.bc-rail__ic--green {
  background: var(--green-50);
  color: var(--green);
}
.bc-rail__ic--amber {
  background: var(--amber-50);
  color: var(--amber-ink);
}
.bc-rail__ic--bark {
  background: var(--surface-3);
  color: var(--ink);
}
.bc-rail__ic--plain {
  width: 30px;
  height: 30px;
  background: transparent;
  color: var(--muted);
}
.bc-rail__link[aria-current='page'] .bc-rail__ic--plain {
  color: var(--green);
}
.bc-rail__fine {
  margin: 4px 10px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.bc-rail__fine a {
  color: var(--muted);
  text-decoration: none;
}
.bc-rail__fine a:hover {
  text-decoration: underline;
}
.bc-welcome {
  overflow: hidden;
}
.bc-welcome__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--green-100);
}
.bc-welcome__body {
  padding: 12px 14px 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.bc-welcome__body p {
  margin: 0 0 8px;
}
.bc-welcome__t {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink) !important;
}
.bc-welcome__t .bc-ico {
  color: var(--amber);
  fill: var(--amber-100);
}

/* ── Composer & feed tabs ───────────────────────────────────────── */
.bc-composer {
  padding: 14px 16px 10px;
}
.bc-composer__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bc-composer__me,
.bc-compose__me {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--green-50);
  color: var(--green);
}
.bc-composer__field {
  flex: 1;
  min-width: 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
  text-decoration: none;
  transition: background-color 0.15s;
}
.bc-composer__field:hover {
  background: var(--surface-3);
}
.bc-composer__tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.bc-composer__tools a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.bc-composer__tools a:hover {
  background: var(--surface-2);
}
.bc-composer__tools a:nth-child(1) .bc-ico {
  color: var(--green-500);
}
.bc-composer__tools a:nth-child(2) .bc-ico {
  color: #b9771a;
}
.bc-composer__tools a:nth-child(3) .bc-ico {
  color: #3d6f86;
}
.bc-composer__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 4px 0;
  font-size: 13px;
  color: var(--muted);
}
.bc-composer__note .bc-ico {
  width: 15px;
  height: 15px;
}
.bc-composer__note a {
  font-weight: 600;
}
.bc-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bc-tabs::-webkit-scrollbar {
  display: none;
}
.bc-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--line);
}
.bc-tabs a:hover {
  background: var(--green-50);
  color: var(--green-600);
}
.bc-tabs a[aria-current='page'] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.bc-tabs__n {
  font-size: 12px;
  font-weight: 700;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  text-align: center;
}
.bc-tabs a[aria-current='page'] .bc-tabs__n {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.bc-campstrip {
  display: none;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -12px;
  padding: 0 12px;
}
.bc-campstrip::-webkit-scrollbar {
  display: none;
}
.bc-campstrip a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 13px 6px 8px;
  border-radius: 999px;
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.bc-campstrip a span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--amber-ink);
  font-weight: 800;
  font-size: 13px;
}
.bc-stream {
  display: grid;
  gap: 16px;
}

/* ── Post card ──────────────────────────────────────────────────── */
.bc-post {
  padding: 16px 18px 4px;
  overflow: hidden;
}
.bc-post__by {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.bc-post__av {
  flex: none;
  border-radius: 50%;
}
.bc-av {
  border-radius: 50%;
  object-fit: cover;
  background: var(--green-100);
  flex: none;
}
.bc-av--sm {
  width: 28px;
  height: 28px;
}
.bc-av--md {
  width: 44px;
  height: 44px;
}
.bc-av--lg {
  width: 56px;
  height: 56px;
}
.bc-av--xl {
  width: 168px;
  height: 168px;
}
.bc-post__who {
  min-width: 0;
  flex: 1;
}
.bc-post__line,
.bc-post__meta {
  margin: 0;
}
.bc-post__line {
  font-size: 15px;
  line-height: 1.35;
}
.bc-name {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.bc-name:hover {
  text-decoration: underline;
}
.bc-post__in {
  color: var(--muted);
  margin: 0 5px;
}
.bc-post__in--solo {
  margin: 0;
  font-weight: 600;
}
.bc-post__cat {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.bc-post__cat:hover {
  text-decoration: underline;
}
.bc-post__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.bc-post__meta .bc-dot {
  margin: 0 5px;
  color: var(--muted);
}
.bc-post__glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.bc-post__glyph--moss {
  background: var(--green-50);
  color: var(--green);
}
.bc-post__glyph--amber {
  background: var(--amber-50);
  color: var(--amber-ink);
}
.bc-post__glyph--bark {
  background: var(--surface-3);
  color: var(--ink);
}
.bc-post__glyph--sky {
  background: #e3eef3;
  color: #2c5b70;
}
.bc-post__title {
  margin: 12px 0 6px;
  font-size: 19px;
  font-weight: 700;
}
.bc-post__title a {
  color: var(--ink);
  text-decoration: none;
}
.bc-post__title a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.bc-post__text {
  margin: 0;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bc-post__media {
  display: block;
  margin: 14px -18px 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bc-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bc-post__media:hover img {
  transform: scale(1.02);
}
.bc-post__panel {
  display: grid;
  place-items: center;
  min-height: 210px;
  margin: 14px -18px 0;
  padding: 34px 40px;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.bc-post__panel span {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 34ch;
}
.bc-post--moss .bc-post__panel {
  background: radial-gradient(120% 90% at 0% 0%, #f1f7f2 0%, transparent 60%), linear-gradient(135deg, #dcebdf, #b8d6c1);
}
.bc-post--amber .bc-post__panel {
  background: radial-gradient(120% 90% at 100% 0%, #fff8ea 0%, transparent 60%), linear-gradient(135deg, #fcebc8, #f4cd8a);
}
.bc-post--sky .bc-post__panel {
  background: radial-gradient(120% 90% at 0% 100%, #f2f8fa 0%, transparent 60%), linear-gradient(135deg, #dceaf0, #b9d3df);
}
.bc-post--bark .bc-post__panel {
  /* birch bark: pale trunk with dark lenticels */
  background:
    linear-gradient(90deg, transparent 6%, rgba(43, 47, 44, 0.75) 6% 13%, transparent 13% 70%, rgba(43, 47, 44, 0.55) 70% 74%, transparent 74%) 0 14px / 100% 5px no-repeat,
    linear-gradient(90deg, transparent 30%, rgba(43, 47, 44, 0.6) 30% 41%, transparent 41% 86%, rgba(43, 47, 44, 0.7) 86% 93%, transparent 93%) 0 calc(100% - 14px) / 100% 6px no-repeat,
    linear-gradient(90deg, transparent 52%, rgba(43, 47, 44, 0.35) 52% 57%, transparent 57%) 0 calc(100% - 26px) / 100% 3px no-repeat,
    linear-gradient(180deg, #f7f6f1, #e9e8e0);
}
.bc-tags {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bc-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-600);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.bc-tag:hover {
  background: var(--green-100);
}
.bc-post__foot {
  margin-top: 12px;
}
.bc-post__count {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 2px 10px;
  font-size: 13.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.bc-post__count .bc-ico {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.bc-post__count a {
  color: var(--muted);
  text-decoration: none;
}
.bc-post__count a:hover {
  text-decoration: underline;
}
.bc-post__acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px 0;
}
.bc-act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.bc-act:hover {
  background: var(--surface-2);
  color: var(--green);
}
.bc-empty {
  padding: 36px 24px;
  text-align: center;
  color: var(--ink-2);
}
.bc-empty > .bc-ico {
  width: 36px;
  height: 36px;
  color: var(--amber);
  fill: var(--amber-50);
  margin: 0 auto 8px;
}
.bc-empty p {
  margin: 0 0 8px;
}
.bc-empty__t {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

/* ── Pager ──────────────────────────────────────────────────────── */
.bc-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}
.bc-pager__at {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.bc-pager__gap {
  width: 96px;
}
.bc-pager .bc-btn {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

/* ── Right rail ─────────────────────────────────────────────────── */
.bc-signin__sub {
  margin: -6px 0 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.bc-signin__fields {
  display: grid;
  gap: 6px;
}
.bc-signin__fields .bc-btn {
  margin-top: 8px;
}
.bc-signin__note {
  margin: 12px 0 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--amber-50);
  color: var(--amber-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
.bc-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.bc-input {
  width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--ink);
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.bc-input::placeholder {
  color: #737c77;
}
.bc-input:hover {
  border-color: #b5bdb2;
}
.bc-input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 90, 61, 0.2);
}
.bc-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}
.bc-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23414a45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.bc-people,
.bc-trend,
.bc-catlist,
.bc-minis,
.bc-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bc-people {
  display: grid;
  gap: 2px;
  margin: 0 -8px;
}
.bc-person {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.bc-person:hover {
  background: var(--surface-2);
}
.bc-person__txt {
  display: grid;
  min-width: 0;
}
.bc-person__name {
  font-weight: 600;
  font-size: 14.5px;
}
.bc-person__sub {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-trend {
  display: grid;
  margin: 0 -8px;
}
.bc-trend a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.bc-trend a:hover {
  background: var(--surface-2);
}
.bc-trend__ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--amber-50);
  color: var(--amber-ink);
  font-weight: 800;
  font-size: 17px;
}
.bc-trend li:nth-child(3n + 2) .bc-trend__ic {
  background: var(--green-50);
  color: var(--green);
}
.bc-trend li:nth-child(3n) .bc-trend__ic {
  background: var(--surface-3);
  color: var(--ink);
}
.bc-trend__txt {
  display: grid;
  min-width: 0;
  line-height: 1.35;
}
.bc-trend__n {
  font-weight: 700;
  font-size: 15px;
}
.bc-trend__c {
  font-size: 13px;
  color: var(--muted);
}
.bc-facts {
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
}
.bc-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.bc-facts .bc-ico {
  color: var(--muted);
  width: 18px;
  height: 18px;
}
.bc-facts a {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Author card ────────────────────────────────────────────────── */
.bc-who__top {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 10px;
}
.bc-who__top > span {
  display: grid;
  min-width: 0;
}
.bc-who__name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
.bc-who__top:hover .bc-who__name {
  text-decoration: underline;
}
.bc-who__handle {
  font-size: 13px;
  color: var(--muted);
}
.bc-who__bio {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.bc-who__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* ── Profile ────────────────────────────────────────────────────── */
.bc-prof {
  overflow: hidden;
}
.bc-cover {
  aspect-ratio: 1100 / 330;
  background: var(--green-100);
  overflow: hidden;
}
.bc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bc-cover--plain {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 22px, transparent 22px 96px),
    radial-gradient(90% 140% at 100% 100%, rgba(233, 162, 59, 0.55) 0%, transparent 55%),
    linear-gradient(120deg, #173f2c 0%, #1f5a3d 45%, #2f7350 100%);
}
.bc-prof__id {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 4px 24px;
  align-items: start;
  padding: 0 28px 18px;
}
.bc-prof__avwrap {
  margin-top: -76px;
  border-radius: 50%;
  padding: 5px;
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
}
.bc-prof__names {
  padding-top: 16px;
  min-width: 0;
}
.bc-prof__name {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.bc-prof__handle {
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 500;
}
.bc-prof__bio {
  margin: 10px 0 0;
  color: var(--ink-2);
  max-width: 62ch;
}
.bc-prof__cta {
  display: flex;
  gap: 8px;
  padding-top: 20px;
}
.bc-stats {
  list-style: none;
  margin: 0;
  padding: 12px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}
.bc-stats strong {
  color: var(--ink);
  font-weight: 700;
}
.bc-prof__tabs {
  padding: 0 20px;
  gap: 2px;
  border-top: 1px solid var(--line);
}
.bc-prof__tabs a {
  position: relative;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 14px 14px;
}
.bc-prof__tabs a:hover {
  background: var(--surface-2);
}
.bc-prof__tabs a[aria-current='page'] {
  background: none;
  color: var(--green);
}
.bc-prof__tabs a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--green);
}
.bc-prof__grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.bc-prof__side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--top) + 20px);
}
.bc-prof__main {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.bc-sechead {
  margin: 4px 2px 12px;
  font-size: 18px;
  font-weight: 700;
}
.bc-sechead span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}
.bc-catlist {
  display: grid;
  margin: 0 -8px;
}
.bc-catlist a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
}
.bc-catlist a:hover {
  background: var(--surface-2);
}
.bc-catlist__ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--amber-50);
  color: var(--amber-ink);
}
.bc-catlist__ic .bc-ico {
  width: 18px;
  height: 18px;
}
.bc-catlist__n {
  flex: 1;
  min-width: 0;
}
.bc-catlist__c {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.bc-hub {
  padding: 18px 20px 8px;
  border-left: 4px solid var(--amber);
}
.bc-hub__k {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-ink);
}
.bc-hub__k .bc-ico {
  width: 16px;
  height: 16px;
}
.bc-hub__h {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}

/* ── Group header (category / topic) ────────────────────────────── */
.bc-group {
  overflow: hidden;
}
.bc-group__band {
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 28px;
  color: rgba(255, 255, 255, 0.9);
}
.bc-group__band--cat {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 18px, transparent 18px 80px),
    linear-gradient(120deg, #173f2c, #2a7350);
}
.bc-group__band--cat .bc-ico {
  width: 92px;
  height: 92px;
  stroke-width: 1.2;
  margin-bottom: -18px;
  opacity: 0.5;
}
.bc-group__band--topic {
  background:
    radial-gradient(70% 140% at 0% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(120deg, #f2c06d, #e9a23b 55%, #c9781c);
  color: rgba(255, 255, 255, 0.6);
}
.bc-group__band--topic span {
  font-size: 150px;
  font-weight: 800;
  line-height: 0.8;
  margin-bottom: -10px;
  letter-spacing: -0.05em;
}
.bc-group__body {
  padding: 16px 22px 14px;
}
.bc-group__k {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.bc-group__k a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.bc-group__k a:hover {
  text-decoration: underline;
}
.bc-group__h {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.bc-group__sub {
  margin: 4px 0 0;
  color: var(--muted);
}
.bc-group .bc-tabs {
  padding: 2px 20px 16px;
}

/* ── Full post ──────────────────────────────────────────────────── */
.bc-full {
  padding: 20px 26px 4px;
  overflow: hidden;
}
.bc-full__follow {
  margin-left: auto;
}
.bc-full__title {
  margin: 18px 0 4px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.028em;
}
.bc-full__cover {
  margin: 18px -26px 0;
  aspect-ratio: 16 / 9;
  background: var(--surface-3);
  overflow: hidden;
}
.bc-full__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bc-full__body {
  padding-top: 18px;
  font-size: 17px;
  line-height: 1.75;
}
.bc-full__foot {
  margin-top: 20px;
}
.bc-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: t;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--line);
}
.bc-toc li {
  counter-increment: t;
}
.bc-toc a {
  display: flex;
  gap: 10px;
  padding: 6px 10px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.bc-toc a::before {
  content: counter(t, decimal-leading-zero);
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.bc-toc a:hover {
  color: var(--green);
  border-left-color: var(--green);
  background: var(--green-50);
}
.bc-minis {
  display: grid;
  gap: 4px;
  margin: 0 -8px;
}
.bc-mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.bc-mini:hover {
  background: var(--surface-2);
}
.bc-mini img,
.bc-mini__ph {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
  background: var(--surface-3);
}
.bc-mini__ph {
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green);
}
.bc-mini__txt {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.bc-mini__t {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bc-mini__d {
  font-size: 12.5px;
  color: var(--muted);
}

/* ── Prose ──────────────────────────────────────────────────────── */
.bc-prose {
  color: var(--ink);
}
.bc-prose > :first-child {
  margin-top: 0;
}
.bc-prose p,
.bc-prose ul,
.bc-prose ol,
.bc-prose blockquote,
.bc-prose figure,
.bc-prose pre,
.bc-prose table,
.bc-prose dl {
  margin: 0 0 1.05em;
}
.bc-prose h2 {
  margin: 1.7em 0 0.55em;
  font-size: 1.38em;
  font-weight: 750;
}
.bc-prose h3 {
  margin: 1.5em 0 0.45em;
  font-size: 1.14em;
  font-weight: 700;
}
.bc-prose h4 {
  margin: 1.3em 0 0.4em;
  font-size: 1em;
}
.bc-prose a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(31, 90, 61, 0.4);
  text-underline-offset: 3px;
  font-weight: 500;
}
.bc-prose a:hover {
  text-decoration-color: currentColor;
}
.bc-prose ul,
.bc-prose ol {
  padding-left: 1.35em;
}
.bc-prose li {
  margin: 0.3em 0;
}
.bc-prose li::marker {
  color: var(--green);
}
.bc-prose blockquote {
  padding: 14px 18px;
  border-left: 4px solid var(--amber);
  background: var(--amber-50);
  border-radius: 0 12px 12px 0;
  color: var(--ink-2);
}
.bc-prose blockquote > :last-child {
  margin-bottom: 0;
}
.bc-prose img {
  border-radius: 12px;
  height: auto;
}
.bc-prose figcaption {
  font-size: 0.85em;
  color: var(--muted);
  margin-top: 6px;
}
.bc-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-3);
}
.bc-prose pre {
  padding: 14px 16px;
  border-radius: 12px;
  background: #1c211e;
  color: #eef0ec;
  overflow-x: auto;
}
.bc-prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.bc-prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2em 0;
}
.bc-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94em;
  display: block;
  overflow-x: auto;
}
.bc-prose th,
.bc-prose td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.bc-prose th {
  background: var(--surface-2);
  font-weight: 700;
}
.bc-prose--hub {
  font-size: 15px;
}
.bc-prose--hub h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 1.2em;
}

/* ── Comments thread ────────────────────────────────────────────── */
.bc-thread {
  padding: 20px 26px 22px;
}
.bc-thread__h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 700;
}
.bc-count {
  min-width: 26px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-600);
  font-size: 13.5px;
  text-align: center;
}
.bc-thread__empty {
  margin-bottom: 4px;
}
.bc-replies {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.bc-reply {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
}
.bc-iv {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.bc-iv--0 {
  background: #1f5a3d;
}
.bc-iv--1 {
  background: #8a5512;
}
.bc-iv--2 {
  background: #2e5e73;
}
.bc-iv--3 {
  background: #64487f;
}
.bc-iv--4 {
  background: #8a3b37;
}
.bc-iv--5 {
  background: #46552a;
}
.bc-reply .bc-av--md {
  width: 40px;
  height: 40px;
}
.bc-reply--author .bc-reply__bubble {
  background: var(--green-50);
  border-color: var(--green-100);
}
.bc-reply__bubble {
  display: inline-block;
  max-width: 100%;
  padding: 9px 14px 10px;
  border-radius: 4px 18px 18px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.bc-reply__name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  font-size: 14.5px;
}
.bc-badge {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.bc-reply__body {
  font-size: 15px;
  color: var(--ink);
}
.bc-reply__body p {
  margin: 0 0 6px;
}
.bc-reply__body p:last-child {
  margin: 0;
}
.bc-reply__meta {
  margin: 4px 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}
.bc-compose {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.bc-compose__grid {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
}
.bc-compose__fields {
  display: grid;
  gap: 12px;
}

/* ── Forms ──────────────────────────────────────────────────────── */
.bc-form__h {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}
.bc-form__note {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}
.bc-field {
  display: grid;
  gap: 6px;
}
.bc-form__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.bc-form__end .bc-form__note {
  margin: 0;
}
.bc-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.bc-status {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
}
.bc-status:not(:empty) {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-600);
  border: 1px solid var(--green-100);
}
.bc-status[data-state='invalid']:not(:empty),
.bc-status[data-state='error']:not(:empty) {
  background: var(--amber-50);
  color: var(--amber-ink);
  border-color: var(--amber-100);
}
.bc-flash {
  margin: 0 32px 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
}
.bc-flash--ok {
  background: var(--green-50);
  color: var(--green-600);
  border: 1px solid var(--green-100);
}
.bc-flash--warn {
  background: var(--amber-50);
  color: var(--amber-ink);
  border: 1px solid var(--amber-100);
}
.bc-form.bc-card--inset {
  display: grid;
  gap: 14px;
  margin: 0 32px 32px;
  padding: 22px;
  position: relative;
}
.bc-form.bc-card--inset .bc-form__h {
  margin: 0;
}
.bc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── Docs ───────────────────────────────────────────────────────── */
.bc-doc {
  overflow: hidden;
}
.bc-doc__hero {
  margin: 0;
  aspect-ratio: 5 / 2;
  background: var(--green-100);
  overflow: hidden;
}
.bc-doc__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bc-doc__head {
  padding: 26px 32px 0;
}
.bc-doc__h {
  margin: 12px 0 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.028em;
}
.bc-doc__body {
  padding: 18px 32px 26px;
  font-size: 16px;
  line-height: 1.7;
  max-width: 76ch;
}
.bc-lead {
  font-size: 1.12em;
  color: var(--ink-2);
}
.bc-updated {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 13px !important;
  font-weight: 600;
}
.bc-qa {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0 0 10px;
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bc-qa[open] {
  border-color: var(--green-100);
  box-shadow: var(--shadow);
}
.bc-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: 12px;
}
.bc-qa summary::-webkit-details-marker {
  display: none;
}
.bc-qa summary::after {
  content: '+';
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.bc-qa[open] summary::after {
  content: '−';
}
.bc-qa summary:hover {
  background: var(--surface-2);
}
.bc-qa__a {
  padding: 0 16px 4px;
  color: var(--ink-2);
}

/* ── 404 ────────────────────────────────────────────────────────── */
.bc-lost {
  padding: 48px 32px;
  text-align: center;
}
.bc-lost__mark .bc-brand__mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}
.bc-lost__h {
  margin: 14px 0 10px;
  font-size: 32px;
  font-weight: 800;
}
.bc-lost p {
  color: var(--ink-2);
  margin: 0 auto;
  max-width: 46ch;
}
.bc-lost__acts {
  justify-content: center;
  margin-top: 22px;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.bc-foot {
  margin-top: 48px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.bc-foot__in {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px;
}
.bc-foot__brand p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 34ch;
}
.bc-brand--foot .bc-brand__mark {
  width: 32px;
  height: 32px;
}
.bc-brand--foot .bc-brand__word {
  font-size: 18px;
}
.bc-foot__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.bc-foot__h {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.bc-foot__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.bc-foot__cols a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
}
.bc-foot__cols a:hover,
.bc-foot__cols a[aria-current='page'] {
  color: var(--green);
  text-decoration: underline;
}
.bc-foot__copy {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 20px 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .bc-app--3 {
    grid-template-columns: minmax(0, 640px) 300px;
  }
  .bc-app--3 > .bc-rail--l {
    display: none;
  }
  .bc-app--doc {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .bc-rail--doc {
    grid-column: 1 / -1;
    position: static;
  }
  .bc-rail--doc ul {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .bc-rail--doc .bc-rail__link {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 4px 14px 4px 6px;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 14px;
  }
  .bc-rail--doc .bc-rail__link[aria-current='page'] {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
  }
  .bc-rail--doc .bc-rail__link[aria-current='page'] .bc-rail__ic--plain {
    color: #fff;
  }
  .bc-app--2,
  .bc-app--post {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .bc-prof__grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .bc-top__tab {
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .bc-page {
    padding: 14px 12px 0;
  }
  .bc-app--3,
  .bc-app--2,
  .bc-app--post,
  .bc-app--doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .bc-rail--l {
    position: static;
  }
  .bc-top__in {
    padding: 0 12px;
    gap: 10px;
  }
  .bc-top__menu {
    display: inline-flex;
  }
  .bc-campstrip {
    display: flex;
  }
  .bc-top__nav {
    display: none;
    position: absolute;
    top: var(--top);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .bc-top__nav.is-open {
    display: flex;
  }
  .bc-top__nav ul {
    flex-direction: column;
    height: auto;
    margin: 0;
    gap: 2px;
  }
  .bc-top__tab {
    padding: 12px 12px;
    border-radius: 12px;
  }
  .bc-top__tab::before {
    inset: 0;
  }
  .bc-top__tab[aria-current='page'] {
    background: var(--green-50);
  }
  .bc-top__tab[aria-current='page']::after {
    display: none;
  }
  .bc-top__signin {
    width: 100%;
  }
  .bc-prof__grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
  }
  .bc-prof__side {
    position: static;
    order: 2;
  }
  .bc-prof__id {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 18px 16px;
    justify-items: start;
  }
  .bc-prof__avwrap {
    margin-top: -64px;
  }
  .bc-av--xl {
    width: 120px;
    height: 120px;
  }
  .bc-prof__names {
    padding-top: 6px;
  }
  .bc-prof__name {
    font-size: 26px;
  }
  .bc-prof__cta {
    padding-top: 10px;
    flex-wrap: wrap;
  }
  .bc-stats {
    padding: 12px 18px;
    gap: 6px 20px;
  }
  .bc-prof__tabs {
    padding: 0 8px;
  }
  .bc-cover {
    aspect-ratio: 16 / 7;
  }
  .bc-foot__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 16px 20px;
  }
  .bc-foot__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bc-foot__copy {
    padding: 14px 16px 22px;
  }
}
@media (max-width: 560px) {
  .bc-post {
    padding: 14px 14px 4px;
  }
  .bc-post__media,
  .bc-post__panel {
    margin-left: -14px;
    margin-right: -14px;
  }
  .bc-post__panel {
    min-height: 170px;
    padding: 26px 22px;
    font-size: 18px;
  }
  .bc-post__title {
    font-size: 17.5px;
  }
  .bc-composer__tools a span {
    font-size: 13px;
  }
  .bc-composer__tools a {
    gap: 6px;
  }
  .bc-full {
    padding: 16px 16px 4px;
  }
  .bc-full__cover {
    margin-left: -16px;
    margin-right: -16px;
  }
  .bc-full__title {
    font-size: 26px;
  }
  .bc-full__body {
    font-size: 16.5px;
  }
  .bc-full__follow {
    display: none;
  }
  .bc-thread {
    padding: 18px 16px;
  }
  .bc-compose__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bc-compose__me {
    display: none;
  }
  .bc-doc__head {
    padding: 20px 18px 0;
  }
  .bc-doc__h {
    font-size: 27px;
  }
  .bc-doc__body {
    padding: 14px 18px 22px;
  }
  .bc-doc__hero {
    aspect-ratio: 16 / 9;
  }
  .bc-form.bc-card--inset {
    margin: 0 12px 18px;
    padding: 16px;
  }
  .bc-flash {
    margin: 0 12px 14px;
  }
  .bc-form__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .bc-group__band {
    height: 92px;
  }
  .bc-group__h {
    font-size: 24px;
  }
  .bc-lost {
    padding: 36px 18px;
  }
  .bc-brand__word {
    font-size: 19px;
  }
  .bc-pager__gap {
    width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
