/* Shared content pages: guide / FAQ / legal. */
body {
  margin: 0;
  background: #fffdfb;
  color: var(--xr-ink);
  font-family: var(--xr-font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.content-hero {
  padding: 66px 0 44px;
  background:
    radial-gradient(560px 300px at 84% 8%, rgba(255, 90, 31, 0.12), transparent 70%),
    #fffaf5;
  border-bottom: 1px solid #eee7de;
}
.content-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 850;
}
.content-hero .home-kicker {
  margin: 0 0 14px;
  color: var(--xr-orange-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.content-hero h1 em {
  color: var(--xr-orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
.content-hero p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #5f6571;
  font-size: 16px;
  line-height: 1.8;
}

/* 教学视频：放在 hero 之后、详细文字之前 */
.content-video {
  padding: 42px 0 18px;
  background:
    radial-gradient(680px 360px at 18% 12%, rgba(255, 90, 31, .12), transparent 70%),
    radial-gradient(760px 380px at 86% 0%, rgba(255, 90, 31, .18), transparent 68%),
    radial-gradient(520px 300px at 8% 100%, rgba(255, 90, 31, .08), transparent 72%),
    #fff8f2;
  border-bottom: 1px solid #eee7de;
}
.content-video-inner {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.content-video-copy .home-kicker {
  margin: 0 0 12px;
  color: var(--xr-orange-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.content-video-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.content-video-copy > p {
  margin: 14px 0 0;
  color: #5f6571;
  font-size: 14px;
  line-height: 1.8;
}
.content-video-facts {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #4f5561;
  font-size: 12.5px;
}
.content-video-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-video-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 999px;
  background: var(--xr-orange);
}
.content-video-frame { margin: 0; }
.content-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 720;
  border: 1px solid #e2d6c9;
  border-radius: 16px;
  background: #0c0f14;
  box-shadow: 0 24px 60px -36px rgba(48, 28, 15, .55);
}
.content-video figcaption {
  margin: 9px 2px 0;
  color: #8b8177;
  font-size: 11.5px;
  line-height: 1.5;
}
.content-video-fallback {
  margin: 8px 2px 0 !important;
  font-size: 12px !important;
}
@media (max-width: 860px) {
  .content-video { padding: 30px 0 12px; }
  .content-video-inner { grid-template-columns: 1fr; gap: 18px; }
  .content-video-copy h2 { font-size: 25px; }
  .content-video-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .content-video-facts { grid-template-columns: 1fr; }
}
.content-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  padding: 52px 0 40px;
  align-items: start;
}
.content-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #eee7de;
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
}
.content-toc strong { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #988d81; margin-bottom: 4px; }
.content-toc a { color: #4e5562; text-decoration: none; padding: 5px 0; }
.content-toc a:hover { color: var(--xr-orange-dark); }
.content-body { min-width: 0; max-width: 780px; }
.content-body h2 {
  margin: 42px 0 14px;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { margin: 26px 0 8px; font-size: 17px; }
.content-body p { margin: 12px 0; color: #4f5561; font-size: 14px; }
.content-body ul, .content-body ol { margin: 12px 0; padding-left: 22px; color: #4f5561; font-size: 14px; }
.content-body li { margin: 7px 0; }
.content-body a { color: var(--xr-orange-dark); font-weight: 650; }
.content-body code {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  background: #f6f0e9;
  border: 1px solid #ece2d7;
  border-radius: 5px;
  padding: 1px 5px;
}
.content-body strong { color: #262b35; }
.content-note {
  margin: 20px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--xr-orange);
  background: #fff7f0;
  border-radius: 0 8px 8px 0;
  color: #5c554c;
  font-size: 13px;
}
.content-steps { display: grid; gap: 14px; margin: 18px 0; }
.content-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid #ebe3da;
  border-radius: 12px;
  background: #fff;
}
.content-step-no {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--xr-orange-soft);
  color: var(--xr-orange-dark);
  font-size: 12px;
  font-weight: 900;
}
.content-step h3 { margin: 2px 0 4px; font-size: 15px; }
.content-step p { margin: 0; font-size: 13px; }
.content-faq { border-top: 1px solid #e9e1d8; margin-top: 8px; }
.content-faq details { border-bottom: 1px solid #e9e1d8; }
.content-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 30px 16px 0;
  position: relative;
  font-size: 14px;
  font-weight: 750;
  color: #242833;
}
.content-faq summary::-webkit-details-marker { display: none; }
.content-faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; color: var(--xr-orange); font-size: 20px; line-height: 1; }
.content-faq details[open] summary::after { content: "−"; }
.content-faq p { margin: 0 0 16px; font-size: 13px; }
.content-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.content-card { border: 1px solid #ebe3da; border-radius: 12px; padding: 18px; background: #fff; }
.content-card h3 { margin: 0 0 6px; font-size: 14px; }
.content-card p { margin: 0; font-size: 13px; }
.content-cta {
  margin: 36px 0 0;
  padding: 24px;
  border-radius: 14px;
  background: var(--xr-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.content-cta p { margin: 0; color: #dbe0ee; font-size: 14px; }
.content-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--xr-orange);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.content-meta { color: #8b8177; font-size: 12px; margin: 0 0 18px; }
.content-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
.content-body th, .content-body td { border: 1px solid #e9e1d8; padding: 9px 11px; text-align: left; }
.content-body th { background: #faf6f1; }

@media (max-width: 860px) {
  .content-wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .content-toc { position: static; }
  .content-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .content-hero { padding: 44px 0 32px; }
  .content-body h2 { font-size: 23px; }
}

/* 使用位置说明 */
.content-use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.content-use-card {
  padding: 20px;
  border: 1px solid #ebe3da;
  border-radius: 14px;
  background: #fffdfb;
}
.content-use-card.is-required {
  border-color: #ffd4bd;
  background: #fff7ef;
  box-shadow: 0 10px 24px -24px rgba(180, 78, 30, .55);
}
.content-use-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f2ebe4;
  color: #76695d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
.content-use-card.is-required .content-use-badge {
  background: #ffe7d9;
  color: #a44718;
}
.content-use-card h3 { margin: 13px 0 7px; font-size: 16px; line-height: 1.35; }
.content-use-card p { margin: 0; color: #5d6470; font-size: 13px; line-height: 1.7; }
.content-use-card.is-required h3 { color: #7f3516; }
@media (max-width: 860px) {
  .content-use-grid { grid-template-columns: 1fr; }
}