.station {
  --paper: #f8f7f2;
  --ink: #1b332e;
  --muted: #58675f;
  --rule: #d1d6cb;
  --accent: #a85433;
  --serif: 'STIX Two Text', 'Songti SC', 'Noto Serif CJK SC', SimSun, serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  height: auto;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
}

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

.station h1,
.station h2,
.station h3,
.station p {
  margin: 0;
}

.station h1,
.station h2,
.station h3 {
  color: inherit;
  font-family: var(--serif);
}

.station-wrap {
  width: min(1240px, 91%);
  margin-inline: auto;
}

.station-wrap a,
.station-skip {
  border: 0;
  color: inherit;
  text-decoration: none;
}

.station :focus-visible {
  outline: 3px solid #bc623a;
  outline-offset: 3px;
}

.station-skip {
  position: absolute;
  z-index: 2;
  padding: 8px 16px;
  transform: translateY(-110%);
  background: var(--paper);
}

.station-skip:focus {
  transform: none;
}

.station-header,
.station-brand,
.station-nav,
.station-search,
.station-heading,
.station-read,
.station-byline {
  display: flex;
  align-items: center;
}

.station-header {
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.station-brand {
  gap: 8px;
  font: 700 21px/1 var(--mono);
  letter-spacing: 0.08em;
}

.station-brand img {
  margin: 0;
}

.station-nav {
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 14px;
  font-weight: 600;
}

.station-nav a {
  display: grid;
  align-items: center;
  min-height: 44px;
}

.station-nav a:hover,
.station .station-archive:hover,
.station-links a:hover,
.station-post-link:hover .station-post-title,
.station-feature:hover strong {
  color: var(--accent);
}

.station-search {
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #a5afa4;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.station-search:hover {
  background: #e9ece2;
}

.station-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(312px, 30vw, 405px);
  overflow: hidden;
  border-radius: 4px;
  background: #302c47;
  color: #fff5df;
}

.station-cover-art,
.station-cover::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.station-cover-art {
  z-index: -2;
  image-rendering: pixelated;
  object-fit: cover;
  object-position: 84% center;
}

.station-cover::after {
  z-index: -1;
  background: linear-gradient(90deg, #25283fef, #302c47c7 max(33%, 255px), transparent max(60%, 410px));
  content: '';
}

.station-cover-copy {
  padding: 40px clamp(26px, 5vw, 78px);
}

.station-byline {
  gap: 12px;
  color: #ffdcac;
  font-size: 14px;
  letter-spacing: 0.09em;
}

.station-byline::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: '';
}

.station-cover h1 {
  margin: 13px 0;
  font-size: clamp(50px, 5.8vw, 80px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.035em;
}

.station-intro {
  color: #f7ebd8;
  font-size: clamp(15px, 1.25vw, 18px);
}

.station-cover .station-read {
  justify-content: space-between;
  width: fit-content;
  min-height: 42px;
  margin-top: 27px;
  gap: 22px;
  padding: 0 17px;
  border-radius: 2px;
  background: #ffdcac;
  color: #302c47;
  font-size: 14px;
  font-weight: 700;
}

.station-cover .station-read:hover {
  background: #ffe8c7;
}

.station-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, 29%);
  align-items: start;
  gap: clamp(36px, 5vw, 78px);
  padding-block: clamp(32px, 3.7vw, 52px) 64px;
}

#articles,
#directory {
  scroll-margin-top: 18px;
}

.station-heading {
  justify-content: space-between;
  gap: 16px;
  min-height: 49px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--ink);
}

.station-heading h1,
.station-heading h2 {
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.2;
}

.station-archive,
.station-link-arrow {
  font-size: 13px;
}

.station .station-archive {
  color: var(--muted);
}

.station-archive span {
  margin-left: 4px;
}

.station-post {
  border-bottom: 1px solid var(--rule);
}

.station-post-link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(14px, 2vw, 32px);
  padding: 24px 2px;
}

.station-date {
  display: grid;
  color: var(--muted);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.station-date span {
  color: var(--ink);
  font-size: 18px;
}

.station-date small {
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.station-topic {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.station-post .station-post-title {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.station-post p {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.station-post-arrow {
  align-self: center;
  color: #68786d;
  font-size: 20px;
}

.station-directory .station-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.station-feature-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid #cad6c7;
  border-radius: 4px;
  background: #e5ece0;
  color: #355448;
  font-size: 17px;
}

.station-feature + .station-feature .station-feature-icon {
  border-color: #e0ceba;
  background: #f3e8d9;
  color: #885936;
}

.station-feature strong,
.station-feature small {
  display: block;
}

.station-feature strong {
  font-size: 18px;
}

.station-feature small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.station-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  padding-top: 8px;
}

.station-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.station-links span[aria-hidden] {
  color: var(--muted);
  font-size: 12px;
}

.station-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
}

.station-pages > * {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
}

.station-pages .current,
.station-pages a:hover {
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
}

.station-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
}

.station-footer .beian img {
  display: inline;
  width: 15px;
  height: 15px;
  vertical-align: text-bottom;
}

@media (max-width: 760px) {
  .station-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .station-wrap {
    width: calc(100% - 32px);
  }

  .station-header {
    min-height: 62px;
  }

  .station-brand {
    gap: 5px;
    font-size: 17px;
  }

  .station-brand img {
    width: 26px;
    height: 26px;
  }

  .station-nav {
    gap: clamp(8px, 2.8vw, 14px);
  }

  .station-search span {
    display: none;
  }

  .station-search {
    justify-content: center;
    width: 38px;
    padding: 0;
  }

  .station-cover {
    --cover-art-height: clamp(182px, 56vw, 250px);
    min-height: 0;
    padding-top: var(--cover-art-height);
  }

  .station-cover-art,
  .station-cover::after {
    height: var(--cover-art-height);
  }

  .station-cover::after {
    background: linear-gradient(180deg, transparent 72%, #302c477a 87%, #302c47);
  }

  .station-cover-copy {
    padding: 0 22px 26px;
  }

  .station-cover h1 {
    margin: 7px 0;
    font-size: clamp(40px, 10vw, 56px);
  }

  .station-byline {
    font-size: 12px;
  }

  .station-cover .station-read {
    margin-top: 16px;
  }

  .station-post-link {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .station-date span {
    font-size: 15px;
  }

  .station-post-arrow {
    display: none;
  }
}

@media (max-width: 420px) {
  .station-nav a[href='#articles'] {
    display: none;
  }
}
