@charset "UTF-8";
/*
 * @package Ops Ledger
 * @author Codex
 * @version 1.0.0
 * @link https://sizheng.org/
 */

:root {
  --paper: #f7f4ed;
  --paper-deep: #e6ded0;
  --ink: #23211d;
  --muted: #6d665d;
  --line: #d8cfc0;
  --accent: #b8472f;
  --accent-dark: #7e3024;
  --signal: #b56a2c;
  --signal-soft: rgba(181, 106, 44, .16);
  --signal-line: rgba(181, 106, 44, .24);
  --olive: #7a6941;
  --gold: #a97722;
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(44, 38, 30, .12);
  --tech-shadow: 0 18px 48px rgba(181, 106, 44, .08), 0 14px 36px rgba(44, 38, 30, .08);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --sans: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: env(safe-area-inset-bottom);
  max-width: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(184, 71, 47, .11), transparent 34rem),
    radial-gradient(circle at 82% 0, rgba(122, 105, 65, .12), transparent 28rem),
    linear-gradient(180deg, rgba(181, 106, 44, .045), transparent 18rem),
    linear-gradient(90deg, rgba(181, 106, 44, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 31, 26, .025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37, 31, 26, .018) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, auto, 168px 168px, 42px 42px, 42px 42px, auto;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.78;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background:
    linear-gradient(90deg, rgba(181, 106, 44, .05), transparent 34%),
    rgba(251, 247, 239, .88);
  border-bottom: 1px solid rgba(222, 208, 188, .78);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 106, 44, .42), rgba(126, 48, 36, .36), transparent);
  pointer-events: none;
  content: "";
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 78px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: block;
  flex: 0 0 42px;
  overflow: hidden;
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--accent-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(181, 106, 44, .08), 0 8px 24px rgba(180, 67, 45, .22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: block;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-name::after {
  display: inline-block;
  width: .34em;
  height: .34em;
  margin-left: .32em;
  background: var(--signal);
  border-radius: 1px;
  box-shadow: 0 0 0 3px rgba(181, 106, 44, .1);
  vertical-align: .12em;
  content: "";
}

.brand-description {
  display: block;
  overflow: hidden;
  max-width: 28ch;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.site-nav {
  justify-self: end;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav > ul > li {
  position: relative;
}

.site-nav > ul > li.has-nav-magazine::after {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 29;
  display: none;
  width: calc(100% + 32px);
  height: 28px;
  content: "";
}

.site-nav > ul > li.has-nav-magazine:hover::after,
.site-nav > ul > li.has-nav-magazine:focus-within::after,
.site-nav > ul > li.has-nav-magazine.is-expanded::after {
  display: block;
}

.site-nav > ul > li > a,
.nav-link-wrap > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: .9rem;
}

.site-nav > ul > li > a:hover,
.nav-link-wrap > a:hover,
.site-nav .current > a,
.site-nav .current > .nav-link-wrap > a {
  color: var(--accent-dark);
  background: linear-gradient(135deg, rgba(180, 67, 45, .08), rgba(181, 106, 44, .07));
}

.nav-link-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.nav-menu-toggle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: -7px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nav-menu-toggle::before {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  content: "";
}

.has-nav-magazine:hover .nav-menu-toggle,
.has-nav-magazine:focus-within .nav-menu-toggle,
.has-nav-magazine.is-expanded .nav-menu-toggle {
  color: var(--accent-dark);
  background: rgba(180, 67, 45, .08);
}

.nav-magazine {
  position: fixed;
  top: 78px;
  right: 0;
  left: 0;
  z-index: 30;
  width: 100vw;
  max-width: 100vw;
  padding: 22px 0 26px;
  background:
    linear-gradient(90deg, rgba(181, 106, 44, .07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 253, 248, .98), rgba(247, 244, 237, .96)),
    var(--white);
  background-size: 42px 42px, auto, auto;
  border-top: 1px solid rgba(216, 207, 192, .92);
  border-bottom: 1px solid rgba(216, 207, 192, .92);
  border-radius: 0;
  box-shadow: var(--tech-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-magazine::before {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-top: 1px solid rgba(216, 207, 192, .92);
  border-left: 1px solid rgba(216, 207, 192, .92);
  transform: translateX(-50%) rotate(45deg);
  content: "";
}

.has-nav-magazine:hover .nav-magazine,
.has-nav-magazine:focus-within .nav-magazine,
.has-nav-magazine.is-expanded .nav-magazine {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-magazine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin-bottom: 12px;
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(216, 207, 192, .72);
}

.nav-magazine-head span {
  color: var(--accent-dark);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.nav-magazine-head a {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.nav-magazine-head a:hover {
  color: var(--accent-dark);
}

.nav-magazine-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-featured-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 253, 248, .72);
  border: 1px solid rgba(216, 207, 192, .72);
  border-radius: 8px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-featured-card::before {
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(181, 106, 44, .32);
  opacity: .72;
  pointer-events: none;
  content: "";
}

.nav-featured-card:hover {
  border-color: rgba(181, 106, 44, .46);
  box-shadow: 0 14px 34px rgba(181, 106, 44, .13), 0 12px 28px rgba(44, 38, 30, .08);
  transform: translateY(-2px);
}

.nav-featured-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper-deep);
}

.nav-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.nav-featured-cover img[data-nav-lazy] {
  background: rgba(216, 207, 192, .38);
}

.nav-featured-card:hover .nav-featured-cover img {
  transform: scale(1.04);
}

.nav-featured-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 10px;
}

.nav-featured-body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 650;
  font-size: .92rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nav-featured-body em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: .75rem;
  font-style: normal;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nav-featured-body time {
  color: rgba(109, 102, 93, .82);
  font-size: .72rem;
}

.search-form {
  position: relative;
  width: 180px;
}

.search-form input {
  width: 100%;
  height: 40px;
  padding: 0 38px 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}

.search-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 67, 45, .11);
}

.search-form button {
  position: absolute;
  top: 3px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
  padding: 58px 0 42px;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-family: var(--sans);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-panel {
  position: relative;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(37, 31, 26, .12), rgba(37, 31, 26, .68)),
    var(--accent-dark);
  border-radius: 8px;
  box-shadow: var(--tech-shadow);
}

.hero-panel.has-image {
  background-size: cover;
  background-position: center;
}

.hero-panel::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 248, .45);
  border-top-color: rgba(181, 106, 44, .5);
  pointer-events: none;
  content: "";
}

.hero-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 272px;
}

.hero-panel .post-meta {
  color: rgba(255, 253, 248, .82);
}

.hero-panel a {
  color: inherit;
}

.hero-panel h2 {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.magazine-hero {
  display: block;
  width: 100%;
  min-height: clamp(520px, 68vh, 760px);
  margin-bottom: 24px;
  padding: 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(18, 15, 12, .78), rgba(18, 15, 12, .42) 48%, rgba(18, 15, 12, .82)),
    var(--accent-dark);
  background-position: center;
  background-size: cover;
}

.magazine-cover-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: end;
  min-height: clamp(520px, 68vh, 760px);
  padding-top: clamp(62px, 9vh, 110px);
  padding-bottom: clamp(34px, 7vh, 72px);
}

.magazine-hero .hero-copy {
  justify-content: flex-end;
}

.magazine-hero .eyebrow,
.magazine-hero .hero-copy p {
  color: rgba(255, 253, 248, .84);
}

.magazine-hero .hero-copy h1 {
  color: var(--white);
  text-shadow: 0 10px 32px rgba(0, 0, 0, .22);
}

.magazine-lead {
  min-height: clamp(330px, 42vw, 520px);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.magazine-lead .hero-panel-content {
  min-height: clamp(330px, 42vw, 520px);
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255, 253, 248, .38);
  background: linear-gradient(180deg, rgba(18, 15, 12, .04), rgba(18, 15, 12, .28));
  backdrop-filter: blur(1px);
}

.magazine-lead h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: .98;
}

.magazine-lead p {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(255, 253, 248, .86);
  font-size: .98rem;
}

.magazine-lead::after {
  display: none;
}

.magazine-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 42px;
}

.magazine-tile {
  position: relative;
  grid-column: span 3;
  min-height: 280px;
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
  overflow: hidden;
  color: var(--white);
  background: var(--accent-dark);
  border: 1px solid rgba(48, 39, 30, .24);
  border-top-color: rgba(181, 106, 44, .45);
  border-radius: 8px;
  box-shadow: var(--tech-shadow);
}

.magazine-tile.wide {
  grid-column: span 6;
}

.magazine-tile-cover {
  position: absolute;
  inset: 0;
}

.magazine-tile-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 15, .02), rgba(20, 18, 15, .76));
  content: "";
}

.magazine-tile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.magazine-tile:hover .magazine-tile-cover img {
  transform: scale(1.04);
}

.magazine-tile-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 18px;
}

.magazine-tile-body span {
  width: fit-content;
  margin-bottom: 8px;
  padding: 3px 8px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 253, 248, .9), rgba(181, 106, 44, .14));
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}

.magazine-tile-body h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

.magazine-tile.wide h2 {
  max-width: 19ch;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
}

.magazine-tile-body time {
  margin-top: 10px;
  color: rgba(255, 253, 248, .8);
  font-size: .78rem;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(181, 106, 44, .18);
}

.section-title h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 700;
}

.section-title a {
  color: var(--accent-dark);
  font-size: .9rem;
  font-weight: 700;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  padding-bottom: 64px;
}

.main-layout > * {
  min-width: 0;
}

.sidebar {
  padding-top: 0;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
  overflow: hidden;
  background: rgba(255, 253, 248, .72);
  border: 1px solid rgba(222, 208, 188, .85);
  border-top-color: rgba(181, 106, 44, .36);
  border-radius: 8px;
  box-shadow: var(--tech-shadow);
  min-width: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.post-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(181, 106, 44, .72), rgba(126, 48, 36, .54), transparent 70%);
  opacity: .58;
  pointer-events: none;
  content: "";
}

.post-card:hover {
  border-color: rgba(181, 106, 44, .42);
  box-shadow: 0 18px 42px rgba(181, 106, 44, .12), 0 14px 32px rgba(44, 38, 30, .08);
  transform: translateY(-2px);
}

.post-card.no-cover {
  grid-template-columns: 1fr;
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(184, 71, 47, .08), transparent 42%),
    linear-gradient(135deg, rgba(181, 106, 44, .08), transparent 34%),
    linear-gradient(135deg, rgba(255, 253, 248, .9), rgba(246, 239, 226, .72));
}

.post-card.no-cover::after {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 38px);
  color: rgba(184, 71, 47, .09);
  font-family: var(--serif);
  font-size: clamp(3.8rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  content: "文";
}

.post-card.no-cover .post-card-body {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(22px, 4vw, 34px);
}

.post-card.no-cover h2 {
  max-width: 16ch;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.post-card.no-cover .post-excerpt {
  max-width: 42rem;
  font-size: 1rem;
}

.post-card:hover .post-cover img {
  transform: scale(1.035);
}

.post-cover {
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(181, 106, 44, .18), transparent 44%),
    linear-gradient(135deg, var(--paper-deep), #d9c2a1);
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.post-card-body {
  min-width: 0;
  padding: 20px;
}

.post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 700;
}

.post-cats a {
  border-bottom: 1px solid rgba(180, 67, 45, .28);
}

.post-card h2,
.post-card h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -.008em;
}

.post-card h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  overflow-wrap: anywhere;
}

.post-card h3 {
  font-size: 1.24rem;
}

.post-excerpt {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .82rem;
}

.post-edit-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 1px 9px;
  color: var(--accent-dark);
  font-weight: 800;
  background: linear-gradient(135deg, rgba(184, 71, 47, .08), rgba(181, 106, 44, .08));
  border: 1px solid rgba(181, 106, 44, .2);
  border-radius: 999px;
}

.post-edit-link:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-dark), var(--signal));
  border-color: transparent;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.read-more::after {
  content: "→";
}

.archive-header {
  max-width: 760px;
  padding: 56px 0 34px;
}

.archive-header h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.025em;
}

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

.article {
  width: min(780px, calc(100% - 32px));
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 0 70px;
}

.article-page {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
}

.article-header {
  margin-bottom: 34px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .86rem;
}

.breadcrumbs a {
  color: var(--accent-dark);
  border-bottom: 1px solid rgba(184, 71, 47, .26);
}

.breadcrumbs span:last-child {
  overflow: hidden;
  max-width: min(48ch, 100%);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.article-header h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.018em;
}

.article-cover {
  width: min(1180px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  aspect-ratio: 21 / 9;
  margin: 0 0 40px 50%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--tech-shadow);
  transform: translateX(-50%);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  color: #332a22;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.88;
  -webkit-font-smoothing: antialiased;
}

.article-content p {
  margin: 16px 0;
  line-height: 1.88;
  word-break: break-word;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 2.1em 0 .85em;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.01em;
}

.article-content h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5em;
  margin-top: 2.35em;
  padding: 0;
  color: #7e3024;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.35;
}

.article-content h2::before {
  flex: 0 0 .34em;
  width: .34em;
  height: 1em;
  background: #7e3024;
  content: "";
}

.article-content h3 {
  font-size: 1.36rem;
}

.article-content blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 24px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
}

.article-content pre {
  overflow: auto;
  padding: 18px;
  color: #f6efe4;
  background:
    linear-gradient(90deg, rgba(181, 106, 44, .18), transparent 28%),
    #28211b;
  border: 1px solid rgba(181, 106, 44, .26);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: .92rem;
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, .08);
}

.article-content code {
  font-family: var(--mono);
}

.article-content :not(pre) > code {
  padding: 2px 5px;
  color: #7b4b2b;
  background: rgba(181, 106, 44, .11);
  border: 1px solid rgba(181, 106, 44, .16);
  border-radius: 4px;
}

.article-content .data-table-wrap {
  width: min(980px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  margin: 28px 0 34px 50%;
  overflow-x: auto;
  overflow-y: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(255, 253, 248, .9)),
    var(--white);
  border: 1px solid rgba(216, 207, 192, .95);
  border-top-color: rgba(181, 106, 44, .38);
  border-radius: 8px;
  box-shadow: var(--tech-shadow);
  transform: translateX(-50%);
  -webkit-overflow-scrolling: touch;
}

.article-content .data-table-wrap:focus {
  outline: 3px solid rgba(184, 71, 47, .16);
  outline-offset: 3px;
}

.article-content .data-table-wrap::before {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--signal), var(--accent-dark), rgba(169, 119, 34, .72));
  content: "";
}

.article-content table,
.article-content .data-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #332a22;
  font-size: .92rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

.article-content thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #3d3127;
  background: linear-gradient(180deg, rgba(181, 106, 44, .12), #eee2cf);
  border-bottom: 1px solid rgba(184, 71, 47, .28);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.article-content tbody tr:nth-child(even) {
  background: rgba(184, 71, 47, .035);
}

.article-content tbody tr:hover {
  background: rgba(181, 106, 44, .08);
}

.article-content img {
  margin: 1.4em 0;
  background: rgba(230, 222, 208, .45);
  border-radius: 8px;
}

.article-content th,
.article-content td {
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid rgba(216, 207, 192, .72);
  vertical-align: middle;
  white-space: nowrap;
}

.article-content th + th,
.article-content td + td {
  border-left: 1px solid rgba(216, 207, 192, .46);
}

.article-content tbody tr:last-child td {
  border-bottom: 0;
}

.article-content th[align="right"],
.article-content td[align="right"],
.article-content th[style*="text-align:right"],
.article-content td[style*="text-align:right"] {
  text-align: right;
}

.article-content td:first-child,
.article-content th:first-child {
  padding-left: 16px;
}

.article-content td:last-child,
.article-content th:last-child {
  padding-right: 16px;
}

.article-content tbody td:first-child {
  color: var(--accent-dark);
  font-weight: 800;
}

.article-content tbody td:nth-child(2) {
  color: var(--ink);
  font-weight: 700;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.post-tags a {
  display: inline-flex;
  padding: 5px 10px;
  color: var(--accent-dark);
  background: rgba(180, 67, 45, .08);
  border-radius: 999px;
  font-size: .84rem;
}

.related-posts {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.related-posts h2 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.35rem;
}

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

.related-post {
  display: grid;
  gap: 5px;
  min-height: 148px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(184, 71, 47, .07), transparent 48%),
    rgba(255, 253, 248, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-post span {
  color: var(--muted);
  font-size: .78rem;
}

.related-post strong {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.28;
}

.related-post em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: .88rem;
  font-style: normal;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-neighbor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post-neighbor a {
  padding: 14px;
  background: rgba(255, 253, 248, .7);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.widget {
  margin-bottom: 28px;
  padding: 22px;
  content-visibility: auto;
  contain-intrinsic-size: auto 220px;
  background:
    linear-gradient(135deg, rgba(181, 106, 44, .05), transparent 42%),
    rgba(255, 253, 248, .72);
  border: 1px solid rgba(222, 208, 188, .86);
  border-top-color: rgba(181, 106, 44, .36);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(181, 106, 44, .06);
}

.widget h3 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
}

.author-avatar {
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--accent);
  border-radius: 50%;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget p,
.widget li {
  color: var(--muted);
  font-size: .92rem;
}

.widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(222, 208, 188, .72);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 4px 9px;
  color: #7b4b2b;
  background: rgba(181, 106, 44, .1);
  border: 1px solid rgba(181, 106, 44, .14);
  border-radius: 999px;
  font-size: .84rem;
}

.page-navigator {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.page-navigator a,
.page-navigator span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: var(--white);
  border: 1px solid rgba(216, 207, 192, .86);
  border-radius: 999px;
}

.page-navigator .current a,
.page-navigator .current span {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-dark), var(--signal));
  border-color: transparent;
}

.comments {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.comment-list,
.comment-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-body {
  margin-top: 18px;
  padding: 18px;
  background: rgba(255, 253, 248, .75);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.comment-author {
  font-weight: 800;
}

.comment-meta {
  color: var(--muted);
  font-size: .82rem;
}

.respond {
  margin-top: 30px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 67, 45, .11);
}

.submit {
  justify-self: start;
  padding: 10px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-dark), var(--signal));
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.site-footer {
  clear: both;
  position: relative;
  z-index: 1;
  margin-top: 18px;
  margin-bottom: 64px;
  padding: 24px 0 28px;
  color: var(--muted);
  background: rgba(37, 31, 26, .04);
  border-top: 1px solid var(--line);
}

.site-footer::after {
  position: absolute;
  right: 0;
  bottom: -64px;
  left: 0;
  height: 64px;
  background:
    linear-gradient(180deg, rgba(37, 31, 26, .035), rgba(37, 31, 26, 0)),
    var(--paper);
  pointer-events: none;
  content: "";
}

ins.adsbygoogle[data-anchor-status],
ins.adsbygoogle[data-ad-status] {
  border-radius: 8px 8px 0 0;
}

.ad-slot {
  clear: both;
  position: relative;
  z-index: 1;
  min-height: 160px;
  margin-top: 36px;
  margin-bottom: 32px;
  overflow: hidden;
}

.ad-slot .adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 120px;
  margin-right: auto !important;
  margin-left: auto !important;
}

.google-auto-placed,
ins.adsbygoogle {
  box-sizing: border-box;
  max-width: min(1180px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow: hidden !important;
}

.google-auto-placed {
  clear: both !important;
  display: block !important;
  width: min(1180px, calc(100vw - 32px)) !important;
  min-height: 120px !important;
  margin-top: 28px !important;
  margin-bottom: 28px !important;
}

body > .google-auto-placed,
.site-footer + .google-auto-placed {
  margin-bottom: 64px !important;
}

body > ins.adsbygoogle[data-anchor-status],
body > ins.adsbygoogle[data-anchor-shown],
ins.adsbygoogle[data-anchor-status],
ins.adsbygoogle[data-anchor-shown] {
  right: auto !important;
  left: 50% !important;
  width: min(728px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  min-width: 0 !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

body > iframe[id^="google_ads_iframe"][style*="position: fixed"],
body > iframe[id^="aswift_"][style*="position: fixed"],
body > div[id^="aswift_"][style*="position: fixed"] {
  right: auto !important;
  left: 50% !important;
  width: min(728px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  min-width: 0 !important;
  overflow: hidden !important;
  transform: translateX(-50%) !important;
}

ins.adsbygoogle iframe,
.google-auto-placed iframe,
body > div[id^="aswift_"] iframe {
  max-width: 100% !important;
}

ins.adsbygoogle.adsbygoogle-noablate {
  display: block !important;
  box-sizing: border-box !important;
  width: min(1180px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  min-width: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow: hidden !important;
}

ins.adsbygoogle.adsbygoogle-noablate > div[id^="aswift_"],
ins.adsbygoogle.adsbygoogle-noablate > iframe[id^="aswift_"],
ins.adsbygoogle.adsbygoogle-noablate div[id^="aswift_"],
ins.adsbygoogle.adsbygoogle-noablate iframe[id^="aswift_"] {
  right: auto !important;
  left: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  transform: none !important;
}

.article .google-auto-placed,
.article .google-auto-placed.ap_container,
.article .google-auto-placed ins.adsbygoogle,
.article ins.adsbygoogle.adsbygoogle-noablate,
.article ins.adsbygoogle.adsbygoogle-noablate > div[id^="aswift_"],
.article ins.adsbygoogle.adsbygoogle-noablate > iframe[id^="aswift_"],
.article ins.adsbygoogle.adsbygoogle-noablate div[id^="aswift_"],
.article ins.adsbygoogle.adsbygoogle-noablate iframe[id^="aswift_"] {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow: hidden !important;
  transform: none !important;
}

.article .google-auto-placed {
  clear: both !important;
  display: block !important;
  min-height: 160px !important;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: .9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.empty {
  padding: 50px 24px;
  text-align: center;
  background: rgba(255, 253, 248, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 940px) {
  .header-inner,
  .hero,
  .main-layout {
    grid-template-columns: 1fr;
  }

  .magazine-cover-inner {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .header-inner {
    gap: 12px;
    min-height: 68px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav,
  .search-form {
    display: none;
  }

  .site-nav.is-open,
  .search-form.is-open {
    display: block;
    width: 100%;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

  .site-nav > ul > li {
    width: auto;
  }

  .nav-link-wrap {
    width: auto;
  }

  .nav-magazine {
    position: static;
    display: none;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 12px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-magazine-head,
  .nav-magazine-grid {
    width: 100%;
  }

  .nav-magazine::before {
    display: none;
  }

  .has-nav-magazine:hover .nav-magazine,
  .has-nav-magazine:focus-within .nav-magazine {
    transform: none;
  }

  .has-nav-magazine.is-expanded {
    width: 100%;
  }

  .has-nav-magazine.is-expanded .nav-magazine {
    display: block;
  }

  .nav-magazine-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .post-cover {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }

  .magazine-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .magazine-tile,
  .magazine-tile.wide {
    grid-column: span 3;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .brand-description {
    max-width: 20ch;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-panel {
    min-height: 290px;
  }

  .hero-panel-content {
    min-height: 246px;
  }

  .magazine-hero {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .magazine-cover-inner {
    min-height: 650px;
    padding-top: 44px;
    padding-bottom: 28px;
  }

  .magazine-lead h2 {
    font-size: 2rem;
  }

  .magazine-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .magazine-tile,
  .magazine-tile.wide {
    grid-column: auto;
    min-height: 230px;
  }

  .magazine-tile-body {
    min-height: 230px;
  }

  .nav-magazine {
    padding: 12px;
  }

  .nav-magazine-grid {
    grid-template-columns: 1fr;
  }

  .nav-featured-card {
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .nav-featured-cover {
    height: 100%;
    min-height: 96px;
  }

  .nav-featured-body {
    min-width: 0;
  }

  .sidebar,
  .post-neighbor {
    grid-template-columns: 1fr;
  }

  .article {
    width: min(100% - 28px, 780px);
    padding-top: 28px;
    padding-bottom: 118px;
  }

  .article-header {
    margin-bottom: 26px;
  }

  .breadcrumbs {
    margin-bottom: 14px;
    font-size: .8rem;
    line-height: 1.45;
  }

  .breadcrumbs span:last-child {
    max-width: 26ch;
  }

  .article-header h1 {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .article .post-meta {
    gap: 6px 12px;
    margin-top: 16px;
    font-size: .86rem;
    line-height: 1.45;
  }

  .article-cover {
    width: min(1180px, calc(100vw - 22px));
    max-width: calc(100vw - 22px);
    margin: 0 0 26px 50%;
    border-radius: 8px;
  }

  .article-content {
    font-size: 1.03rem;
    line-height: 1.9;
  }

  .article-content h2 {
    margin-top: 2em;
    font-size: 1.26rem;
    line-height: 1.34;
  }

  .article-content h2::before {
    flex-basis: .34em;
    width: .34em;
  }

  .article-content h3 {
    font-size: 1.28rem;
    line-height: 1.32;
  }

  .article-content h4 {
    font-size: 1.12rem;
    line-height: 1.35;
  }

  .article-content p {
    margin: 1.05em 0;
  }

  .article-content img {
    width: 100%;
    margin: 1.2em 0;
    border-radius: 8px;
  }

  .article-content .data-table-wrap {
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
    margin: 24px 0 30px 50%;
  }

  .article-content table,
  .article-content .data-table {
    min-width: 680px;
    font-size: .86rem;
  }

  .article-content th,
  .article-content td {
    padding: 9px 11px;
  }

  .post-tags,
  .post-neighbor {
    margin-top: 30px;
  }

  .related-posts {
    margin-top: 34px;
  }

  .related-post-grid {
    grid-template-columns: 1fr;
  }

  .related-post {
    min-height: 0;
  }

  .ad-slot {
    margin-top: 28px;
    margin-bottom: 24px;
  }

  .google-auto-placed {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  ins.adsbygoogle.adsbygoogle-noablate {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  body > ins.adsbygoogle[data-anchor-status],
  body > ins.adsbygoogle[data-anchor-shown],
  ins.adsbygoogle[data-anchor-status],
  ins.adsbygoogle[data-anchor-shown],
  body > iframe[id^="google_ads_iframe"][style*="position: fixed"],
  body > iframe[id^="aswift_"][style*="position: fixed"],
  body > div[id^="aswift_"][style*="position: fixed"] {
    bottom: env(safe-area-inset-bottom) !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .site-footer {
    margin-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .site-footer::after {
    bottom: calc(-64px - env(safe-area-inset-bottom));
    height: calc(64px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-toggle {
    grid-column: 2;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-description {
    max-width: 17ch;
  }

  .site-nav ul {
    gap: 8px 10px;
  }

  .site-nav > ul > li > a,
  .nav-link-wrap > a {
    min-height: 34px;
    padding: 0 10px;
  }

  .nav-magazine {
    padding: 10px;
  }

  .nav-featured-card {
    display: block;
  }

  .nav-featured-cover {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .nav-featured-body {
    padding: 10px 12px 12px;
  }

  .nav-featured-body strong {
    font-size: .95rem;
  }

  .post-card-body {
    padding: 16px;
  }

  .post-excerpt {
    font-size: .9rem;
  }
}
