:root {
  --qc-orange: #FF6B35;
  --qc-orange-dark: #D4501F;
  --qc-graphite: #2A2D34;
  --qc-ink: #1E2126;
  --qc-muted: #6A707A;
  --qc-line: #E2E5EA;
  --qc-bg: #F5F6F8;
  --qc-paper: #FFFFFF;
  --qc-radius: 16px;
  --qc-shadow: 0 16px 36px rgba(42, 45, 52, 0.08);
  --qc-wrap: 1140px;
  --qc-font: "Source Han Sans SC", "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --qc-display: "Source Han Serif SC", "Songti SC","SimSun","Noto Serif SC", "Songti SC", "SimSun", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--qc-font);
  color: var(--qc-ink);
  background: var(--qc-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }

.qc-wrap {
  width: min(100% - 32px, var(--qc-wrap));
  margin-inline: auto;
}

/* Header */
.qc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--qc-line);
}
.qc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.qc-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.qc-logo img { height: 42px; width: auto; }
.qc-logo-mark {
  min-width: 48px;
  height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--qc-graphite);
  display: grid;
  place-items: center;
  color: var(--qc-orange);
  box-shadow: 0 8px 16px rgba(42, 45, 52, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.35);
}
.qc-logo-mark-sm { min-width: 40px; height: 32px; }
.qc-logo-cn {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.qc-logo-text { display: flex; flex-direction: column; gap: 2px; }
.qc-logo-text strong {
  font-family: var(--qc-display);
  font-size: 17px;
}
.qc-logo-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--qc-muted);
}

.qc-nav { display: flex; align-items: center; gap: 16px; }
.qc-nav > ul { display: flex; align-items: center; gap: 2px; }
.qc-nav > ul > li { position: relative; }
.qc-nav > ul > li > a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 999px;
}
.qc-nav > ul > li.is-active > a,
.qc-nav > ul > li > a:hover {
  background: #FFF1EB;
  color: var(--qc-orange-dark);
}
.qc-subnav {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 160px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--qc-line);
  border-radius: 12px;
  box-shadow: var(--qc-shadow);
}
.qc-nav > ul > li:hover > .qc-subnav { display: block; }
.qc-subnav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
}
.qc-subnav a:hover { background: #FFF1EB; }

.qc-search {
  display: flex;
  border: 1px solid var(--qc-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qc-search input {
  border: 0;
  outline: 0;
  width: 140px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  background: transparent;
}
.qc-search button {
  border: 0;
  background: var(--qc-graphite);
  color: #fff;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.qc-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--qc-line);
  border-radius: 10px;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.qc-nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--qc-graphite);
  transition: transform .2s, opacity .2s;
}
.qc-nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 26, 0.45);
  z-index: 90;
}
body.nav-open .qc-nav-mask { display: block; }

/* Orbit hero with rings */
.qc-orbit {
  background: linear-gradient(145deg, #2A2D34 0%, #1E2126 55%, #2F333B 100%);
  color: #fff;
  padding: 56px 0 64px;
  overflow: hidden;
}
.qc-orbit-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.qc-rings {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.qc-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 53, 0.22);
  animation: qcPulse 6s ease-in-out infinite;
}
.qc-ring-1 { inset: 12%; animation-delay: 0s; border-color: rgba(255, 107, 53, 0.45); }
.qc-ring-2 { inset: 26%; animation-delay: -2s; border-color: rgba(255, 255, 255, 0.18); }
.qc-ring-3 { inset: 40%; animation-delay: -4s; border-color: rgba(255, 107, 53, 0.28); }
.qc-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--qc-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 10px rgba(255, 107, 53, 0.18);
}
@keyframes qcPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.03); opacity: 1; }
}

.qc-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--qc-orange);
  font-weight: 700;
}
.qc-orbit-copy h1 {
  font-family: var(--qc-display);
  font-size: clamp(28px, 4.2vw, 40px);
  margin-bottom: 14px;
}
.qc-orbit-desc {
  margin: 0 0 24px;
  max-width: 460px;
  opacity: 0.86;
  font-size: 15px;
}
.qc-orbit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.qc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, background .2s, border-color .2s;
}
.qc-btn:hover { transform: translateY(-1px); }
.qc-btn-primary {
  background: var(--qc-orange);
  color: #fff;
}
.qc-btn-primary:hover { background: var(--qc-orange-dark); }
.qc-btn-ghost {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
}
.qc-btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Layer chips */
.qc-layers {
  margin-top: -24px;
  position: relative;
  z-index: 2;
}
.qc-layers-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.qc-layers a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--qc-line);
  border-radius: 14px;
  box-shadow: var(--qc-shadow);
  transition: transform .2s, border-color .2s;
}
.qc-layers a:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--qc-orange) 40%, var(--qc-line));
}
.qc-layers em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--qc-orange);
  font-weight: 800;
}
.qc-layers strong {
  font-family: var(--qc-display);
  font-size: 18px;
}

.qc-home-body {
  padding: 36px 0 56px;
  display: grid;
  gap: 24px;
}
.qc-block {
  background: var(--qc-paper);
  border: 1px solid var(--qc-line);
  border-radius: var(--qc-radius);
  padding: 24px;
  box-shadow: var(--qc-shadow);
}
.qc-section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.qc-eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--qc-orange);
  font-weight: 700;
}
.qc-section-hd h2 {
  font-family: var(--qc-display);
  font-size: 24px;
}
.qc-more {
  font-size: 13px;
  color: var(--qc-graphite);
  font-weight: 600;
}
.qc-more:hover { color: var(--qc-orange); }

/* Horizontal orbit rail */
.qc-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.qc-rail-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, #FFF7F3, #fff);
  border: 1px solid var(--qc-line);
  min-height: 170px;
  transition: transform .2s, border-color .2s;
}
.qc-rail-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--qc-orange) 40%, var(--qc-line));
}
.qc-rail-card time {
  font-size: 12px;
  font-weight: 800;
  color: var(--qc-orange);
}
.qc-rail-card h3 { font-size: 16px; }
.qc-rail-card p {
  margin: 0;
  font-size: 13px;
  color: var(--qc-muted);
  flex: 1;
}

/* Stack: observe + links */
.qc-stack {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}
.qc-observe { counter-reset: qcob; display: grid; gap: 10px; }
.qc-observe li { counter-increment: qcob; }
.qc-observe a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #F7F8FA;
  border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.qc-observe a:hover {
  background: #fff;
  border-color: var(--qc-line);
}
.qc-badge::before {
  content: counter(qcob, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFF1EB;
  color: var(--qc-orange);
  font-size: 12px;
  font-weight: 800;
}
.qc-observe li:nth-child(-n+2) .qc-badge::before {
  background: var(--qc-orange);
  color: #fff;
}
.qc-observe h3 { font-size: 15px; margin-bottom: 6px; }
.qc-observe p { margin: 0 0 8px; font-size: 13px; color: var(--qc-muted); }
.qc-observe time { font-size: 12px; color: var(--qc-muted); }

.qc-link-panel {
  background: linear-gradient(165deg, #2A2D34, #1E2126);
  color: #fff;
  border-color: transparent;
}
.qc-link-panel .qc-eyebrow { color: var(--qc-orange); }
.qc-link-panel .qc-more { color: rgba(255,255,255,.85); }
.qc-links { display: grid; gap: 10px; }
.qc-links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 3px solid var(--qc-orange);
}
.qc-links a:hover { background: rgba(255,255,255,.1); }
.qc-links h3 { font-size: 15px; }
.qc-links p { margin: 0; font-size: 13px; opacity: 0.78; }
.qc-links time { font-size: 12px; opacity: 0.55; }

/* Inner */
.qc-crumb {
  background: #fff;
  border-bottom: 1px solid var(--qc-line);
  padding: 12px 0;
  font-size: 13px;
  color: var(--qc-muted);
}
.qc-crumb a:hover { color: var(--qc-orange); }
.qc-crumb span { margin: 0 6px; opacity: 0.5; }

.qc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 28px 0 56px;
  align-items: start;
}
.qc-panel {
  background: #fff;
  border: 1px solid var(--qc-line);
  border-radius: var(--qc-radius);
  padding: 22px;
  box-shadow: var(--qc-shadow);
}
.qc-panel-hd {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid color-mix(in srgb, var(--qc-orange) 40%, var(--qc-line));
}
.qc-panel-hd h3 {
  font-family: var(--qc-display);
  font-size: 17px;
}
.qc-page-title {
  font-family: var(--qc-display);
  font-size: 26px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--qc-line);
}

.qc-article-list { display: grid; gap: 14px; }
.qc-article-list li a {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--qc-line);
  transition: border-color .2s, box-shadow .2s;
}
.qc-article-list li a:hover {
  border-color: color-mix(in srgb, var(--qc-orange) 35%, var(--qc-line));
  box-shadow: 0 10px 22px rgba(42, 45, 52, 0.08);
}
.qc-article-list img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  background: #FFF1EB;
}
.qc-article-list h2 { font-size: 18px; margin-bottom: 8px; }
.qc-article-list p { margin: 0 0 10px; color: var(--qc-muted); font-size: 14px; }
.qc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--qc-muted);
}
.qc-meta.center { justify-content: center; margin: 12px 0 22px; }
.qc-empty { padding: 40px 16px; text-align: center; color: var(--qc-muted); }

.qc-detail h1 {
  font-family: var(--qc-display);
  font-size: clamp(24px, 3vw, 32px);
  text-align: center;
}
.qc-richtext { font-size: 16px; line-height: 1.9; color: #2A2E34; }
.qc-richtext p { margin: 0 0 1em; }
.qc-richtext img { margin: 1em auto; border-radius: 8px; }
.qc-pagerow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--qc-line);
  font-size: 14px;
}
.qc-pagerow a:hover { color: var(--qc-orange); }

.qc-rank { counter-reset: qcrank; display: grid; gap: 10px; }
.qc-rank li {
  counter-increment: qcrank;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}
.qc-rank li::before {
  content: counter(qcrank);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: #FFF1EB;
  color: var(--qc-orange);
}
.qc-rank li:nth-child(-n+3)::before {
  background: var(--qc-orange);
  color: #fff;
}
.qc-rank a { font-size: 14px; }
.qc-rank a:hover { color: var(--qc-orange); }

.qc-side-list { display: grid; gap: 10px; }
.qc-side-list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px dashed var(--qc-line);
  font-size: 14px;
}
.qc-side-list a:hover { color: var(--qc-orange); }
.qc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.qc-tags a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #FFF1EB;
  color: var(--qc-orange-dark);
  font-size: 12px;
}
.qc-tags a:hover { background: var(--qc-orange); color: #fff; }
.qc-ad { font-size: 14px; color: var(--qc-muted); line-height: 1.7; }

.qc-pagination { margin-top: 22px; }
.qc-page {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.qc-page a, .qc-page .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--qc-line);
  background: #fff;
  font-size: 13px;
}
.qc-page .active a,
.qc-page a:hover {
  background: var(--qc-orange);
  border-color: var(--qc-orange);
  color: #fff;
}

/* Footer */
.qc-footer {
  background: #1E2126;
  color: rgba(255,255,255,.84);
  padding: 48px 0 28px;
  margin-top: 12px;
}
.qc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.qc-foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.qc-foot-brand h3 {
  font-family: var(--qc-display);
  font-size: 18px;
  color: #fff;
}
.qc-footer h4 { margin-bottom: 12px; color: #fff; font-size: 15px; }
.qc-footer p { margin: 0 0 8px; font-size: 14px; opacity: 0.85; }
.qc-foot-links { display: grid; gap: 8px; }
.qc-foot-links a { font-size: 14px; opacity: 0.85; }
.qc-foot-links a:hover { opacity: 1; color: var(--qc-orange); }
.qc-friendlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
}
.qc-friendlinks a:hover { color: var(--qc-orange); }
.qc-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  opacity: 0.7;
}
.qc-copy a { color: inherit; }

@media (max-width: 960px) {
  .qc-orbit-inner,
  .qc-layers-row,
  .qc-stack,
  .qc-layout { grid-template-columns: 1fr; }
  .qc-layers-row { grid-template-columns: 1fr 1fr; }
  .qc-footer-grid { grid-template-columns: 1fr; }
  .qc-article-list li a { grid-template-columns: 120px 1fr; }
}

@media (max-width: 768px) {
  .qc-nav-toggle { display: inline-flex; }
  .qc-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 320px);
    height: 100vh;
    z-index: 110;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 72px 18px 24px;
    gap: 16px;
    transform: translateX(105%);
    transition: transform .25s ease;
    box-shadow: -12px 0 30px rgba(0,0,0,.12);
  }
  .qc-nav.is-open { transform: translateX(0); }
  .qc-nav > ul { flex-direction: column; align-items: stretch; }
  .qc-subnav {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 4px 12px;
  }
  .qc-nav > ul > li.is-open > .qc-subnav { display: block; }
  .qc-search { width: 100%; }
  .qc-search input { width: 100%; flex: 1; }
  .qc-layers-row { grid-template-columns: 1fr; }
  .qc-article-list li a { grid-template-columns: 1fr; }
  .qc-article-list img { height: 160px; }
  .qc-pagerow { flex-direction: column; }
  body.nav-open { overflow: hidden; }
  body.nav-open .qc-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .qc-nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .qc-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
