:root {
  --xcc-bg: #eef3f8;
  --xcc-surface: #ffffff;
  --xcc-surface-soft: #f6f8fb;
  --xcc-text: #132033;
  --xcc-muted: #5d6b80;
  --xcc-subtle: #98a2b3;
  --xcc-line: rgba(15, 23, 42, 0.08);
  --xcc-brand: #2563eb;
  --xcc-brand-2: #0f9f8f;
  --xcc-accent: #f2564b;
  --xcc-ink: #0b1220;
  --xcc-radius: 8px;
  --xcc-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

html {
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  background:
    linear-gradient(180deg, rgba(238, 243, 248, 0.98), rgba(248, 250, 252, 0.98)),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.045) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(15, 159, 143, 0.04) 0 1px, transparent 1px 76px);
  overflow-x: hidden;
}

.loading {
  display: none !important;
}

.site-intro {
  height: 42vh !important;
  min-height: 320px;
  max-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 30%, rgba(33, 102, 232, 0.26), transparent 28%),
    linear-gradient(135deg, #111827 0%, #1e293b 58%, #0f766e 100%);
}

.post-body .site-intro,
.about-body .site-intro {
  height: 34vh !important;
  min-height: 320px;
  max-height: 420px;
}

.list-body .site-intro {
  height: 30vh !important;
  min-height: 240px;
  max-height: 330px;
}

.site-intro-placeholder {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.82)),
    radial-gradient(circle at 70% 20%, rgba(33, 102, 232, 0.32), transparent 28%);
}

.site-intro-img {
  filter: brightness(0.42) saturate(0.98);
  transform: scale(1.02);
}

.list-body .site-intro-img {
  filter: brightness(0.5) saturate(0.98);
}

.home-body .intro-title,
.post-body .intro-title,
.about-body .intro-title,
.list-body .intro-title {
  letter-spacing: 0;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.home-body .intro-title {
  font-size: clamp(3rem, 5.2vw, 4.8rem);
}

.home-body .intro-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  opacity: 0.92;
}

.post-body .intro-title,
.about-body .intro-title {
  font-size: clamp(2.25rem, 3.45vw, 3.35rem);
  line-height: 1.14;
  max-width: 880px;
  text-wrap: balance;
}

.post-body .site-intro-meta,
.about-body .site-intro-meta {
  width: min(900px, calc(100vw - 5rem)) !important;
  min-width: 0 !important;
}

.list-body .site-intro-meta {
  width: min(1040px, calc(100vw - 2rem));
}

.list-body .intro-title {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
}

.list-body .intro-subtitle {
  max-width: 640px;
  margin-top: 0.75rem;
  color: rgba(236, 244, 255, 0.84);
  font-size: 1.06rem;
  line-height: 1.72;
  white-space: normal;
}

.container {
  background:
    radial-gradient(circle at 18% 0, rgba(37, 99, 235, 0.1), transparent 24rem),
    radial-gradient(circle at 92% 4rem, rgba(15, 159, 143, 0.11), transparent 22rem),
    linear-gradient(180deg, rgba(255,255,255,0.85) 0%, var(--xcc-bg) 260px);
  padding-top: 3.5rem;
}

.home-body .container {
  width: min(1120px, calc(100vw - 5rem));
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}

.main {
  width: min(760px, calc(100vw - 360px));
  min-width: 0;
  margin-left: 3.5rem;
}

.post-body .main {
  width: min(920px, calc(100vw - 420px));
  margin-left: max(2rem, calc((100vw - 1200px) / 2));
}

.post-body .container {
  justify-content: flex-start;
}

.list-body .main {
  width: min(1040px, calc(100vw - 5rem));
  margin-left: auto;
  margin-right: auto;
}

.list-body .container {
  justify-content: center;
  align-items: flex-start;
}

.about-body .main {
  width: min(980px, calc(100vw - 5rem));
  margin-left: auto;
  margin-right: auto;
}

.home-body .main {
  flex: 1 1 auto;
  width: auto;
  max-width: 1120px;
  margin-left: 0;
}

.profile {
  border: 1px solid var(--xcc-line);
  border-radius: var(--xcc-radius);
  padding: 0;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.home-body .profile {
  display: none;
}

.profile-avatar {
  width: 100%;
  border: 0;
  border-radius: 0;
}

.profile-name {
  font-size: 1.7rem;
}

.profile-signature {
  color: var(--xcc-muted);
  padding: 0 1rem 0.8rem;
}

.profile-social,
.friends,
.profile-link-item {
  padding-left: 1rem;
  padding-right: 1rem;
}

.home-hub {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  gap: 1.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.98), rgba(13, 34, 55, 0.95) 56%, rgba(12, 91, 82, 0.92)),
    radial-gradient(circle at 86% 18%, rgba(20, 184, 166, 0.38), transparent 34%);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.22);
  isolation: isolate;
}

.home-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(110deg, rgba(0,0,0,0.2), rgba(0,0,0,0.82));
}

.home-hub::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -8rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 62%);
}

.home-hub__content,
.home-hub__visual {
  position: relative;
  z-index: 1;
}

.home-hub__eyebrow {
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hub__title {
  margin: 0.45rem 0 0.65rem;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.22;
}

.home-hub .anchorjs-archer,
.home-hub .headerlink {
  display: none !important;
}

.home-hub__summary {
  margin: 0;
  max-width: 62ch;
  color: rgba(236, 244, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.8;
}

.home-hub__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.home-hub__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 999px;
  color: rgba(236, 253, 245, 0.94);
  background: rgba(15, 159, 143, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.home-hub__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.home-hub__actions a:hover {
  border-color: rgba(103, 232, 249, 0.48);
  background: rgba(103, 232, 249, 0.15);
  color: #fff;
  text-decoration: none;
}

.home-hub__visual {
  min-height: 315px;
}

.home-terminal {
  position: absolute;
  top: 0.25rem;
  right: 0;
  width: min(100%, 360px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.74);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.home-terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  height: 2rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.72rem;
}

.home-terminal__bar i {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #f87171;
}

.home-terminal__bar i:nth-child(2) {
  background: #fbbf24;
}

.home-terminal__bar i:nth-child(3) {
  background: #34d399;
}

.home-terminal__bar span {
  margin-left: 0.35rem;
}

.home-terminal__body {
  padding: 0.95rem;
  color: #c7d2fe;
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.7;
}

.home-terminal__body p {
  margin: 0.14rem 0;
}

.home-terminal__body b {
  color: #5eead4;
}

.home-orbit {
  position: absolute;
  right: 2.8rem;
  bottom: 1.5rem;
  width: 13.2rem;
  height: 13.2rem;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(103, 232, 249, 0.1), transparent 52%),
    repeating-conic-gradient(from 18deg, rgba(103, 232, 249, 0.18) 0 8deg, transparent 8deg 28deg);
}

.home-orbit__core,
.home-orbit__node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(103, 232, 249, 0.25);
  border-radius: 999px;
  color: #ecfeff;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.home-orbit__core {
  inset: 50% auto auto 50%;
  width: 4.2rem;
  height: 4.2rem;
  transform: translate(-50%, -50%);
  border-color: rgba(94, 234, 212, 0.55);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(15, 159, 143, 0.92));
  font-weight: 900;
  font-size: 1.25rem;
}

.home-orbit__node {
  min-width: 3.2rem;
  min-height: 1.75rem;
  padding: 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 750;
}

.home-orbit__node--a { left: 0.8rem; top: 1.6rem; }
.home-orbit__node--b { right: -0.4rem; top: 3.2rem; }
.home-orbit__node--c { left: -0.4rem; bottom: 3rem; }
.home-orbit__node--d { right: 1.1rem; bottom: 1rem; }

.home-signal {
  position: absolute;
  left: 0.4rem;
  bottom: 1.1rem;
  display: flex;
  align-items: flex-end;
  gap: 0.34rem;
  height: 5rem;
  padding: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.34);
}

.home-signal span {
  display: block;
  width: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #67e8f9, #2563eb);
}

.home-signal span:nth-child(1) { height: 34%; }
.home-signal span:nth-child(2) { height: 72%; }
.home-signal span:nth-child(3) { height: 48%; }
.home-signal span:nth-child(4) { height: 88%; }
.home-signal span:nth-child(5) { height: 58%; }

.home-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.home-proof-strip div {
  min-height: 86px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.9));
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.home-proof-strip strong {
  display: block;
  color: var(--xcc-text);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.15;
  font-weight: 850;
}

.home-proof-strip span {
  display: block;
  margin-top: 0.38rem;
  color: var(--xcc-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 1.4rem;
}

.home-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.home-value-item {
  padding: 1rem;
  border: 1px solid rgba(33, 102, 232, 0.11);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.88));
}

.home-value-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--xcc-brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-value-item strong {
  display: block;
  margin: 0.75rem 0 0.4rem;
  color: var(--xcc-text);
  font-size: 1rem;
  line-height: 1.42;
}

.home-value-item p {
  margin: 0;
  color: var(--xcc-muted);
  font-size: 0.92rem;
  line-height: 1.68;
}

.home-feature-card {
  position: relative;
  display: block;
  min-height: 166px;
  overflow: hidden;
  padding: 1.2rem 1.15rem 1.15rem;
  border: 1px solid var(--xcc-line);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92));
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
  color: var(--xcc-text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.18), transparent 36%),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: auto, 100% 28px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.home-feature-card--primary {
  grid-column: span 2;
  min-height: 198px;
  background:
    radial-gradient(circle at 82% 18%, rgba(103, 232, 249, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(9, 16, 30, 0.98), rgba(17, 40, 67, 0.96) 52%, rgba(6, 95, 70, 0.92));
  color: #fff;
}

.home-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 102, 232, 0.22);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
  text-decoration: none;
}

.home-feature-card:hover::before {
  opacity: 1;
}

.home-feature-card i {
  position: absolute;
  right: 1rem;
  top: 0.85rem;
  color: rgba(15, 23, 42, 0.08);
  font-style: normal;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.home-feature-card span {
  position: relative;
  display: inline-block;
  color: var(--xcc-brand-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-feature-card strong {
  position: relative;
  display: block;
  margin: 0.55rem 0 0.55rem;
  color: var(--xcc-text);
  font-size: 1.12rem;
  line-height: 1.35;
}

.home-feature-card em {
  position: relative;
  display: block;
  color: var(--xcc-muted);
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-feature-card--primary span {
  color: #6ee7d8;
}

.home-feature-card--primary i {
  color: rgba(255, 255, 255, 0.1);
  font-size: 4.8rem;
}

.home-feature-card--primary strong {
  color: #fff;
  font-size: clamp(1.32rem, 2.4vw, 1.7rem);
}

.home-feature-card--primary em {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
}

.home-feature-card--static {
  cursor: default;
}

.home-feature-card--static:hover {
  transform: none;
  border-color: var(--xcc-line);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.home-feature-card--media {
  position: relative;
  overflow: hidden;
}


.home-section-title {
  display: flex;
  align-items: center;
  margin: 0.5rem 0 0.8rem;
  color: var(--xcc-text);
  font-size: 1.1rem;
  font-weight: 800;
}

.home-section-title::after {
  content: "";
  height: 1px;
  flex: 1;
  margin-left: 0.8rem;
  background: var(--xcc-line);
}

.index-post {
  margin-bottom: 0.85rem;
  border: 1px solid var(--xcc-line);
  border-radius: var(--xcc-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055);
}

.index-post-divider {
  display: none;
}

.abstract-title .abstract-title-text {
  color: var(--xcc-text);
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  font-weight: 750;
  line-height: 1.35;
}

.abstract-kicker {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin: 0.1rem 0 0.7rem;
  color: var(--xcc-subtle);
  font-size: 0.86rem;
  font-weight: 650;
}

.abstract-kicker span {
  color: var(--xcc-brand-2);
}

.abstract-kicker time::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0.55rem 0.12rem 0;
  border-radius: 50%;
  background: var(--xcc-subtle);
}

.index-post .abstract-content {
  color: #536071;
  line-height: 1.78;
}

.abstract-post-meta {
  color: var(--xcc-subtle);
  border-top: 1px solid var(--xcc-line);
  padding-top: 0.8rem;
}

.article-entry {
  border: 1px solid var(--xcc-line);
  border-radius: var(--xcc-radius);
  padding: 2.7rem 3rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--xcc-shadow);
  overflow: visible;
}

.about-page .article-entry {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-entry,
.abstract-content {
  color: var(--xcc-text);
}

.article-entry p {
  margin: 1.05rem 0;
  color: #25324a;
  font-size: 1.06rem;
  line-height: 1.88;
}

.article-entry h2 {
  margin-top: 2.45rem;
  margin-bottom: 0.9rem;
  color: #111827;
  font-size: 1.82rem;
  line-height: 1.35;
}

.article-entry h3 {
  margin-top: 1.75rem;
  color: #1f2937;
}

.article-entry blockquote {
  border-left-color: var(--xcc-brand);
  background: #f3f7ff;
  color: #22304a;
  box-shadow: inset 0 0 0 1px rgba(33, 102, 232, 0.06);
}

.article-entry img {
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
}

.article-entry .highlight,
.article-entry pre {
  border-radius: 8px;
}

.article-entry figure.highlight {
  margin: 1.25rem 0;
  overflow: auto;
  background: #111827;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.article-entry figure.highlight table {
  margin: 0;
  width: 100%;
  border: 0;
  box-shadow: none;
}

.article-entry figure.highlight td,
.article-entry figure.highlight th {
  border: 0;
  padding: 0;
}

.article-entry figure.highlight .gutter {
  width: 3.1rem;
  color: #64748b;
  background: rgba(15, 23, 42, 0.55);
  text-align: right;
  user-select: none;
}

.article-entry figure.highlight .code {
  width: auto;
}

.article-entry figure.highlight pre {
  margin: 0;
  padding: 1rem;
  color: #d6deeb;
  line-height: 1.65;
  white-space: pre;
}

.article-entry code {
  border-radius: 5px;
  padding: 0.12rem 0.36rem;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 0.94em;
}

.toc-wrapper {
  right: max(1.2rem, calc((100vw - 1280px) / 2));
  max-width: 230px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--xcc-line);
  border-radius: var(--xcc-radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}

.toc-catalog {
  color: var(--xcc-text);
}

.toc-wrapper a {
  color: #7b8798;
}

.toc-wrapper .toc-active {
  color: var(--xcc-brand);
}

.about-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.72fr);
  gap: 1.2rem;
  margin-bottom: 1rem;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--xcc-radius);
  background:
    radial-gradient(circle at 90% 15%, rgba(103, 232, 249, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(11, 18, 32, 0.98), rgba(17, 40, 67, 0.96) 54%, rgba(6, 95, 70, 0.9));
  color: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
}

.about-kicker,
.about-section__head span,
.about-contact span,
.about-work-list span,
.post-author-panel span {
  display: block;
  color: #0f9f8f;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero-panel .about-kicker {
  color: #67e8f9;
}

.about-hero-panel h2 {
  margin: 0.45rem 0 0.8rem;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.18;
}

.about-hero-panel p {
  margin: 0;
  color: rgba(236, 244, 255, 0.78);
  font-size: 1.03rem;
  line-height: 1.82;
}

.about-hero-panel__wall {
  position: relative;
  align-self: stretch;
  min-height: 240px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.07);
  background-size: 28px 28px, 28px 28px, auto;
  backdrop-filter: blur(12px);
}

.about-pg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid rgba(103, 232, 249, 0.45);
  border-radius: 50%;
  color: #ecfeff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(15, 159, 143, 0.92));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  font-size: 1.45rem;
  font-weight: 950;
}

.about-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 1rem;
}

.about-chip-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 999px;
  color: rgba(236, 253, 245, 0.9);
  background: rgba(15, 159, 143, 0.14);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.about-terminal-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.68);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.about-terminal-card div {
  display: flex;
  align-items: center;
  gap: 0.36rem;
  height: 1.85rem;
  padding: 0 0.7rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.72rem;
}

.about-terminal-card i {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: #f87171;
}

.about-terminal-card i:nth-child(2) {
  background: #fbbf24;
}

.about-terminal-card i:nth-child(3) {
  background: #34d399;
}

.about-terminal-card p {
  margin: 0;
  padding: 0.15rem 0.75rem;
  color: #c7d2fe;
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.7;
}

.about-terminal-card p:first-of-type {
  padding-top: 0.7rem;
}

.about-terminal-card p:last-of-type {
  padding-bottom: 0.7rem;
}

.about-terminal-card b {
  color: #5eead4;
}

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.about-proof-grid div,
.about-section,
.about-contact,
.post-author-panel {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--xcc-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.about-proof-grid div {
  padding: 1.15rem;
}

.about-proof-grid strong {
  display: block;
  color: var(--xcc-text);
  font-size: 1.05rem;
}

.about-proof-grid p,
.about-work-list p,
.about-focus p,
.about-focus li,
.about-contact p,
.post-author-panel p {
  color: var(--xcc-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.about-section {
  margin-bottom: 1.2rem;
  padding: 1.35rem;
}

.about-section__head {
  margin-bottom: 1rem;
}

.about-section__head h3,
.about-contact h3 {
  margin: 0.25rem 0 0;
  color: var(--xcc-text);
  font-size: 1.45rem;
  line-height: 1.3;
}

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

.about-work-list a {
  display: block;
  min-height: 156px;
  padding: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9));
  color: var(--xcc-text);
}

.about-work-list a:hover {
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
  text-decoration: none;
}

.about-work-list strong {
  display: block;
  margin: 0.55rem 0 0.45rem;
  color: var(--xcc-text);
  font-size: 1.08rem;
  line-height: 1.42;
}

.about-section--split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.2rem;
}

.about-focus p {
  margin-top: 0;
}

.about-focus ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.about-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}

.about-contact,
.post-author-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
}

.about-contact {
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92)),
    radial-gradient(circle at 96% 20%, rgba(15, 159, 143, 0.12), transparent 28%);
}

.about-contact__links,
.post-author-panel nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.post-author-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0 0.78rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.post-author-panel a:hover {
  background: var(--xcc-brand);
  color: #fff;
  text-decoration: none;
}

.about-contact__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: min(620px, 55vw);
  gap: 0.7rem;
}

.about-contact__links a,
.about-contact__links div {
  display: block;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.88));
  color: var(--xcc-text);
}

.about-contact__links a:hover {
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}

.about-contact__links small,
.about-contact__links strong,
.about-contact__links em {
  display: block;
}

.about-contact__links small {
  color: var(--xcc-brand-2);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-contact__links strong {
  margin: 0.28rem 0 0.2rem;
  color: var(--xcc-text);
  font-size: 1rem;
  line-height: 1.3;
}

.about-contact__links em {
  overflow: hidden;
  color: var(--xcc-muted);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-author-panel {
  margin: 1rem 0 1.2rem;
}

.post-author-panel strong {
  display: block;
  margin: 0.28rem 0 0.35rem;
  color: var(--xcc-text);
  font-size: 1.2rem;
  line-height: 1.36;
}

.post-author-panel p {
  margin: 0;
  max-width: 62ch;
}

.post-intro-read,
.post-intro-meta,
.post-intro-tags {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}

.word-count {
  margin-right: 0.9rem;
}

.reading-time-label {
  margin-left: 0;
}

.sidebar {
  background: #101828;
}

.header-home-link {
  position: absolute;
  left: 3.25rem;
  top: 50%;
  z-index: 22;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.75rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.28);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.header-home-link:hover {
  color: #fff;
  background: var(--xcc-brand-2);
  border-color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.header-home-link i {
  font-size: 0.82rem;
}

.post-body header .banner {
  display: none;
}

.xcc-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 1rem 1rem;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(10px);
}

.xcc-search-overlay--open {
  display: flex;
}

.xcc-search-dialog {
  width: min(720px, 100%);
  max-height: 82vh;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}

.xcc-search-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem 0.75rem;
}

.xcc-search-head span {
  display: block;
  color: var(--xcc-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xcc-search-head strong {
  display: block;
  color: var(--xcc-text);
  font-size: 1.35rem;
}

.xcc-search-close {
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 50%;
  color: var(--xcc-muted);
  background: #f2f4f7;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.xcc-search-close:hover {
  color: var(--xcc-text);
  background: #e4e7ec;
}

.xcc-search-input {
  width: calc(100% - 2.2rem);
  margin: 0 1.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--xcc-line);
  border-radius: 10px;
  outline: 0;
  color: var(--xcc-text);
  background: #fff;
  font-size: 1rem;
}

.xcc-search-input:focus {
  border-color: rgba(33, 102, 232, 0.45);
  box-shadow: 0 0 0 4px rgba(33, 102, 232, 0.1);
}

.xcc-search-hint {
  padding: 0.65rem 1.1rem 0;
  color: var(--xcc-subtle);
  font-size: 0.88rem;
}

.xcc-search-results {
  max-height: 52vh;
  overflow: auto;
  padding: 0.75rem 1.1rem 1.1rem;
}

.xcc-search-result {
  display: block;
  padding: 0.9rem 0;
  border-top: 1px solid var(--xcc-line);
  color: var(--xcc-text);
}

.xcc-search-result:hover {
  text-decoration: none;
}

.xcc-search-result strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--xcc-text);
  font-size: 1.02rem;
}

.xcc-search-result span {
  display: block;
  color: var(--xcc-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.xcc-search-empty {
  padding: 1rem 0;
  color: var(--xcc-muted);
}

.tab-name {
  font-size: 1.25rem;
}

.sidebar-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.archive-post-title,
.meta-post-title {
  color: rgba(255, 255, 255, 0.72);
}

.archive-post-date,
.total-archive {
  color: rgba(255, 255, 255, 0.52);
}

.archive-year {
  color: #60a5fa;
}

body.dark-theme .container,
body.theme-dark .container {
  background: #121212;
}

body.dark-theme .home-hub,
body.dark-theme .home-feature-card,
body.dark-theme .home-proof-strip div,
body.dark-theme .home-value-item,
body.dark-theme .index-post,
body.dark-theme .article-entry,
body.theme-dark .home-hub,
body.theme-dark .home-feature-card,
body.theme-dark .home-proof-strip div,
body.theme-dark .home-value-item,
body.theme-dark .index-post,
body.theme-dark .article-entry {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 24, 0.96);
}

body.dark-theme .home-feature-card--primary,
body.theme-dark .home-feature-card--primary {
  background:
    linear-gradient(135deg, rgba(18, 33, 56, 0.98), rgba(14, 77, 78, 0.9));
}

body.dark-theme .home-hub__title,
body.dark-theme .home-feature-card strong,
body.dark-theme .home-proof-strip strong,
body.dark-theme .home-value-item strong,
body.dark-theme .abstract-title .abstract-title-text,
body.dark-theme .article-entry h2,
body.dark-theme .article-entry h3,
body.theme-dark .home-hub__title,
body.theme-dark .home-feature-card strong,
body.theme-dark .home-proof-strip strong,
body.theme-dark .home-value-item strong,
body.theme-dark .abstract-title .abstract-title-text,
body.theme-dark .article-entry h2,
body.theme-dark .article-entry h3 {
  color: rgba(255, 255, 255, 0.92);
}

body.dark-theme .home-hub__summary,
body.dark-theme .home-feature-card em,
body.dark-theme .home-proof-strip span,
body.dark-theme .home-value-item p,
body.dark-theme .index-post .abstract-content,
body.dark-theme .article-entry p,
body.theme-dark .home-hub__summary,
body.theme-dark .home-feature-card em,
body.theme-dark .home-proof-strip span,
body.theme-dark .home-value-item p,
body.theme-dark .index-post .abstract-content,
body.theme-dark .article-entry p {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 960px) {
  .site-intro {
    height: 34vh !important;
    min-height: 270px;
    max-height: 340px;
  }

  .post-body .site-intro,
  .about-body .site-intro {
    height: 30vh !important;
    min-height: 250px;
    max-height: 320px;
  }

  .container {
    padding-top: 1.2rem;
  }

  .home-body .container {
    width: 100%;
    gap: 0;
    align-items: center;
  }

  .main,
  .about-body .main,
  .post-body .main {
    width: min(92%, 720px);
    margin: 0 auto;
  }

  .post-body .main,
  .about-body .main {
    max-width: 720px;
  }

  .home-body .main {
    width: min(92%, 720px);
    max-width: 720px;
    margin: 0 auto;
  }

  .home-body .intro-title {
    max-width: 92%;
    font-size: clamp(2.35rem, 11vw, 3.15rem);
    line-height: 1.14;
  }

  .home-body .intro-subtitle {
    max-width: 88%;
    font-size: 1.1rem;
    line-height: 1.65;
  }

  .post-body .intro-title,
  .about-body .intro-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.18;
  }

  .post-intro-read,
  .post-intro-meta {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    font-size: 0.88rem;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card--primary {
    grid-column: auto;
  }

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

  .home-value-grid {
    grid-template-columns: 1fr;
  }

  .home-hub,
  .index-post,
  .article-entry {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  }

  .home-hub {
    padding: 1.2rem;
    grid-template-columns: 1fr;
  }

  .home-hub__visual {
    min-height: 235px;
  }

  .home-terminal {
    left: 0;
    right: auto;
    width: min(100%, 330px);
  }

  .home-orbit {
    right: 0.4rem;
    bottom: 0.2rem;
    width: 10.6rem;
    height: 10.6rem;
  }

  .home-orbit__core {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1rem;
  }

  .home-orbit__node {
    min-width: 2.75rem;
    min-height: 1.55rem;
    font-size: 0.72rem;
  }

  .home-signal {
    left: auto;
    right: 0.3rem;
    bottom: 0.3rem;
    transform: translateX(-9.6rem);
  }

  .home-hub__actions a {
    flex: 0 1 auto;
    justify-content: center;
  }

  .home-hub__badges span {
    flex: 0 1 auto;
    justify-content: center;
  }

  .header-home-link {
    left: 3.15rem;
    min-height: 2rem;
    padding: 0 0.68rem;
    font-size: 0.82rem;
  }

  .xcc-search-overlay {
    padding-top: 5vh;
  }

  .xcc-search-dialog {
    max-height: 88vh;
    border-radius: 12px;
  }

  .article-entry {
    padding: 1.45rem 1.1rem;
  }

  .about-hero-panel,
  .about-section--split,
  .about-contact,
  .post-author-panel {
    grid-template-columns: 1fr;
  }

  .about-proof-grid,
  .about-work-list {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero-panel {
    padding: 1.25rem;
  }

  .about-hero-panel__wall {
    min-height: auto;
  }

  .about-terminal-card {
    max-width: 100%;
  }

  .about-terminal-card p {
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.72rem;
  }

  .about-hero-panel h2 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .about-contact__links,
  .post-author-panel nav {
    justify-content: flex-start;
  }

  .about-contact__links {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .about-contact__links a,
  .about-contact__links div,
  .post-author-panel a {
    flex: 0 1 auto;
  }

  .article-entry p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .article-entry h2 {
    font-size: 1.45rem;
  }

  .profile {
    margin-top: 1.2rem;
  }

  .profile .profile-avatar {
    width: 36%;
    border-radius: 50%;
    margin-top: 1rem;
  }

  .sidebar {
    width: min(400px, 82vw);
  }

  .wrapper-sidebar-active,
  header.header-sidebar-active,
  .footer-fixed-sidebar-active {
    transform: translate3d(min(400px, 82vw), 0, 0);
  }
}

.post-body .post-author-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.05rem;
  align-items: start;
  margin: 1.35rem 0 1.7rem;
  padding: 1.45rem 1.55rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
    radial-gradient(circle at 94% 20%, rgba(15, 159, 143, 0.12), transparent 30%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.post-body .post-author-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--xcc-brand-2), var(--xcc-brand));
}

.post-body .post-author-panel > div {
  max-width: 74ch;
}

.post-body .post-author-panel span {
  color: #0f9f8f;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-body .post-author-panel strong {
  display: block;
  margin: 0.32rem 0 0.42rem;
  color: var(--xcc-text);
  font-size: 1.24rem;
  line-height: 1.34;
}

.post-body .post-author-panel p {
  margin: 0;
  max-width: 70ch;
  color: #536176;
  font-size: 0.98rem;
  line-height: 1.72;
}

.post-body .post-author-panel nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.65rem;
}

.post-body .post-author-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1d4ed8;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.post-body .post-author-panel a:hover {
  border-color: rgba(15, 159, 143, 0.28);
  background: #0f9f8f;
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 159, 143, 0.18);
  transform: translateY(-1px);
}

.post-body .post-paginator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.1rem 0 2.4rem;
  padding: 0;
  list-style: none;
}

.post-body .post-paginator li {
  float: none;
  width: auto;
  max-width: none;
  min-height: 118px;
  margin: 0;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--xcc-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.post-body .post-paginator .next,
.post-body .post-paginator .previous {
  text-align: left;
}

.post-body .post-paginator .previous {
  text-align: right;
}

.post-body .post-paginator .nextSlogan,
.post-body .post-paginator .prevSlogan {
  margin-bottom: 0.45rem;
  color: #0f9f8f;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-body .post-paginator .nextTitle,
.post-body .post-paginator .prevTitle {
  color: var(--xcc-text);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
}

.post-body .post-paginator a {
  color: inherit;
  text-decoration: none;
}

.post-body .post-paginator li:hover {
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .post-body .post-author-panel {
    padding: 1.2rem 1.05rem 1.2rem 1.2rem;
  }

  .post-body .post-author-panel a {
    min-height: 2.15rem;
    padding: 0 0.72rem;
    font-size: 0.84rem;
  }

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

  .post-body .post-paginator .previous {
    text-align: left;
  }

  .footer-fixed-home {
    display: flex !important;
    position: fixed !important;
    left: 1rem;
    right: auto;
    bottom: 5.8rem;
  }
}

@media (max-width: 420px) {
  .home-proof-strip {
    grid-template-columns: 1fr;
  }

  .home-body .intro-title {
    font-size: 2.55rem;
  }

  .home-hub__title {
    font-size: 1.78rem;
  }

  .home-hub__visual {
    min-height: 162px;
  }

  .home-terminal {
    width: 100%;
  }

  .home-terminal__body {
    font-size: 0.72rem;
  }

  .home-orbit {
    display: none;
  }

  .home-signal {
    display: none;
  }

  .post-body .intro-title,
  .about-body .intro-title {
    font-size: 2.2rem;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .abstract-title .abstract-title-text {
    font-size: 1.32rem;
  }
}

/* 2026 reading and performance refresh */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  background:
    linear-gradient(180deg, #eef4f8 0%, #f8fafc 34rem, #eef3f7 100%),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.032) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(15, 159, 143, 0.028) 0 1px, transparent 1px 84px);
}

.site-intro {
  background: #07111f;
}

.site-intro-placeholder {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.46), rgba(7, 17, 31, 0.2) 58%, rgba(7, 17, 31, 0.18)),
    linear-gradient(180deg, rgba(7, 17, 31, 0.06), rgba(7, 17, 31, 0.34));
}

.site-intro-img {
  filter: brightness(0.8) saturate(1.06) contrast(0.98);
  transform: scale(1.01);
  background-position: center center;
}

.home-body .site-intro-img {
  filter: brightness(0.84) saturate(1.08) contrast(0.98);
  background-position: center 52%;
}

.post-body .site-intro-img {
  filter: brightness(0.78) saturate(1.04) contrast(0.98);
  background-position: center 52%;
}

.about-body .site-intro-img {
  filter: brightness(0.62) saturate(0.98) contrast(0.98);
  background-position: center 42%;
}

.home-body .intro-title,
.post-body .intro-title,
.about-body .intro-title,
.list-body .intro-title {
  font-family:
    "Oswald-Regular", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

.container {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(238, 244, 248, 0.98) 18rem, #f8fafc 100%);
}

.post-body .main {
  width: min(980px, calc(100vw - 400px));
  margin-left: max(2rem, calc((100vw - 1320px) / 2));
}

.article-entry {
  padding: clamp(2.2rem, 3.4vw, 3.45rem) clamp(2rem, 4.2vw, 4.4rem);
  border: 1px solid rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.96)),
    linear-gradient(90deg, rgba(15, 159, 143, 0.035), transparent 18rem);
}

.article-entry p,
.article-entry li {
  color: #1e2b40;
  font-size: 1.08rem;
  line-height: 1.96;
}

.article-entry p {
  margin: 1.1rem 0;
}

.article-entry h2 {
  position: relative;
  margin-top: 2.8rem;
  padding-top: 0.2rem;
  color: #0f172a;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.32;
}

.article-entry h2::before {
  content: "";
  display: block;
  width: 2.2rem;
  height: 3px;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--xcc-brand-2), var(--xcc-brand));
}

.article-entry h3 {
  margin-top: 2rem;
  color: #172033;
  font-size: 1.32rem;
  line-height: 1.45;
}

.article-entry a {
  color: #0d6fca;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-entry blockquote {
  margin: 1.7rem 0;
  padding: 1.1rem 1.35rem;
  border-left-width: 4px;
  background: #f4f8fb;
}

.article-entry img {
  margin: 1.6rem auto;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
}

.article-entry table {
  font-size: 0.98rem;
}

.article-entry figure.highlight {
  margin: 1.55rem 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #0b1220;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
}

.article-entry figure.highlight pre {
  font-size: 0.94rem;
  line-height: 1.74;
}

.index-post,
.home-feature-card,
.home-proof-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 260px;
}

.post-comment {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}

.comment-lazy {
  display: grid;
  place-items: center;
  gap: 0.55rem;
  min-height: 180px;
  margin: 1.2rem 0 2.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--xcc-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.9)),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.035) 0 1px, transparent 1px 70px);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.comment-lazy-button {
  min-height: 2.55rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(15, 159, 143, 0.24);
  border-radius: 999px;
  background: #0f9f8f;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.comment-lazy-button:hover {
  background: #0b8276;
  transform: translateY(-1px);
}

.comment-lazy-hint,
.comment-loading {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

/* Mobile/QA hardening: keep reading surfaces inside the viewport. */
@media (max-width: 760px) {
  html,
  body,
  .wrapper {
    max-width: 100%;
    overflow-x: hidden;
  }

  header.header {
    height: 2.65rem !important;
    border-top: 0;
    background: rgba(2, 6, 23, 0.76);
    backdrop-filter: blur(14px);
  }

  .home-body header.header {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    pointer-events: none;
  }

  .home-body header .header-element,
  .home-body header .header-actions,
  .home-body header .banner {
    display: none !important;
  }

  header .header-sidebar-menu,
  header .header-sidebar-menu-rounded {
    width: 2rem !important;
    height: 2rem !important;
    line-height: 2rem !important;
    border-width: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
  }

  .header-home-link {
    left: 2.9rem !important;
    min-height: 1.92rem;
    padding: 0 0.62rem;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.42);
    box-shadow: none;
    font-size: 0.78rem;
  }

  .post-body .site-intro {
    height: auto !important;
    min-height: 252px;
    max-height: none;
    padding: 4.1rem 0 1.85rem;
  }

  .home-body .site-intro {
    min-height: 300px;
  }

  .post-body .site-intro-meta,
  .about-body .site-intro-meta,
  .list-body .site-intro-meta {
    width: min(100% - 2.2rem, 560px) !important;
    max-width: min(100% - 2.2rem, 560px);
  }

  .post-body .intro-title {
    max-width: 100%;
    font-size: clamp(1.75rem, 8.6vw, 2.35rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .post-intro-tags {
    font-size: 1rem;
  }

  .post-intro-read,
  .post-intro-meta {
    gap: 0.32rem 0.6rem;
    margin-top: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .post-body .container {
    width: 100% !important;
    max-width: 100vw;
    padding-top: 1.05rem;
    overflow-x: hidden;
  }

  .post-body .main {
    width: min(100% - 1.5rem, 560px) !important;
    max-width: min(100% - 1.5rem, 560px);
  }

  .article-entry {
    padding: 1.45rem 1.05rem;
    border-radius: 8px;
  }

  .article-entry p,
  .article-entry li {
    font-size: 0.98rem;
    line-height: 1.82;
    letter-spacing: 0;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .article-entry h2 {
    font-size: 1.55rem;
    line-height: 1.34;
  }

  .post-body .post-author-panel {
    margin: 1rem 0;
    padding: 1.1rem;
  }

  .post-body .post-paginator {
    gap: 0.85rem;
    margin: 1rem 0 1.1rem;
  }

  .post-body .post-paginator li {
    min-height: auto;
    padding: 1rem;
  }

  .post-body .post-paginator .nextSlogan,
  .post-body .post-paginator .prevSlogan {
    margin-bottom: 0.42rem;
    font-size: 0.72rem;
  }

  .post-body .post-paginator .nextTitle,
  .post-body .post-paginator .prevTitle {
    font-size: 1rem;
    line-height: 1.46;
    text-align: left;
  }

  .comment-lazy {
    min-height: 150px;
    margin: 1rem 0 1.4rem;
    padding: 1.1rem;
  }

  .footer {
    padding-bottom: max(6.5rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .home-body .intro-title {
    font-size: clamp(2.25rem, 12vw, 2.85rem);
  }

  .home-hub {
    padding: 1.05rem;
  }

  .home-hub__title {
    font-size: clamp(1.65rem, 8vw, 2.05rem);
    line-height: 1.18;
  }

  .home-hub__summary {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .home-hub__visual {
    display: none;
  }
}

.about-page .article-entry .about-hero-panel {
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.98), rgba(17, 40, 67, 0.96) 54%, rgba(6, 95, 70, 0.92)),
    repeating-linear-gradient(90deg, rgba(103, 232, 249, 0.045) 0 1px, transparent 1px 42px);
}

.about-page .article-entry .about-hero-panel h2 {
  color: #fff;
}

.about-page .article-entry .about-hero-panel h2::before {
  background: linear-gradient(90deg, #67e8f9, #2563eb);
}

.about-page .article-entry .about-hero-panel p {
  color: rgba(236, 244, 255, 0.82);
}

.about-page .article-entry .about-terminal-card p {
  color: #c7d2fe;
}

@media (min-width: 1440px) {
  .home-body .container {
    width: min(1240px, calc(100vw - 6rem));
  }

  .home-body .main {
    max-width: 1240px;
  }
}

@media (max-width: 960px) {
  .post-body .site-intro-meta,
  .about-body .site-intro-meta,
  .list-body .site-intro-meta {
    width: calc(100vw - 3rem) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 3rem);
  }

  .post-body .intro-title,
  .about-body .intro-title,
  .list-body .intro-title {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .post-body .container {
    width: 100%;
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }

  .post-body .main {
    width: calc(100vw - 3rem) !important;
    max-width: calc(100vw - 3rem);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .article-entry {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 1.55rem 1rem;
    overflow-x: hidden;
  }

  .article-entry p,
  .article-entry li {
    font-size: 0.98rem;
    line-height: 1.86;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .post-body .intro-title {
    font-size: clamp(2.05rem, 11vw, 2.55rem);
    line-height: 1.1;
  }

  .article-entry img,
  .article-entry table,
  .article-entry .table-container,
  .article-entry figure.highlight {
    max-width: 100%;
  }
}

/* Final mobile overrides: placed last to beat Archer mobile defaults. */
@media (max-width: 760px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body,
  .wrapper,
  .container {
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden;
  }

  header.header {
    height: 2.65rem !important;
    border-top: 0 !important;
    background: rgba(2, 6, 23, 0.76) !important;
    backdrop-filter: blur(14px);
  }

  .home-body header.header {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    pointer-events: none;
  }

  .home-body header .header-element,
  .home-body header .header-actions,
  .home-body header .banner {
    display: none !important;
  }

  header .header-sidebar-menu,
  header .header-sidebar-menu-rounded {
    width: 2rem !important;
    height: 2rem !important;
    line-height: 2rem !important;
    border-width: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
  }

  .header-home-link {
    left: 2.9rem !important;
    min-height: 1.92rem !important;
    padding: 0 0.62rem !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(15, 23, 42, 0.42) !important;
    box-shadow: none !important;
    font-size: 0.78rem !important;
  }

  .post-body .site-intro {
    height: auto !important;
    min-height: 252px !important;
    max-height: none !important;
    padding: 4.1rem 0 1.85rem !important;
  }

  .post-body .site-intro-meta,
  .about-body .site-intro-meta,
  .list-body .site-intro-meta {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 1.1rem !important;
  }

  .post-body .intro-title {
    max-width: calc(100vw - 2.2rem) !important;
    font-size: clamp(1.62rem, 7.4vw, 2.05rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    text-wrap: balance;
  }

  .post-body .container {
    width: 100% !important;
    padding: 1.05rem 0 0 !important;
  }

  .post-body .main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.85rem !important;
    margin: 0 auto !important;
  }

  .article-entry {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 1.45rem 1.05rem !important;
    border-radius: 8px !important;
    overflow-x: hidden !important;
  }

  .article-entry p,
  .article-entry li {
    font-size: 0.98rem !important;
    line-height: 1.82 !important;
    letter-spacing: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .home-body .main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.85rem !important;
  }

  .home-hub,
  .home-feature-grid,
  .home-proof-strip,
  .home-value-grid,
  .index-post {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .home-hub > *,
  .home-hub__content,
  .home-hub__badges,
  .home-hub__actions {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .home-hub__title {
    max-width: 100% !important;
    font-size: clamp(1.48rem, 7vw, 1.9rem) !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere !important;
  }

  .home-hub__summary {
    font-size: 0.94rem !important;
    line-height: 1.72 !important;
  }

  .home-hub__badges span,
  .home-hub__actions a {
    max-width: 100%;
    white-space: normal !important;
  }

  .post-body .post-paginator {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    margin: 1rem 0 1.1rem !important;
  }

  .post-body .post-paginator li {
    min-height: auto !important;
    padding: 1rem !important;
  }

  .post-body .post-paginator .nextTitle,
  .post-body .post-paginator .prevTitle {
    font-size: 1rem !important;
    line-height: 1.46 !important;
    text-align: left !important;
  }

  .comment-lazy {
    min-height: 150px !important;
    margin: 1rem 0 1.4rem !important;
    padding: 1.1rem !important;
  }
}

/* Mobile layout guardrail: keep every primary reading surface inside the viewport. */
@media (max-width: 760px) {
  html {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  body,
  .wrapper,
  .container,
  .main,
  .index-page,
  .post-page,
  .about-page {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  .container {
    display: block !important;
    padding: 0.95rem 0 0 !important;
  }

  .main,
  .index-page,
  .post-page,
  .about-page {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  .site-intro {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    min-height: 248px !important;
    height: auto !important;
    max-height: none !important;
    padding: 4rem 0 1.7rem !important;
    overflow: hidden !important;
  }

  .site-intro-placeholder {
    width: 100% !important;
  }

  .site-intro-img {
    left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    background-position: center center !important;
  }

  .site-intro-meta {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding: 0 1.1rem !important;
    overflow: hidden !important;
  }

  .intro-title,
  .home-body .intro-title,
  .post-body .intro-title,
  .about-body .intro-title,
  .list-body .intro-title {
    width: 100% !important;
    min-width: 0 !important;
    max-width: calc(100vw - 2.2rem) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: clamp(1.72rem, 8.2vw, 2.18rem) !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    text-wrap: balance;
  }

  .intro-subtitle {
    width: 100% !important;
    max-width: calc(100vw - 2.2rem) !important;
    white-space: normal !important;
    font-size: 1.02rem !important;
    line-height: 1.5 !important;
  }

  .home-hub {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
    padding: 1.1rem !important;
    overflow: hidden !important;
  }

  .home-hub__content,
  .home-hub__badges,
  .home-hub__actions,
  .home-feature-grid,
  .home-proof-strip,
  .home-value-grid,
  .index-post {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .home-hub__visual,
  .home-terminal,
  .home-orbit,
  .home-signal {
    display: none !important;
  }

  .home-hub__title {
    font-size: clamp(1.46rem, 7.4vw, 1.88rem) !important;
    line-height: 1.23 !important;
    overflow-wrap: anywhere !important;
  }

  .home-hub__summary,
  .home-hub__eyebrow {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  .home-hub__badges,
  .home-hub__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .home-hub__badges span,
  .home-hub__actions a {
    max-width: 100% !important;
    white-space: normal !important;
  }

  .article-entry,
  .license-wrapper,
  .post-author-panel,
  .post-comment,
  .comment-lazy {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .article-entry {
    padding: 1.45rem 1.05rem !important;
  }

  .article-entry p,
  .article-entry li,
  .article-entry blockquote,
  .article-entry h2,
  .article-entry h3,
  .article-entry h4 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .article-entry p,
  .article-entry li {
    font-size: 0.98rem !important;
    line-height: 1.82 !important;
  }

  .article-entry img,
  .article-entry table,
  .article-entry .table-container,
  .article-entry figure.highlight,
  .article-entry pre {
    max-width: 100% !important;
  }

  .article-entry .table-container,
  .article-entry figure.highlight,
  .article-entry pre {
    overflow-x: auto !important;
  }

  .post-paginator {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .post-paginator li {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .post-paginator .nextTitle,
  .post-paginator .prevTitle {
    text-align: left !important;
    overflow-wrap: anywhere !important;
  }

  .footer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}
