:root {
  --paper: #f7f7f5;
  --ink: #080808;
  --muted: #5f6368;
  --line: #dedede;
  --surface: #ffffff;
  --red: #c40012;
  --red-dark: #8f0010;
  --red-soft: #fff0f1;
  --charcoal: #151515;
  --blue: var(--red);
  --green: var(--red);
  --tomato: var(--red);
  --yellow: #f4d35e;
  --soft-blue: var(--red-soft);
  --soft-green: var(--red-soft);
  --soft-red: var(--red-soft);
  --shadow: 0 24px 80px rgba(8, 8, 8, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0, #fff 300px, var(--paper) 301px, #fff 840px);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body.search-open {
  overflow: hidden;
}

body::before {
  content: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 18, 18, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 18, .03) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .42;
}

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

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

button,
input {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 4px;
}

button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
  cursor: pointer;
}

button:hover,
.chip:hover,
.tag-row a:hover {
  border-color: var(--red);
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(8, 8, 8, .10);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  border: 1px solid rgba(8, 8, 8, .12);
  background: #fff;
  object-fit: cover;
}

.brand-word {
  display: grid;
  gap: 2px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.site-header nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  font-weight: 800;
}

.site-header nav a {
  text-decoration: none;
}

.header-search {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 42px;
  align-items: stretch;
  width: min(38vw, 362px);
  margin: 0;
}

.header-search input {
  min-width: 0;
  min-height: 42px;
  padding: 10px 14px;
  border-color: #cfcfcf;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.header-search input:focus {
  outline: 2px solid rgba(196, 0, 18, .16);
  outline-offset: 0;
  border-color: var(--red);
}

.header-search button {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0;
  border-color: var(--red);
  border-radius: 0 4px 4px 0;
  background: var(--red);
  color: #fff;
}

.header-search button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.header-search .search-icon {
  width: 15px;
  height: 15px;
  border-width: 2px;
}

.header-search .search-icon::after {
  right: -7px;
  bottom: -4px;
  width: 9px;
  height: 2px;
}

.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;
}

.nav-auth {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.nav-auth:hover {
  color: var(--red);
}

.site-header form { margin: 0; }

.user-pill {
  color: var(--red);
  font-weight: 900;
}

.page {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 38px 28px 76px;
}

.narrow { max-width: 580px; }

.mag-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: 34px;
  width: min(1280px, 100%);
  min-height: 640px;
  margin: 0 auto;
  padding: 54px 28px 26px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px 0;
  border-top: 5px solid var(--red);
  border-bottom: 1px solid var(--ink);
}

.kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mag-hero h1 {
  margin: 0 0 22px;
  font-size: 92px;
  font-weight: 900;
  line-height: .88;
}

.mag-hero h1 span { display: block; }

.lead {
  max-width: 760px;
  margin: 0;
  color: #34373b;
  font-size: 19px;
  line-height: 1.82;
}

.search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 28px;
}

.search input {
  min-height: 52px;
  padding: 14px 16px;
  background: #fff;
  border-color: #c7ced8;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  overflow-y: auto;
  background: rgba(8, 8, 8, .58);
}

body.search-open .search-overlay {
  display: block;
}

.search-dialog {
  background: #fff;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid rgba(8, 8, 8, .18);
  box-shadow: 0 28px 80px rgba(8, 8, 8, .20);
}

.search-dialog-inner {
  position: relative;
  width: min(1460px, 100%);
  margin: 0 auto;
  padding: 42px 32px 62px;
}

.search-close {
  position: absolute;
  top: 38px;
  right: 32px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: 56px;
  font-weight: 500;
  line-height: .72;
}

.search-close:hover {
  color: var(--red);
}

.search-dialog h2 {
  margin: 0 60px 28px 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
}

.overlay-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  width: min(100%, 1456px);
}

.overlay-search input {
  min-width: 0;
  min-height: 92px;
  padding: 22px 24px;
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.overlay-search input::placeholder {
  color: #8a8a8a;
}

.overlay-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 92px;
  border-radius: 0;
  font-size: 22px;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.overlay-search button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.search-icon {
  position: relative;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -6px;
  width: 16px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-facet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 52px;
  margin-top: 30px;
}

.search-facet-grid section {
  min-width: 0;
}

.search-facet-grid h3 {
  margin: 0 0 18px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  max-width: 100%;
  padding: 16px 28px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  background: #fff;
  color: #4a4f55;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(8, 8, 8, .04);
}

.search-chip:hover {
  border-color: var(--red);
  color: var(--red);
}

.search-chip small {
  margin-left: 6px;
  color: #737981;
}

.hero-story {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.hero-story img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-story::after {
  display: none;
}

.hero-story .label {
  position: absolute;
  z-index: 1;
  left: 24px;
  top: 24px;
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.hero-story h2 {
  margin: 0;
  padding: 22px 26px 0;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
}

.hero-story p {
  max-width: 680px;
  margin: 0;
  padding: 10px 26px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.edition-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1224px, calc(100% - 56px));
  margin: 0 auto 34px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
}

.edition-strip span {
  min-width: 0;
  padding: 18px 18px 16px;
  color: rgba(255, 255, 255, .78);
  background: linear-gradient(180deg, #151515, #080808);
  font-size: 14px;
  line-height: 1.35;
}

.edition-strip b {
  display: block;
  color: #fff;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 32px;
  line-height: 1;
}

.editorial-layout {
  display: block;
}

.main-feed {
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
  border-top: 4px solid var(--red);
  padding-top: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
}

.section-head p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 20px;
}

.feature-card {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.feature-card:hover {
  border-top-color: var(--red);
}

.card-image,
.thumb {
  display: block;
  overflow: hidden;
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
}

.card-image img,
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.card-image { aspect-ratio: 4 / 3; }

.feature-card:hover img,
.case-card:hover img {
  transform: scale(1.03);
}

.feature-card h3 {
  margin: 10px 0 8px;
  font-size: 26px;
  line-height: 1.12;
}

.feature-card h3 a,
.case-card h3 a {
  text-decoration: none;
}

.feature-card p:not(.kicker) {
  margin: 0;
  color: #3f4246;
  line-height: 1.65;
}

.story-list {
  border-top: 1px solid var(--ink);
}

.case-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.thumb { aspect-ratio: 4 / 3; }

.case-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 11px;
}

.case-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.case-card h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.case-card p {
  margin: 0;
  color: #42454a;
  line-height: 1.72;
}

.case-card:hover h3 a {
  color: var(--red);
}

.headline {
  color: var(--ink) !important;
  font-weight: 900;
}

.chips,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.tag-row a,
.badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
}

.badge {
  flex: 0 0 auto;
  border-color: rgba(196, 0, 18, .30);
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 900;
}

.chip small {
  margin-left: 4px;
  color: var(--muted);
}

.score-row {
  display: grid;
  grid-template-columns: .9fr .7fr 1.4fr;
  gap: 12px;
  margin: auto 0 0;
}

.score-row div {
  min-width: 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.score-row dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.score-row dd {
  margin: 3px 0 0;
  overflow: hidden;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.breadcrumbs {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.case-article {
  border-top: 5px solid var(--red);
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .72fr);
  gap: 42px;
  align-items: center;
  padding: 36px 0 42px;
  border-bottom: 1px solid var(--ink);
}

.case-hero h1 {
  margin: 0 0 18px;
  font-size: 78px;
  font-weight: 900;
  line-height: .92;
}

.article-cover {
  margin: 0;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid #1c1c1c;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.article-cover figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-cover figcaption a {
  color: inherit;
  text-decoration-color: rgba(90, 96, 104, .45);
  text-underline-offset: 3px;
}

.content-grid {
  display: grid;
  grid-template-columns: 156px minmax(0, 720px) 300px;
  gap: 32px;
  align-items: start;
  padding-top: 34px;
}

.article-index {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 11px;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-index strong {
  color: var(--ink);
  font-size: 15px;
}

.article-index a {
  text-decoration: none;
}

.article-body {
  min-width: 0;
  color: #24282d;
  font-size: 18px;
  line-height: 1.92;
}

.article-intro {
  margin: 0 0 30px;
  padding: 20px 22px;
  border-left: 6px solid var(--red);
  background: var(--red-soft);
  color: #231416;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.58;
}

.article-body h2 {
  margin: 38px 0 12px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.12;
}

.article-body p,
.article-body li {
  margin-top: 0;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body details {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.article-body details:last-child {
  border-bottom: 1px solid var(--line);
}

.article-body summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.article-aside {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 16px;
}

.unlock-panel,
.source-card,
.paywall {
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: #fff;
}

.unlock-panel,
.source-card {
  padding: 18px;
}

.unlock-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.unlock-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.unlock-panel button {
  width: 100%;
  margin-top: 8px;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e8ee;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--red);
  transition: width .25s ease;
}

.source-card {
  background: #f8f8f8;
}

.source-card h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.15;
}

.source-card dl {
  margin: 0 0 12px;
}

.source-card div {
  padding: 10px 0;
  border-top: 1px solid rgba(8, 8, 8, .16);
}

.source-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.source-card dd {
  margin: 4px 0 0;
  line-height: 1.55;
}

.text-link {
  font-weight: 900;
}

.paywall {
  padding: 18px;
  border-color: rgba(196, 0, 18, .42);
  background: var(--red-soft);
}

.paywall p {
  margin-bottom: 0;
}

.related {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.related h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

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

.case-grid .case-card {
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
}

.case-grid .case-card h3 {
  font-size: 24px;
}

.case-grid .score-row {
  display: none;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.auth-form input {
  min-height: 48px;
  padding: 13px 14px;
  background: #fff;
}

.error {
  padding: 12px 14px;
  border: 1px solid #d24f3b;
  border-radius: 6px;
  background: var(--soft-red);
  color: #7d2215;
}

@media (max-width: 1080px) {
  .mag-hero,
  .case-hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .mag-hero {
    min-height: 0;
  }

  .hero-story {
    min-height: 0;
  }

  .article-index,
  .article-aside {
    position: static;
  }

  .article-index {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

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

@media (max-width: 760px) {
  body {
    background: linear-gradient(180deg, #fff 0, #fff 220px, var(--paper) 221px, #fff 760px);
  }

  .site-header {
    position: static;
    align-items: flex-start;
    padding: 14px 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-word {
    font-size: 22px;
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
  }

  .header-search {
    grid-template-columns: minmax(0, 1fr) 42px;
    width: min(100%, 360px);
  }

  .page,
  .mag-hero {
    padding-inline: 18px;
  }

  .mag-hero {
    gap: 22px;
    padding-top: 28px;
  }

  .mag-hero h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 17px;
  }

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

  .search-dialog-inner {
    padding: 30px 18px 42px;
  }

  .search-close {
    top: 28px;
    right: 18px;
  }

  .search-dialog h2 {
    font-size: 30px;
  }

  .overlay-search {
    grid-template-columns: 1fr;
  }

  .overlay-search input {
    min-height: 70px;
    border-right: 2px solid var(--ink);
    font-size: 18px;
  }

  .overlay-search button {
    min-height: 64px;
    font-size: 18px;
  }

  .search-facet-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .search-facet-grid h3 {
    font-size: 25px;
  }

  .search-chips {
    gap: 12px;
  }

  .search-chip {
    min-height: 50px;
    padding: 12px 18px;
    font-size: 16px;
  }

  .hero-story {
    min-height: 0;
  }

  .hero-story h2 {
    font-size: 34px;
  }

  .hero-story p {
    font-size: 15px;
  }

  .edition-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 36px);
  }

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

  .section-head {
    display: block;
  }

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

  .case-card,
  .case-grid .case-card {
    grid-template-columns: 1fr;
  }

  .case-card h3 {
    font-size: 28px;
  }

  .score-row {
    grid-template-columns: 1fr 1fr;
  }

  .case-hero h1 {
    font-size: 50px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.86;
  }

  .article-intro {
    font-size: 20px;
  }

  .article-body h2 {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .site-header {
    display: grid;
  }

  .site-header nav {
    justify-content: flex-start;
    width: 100%;
  }

  .header-search {
    flex: 1 1 240px;
    width: 100%;
  }

  .edition-strip {
    grid-template-columns: 1fr;
  }

  .mag-hero h1 {
    font-size: 48px;
  }

  .hero-story {
    min-height: 0;
  }

  .hero-story h2 {
    font-size: 29px;
  }
}
