:root {
  --ink: #101827;
  --muted: #637083;
  --paper: #fffaf0;
  --paper-2: #f7fbff;
  --line: rgba(24, 40, 64, 0.14);
  --blue: #0b84ff;
  --cyan: #16c7d8;
  --orange: #f59e0b;
  --green: #10b981;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

body.journal-page {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(14, 165, 233, 0.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(245, 158, 11, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff 0%, #fffaf0 52%, #eef7ff 100%);
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.journal-top {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 18px 20px 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.journal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.journal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.journal-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #1367ff, #10c4d7 52%, #f59e0b);
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(11, 132, 255, 0.22);
}

.journal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.journal-links a {
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
}

.journal-links a:hover,
.journal-links a.active {
  color: #0b63ce;
  border-color: rgba(11, 132, 255, 0.22);
  background: rgba(239, 246, 255, 0.92);
}

.journal-masthead {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.journal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(11, 132, 255, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(239, 246, 255, 0.88);
  color: #0b63ce;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-title {
  margin: 14px 0 0;
  max-width: 860px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.journal-subtitle {
  margin: 16px 0 0;
  max-width: 740px;
  color: #475569;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 760;
}

.journal-issue {
  justify-self: end;
  width: min(320px, 100%);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(255, 255, 255, 0.92));
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.journal-issue small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journal-issue strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 950;
}

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

.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.journal-ledger {
  display: grid;
  gap: 14px;
}

.journal-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.84)),
    linear-gradient(90deg, rgba(11, 132, 255, 0.08), transparent);
  padding: 22px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
  text-decoration: none;
  color: var(--ink);
}

.journal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), var(--orange));
}

.journal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.journal-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.journal-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: #0b63ce;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid rgba(11, 132, 255, 0.2);
  font-size: 12px;
  font-weight: 950;
}

.journal-card h2,
.journal-card h3 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.journal-card p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.78;
  font-weight: 720;
}

.journal-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.journal-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  padding: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.journal-panel h2,
.journal-panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 950;
}

.journal-panel p,
.journal-panel li {
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 720;
}

.journal-panel ul {
  margin: 0;
  padding-left: 18px;
}

.journal-article-shell {
  width: min(1120px, calc(100% - 32px));
}

.journal-article {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.journal-article-header {
  padding: clamp(30px, 5vw, 68px) clamp(28px, 6vw, 78px);
  background:
    radial-gradient(circle at 86% 18%, rgba(22, 199, 216, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(239, 246, 255, 0.97), rgba(255, 250, 240, 0.94));
  border-bottom: 1px solid var(--line);
}

.journal-article h1 {
  margin: 18px 0 0;
  max-width: 940px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.journal-dek {
  margin: 18px 0 0;
  max-width: 860px;
  color: #475569;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
  font-weight: 760;
}

.journal-byline {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.journal-byline span {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  padding: 7px 10px;
}

.journal-article-body {
  padding: clamp(28px, 5vw, 68px) clamp(28px, 6vw, 82px);
  display: grid;
  gap: 32px;
}

.journal-article-body section {
  display: grid;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.journal-article-body section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.journal-article-body h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.18;
  letter-spacing: 0;
}

.journal-article-body p {
  margin: 0;
  color: #243244;
  font-size: 18px;
  line-height: 1.92;
  font-weight: 660;
}

.journal-article-body ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.journal-article-body li {
  color: #243244;
  font-size: 17px;
  line-height: 1.82;
  font-weight: 680;
}

.journal-note {
  border: 1px solid rgba(11, 132, 255, 0.2);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.96));
  padding: 20px 22px;
  box-shadow: inset 5px 0 0 rgba(11, 132, 255, 0.42);
}

.journal-cta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-radius: 24px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, #175cff, #04a9d9);
  box-shadow: 0 18px 42px rgba(11, 132, 255, 0.26);
}

.journal-cta strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.journal-cta span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 740;
}

.journal-cta a {
  color: #0f172a;
  background: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 950;
}

.journal-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  color: #64748b;
  padding: 24px;
}

.journal-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 860px) {
  .journal-masthead,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-issue {
    justify-self: stretch;
  }

  .journal-title {
    letter-spacing: -0.05em;
  }
}

@media (max-width: 560px) {
  .journal-top,
  .journal-shell,
  .journal-article-shell,
  .journal-footer {
    width: min(100% - 20px, 1180px);
  }

  .journal-top {
    margin-top: 12px;
    border-radius: 22px;
  }

  .journal-links {
    width: 100%;
  }

  .journal-links a {
    padding: 7px 10px;
  }

  .journal-card,
  .journal-panel {
    border-radius: 20px;
    padding: 18px;
  }
}
