:root {
  font:
    100%/1.55 -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    'Microsoft YaHei',
    system-ui,
    sans-serif;
  font-optical-sizing: auto;
  color: #202321;
  background: #fcfbf8;
  --paper: #fcfbf8;
  --ink: #202321;
  --muted: #59615c;
  --line: #dedfd9;
  --gold: #f6ba40;
  --cream: #fff0c8;
  --green: #186754;
  --serif: 'Songti SC', 'STSong', 'Noto Serif CJK SC', Georgia, serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
summary,
input,
textarea,
select {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #476c9d;
}
a:active,
button:active,
summary:active {
  filter: brightness(0.9);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.23;
  text-wrap: pretty;
}
button {
  border: 0;
  background: none;
}
svg.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.18em;
  flex: none;
}
.wrap {
  width: min(76rem, calc(100% - clamp(2.5rem, 9vw, 7.5rem)));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -10rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  background: white;
}
.skip:focus {
  top: 0.5rem;
}
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(49, 52, 45, 0.09);
}
.nav,
.btn,
.meta,
.heroLabel,
.heroRead,
.filters,
.pager,
.byline,
.crumb,
.footer,
.footer a,
.sectionBar,
.mast,
.searchbox,
.share,
.related a,
.topic {
  display: flex;
  align-items: center;
}
.nav {
  height: 4.2rem;
  justify-content: space-between;
  gap: 1rem;
}
.crumb a:hover,
.footer a:hover {
  text-decoration: underline;
}
.btn {
  display: inline-flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.56rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
  font-size: 0.89rem;
  background: var(--paper);
  min-height: 2.75rem;
}
.btn:hover {
  border-color: #999f96;
}
.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.dark:hover {
  background: #373b38;
}
.mobileToc summary {
  list-style: none;
}
.mobileToc summary::-webkit-details-marker {
  display: none;
}
.mast {
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3.2rem 0 2.05rem;
  align-items: flex-end;
}
.mast h1,
.searchPage h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.2vw, 4.75rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.mast p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 1rem;
}
.searchbox {
  max-width: 100%;
  width: 15.5rem;
  background: white;
  border: 1px solid #d8dad3;
  border-radius: 2rem;
  padding: 0 0.45rem 0 1rem;
  gap: 0.6rem;
  min-height: 2.75rem;
}
.searchbox:focus-within {
  border-color: #8a774b;
  box-shadow: 0 0 0 2px var(--cream);
}
.searchbox input {
  background: transparent;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  font-size: 0.9rem;
}
.searchbox button {
  height: 2.65rem;
  min-width: 2.65rem;
  border-radius: 50%;
  color: var(--muted);
}
.searchbox .icon {
  width: 1.12rem;
  height: 1.12rem;
}
.hero {
  border-radius: 1.15rem;
  overflow: hidden;
  background: #252724;
  color: #fffdf7;
}
.hero > a {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 23rem;
}
.heroArt,
.thumb {
  overflow: hidden;
}
.heroArt {
  position: relative;
}
.heroArt img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.heroCopy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.7rem, 3vw, 3.25rem);
  min-width: 0;
}
.heroLabel {
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #f4cc78;
  font-weight: 620;
}
.heroLabel i {
  width: 1.4rem;
  height: 2px;
  background: #e6b34e;
}
.hero h2 {
  font: 700 clamp(2rem, 3.65vw, 3.35rem)/1.23 var(--serif);
  letter-spacing: -0.038em;
  margin: 0.95rem 0 0.7rem;
  text-wrap: balance;
}
.heroCopy > p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #d8dbd4;
  max-width: 27em;
}
.meta {
  gap: 0.6rem;
  font-size: 0.77rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.meta time {
  font-family: var(--mono);
  font-size: 0.74rem;
}
.hero .meta {
  color: #d5d4c7;
  margin: 1.15rem 0;
}
.topic {
  gap: 0.4rem;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 650;
}
.topic:before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #b07b28;
}
.topic.guides:before {
  background: #47856d;
}
.topic.models:before {
  background: #6676b9;
}
.topic.product:before {
  background: #b66a54;
}
.heroRead {
  gap: 0.6rem;
  font-size: 0.87rem;
  font-weight: 650;
  border-bottom: 1px solid #8d8b7e;
  padding: 0.22rem 0;
}
.hero:hover .heroRead {
  border-color: var(--gold);
}
.plainHero > a {
  grid-template-columns: 1fr;
  min-height: 16rem;
}
.archive {
  padding: 2.5rem 0 3.5rem;
}
.sectionBar {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.sectionBar h2,
.related h2 {
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}
.filters {
  gap: 0.2rem;
  flex-wrap: wrap;
}
.filters a,
.pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 540;
  border-radius: 2rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
}
.filters a[aria-current],
.pager a[aria-current] {
  color: white;
  background: var(--ink);
}
.filters a:hover:not([aria-current]),
.pager a:hover:not([aria-current]) {
  background: #edece6;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.card a {
  display: block;
  height: 100%;
}
.thumb {
  aspect-ratio: 1.96;
  border-radius: 0.75rem;
  background: #e9e9e1;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cardText {
  padding: 1rem 0.1rem 0.4rem;
}
.card h3,
.results h2 {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  margin: 0.55rem 0 0.38rem;
  line-height: 1.4;
}
.card a:hover h3,
.results a:hover h2,
.related a:hover span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.card p,
.results p,
.empty p,
.updated {
  color: var(--muted);
}
.card p {
  font-size: 0.92rem;
}
.textcard a {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.pager {
  gap: 0.3rem;
  justify-content: center;
  margin-top: 2rem;
}
.pager a {
  width: 2.75rem;
  padding: 0;
}
.footer {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer i {
  color: #aaa;
  font-style: normal;
  margin: 0 0.3rem;
}
.footer a {
  min-height: 2.75rem;
  gap: 0.4rem;
}
.crumb {
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 1.45rem;
  flex-wrap: wrap;
}
.crumb .icon {
  width: 0.78rem;
}
.crumb + .mast {
  padding-top: 2rem;
}
.storyHead {
  max-width: 49rem;
  margin: 2rem auto 1.75rem;
}
.storyHead h1 {
  font: 700 clamp(2.3rem, 4.5vw, 4.05rem)/1.2 var(--serif);
  letter-spacing: -0.045em;
  margin: 0.7rem 0 1rem;
}
.deck {
  font-size: 1.16rem;
  line-height: 1.7;
  color: var(--muted);
}
.byline {
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.byline b {
  color: var(--ink);
}
.byline time {
  font-family: var(--mono);
}
.storyImage {
  margin: 0 auto;
  max-width: 64rem;
  overflow: hidden;
  border-radius: 0.85rem;
}
.storyImage img {
  width: 100%;
  height: clamp(12rem, 25vw, 21rem);
  object-fit: cover;
}
.articleGrid {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) minmax(0, 42rem);
  gap: clamp(2rem, 5vw, 6rem);
  max-width: 64rem;
  margin: 2.4rem auto;
}
.readerSide {
  align-self: start;
  position: sticky;
  top: 6rem;
}
.desktopToc {
  display: grid;
  border-left: 2px solid #d5ad60;
  padding-left: 0.9rem;
}
.desktopToc h2,
.mobileToc summary {
  font-size: 0.9rem;
  font-weight: 680;
}
.desktopToc a,
.mobileToc a {
  display: block;
  padding: 0.47rem 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.desktopToc a:hover {
  text-decoration: underline;
}
.share {
  margin-top: 1rem;
  background: transparent;
}
.mobileToc {
  display: none;
}
.prose {
  font-size: 1.09rem;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: 1.55rem;
  letter-spacing: -0.025em;
  margin: 2rem 0 1rem;
  scroll-margin-top: 5.5rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  margin: 0 0 0.95rem;
}
.prose blockquote {
  margin: 1.3rem 0;
  padding: 0.8rem 1.1rem;
  border-left: 3px solid #bc8d38;
  background: #f6f1e5;
}
.prose pre {
  border-radius: 0.5rem;
  padding: 1rem;
  background: #242724;
  color: #fff;
  overflow: auto;
  font: 0.88rem/1.6 var(--mono);
}
.prose .updated {
  font-size: 0.8rem;
}
.related {
  max-width: 64rem;
  margin: 2.5rem auto;
}
.related h2 {
  margin-bottom: 1rem;
}
.related a {
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-weight: 580;
}
.narrow {
  max-width: 50rem;
}
.searchPage h1 {
  margin: 2rem 0 1.5rem;
}
.searchPage .searchbox {
  width: 100%;
}
.searchPage {
  min-height: 65vh;
  padding-bottom: 2rem;
}
.resultCount {
  margin: 1rem 0;
  color: var(--muted);
}
.results article {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.empty {
  text-align: center;
  margin: 1.5rem 0;
  padding: 2.5rem 1rem;
  background: #f2f1eb;
  border-radius: 0.65rem;
}
.empty h2,
.empty h3 {
  font-size: 1.25rem;
  margin: 0.65rem 0;
}
.empty a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-weight: 650;
}
.missing {
  margin: 3rem auto;
  min-height: 50vh;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.75rem;
}
.errorCode {
  font: 1rem var(--mono);
  color: var(--muted);
}
[data-feedback]:not(:empty) {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  background: #252923;
  color: white;
  padding: 0.65rem 1.2rem;
  border-radius: 0.65rem;
  max-width: 95vw;
}
.storyHead,
.cardText,
.heroCopy {
  overflow-wrap: anywhere;
}
@media (max-width: 52rem) {
  .hero > a {
    min-height: 20rem;
  }
  .hero h2 {
    font-size: 2.25rem;
  }
  .sectionBar {
    align-items: flex-start;
    flex-direction: column;
  }
  .cards {
    gap: 1rem;
  }
  .articleGrid {
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 42rem) {
  .nav {
    height: 3.6rem;
  }
  .mast {
    padding: 1.8rem 0 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.05rem;
  }
  .mast p {
    font-size: 0.95rem;
  }
  .mast .searchbox {
    width: 100%;
  }
  .hero > a {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .heroArt {
    aspect-ratio: 1.94;
  }
  .heroCopy {
    padding: 1.3rem 1.35rem 1.5rem;
  }
  .hero h2 {
    font-size: 2.05rem;
    margin: 0.6rem 0;
  }
  .hero .meta {
    margin: 0.8rem 0;
  }
  .heroCopy > p {
    font-size: 0.91rem;
  }
  .archive {
    padding: 1.75rem 0;
  }
  .sectionBar {
    gap: 0.6rem;
  }
  .sectionBar h2 {
    font-size: 1.4rem;
  }
  .filters {
    gap: 0;
  }
  .filters a {
    font-size: 0.83rem;
    padding: 0.35rem 0.65rem;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .cardText {
    padding: 0.75rem 0 0.2rem;
  }
  .card h3 {
    font-size: 1.25rem;
  }
  .storyHead {
    margin: 1.4rem 0;
  }
  .deck {
    font-size: 1.02rem;
  }
  .readerSide {
    position: static;
  }
  .articleGrid {
    display: flex;
    flex-direction: column;
    margin: 1.4rem 0;
  }
  .desktopToc {
    display: none;
  }
  .mobileToc {
    display: block;
    flex: 1;
  }
  .mobileToc summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
  }
  .readerSide {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    border-block: 1px solid var(--line);
    padding: 0.3rem 0;
    gap: 0.6rem;
  }
  .share {
    margin: 0;
  }
  .prose {
    font-size: 1rem;
  }
  .prose h2 {
    font-size: 1.35rem;
  }
  .storyImage img {
    height: auto;
    aspect-ratio: 1.9;
  }
  .crumb {
    padding-top: 1rem;
  }
  .heroLabel {
    font-size: 0.75rem;
  }
  .footer {
    padding: 0.8rem 0;
  }
  .heroLabel i {
    width: 1rem;
  }
}
@media (max-width: 23rem) {
  .wrap {
    width: calc(100% - 2rem);
  }
  .filters a {
    padding: 0.35rem 0.48rem;
  }
  .byline {
    gap: 0.35rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .card img {
    transition: transform 0.22s ease-out;
  }
  @media (hover: hover) {
    .card a:hover img {
      transform: scale(1.025);
    }
  }
}
@media (prefers-reduced-transparency: reduce) {
  .top {
    background: var(--paper);
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  :root {
    --muted: #333;
    --line: #737971;
  }
  .top {
    background: white;
    border-bottom: 1px solid;
  }
  .btn,
  .searchbox {
    border-color: currentColor;
  }
}
.prose .bodyPhoto {
  margin: 1.6rem auto;
}
.bodyPhoto {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}
.bodyPhoto[data-size='compact'] {
  width: min(100%, 25rem);
}
.bodyPhoto img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
}
.bodyPhoto figcaption {
  font:
    0.86rem/1.65 -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    sans-serif;
  color: var(--muted);
  margin: 0.5rem 0.1rem 0;
  text-align: center;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.share { display: block; min-width: 0; }
.share summary { font-weight: 600; padding-block: .6rem; }
.share input { width: 100%; min-width: 0; }
.share button { text-decoration: underline; }
.prose h3 { scroll-margin-top: 5.5rem; }
