.thoughts-page {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: 1.5rem 0 6rem;
}

.thoughts-hero {
  max-width: 45rem;
  padding: .25rem 0 1.6rem;
}

.thoughts-kicker {
  margin: 0;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.thoughts-hero h1 {
  margin: .35rem 0 .65rem;
  font-family: "Ma Shan Zheng", cursive;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
}

.thoughts-hero > p:last-child {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-family: "Ma Shan Zheng", cursive;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
}

.thought-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding: .1rem 0 .55rem;
  border-bottom: 1px solid var(--line);
}

.thought-filters button,
.thought-more button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.thought-filters button {
  position: relative;
  padding: .55rem .7rem;
  color: color-mix(in srgb, var(--muted) 68%, transparent);
  font-size: .72rem;
}
.thought-filters button:hover,
.thought-filters button:focus-visible,
.thought-filters button[aria-pressed="true"] {
  color: var(--accent);
}

.thought-filters button[aria-pressed="true"]::after {
  position: absolute;
  right: .7rem;
  bottom: .35rem;
  left: .7rem;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 62%, transparent);
  content: "";
}

.thought-stream { margin-top: 0; }

.thought-entry {
  scroll-margin-top: 1rem;
  padding: 3.2rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.thought-entry:target {
  margin-inline: -1.25rem;
  padding-inline: 1.25rem;
  border-radius: 18px;
  background: rgba(219, 233, 231, .46);
}

.thought-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .08em;
}

.thought-meta span::before { content: "·"; margin-right: .75rem; }

.thought-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
}

.thought-copy p {
  margin: 0;
  color: var(--ink);
  font-family: "LXGW WenKai", "Kaiti SC", KaiTi, serif;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.9;
}

.thought-copy-en {
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}

.thought-copy-en p {
  color: #35515e;
  font-family: "Noto Sans SC", "Noto Sans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.82;
}

.thought-footer {
  display: block;
  margin-top: 1.8rem;
}

.thought-attribution {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.7;
}

.thought-more button:hover,
.thought-more button:focus-visible { color: var(--ink); }

.thought-more { display: flex; justify-content: center; padding-top: 2.5rem; }
.thought-more button { min-width: 9rem; padding: .7rem 1.25rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .5); font-size: .76rem; }

@media (max-width: 767px) {
  .thoughts-page { padding: .8rem 0 5rem; }
  .thoughts-hero { padding: 0 0 1.25rem; }
  .thoughts-hero h1 { font-size: clamp(2.9rem, 14vw, 3.8rem); }
  .thought-filters { flex-wrap: nowrap; margin-inline: -14px; padding-inline: 14px; overflow-x: auto; scrollbar-width: none; }
  .thought-filters::-webkit-scrollbar { display: none; }
  .thought-filters button { flex: 0 0 auto; }
  .thought-entry { padding: 2.5rem 0 2.35rem; }
  .thought-columns { grid-template-columns: 1fr; gap: 1.35rem; }
  .thought-copy-en { padding: 1.25rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .thought-copy p { font-size: 1.14rem; line-height: 1.85; }
  .thought-copy-en p { font-size: 1.04rem; line-height: 1.75; }
  .thought-entry:target { margin-inline: -.6rem; padding-inline: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
