:root {
  color-scheme: light;
  --ink: #141820;
  --ink-soft: #2e3540;
  --muted: #6f6a61;
  --paper: #f5efe4;
  --sheet: #fffaf2;
  --deep: #111820;
  --deep-2: #172735;
  --line: #d8cabb;
  --line-strong: #b7a991;
  --accent: #8f2232;
  --gold: #c6a25f;
  --teal: #1b4a50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 52px;
}

.site-header {
  margin-bottom: 28px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: rgba(17, 24, 32, 0.92);
  color: var(--sheet);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 18px 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(198, 162, 95, 0.8);
  background: var(--sheet);
  color: var(--deep);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 850;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 850;
  line-height: 1.05;
}

.brand-subtitle {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.1;
}

.issue-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.issue-meta a {
  color: var(--gold);
  text-decoration: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  border-top: 1px solid rgba(255, 250, 242, 0.14);
  border-bottom: 3px solid var(--gold);
  padding: 12px 18px;
  color: rgba(255, 250, 242, 0.86);
  font-size: 14px;
  font-weight: 750;
}

.nav a {
  text-decoration: none;
}

.cover-mast {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-bottom: 5px solid var(--gold);
  background: var(--deep);
  color: var(--sheet);
  padding: 42px 44px;
  box-shadow: 0 22px 46px rgba(20, 24, 32, 0.18);
}

.cover-label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.cover-mast h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7.6vw, 82px);
  font-style: italic;
  font-weight: 850;
  line-height: 1.02;
}

.cover-mast p {
  margin: 0;
  color: rgba(255, 250, 242, 0.72);
  font-size: 16px;
  font-weight: 750;
}

.front-page {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, 0.82fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 34px;
}

.lead-story,
.top-stories,
.feed-card,
.article-page,
.article-aside {
  min-width: 0;
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-top: 6px solid var(--accent);
  background: var(--sheet);
  padding: 18px;
  box-shadow: 0 24px 48px rgba(20, 24, 32, 0.16);
}

.lead-visual,
.feed-image,
.article-visual {
  overflow: hidden;
  background: #ebe1d2;
}

.preview-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  background: var(--deep);
  color: var(--sheet);
  text-decoration: none;
}

.preview-kicker,
.preview-source {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.preview-kicker {
  color: var(--gold);
}

.preview-card strong {
  display: block;
  margin: 26px 0 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.preview-card p {
  margin: 0;
  color: rgba(255, 250, 242, 0.74);
  font-size: 17px;
  line-height: 1.65;
}

.preview-source {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--gold);
}

.preview-card-compact {
  gap: 10px;
  padding: 16px;
}

.preview-card-compact strong {
  font-size: 21px;
  line-height: 1.14;
}

.preview-card-compact p {
  display: none;
}

.preview-card-compact .preview-source {
  font-size: 12px;
}

.lead-visual {
  align-self: stretch;
  min-height: 420px;
  border: 1px solid var(--line);
  text-decoration: none;
}

.lead-visual img,
.feed-image img,
.article-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 12px 16px 0;
}

.story-meta,
.meta {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.lead-story h1,
.article-header h1 {
  margin: 12px 0 16px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-weight: 850;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.lead-story h1 {
  font-size: clamp(42px, 5.6vw, 74px);
}

.lead-story h1 a,
.feed-card h3 a,
.ranked-story h3 a {
  text-decoration: none;
}

.lead-copy > p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.74;
}

.read-link {
  width: fit-content;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.top-stories {
  display: grid;
  align-content: start;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: var(--deep-2);
  color: var(--sheet);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.top-stories-head {
  border-bottom: 1px solid rgba(255, 250, 242, 0.14);
  padding: 16px 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 850;
  font-style: italic;
}

.ranked-story {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.14);
  padding: 18px;
}

.ranked-story:last-child {
  border-bottom: 0;
}

.rank-number {
  color: rgba(198, 162, 95, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.ranked-story h3 {
  margin: 6px 0 7px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: 24px;
  line-height: 1.16;
}

.ranked-story .story-meta {
  color: var(--gold);
}

.ranked-story p {
  margin: 0;
  color: rgba(255, 250, 242, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 36px 0 16px;
  border-bottom: 2px solid var(--deep);
  padding-bottom: 10px;
}

.section-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.article-feed {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
  background: var(--sheet);
  box-shadow: 0 22px 42px rgba(20, 24, 32, 0.09);
}

.feed-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.feed-card:last-child {
  border-bottom: 0;
}

.feed-image {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  text-decoration: none;
}

.feed-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.feed-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.feed-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.entry-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.entry-foot a {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 780px) 340px;
  gap: 28px;
  align-items: start;
}

.article-page {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.12);
  background: var(--sheet);
  box-shadow: 0 24px 48px rgba(20, 24, 32, 0.15);
}

.article-header {
  padding: 48px 54px 42px;
  background: var(--deep);
  color: var(--sheet);
  border-bottom: 5px solid var(--gold);
}

.article-header .story-meta {
  color: var(--gold);
}

.article-header h1 {
  font-size: clamp(42px, 6.4vw, 74px);
}

.dek {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 250, 242, 0.78);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.72;
}

.byline {
  margin-top: 20px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.article-visual {
  width: min(520px, calc(100% - 52px));
  aspect-ratio: 1 / 1;
  margin: 32px auto 0;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(20, 24, 32, 0.14);
}

.article-visual.preview-card {
  min-height: 520px;
}

.article-visual.preview-card strong {
  font-size: clamp(30px, 4.3vw, 44px);
}

.article-body {
  padding: 36px 54px 52px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: 22px;
  line-height: 1.92;
  overflow-wrap: anywhere;
}

.article-body p {
  margin: 0 0 25px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-aside {
  position: sticky;
  top: 18px;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-top: 5px solid var(--accent);
  background: var(--sheet);
  padding: 22px;
  box-shadow: 0 20px 38px rgba(20, 24, 32, 0.12);
}

.source-box,
.follow-box {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.follow-box {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.source-box h2,
.follow-box h2 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.2;
}

.source-box ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.source-box li {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.source-box a {
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.source-box span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.follow-box a {
  color: var(--accent);
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}

.footer strong {
  color: var(--ink);
}

@media (max-width: 960px) {
  .front-page,
  .article-shell {
    grid-template-columns: 1fr;
  }

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

  .lead-visual {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .lead-copy {
    padding: 4px 2px 8px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    background: var(--paper);
    font-size: 16px;
  }

  .site-shell {
    width: min(100% - 24px, 1180px);
    padding: 12px 0 34px;
  }

  .site-header {
    margin-bottom: 18px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  }

  .header-row {
    padding: 13px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .brand-title {
    font-size: 24px;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  .issue-meta {
    display: none;
  }

  .nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .nav a:last-child {
    display: none;
  }

  .cover-mast {
    margin: 20px 0 16px;
    padding: 28px 20px;
    color: var(--sheet);
  }

  .cover-label {
    color: var(--gold);
  }

  .cover-mast h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  .cover-mast p {
    color: rgba(255, 250, 242, 0.72);
  }

  .front-page {
    gap: 16px;
    margin-bottom: 26px;
  }

  .lead-story {
    padding: 12px;
    border-top-width: 5px;
  }

  .lead-story h1 {
    font-size: 33px;
    line-height: 1.12;
  }

  .lead-copy > p {
    font-size: 17px;
    line-height: 1.72;
  }

  .top-stories {
    box-shadow: none;
  }

  .ranked-story {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .rank-number {
    font-size: 25px;
  }

  .ranked-story h3 {
    font-size: 21px;
  }

  .section-head {
    margin-top: 28px;
  }

  .section-head h2 {
    font-size: 31px;
  }

  .feed-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .feed-image {
    aspect-ratio: 16 / 11;
  }

  .feed-card h3 {
    font-size: 27px;
  }

  .feed-card p {
    font-size: 16px;
  }

  .entry-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .article-view .site-shell {
    width: 100%;
    padding: 0 0 32px;
  }

  .article-view .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    margin: 0;
    border: 0;
    border-bottom: 3px solid var(--gold);
  }

  .article-view .header-row {
    padding: 10px 14px;
  }

  .article-view .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .article-view .brand-title {
    font-size: 22px;
  }

  .article-view .brand-subtitle {
    font-size: 12px;
  }

  .article-view .nav {
    display: none;
  }

  .article-view .article-shell {
    gap: 0;
  }

  .article-page {
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .article-header {
    padding: 24px 18px 26px;
  }

  .article-header h1 {
    margin: 9px 0 11px;
    font-size: 31px;
    line-height: 1.14;
  }

  .story-meta {
    font-size: 12px;
  }

  .dek {
    font-size: 17px;
    line-height: 1.68;
  }

  .byline {
    margin-top: 14px;
    font-size: 13px;
  }

  .article-visual {
    display: none;
  }

  .article-body {
    padding: 24px 18px 34px;
    font-size: 18px;
    line-height: 1.86;
  }

  .article-body p {
    margin-bottom: 22px;
  }

  .article-aside {
    margin: 16px;
    padding: 16px;
    box-shadow: none;
  }

  .source-box,
  .follow-box {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .article-view .footer {
    margin: 22px 16px 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
}
