:root {
  color-scheme: light;
  --paper: #f3f1ea;
  --paper-2: #fffaf3;
  --paper-3: #ebe7dc;
  --ink: #211f19;
  --muted: rgba(33, 31, 25, 0.64);
  --faint: rgba(33, 31, 25, 0.08);
  --line: rgba(49, 43, 33, 0.13);
  --orange: #f54e00;
  --moss: #2f6f5e;
  --blue: #315f8a;
  --red: #a93424;
  --shadow: 0 18px 42px rgba(70, 56, 34, 0.08), 0 0 0 1px rgba(49, 43, 33, 0.05);
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display: "Avenir Next", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% -12%, rgba(245, 78, 0, 0.12), transparent 30rem),
    radial-gradient(circle at 86% 8%, rgba(49, 95, 138, 0.1), transparent 26rem),
    linear-gradient(135deg, rgba(255, 250, 243, 0.92), rgba(235, 231, 220, 0.96));
  color: var(--ink);
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(33, 31, 25, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 31, 25, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), transparent 74%);
}

::selection {
  color: #fffaf0;
  background: var(--orange);
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  opacity: 0;
  transform: translateY(-16px);
}

.skip-link:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.page-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 34px;
}

.site-top {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.84);
  box-shadow: 0 14px 34px rgba(70, 56, 34, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.top-links,
.support-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.05;
}

.brand-meta {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.top-links {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.top-links a {
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(33, 31, 25, 0.72);
  font-size: 14px;
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .top-links a:hover,
  .text-button:hover {
    background: rgba(255, 102, 0, 0.1);
    color: var(--ink);
  }
}

.support-actions {
  gap: 8px;
}

.icon-button,
.secondary-action {
  position: relative;
  display: inline-grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink);
  transition: transform 150ms var(--ease-out), border-color 150ms var(--ease-out), background 150ms var(--ease-out);
}

.icon-button svg,
.secondary-action svg,
.modal-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-button:active,
.secondary-action:active,
.primary-action:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover,
  .secondary-action:hover {
    border-color: rgba(255, 102, 0, 0.34);
    background: rgba(255, 255, 255, 0.82);
  }

  [data-tip]:hover::after {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: max-content;
    max-width: 180px;
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--paper-2);
    content: attr(data-tip);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
  }
}

.reader-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 16px;
  align-items: stretch;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.86), rgba(245, 241, 232, 0.72)),
    radial-gradient(circle at 96% 0%, rgba(47, 111, 94, 0.12), transparent 20rem);
  box-shadow: var(--shadow);
}

.hero-panel::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: min(42%, 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 78, 0, 0.44), transparent);
  border: 0;
  border-radius: 0;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.kicker,
.feed-label {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  max-width: 560px;
  margin-bottom: 8px;
  font-size: clamp(31px, 4vw, 54px);
  font-weight: 700;
}

.hero-text {
  max-width: 760px;
  margin-bottom: 14px;
  color: rgba(33, 31, 25, 0.72);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-controls,
.toolbar-controls,
.filter-strip,
.modal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-action,
.secondary-action,
.text-button {
  border: 0;
}

.primary-action {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 0 10px 24px rgba(33, 31, 25, 0.16);
  font-weight: 600;
  transition: transform 150ms var(--ease-out), background 150ms var(--ease-out);
}

.secondary-action {
  display: inline-flex;
  gap: 8px;
  padding: 0 14px;
  font-weight: 600;
}

.signal-board {
  position: relative;
  z-index: 1;
  align-self: stretch;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(49, 43, 33, 0.1);
  color: var(--muted);
  font-size: 13px;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.topic-rail,
.feed-workspace,
.api-strip,
.docs-grid article,
.docs-example {
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.72);
  box-shadow: 0 14px 34px rgba(70, 56, 34, 0.06);
}

.topic-rail {
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100dvh - 100px);
  overflow: auto;
  padding: 12px;
  border-radius: 16px;
}

.rail-head,
.feed-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.rail-head h2,
.feed-toolbar h2 {
  margin: 0;
  font-size: 22px;
}

.text-button {
  padding: 7px 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.topic-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.topic-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(49, 43, 33, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
  transition: transform 150ms var(--ease-out), border-color 150ms var(--ease-out), background 150ms var(--ease-out);
}

.topic-item.active {
  border-color: rgba(245, 78, 0, 0.38);
  background: rgba(245, 78, 0, 0.09);
}

.topic-item.subscribed:not(.active) {
  border-color: rgba(47, 111, 94, 0.2);
}

.topic-open {
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.topic-title {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.topic-desc {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.subscribe-dot {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(49, 43, 33, 0.18);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.72);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
}

.topic-item.subscribed .subscribe-dot {
  border-color: transparent;
  background: var(--moss);
  color: var(--paper-2);
}

@media (hover: hover) and (pointer: fine) {
  .topic-item:hover,
  .story-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 102, 0, 0.28);
  }
}

.feed-workspace {
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
}

.feed-toolbar {
  margin-bottom: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.search-box svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-box input {
  width: min(32vw, 280px);
  min-width: 170px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 600;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.filter-strip {
  padding: 8px;
  border: 1px solid rgba(49, 43, 33, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.34);
}

.filter-strip label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.filter-strip input,
.filter-strip select {
  width: 86px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(49, 43, 33, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.84);
  color: var(--ink);
}

.story-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.story-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1.1fr) minmax(260px, 0.82fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(49, 43, 33, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  transition: transform 150ms var(--ease-out), border-color 150ms var(--ease-out), background 150ms var(--ease-out);
}

.story-card::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--topic-accent, var(--orange));
  content: "";
}

.story-score {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 0 0 4px;
  color: var(--orange);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.story-score strong {
  font-size: 17px;
  line-height: 1;
}

.story-score span {
  color: rgba(33, 31, 25, 0.48);
  font-size: 10px;
  font-weight: 600;
}

.story-body {
  min-width: 0;
}

.story-body-zh {
  padding-left: 0;
}

.story-body-en {
  padding: 0 12px;
  border-left: 1px solid rgba(49, 43, 33, 0.1);
  border-right: 1px solid rgba(49, 43, 33, 0.08);
}

.column-label {
  margin-bottom: 6px;
  color: rgba(33, 31, 25, 0.48);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.story-title {
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  text-wrap: pretty;
}

.story-title a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 150ms var(--ease-out), text-decoration-color 150ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .story-title a:hover {
    color: var(--orange);
    text-decoration-color: rgba(255, 102, 0, 0.5);
  }
}

.original-title {
  color: rgba(33, 31, 25, 0.76);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}

.summary {
  margin: 8px 0 0;
  color: rgba(33, 31, 25, 0.7);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}

.story-meta,
.story-links,
.tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.story-meta {
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.story-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(49, 43, 33, 0.07);
}

.story-links {
  display: grid;
  min-width: 72px;
  align-content: start;
  justify-content: stretch;
  gap: 7px;
}

.story-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(49, 43, 33, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.tag-row {
  margin-top: 9px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 600;
}

.skeleton {
  min-height: 118px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.26));
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

.empty-state,
.error-state {
  padding: 24px;
  border: 1px dashed rgba(81, 64, 42, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.32);
}

.empty-state h3,
.error-state h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.api-strip {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 12px;
  padding: 18px;
  border-radius: 18px;
}

.api-strip h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.endpoint-grid a {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(49, 43, 33, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

code,
pre {
  font-family: var(--mono);
}

.endpoint-grid code {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.endpoint-grid span {
  color: var(--muted);
  font-size: 13px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 10px 0;
  color: rgba(29, 26, 22, 0.6);
  font-size: 14px;
}

.footer a,
.back-link {
  color: var(--ink);
  font-weight: 600;
}

.modal-layer[hidden] {
  display: none;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 26, 22, 0.42);
  backdrop-filter: blur(8px);
}

.modal {
  position: relative;
  width: min(440px, 100%);
  max-height: min(680px, calc(100dvh - 40px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  background: var(--paper-2);
  box-shadow: 0 30px 80px rgba(29, 26, 22, 0.28);
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(81, 64, 42, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.modal h2 {
  margin: 6px 42px 8px 0;
  font-size: 28px;
}

.modal p {
  margin-bottom: 16px;
  color: var(--muted);
}

.qr-image {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(81, 64, 42, 0.12);
}

.modal-links {
  margin-top: 14px;
}

.modal-links a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 102, 0, 0.09);
  color: var(--ink);
  font-weight: 600;
}

.docs-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.docs-hero {
  margin-top: 24px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(81, 64, 42, 0.14);
  border-radius: 30px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: var(--shadow);
}

.docs-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 6vw, 72px);
}

.docs-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.docs-grid article,
.docs-example {
  border-radius: 20px;
  padding: 18px;
}

.docs-grid h2,
.docs-example h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.docs-grid code {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(29, 26, 22, 0.08);
  color: var(--red);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.docs-example {
  margin-top: 18px;
}

.docs-example pre {
  overflow: auto;
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: #211f1b;
  color: rgba(255, 250, 240, 0.88);
  line-height: 1.6;
}

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

@media (max-width: 1040px) {
  .reader-layout {
    grid-template-columns: 1fr;
  }

  .topic-rail {
    position: static;
    max-height: none;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel,
  .api-strip {
    grid-template-columns: 1fr;
  }

  .signal-board {
    max-width: 520px;
  }

  .story-card {
    grid-template-columns: 58px minmax(0, 1fr) minmax(260px, 0.9fr);
  }

  .story-links {
    grid-column: 2 / -1;
    display: flex;
    justify-content: flex-start;
  }

  .endpoint-grid,
  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell,
  .docs-page {
    width: min(100% - 20px, 1480px);
    padding-top: 10px;
  }

  .site-top {
    top: 8px;
    align-items: stretch;
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .top-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .support-actions {
    margin-left: auto;
  }

  .support-actions .icon-button:nth-child(3) {
    display: none;
  }

  .hero-panel {
    padding: 14px;
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(28px, 8.5vw, 36px);
    margin-bottom: 6px;
  }

  .hero-text {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.58;
  }

  .signal-board {
    display: none;
  }

  .feed-workspace {
    order: 3;
  }

  .topic-rail {
    order: 2;
  }

  .endpoint-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .topic-rail {
    max-height: 176px;
    overflow: auto;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-item {
    min-height: 62px;
  }

  .feed-toolbar {
    display: grid;
    gap: 10px;
  }

  .toolbar-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .search-box {
    width: auto;
  }

  .search-box input {
    width: 100%;
    min-width: 0;
  }

  .filter-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .filter-strip label {
    display: grid;
    gap: 4px;
    justify-content: stretch;
    min-width: 0;
    font-size: 11px;
  }

  .filter-strip input,
  .filter-strip select {
    width: 100%;
  }

  .story-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .story-score {
    grid-row: span 2;
    padding-top: 3px;
  }

  .story-body-zh,
  .story-body-en {
    grid-column: 2;
  }

  .story-body-en {
    padding: 10px 0 0;
    border-top: 1px solid rgba(49, 43, 33, 0.1);
    border-left: 0;
    border-right: 0;
  }

  .story-links {
    grid-column: 2;
    justify-content: flex-start;
  }
}
