:root {
  color-scheme: light;
  --fuel-deep: #0d3b45;
  --fuel-deep-2: #082c34;
  --fuel-lime: #d6ff71;
  --fuel-ink: #14282e;
  --fuel-muted: #667a80;
  --fuel-paper: #f2f5f7;
  --fuel-card: #ffffff;
  --fuel-line: #d8e1e3;
  --fuel-ai: #7768ff;
  --fuel-ip: #ef795d;
  --fuel-overseas: #2b8fa3;
  --content-max: 1440px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--fuel-paper);
  color: var(--fuel-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body,
button,
input {
  font-size: 16px;
}

button,
input {
  color: inherit;
  font: inherit;
}

button,
input[type="search"],
.header-button,
.channel-nav a,
.audience-switch a,
.source-button,
.primary-link,
.pagination a {
  min-height: 44px;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

.portal {
  min-width: 0;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.shell {
  width: min(var(--content-max), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .65rem .9rem;
  border-radius: 4px;
  background: var(--fuel-lime);
  color: var(--fuel-deep-2);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--fuel-lime);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: var(--fuel-deep);
  color: #fff;
}

.utility-bar {
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: var(--fuel-deep-2);
}

.utility-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-inner > p {
  margin: 0;
  color: #b9cbce;
  font-size: .75rem;
  letter-spacing: .025em;
}

.reader-account {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .7rem;
  color: #d9e6e8;
  font-size: .76rem;
}

.reader-identity {
  max-width: 18rem;
  overflow-wrap: anywhere;
}

.editor-link,
.text-button {
  color: #d9e6e8;
}

.logout-form {
  margin: 0;
}

.text-button {
  min-height: 32px;
  padding: .2rem .55rem;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.masthead {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1rem;
}

.brand-lockup {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: .9rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  align-items: end;
  padding: 10px;
  border: 1px solid rgb(214 255 113 / 55%);
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  transform: rotate(-2deg);
}

.brand-mark i {
  display: block;
  background: var(--fuel-lime);
}

.brand-mark i:nth-child(1) { height: 35%; }
.brand-mark i:nth-child(2) { height: 65%; }
.brand-mark i:nth-child(3) { height: 100%; }

.brand-copy {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: .7rem;
  align-items: baseline;
}

.brand-zh {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  letter-spacing: .055em;
  line-height: 1.1;
}

.brand-en,
.brand-tagline,
.eyebrow,
.story-kicker,
.rail-label,
.signal-label,
.priority-rank,
.news-time {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.brand-en {
  color: var(--fuel-lime);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.brand-tagline {
  grid-column: 1 / -1;
  margin-top: .28rem;
  color: #a9c0c4;
  font-size: .66rem;
  letter-spacing: .04em;
}

.header-actions {
  display: flex;
  gap: .5rem;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-width: 44px;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 750;
}

.menu-button {
  display: none;
}

.channel-menu {
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.channel-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-color: #6e888d transparent;
  scrollbar-width: thin;
}

.channel-nav a {
  display: inline-flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  padding: .65rem .78rem;
  border-right: 1px solid rgb(255 255 255 / 10%);
  color: #d9e6e8;
  font-size: .86rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.channel-nav a:first-child {
  border-left: 1px solid rgb(255 255 255 / 10%);
}

.channel-nav a:hover,
.channel-nav a:focus-visible {
  background: var(--fuel-lime);
  color: var(--fuel-deep-2);
}

.channel-nav a.is-current {
  box-shadow: inset 0 -3px var(--fuel-lime);
  color: #fff;
}

.search-panel {
  border-top: 1px solid rgb(255 255 255 / 12%);
  background: #0a323a;
}

.reader-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-block: .75rem;
}

.search-form {
  display: flex;
  min-width: 0;
}

.search-form input {
  width: 100%;
  min-width: 0;
  padding: .65rem .8rem;
  border: 1px solid #668085;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: #fff;
  color: var(--fuel-ink);
}

.search-form button {
  flex: 0 0 auto;
  padding: .6rem 1.1rem;
  border: 1px solid var(--fuel-lime);
  border-radius: 0 4px 4px 0;
  background: var(--fuel-lime);
  color: var(--fuel-deep-2);
  cursor: pointer;
  font-weight: 850;
}

.audience-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #58747a;
  border-radius: 4px;
  background: var(--fuel-deep-2);
}

.audience-switch a {
  display: inline-flex;
  align-items: center;
  padding: .45rem .65rem;
  color: #c9dadd;
  font-size: .78rem;
  text-decoration: none;
  white-space: nowrap;
}

.audience-switch a.is-active {
  background: #fff;
  color: var(--fuel-deep-2);
  font-weight: 800;
}

.main-shell {
  padding-block: 1rem 4rem;
}

.signal-strip {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
  padding: .66rem .9rem;
  border: 1px solid #b8d372;
  background: var(--fuel-lime);
  color: var(--fuel-deep-2);
}

.signal-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .48rem;
  margin: 0;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.signal-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fuel-deep);
  box-shadow: 0 0 0 4px rgb(13 59 69 / 14%);
}

.signal-strip ul {
  display: flex;
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
  gap: 0;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  list-style: none;
}

.signal-strip li {
  flex: 0 0 auto;
  padding: 0 .9rem;
  border-left: 1px solid rgb(8 44 52 / 22%);
  font-size: .8rem;
  white-space: nowrap;
}

.signal-strip strong {
  font-size: 1rem;
}

.portal-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: 220px minmax(0, 1fr) 310px;
  grid-template-areas: "rail main quick";
  align-items: start;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.portal-main {
  min-width: 0;
  grid-area: main;
}

.channel-rail {
  position: sticky;
  top: 1rem;
  min-width: 0;
  grid-area: rail;
  border-top: 4px solid var(--fuel-deep);
  background: var(--fuel-card);
}

.rail-label {
  padding: .8rem .9rem .55rem;
  margin: 0;
  color: var(--fuel-muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.channel-rail nav {
  display: grid;
}

.channel-rail nav a {
  display: grid;
  min-height: 58px;
  align-content: center;
  padding: .55rem .9rem;
  border-top: 1px solid var(--fuel-line);
  text-decoration: none;
}

.channel-rail nav a:hover {
  background: #edf5f3;
}

.channel-rail nav span {
  font-weight: 780;
}

.channel-rail nav small {
  color: var(--fuel-muted);
  font-size: .7rem;
}

.rail-note {
  padding: .8rem .9rem;
  margin: 0;
  border-top: 1px solid var(--fuel-line);
  color: var(--fuel-muted);
  font-size: .72rem;
}

.quick-news {
  min-width: 0;
  grid-area: quick;
  border-top: 4px solid var(--fuel-lime);
  background: var(--fuel-deep-2);
  color: #fff;
}

.quick-news-head {
  padding: 1rem 1rem .8rem;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.quick-news-head h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 1.4rem;
}

.quick-timeline {
  padding: .2rem 1rem;
  margin: 0;
  list-style: none;
}

.quick-timeline li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: .6rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.quick-timeline time {
  color: var(--fuel-lime);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .72rem;
}

.quick-timeline span {
  color: #9fb9be;
  font-size: .68rem;
}

.quick-timeline h3 {
  margin: .18rem 0 .35rem;
  font-size: .92rem;
  line-height: 1.45;
}

.quick-timeline h3 a {
  text-decoration: none;
}

.quick-timeline h3 a:hover {
  text-decoration: underline;
}

.quick-timeline p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #b8cbcf;
  font-size: .75rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.quick-timeline .quick-empty {
  display: block;
  color: #b8cbcf;
  font-size: .8rem;
}

.quick-more {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--fuel-lime);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-panel,
.desk-section,
.page-heading,
.story-detail,
.related-section {
  min-width: 0;
}

.hero-panel {
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border-top: 4px solid var(--fuel-deep);
  background: var(--fuel-card);
  box-shadow: 0 18px 45px rgb(13 59 69 / 7%);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--fuel-line);
}

.section-heading h2,
.page-heading h1,
.story-hero h1,
.hero-story h1,
.hero-empty h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  line-height: 1.18;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.eyebrow {
  margin: 0 0 .22rem;
  color: var(--fuel-overseas);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.quick-news .eyebrow {
  color: var(--fuel-lime);
}

.section-link,
.story-link,
.original-link {
  color: var(--fuel-deep);
  font-size: .82rem;
  font-weight: 800;
}

.hero-story {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr);
  border-bottom: 1px solid var(--fuel-line);
}

.hero-cover-link {
  min-width: 0;
  text-decoration: none;
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 1.7rem);
}

.hero-story h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  overflow-wrap: anywhere;
}

.hero-story h1 a {
  text-decoration: none;
}

.hero-story h1 a:hover {
  text-decoration: underline;
}

.story-kicker {
  margin: 0 0 .42rem;
  color: var(--fuel-overseas);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .045em;
}

.hero-summary {
  display: -webkit-box;
  margin: 1rem 0;
  overflow: hidden;
  color: #43585e;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  padding: .5rem .85rem;
  background: var(--fuel-deep);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.hero-empty {
  min-height: 280px;
  padding: clamp(2rem, 6vw, 4rem);
  background:
    linear-gradient(110deg, rgb(43 143 163 / 11%), transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgb(13 59 69 / 5%) 46px 47px);
}

.hero-empty h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.hero-empty p:last-child {
  max-width: 34rem;
  color: var(--fuel-muted);
}

.category-cover {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  isolation: isolate;
  background: var(--fuel-deep);
  color: #fff;
}

.category-cover--hero {
  height: 100%;
  min-height: 330px;
}

.category-cover span {
  position: absolute;
  top: .8rem;
  left: .85rem;
  z-index: 3;
  padding: .22rem .38rem;
  background: rgb(8 44 52 / 84%);
  color: var(--fuel-lime);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .63rem;
  font-weight: 850;
  letter-spacing: .06em;
}

.category-cover::before,
.category-cover::after,
.cover-signal {
  position: absolute;
  display: block;
  content: "";
}

.category-cover::before {
  inset: 0;
  z-index: -2;
}

.category-cover::after {
  z-index: -1;
}

.category-cover--casual::before {
  background:
    linear-gradient(90deg, rgb(214 255 113 / 18%) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgb(214 255 113 / 18%) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #0d3b45, #176473);
}

.category-cover--casual::after {
  right: 12%;
  bottom: 14%;
  width: 38%;
  height: 38%;
  border: 8px solid var(--fuel-lime);
  box-shadow: -44px -28px 0 -7px #fff;
  transform: rotate(8deg);
}

.category-cover--overseas::before {
  background: radial-gradient(circle at 78% 68%, #71d3df 0 4%, transparent 4.5%), linear-gradient(145deg, #0b3038, #2b8fa3);
}

.category-cover--overseas::after {
  right: -10%;
  bottom: -55%;
  width: 78%;
  aspect-ratio: 1;
  border: 2px solid rgb(214 255 113 / 85%);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgb(214 255 113 / 10%), 0 0 0 62px rgb(214 255 113 / 8%);
}

.category-cover--ip::before {
  background: linear-gradient(128deg, #552f31, var(--fuel-ip));
}

.category-cover--ip::after {
  right: 13%;
  bottom: -22%;
  width: 42%;
  aspect-ratio: 1;
  border: 3px solid #ffe4d8;
  border-radius: 50% 50% 12% 12%;
  box-shadow: -58px -12px 0 -30px var(--fuel-lime);
}

.category-cover--ai::before {
  background:
    radial-gradient(circle at 25% 68%, var(--fuel-lime) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 35%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 82% 72%, var(--fuel-lime) 0 5px, transparent 6px),
    linear-gradient(138deg, #292361, var(--fuel-ai));
}

.category-cover--ai::after {
  inset: 28% 13% 16% 20%;
  border-top: 1px solid rgb(255 255 255 / 62%);
  border-right: 1px solid rgb(214 255 113 / 72%);
  transform: skew(-22deg) rotate(8deg);
}

.category-cover--github::before {
  background: repeating-linear-gradient(0deg, transparent 0 22px, rgb(214 255 113 / 11%) 22px 23px), linear-gradient(130deg, #071f26, #185262);
}

.category-cover--github::after {
  right: 10%;
  bottom: 20%;
  width: 56%;
  height: 42%;
  border-left: 8px solid var(--fuel-lime);
  border-bottom: 8px solid var(--fuel-lime);
  clip-path: polygon(0 70%, 23% 48%, 44% 58%, 66% 20%, 100% 0, 100% 22%, 70% 42%, 48% 80%, 25% 68%, 0 100%);
  background: rgb(214 255 113 / 38%);
}

.category-cover--services::before {
  background: linear-gradient(135deg, #173e45, #547178);
}

.category-cover--services::after {
  right: 10%;
  bottom: 18%;
  width: 48%;
  height: 48%;
  border: 1px solid rgb(255 255 255 / 70%);
  background: linear-gradient(90deg, transparent 48%, rgb(255 255 255 / 60%) 49% 51%, transparent 52%), linear-gradient(transparent 48%, rgb(255 255 255 / 60%) 49% 51%, transparent 52%);
  box-shadow: -34px -24px 0 -1px rgb(214 255 113 / 65%);
}

.desk-section,
.related-section {
  margin-top: 2.6rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--fuel-line);
  background: var(--fuel-card);
  box-shadow: 0 8px 24px rgb(13 59 69 / 4%);
}

.cover-link {
  display: block;
  text-decoration: none;
}

.story-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.story-card :is(h2, h3) {
  margin: .15rem 0 .55rem;
  font-size: 1.08rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.story-card :is(h2, h3) a {
  text-decoration: none;
}

.story-card :is(h2, h3) a:hover {
  text-decoration: underline;
}

.meta {
  color: var(--fuel-muted);
  font-size: .78rem;
}

.story-card .meta {
  margin: 0 0 .65rem;
}

.card-summary {
  display: -webkit-box;
  margin: 0 0 1rem;
  overflow: hidden;
  color: #43585e;
  font-size: .88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-actions {
  justify-content: space-between;
  padding-top: .72rem;
  margin-top: auto;
  border-top: 1px solid var(--fuel-line);
}

.original-link {
  color: var(--fuel-muted);
}

.latest-stream {
  display: grid;
  gap: .75rem;
}

.latest-stream .story-card {
  display: grid;
  grid-template-columns: minmax(150px, 28%) minmax(0, 1fr);
}

.latest-stream .category-cover {
  height: 100%;
  min-height: 156px;
}

.page-heading {
  padding: clamp(1.25rem, 4vw, 2.6rem);
  border-top: 5px solid var(--fuel-deep);
  background: var(--fuel-card);
}

.page-heading h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-heading > :last-child {
  max-width: 52rem;
  margin-bottom: 0;
  color: var(--fuel-muted);
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--fuel-line);
  color: var(--fuel-muted);
  font-size: .78rem;
}

.result-toolbar p {
  margin: 0;
}

.list-grid {
  margin-top: 1rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 1.2rem;
  border: 1px dashed #aabdc1;
  background: var(--fuel-card);
  color: var(--fuel-muted);
}

.empty-state strong {
  display: block;
  color: var(--fuel-ink);
}

.empty-state p {
  margin: .3rem 0;
}

.empty-state.compact {
  padding: .8rem;
  font-size: .8rem;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fuel-line);
  text-align: center;
}

.pagination a,
.pagination > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .8rem;
  border: 1px solid var(--fuel-line);
  background: var(--fuel-card);
  text-decoration: none;
}

.pagination a:first-child,
.pagination > span:first-child { justify-self: start; }
.pagination a:last-child,
.pagination > span:last-child { justify-self: end; }
.pagination > span { color: #9ba8ab; }

.news-feed {
  margin-top: 1rem;
}

.news-day {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-top: 1px solid var(--fuel-line);
}

.news-day > header {
  padding: 1.2rem 1rem 1rem 0;
  color: var(--fuel-deep);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .8rem;
  font-weight: 800;
}

.news-list {
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--fuel-line);
  list-style: none;
}

.news-list > li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  border-bottom: 1px solid var(--fuel-line);
  background: var(--fuel-card);
}

.news-time {
  color: var(--fuel-overseas);
  font-size: .76rem;
  font-weight: 800;
}

.news-item h2 {
  margin: .18rem 0 .45rem;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.35;
}

.news-item h2 a {
  text-decoration: none;
}

.news-item > p:not(.story-kicker) {
  margin: 0 0 .6rem;
  color: #43585e;
}

.story-hero {
  padding: clamp(1.4rem, 4vw, 3.2rem);
  border-top: 5px solid var(--fuel-deep);
  background: var(--fuel-card);
}

.story-hero h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 5.5vw, 4.1rem);
  overflow-wrap: anywhere;
}

.original-title {
  display: grid;
  max-width: 56rem;
  margin: 1rem 0 0;
  color: var(--fuel-muted);
  font-size: .86rem;
}

.original-title > span:first-child {
  font-size: .7rem;
  font-weight: 800;
}

.story-provenance,
.engagement-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.7rem 0 0;
}

.story-provenance div,
.engagement-snapshot div {
  min-width: 0;
  padding-top: .65rem;
  border-top: 1px solid var(--fuel-line);
}

.story-provenance dt,
.engagement-snapshot dt {
  color: var(--fuel-muted);
  font-size: .72rem;
}

.story-provenance dd,
.engagement-snapshot dd {
  margin: .18rem 0 0;
  font-size: .88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .7fr);
  gap: 1rem;
  margin-top: 1rem;
}

.story-copy,
.evidence-panel {
  min-width: 0;
  background: var(--fuel-card);
}

.story-copy {
  padding: clamp(1.2rem, 4vw, 2.7rem);
}

.story-copy section + section {
  margin-top: 2.2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--fuel-line);
}

.story-copy h2,
.evidence-panel h2 {
  margin: 0 0 .65rem;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 1.25rem;
}

.summary-lead {
  margin: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.9;
}

.source-policy p {
  color: var(--fuel-muted);
}

.source-button {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1rem;
  background: var(--fuel-deep);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.evidence-panel {
  align-self: start;
  padding: 1.25rem;
  border: 1px solid var(--fuel-line);
}

.evidence-panel section + section {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--fuel-line);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag {
  padding: .25rem .55rem;
  border: 1px solid var(--fuel-line);
  border-radius: 999px;
  background: #f7f9fa;
  font-size: .76rem;
}

.engagement-snapshot {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.related-card {
  display: contents;
}

.priority-list {
  display: grid;
  gap: .9rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.priority-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  border-left: 3px solid var(--fuel-deep);
  background: linear-gradient(90deg, rgb(214 255 113 / 22%), transparent 10rem);
}

.priority-rank {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  color: var(--fuel-deep);
  font-size: .78rem;
  font-weight: 900;
}

.brief-list .story-card {
  display: grid;
  grid-template-columns: minmax(170px, 26%) minmax(0, 1fr);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brief-list .category-cover {
  height: 100%;
}

.site-footer {
  border-top: 1px solid #294f57;
  background: var(--fuel-deep-2);
  color: #b9cbce;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: start;
  gap: 2rem;
  padding-block: 2rem;
  font-size: .76rem;
}

.footer-grid strong {
  color: #fff;
}

.footer-grid p {
  margin: .3rem 0 0;
}

.footer-editor-link {
  color: var(--fuel-lime);
}

/* Private login keeps the same stylesheet but remains visually separate. */
.login-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgb(13 59 69 / 5%) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgb(13 59 69 / 5%) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--fuel-paper);
}

.login-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 4vw, 3.5rem);
}

.login-frame {
  display: grid;
  width: min(1040px, 100%);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  overflow: hidden;
  border: 1px solid var(--fuel-line);
  background: #fff;
  box-shadow: 0 28px 80px rgb(13 59 69 / 14%);
}

.login-context {
  display: flex;
  min-width: 0;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--fuel-deep-2);
  color: #fff;
}

.login-classification {
  margin: 0 0 1.5rem;
  color: var(--fuel-lime);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
}

.login-context h1,
.login-panel h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  line-height: 1.12;
}

.login-context h1 {
  max-width: 9ch;
  font-size: clamp(2.65rem, 7vw, 5.35rem);
}

.login-context-copy {
  max-width: 34rem;
  color: #c5d5d8;
}

.login-channel-strip {
  display: grid;
  padding: 0;
  margin: 3rem 0 1.2rem;
  border-top: 1px solid #435f65;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.login-channel-strip li {
  padding: .72rem .45rem .72rem 0;
  border-bottom: 1px solid #284c54;
  color: #d9e6e8;
  font-size: .76rem;
}

.login-context-note,
.login-guidance,
.login-access-note {
  color: var(--fuel-muted);
  font-size: .78rem;
}

.login-context-note {
  color: #9db5ba;
}

.login-panel {
  align-self: center;
  min-width: 0;
  padding: clamp(2rem, 5vw, 4rem);
}

.login-panel h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.login-error {
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid #b42318;
  background: #fff3f1;
  color: #7a271a;
}

.login-error h3,
.login-error p {
  margin: 0;
}

.login-form,
.login-field {
  display: grid;
  gap: 1rem;
}

.login-field {
  gap: .38rem;
}

.login-field label {
  font-size: .8rem;
  font-weight: 800;
}

.login-field input {
  width: 100%;
  min-width: 0;
  padding: .72rem .85rem;
  border: 1px solid #aabdc1;
  background: #fff;
}

.login-submit {
  min-height: 46px;
  border: 1px solid var(--fuel-deep);
  background: var(--fuel-deep);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.login-access-note {
  padding-top: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--fuel-line);
}

@media (max-width: 980px) {
  .portal-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    grid-template-areas:
      "rail rail"
      "main quick";
  }

  .channel-rail {
    position: static;
    overflow-x: auto;
    border-top-width: 3px;
  }

  .channel-rail .rail-label,
  .channel-rail .rail-note {
    display: none;
  }

  .channel-rail nav {
    display: flex;
    min-width: max-content;
  }

  .channel-rail nav a {
    min-width: 145px;
    border-top: 0;
    border-right: 1px solid var(--fuel-line);
  }

  .hero-story {
    grid-template-columns: 1fr;
  }

  .category-cover--hero {
    min-height: 260px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .evidence-panel {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--content-max), calc(100% - 24px));
  }

  .utility-inner > p {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .masthead {
    min-height: 86px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    padding: 8px;
  }

  .brand-copy {
    display: block;
  }

  .brand-zh {
    display: block;
    font-size: 1.18rem;
  }

  .brand-en {
    display: inline-block;
    margin-top: .2rem;
  }

  .brand-tagline {
    display: none;
  }

  .header-button span:last-child {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .channel-menu {
    width: 100%;
  }

  .channel-nav {
    padding-inline: 12px;
  }

  .channel-nav a {
    flex: 0 0 auto;
  }

  .reader-tools {
    grid-template-columns: 1fr;
  }

  .audience-switch {
    width: 100%;
    overflow-x: auto;
  }

  .audience-switch a {
    flex: 1 0 auto;
    justify-content: center;
  }

  .main-shell {
    padding-top: .7rem;
  }

  .signal-strip {
    display: block;
  }

  .signal-strip ul {
    justify-content: flex-start;
    margin-top: .45rem;
  }

  .signal-strip li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .portal-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "main"
      "quick"
      "rail";
  }

  .quick-news {
    margin-top: 1rem;
  }

  .hero-panel {
    padding: .85rem;
  }

  .section-heading {
    align-items: flex-start;
  }

  .hero-secondary,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .latest-stream .story-card,
  .brief-list .story-card {
    grid-template-columns: 1fr;
  }

  .latest-stream .category-cover,
  .brief-list .category-cover {
    min-height: 138px;
  }

  .news-day {
    grid-template-columns: 1fr;
  }

  .news-day > header {
    padding: 1rem 0 .5rem;
  }

  .news-list {
    border-left: 0;
  }

  .news-list > li {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    padding: 1rem .75rem;
  }

  .story-provenance,
  .engagement-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .priority-item {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .login-main {
    align-items: start;
    padding: .7rem;
  }

  .login-frame {
    grid-template-columns: 1fr;
  }

  .login-context {
    min-height: auto;
    padding: 1.5rem;
  }

  .login-panel {
    padding: 1.5rem;
  }

  .login-channel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .brand-mark {
    display: none;
  }

  .header-actions {
    gap: .3rem;
  }

  .header-button {
    padding-inline: .6rem;
  }

  .hero-story h1,
  .story-hero h1 {
    font-size: 2rem;
  }

  .story-provenance,
  .engagement-snapshot {
    grid-template-columns: 1fr;
  }

  .pagination {
    grid-template-columns: 1fr 1fr;
  }

  .pagination strong {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

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