@charset "UTF-8";
/* ==========================================================================
   a03镜像网页 — Pico CSS 主题层
   布局/卡片/折叠/按钮/栅格优先使用 Pico v2，
   这里只保留品牌色、Hero、汉堡菜单、回顶等 Pico 没有的部分。
   ========================================================================== */

:root[data-theme="light"] {
  --brand-yellow: #ffcd00;
  --pink: #ffd9e4;
  --pale-yellow: #fef7d9;
  --pink-wash: #fff7fa;
  --cream-wash: #fffdf6;
  --line: #f1e4ea;
  --ink-strong: #1f1f1f;
  --pico-primary: #b23a63;
  --pico-primary-background: #b23a63;
  --pico-primary-hover: #93294e;
  --pico-primary-hover-background: #93294e;
  --pico-primary-focus: rgba(178, 58, 99, 0.28);
  --pico-primary-inverse: #fff;
  --pico-border-radius: 1rem;
  --pico-card-background-color: #fff;
  --pico-card-border-color: var(--line);
  --pico-card-sectioning-background-color: #fff;
  --pico-card-box-shadow: 0 1px 4px rgba(220, 154, 208, 0.3);
  --pico-muted-border-color: var(--line);
  --pico-muted-color: #6d5a61;
  --pico-color: #333;
  --pico-background-color: #fff;
}

/* 基础排版 */
body {
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-strong);
}

body > main { padding-block: 0; }
body > footer { padding-block: 0; }
section { margin-bottom: 0; }

.container {
  max-width: 1140px;
  padding-right: 1rem;
  padding-left: 1rem;
}

[id] { scroll-margin-top: 80px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 30;
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 0;
  background: #fff;
  color: var(--ink-strong);
  box-shadow: 0 6px 18px rgba(90, 60, 75, 0.18);
}

.skip-link:focus { left: 0; }

.text-center { text-align: center; }

.section { padding: 3rem 0; }
.section-pink { padding: 3rem 0; background: var(--pink-wash); }
.section-cream { padding: 3rem 0; background: var(--cream-wash); }

.section-desc {
  max-width: 760px;
  margin-bottom: 1.5rem;
  color: #5c5c5c;
}
/* FAQ 折叠卡片（Pico details + 轻量外壳） */
.faq details {
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.faq summary {
  padding: 1rem 0;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-strong);
}

.faq summary:hover { color: var(--pico-primary); }

.faq details[open] summary { padding-bottom: 0.5rem; }

.faq details p {
  margin: 0 0 1rem;
  color: #4a4a4a;
  font-size: 14.5px;
  line-height: 1.85;
}

/* 常用词 dl：去掉 Pico 默认缩进，保留语义列表 */
.terms { margin: 0; }

.terms dt {
  margin: 1.1rem 0 0.2rem;
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 600;
}

.terms dt:first-child { margin-top: 0; }

.terms dt small {
  margin-left: 0.35rem;
  color: #9c6077;
  font-weight: 400;
}

.terms dd {
  margin: 0;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.8;
}

/* Pico 栅格间距 */
.grid {
  --pico-grid-column-gap: 2rem;
  --pico-grid-row-gap: 2rem;
  align-items: start;
}

.grid > article { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   导航与移动端汉堡菜单
   -------------------------------------------------------------------------- */
nav.container {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--ink-strong);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.brand:hover { color: var(--pico-primary); }

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 9px;
  background: var(--pink);
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand-yellow);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-strong);
  cursor: pointer;
}

.nav-toggle-box {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.2s, transform 0.2s, opacity 0.2s;
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; }
.nav-toggle-box span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

nav.container ul.nav-links {
  margin-left: 0;
  margin-right: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: #3d3d3d;
  font-size: 15px;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--pink-wash);
  color: var(--pico-primary);
}

.nav-links a[aria-current="page"] {
  background: #fff0f5;
  color: var(--pico-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  padding: 2.75rem;
  border-radius: 24px;
  background: var(--pink);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -110px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: var(--pale-yellow);
}

.hero::after {
  bottom: -130px;
  left: -90px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.5);
}

.hero > .grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #1a1a1a;
}

.hero .lead {
  max-width: 560px;
  margin-bottom: 1.5rem;
  font-size: 17px;
  line-height: 1.9;
  color: #3c2f34;
}

.hero-art { text-align: center; }
.hero-art svg { max-width: 360px; height: auto; }

.btn-brand {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #000;
  font-weight: 600;
}

.btn-brand:hover {
  background: #eebf00;
  border-color: #d9ae00;
  color: #000;
}

/* --------------------------------------------------------------------------
   镜像卡片
   -------------------------------------------------------------------------- */
.mirror-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.mirror-card {
  margin-bottom: 0;
  transition: transform 0.25s, box-shadow 0.25s;
}

.mirror-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(199, 120, 170, 0.35);
}

.mirror-card > header h3 {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  word-break: break-word;
}

.mirror-url {
  margin: 0;
  color: #6d6d6d;
  font-size: 12.5px;
  word-break: break-all;
}

.mirror-card > footer [role="button"] {
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #fff0f5;
  color: #a63a60;
  font-size: 11px;
  line-height: 1.7;
}

.tag-primary { background: #eef8f1; color: #38704f; }
.tag-warning { background: var(--pale-yellow); color: #7d621a; }

.mirror-card .tag + .tag { margin-left: 0.25rem; }

/* --------------------------------------------------------------------------
   时间线与提示（Pico 没有对应组件）
   -------------------------------------------------------------------------- */
.timeline {
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid #ffe0ea;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-bottom: 1.25rem;
  list-style: none;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: -1.55rem;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 1px #ffd9e4;
}

.timeline time {
  display: block;
  color: #8a5f70;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.timeline p {
  margin: 0.2rem 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #3f3f3f;
}

.callout {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #f6e8c8;
  border-radius: 12px;
  background: var(--cream-wash);
  font-size: 14.5px;
  line-height: 1.85;
  color: #4a3d20;
}

.callout p:last-child { margin-bottom: 0; }

.callout a {
  color: inherit;
  text-decoration: underline;
}

.callout-info {
  border-color: #cfe8f7;
  background: #f0f8fe;
  color: #2b6489;
}

.callout-danger {
  border-color: #ffd3e1;
  background: #fff0f5;
  color: #8a2f4b;
}

.callout ul { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   内页
   -------------------------------------------------------------------------- */
.breadcrumb {
  margin: 1rem 0 0;
  font-size: 13px;
  color: #6d5a61;
}

.breadcrumb a { color: #6d5a61; }

.page-hero {
  margin: 1rem 0 2rem;
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--pink-wash);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 36px;
}

.page-hero .lead {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #4a3a40;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 1rem;
}

.toc {
  position: sticky;
  top: 5rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffafb;
}

.toc h2 {
  margin: 0 0 0.75rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9c6077;
}

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

.toc li {
  border-top: 1px dashed var(--line);
  list-style: none;
}

.toc li:first-child { border-top: 0; }

.toc a {
  display: block;
  padding: 0.45rem 0;
  color: #4a4a4a;
  font-size: 14px;
  text-decoration: none;
}

.toc a:hover { color: var(--pico-primary); }

/* --------------------------------------------------------------------------
   中转页
   -------------------------------------------------------------------------- */
.go-wrap { padding: 2rem 0; }

.go-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem;
  text-align: center;
}

.go-card h1 {
  margin: 0.75rem 0 1rem;
  font-size: 32px;
}

.go-target {
  margin-bottom: 1.25rem;
  border-color: var(--line);
  background: #fffafb;
  text-align: left;
}

.go-domain {
  margin: 0 0 0.75rem;
  font-size: 24px;
  word-break: break-all;
}

.go-url {
  display: block;
  padding: 0.6rem 0.75rem;
  border: 1px solid #f2e6eb;
  border-radius: 8px;
  background: #fff;
  color: #6d6d6d;
  font-size: 12.5px;
  word-break: break-all;
}

.go-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.go-actions [role="button"] { min-width: 140px; }

.go-error { display: none; text-align: left; }

.is-invalid .go-error { display: block; }

.is-invalid .go-target,
.is-invalid #go-continue { display: none; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-code {
  margin: 0;
  font-size: 100px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--pico-primary);
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
body > footer {
  margin-top: 3rem;
  padding-block: 1rem;
  border-top: 1px solid #f7e3ea;
  background: #fff6f9;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  color: #6f5a62;
  font-size: 12.5px;
}

.footer-inner a { color: #4a3a40; }

/* --------------------------------------------------------------------------
   回到顶部
   -------------------------------------------------------------------------- */
a.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #e7cfd9;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px -12px rgba(120, 60, 90, 0.6);
  color: var(--ink-strong);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s,
    background-color 0.25s, color 0.25s;
}

a.back-to-top svg {
  display: block;
  width: 18px;
  height: 18px;
}

a.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

a.back-to-top:hover,
a.back-to-top:focus {
  background: var(--ink-strong);
  color: #fff;
}

/* --------------------------------------------------------------------------
   小屏
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .hero h1 { font-size: 44px; }
}

@media (max-width: 991px) {
  .hero h1 { font-size: 40px; }
  .hero-art { display: none; }
  .layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .mirror-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .js .nav-toggle { display: inline-flex; }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.4rem 0 0.25rem;
    border-top: 1px solid var(--line);
  }

  .js .nav-links { display: none; }

  .js .nav-links.is-open { display: flex; }

  .nav-links a { padding: 0.7rem 0.5rem; }

  [id] { scroll-margin-top: 84px; }

  .hero { padding: 1.75rem; border-radius: 18px; }
  .hero h1 { font-size: 31px; }
  .hero .lead { font-size: 15.5px; }
  .page-hero { padding: 1.5rem 1.25rem; }
  .page-hero h1 { font-size: 24px; }
  .mirror-grid { grid-template-columns: 1fr; }
  .go-card { padding: 1.5rem 1.25rem; }
  .go-card h1 { font-size: 24px; }
  .go-domain { font-size: 20px; }
  .go-actions { flex-direction: column; }
  .go-actions [role="button"] { width: 100%; }
  .error-code { font-size: 76px; }
  .section, .section-pink, .section-cream { padding: 2.25rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
