@charset "UTF-8";
/* ==========================================================================
   凹3镜像链接 · AO3 国内镜像导航
   Design system inspired by MEGA Blog (Poppins / Inter, #dd1405, #04101e)
   Pure CSS3 · No framework · No external requests
   --------------------------------------------------------------------------
   0.  Tokens
   1.  Reset & base
   2.  Typography
   3.  Layout
   4.  Buttons
   5.  Badges / pills / meta
   6.  Cards
   7.  Header & navigation
   8.  Hero
   9.  Modules (stats, steps, timeline, tags, faq, table, ads)
   10. Jump (intermediate) page
   11. Footer
   12. Utilities
   13. Responsive
   14. Motion / print / a11y
   ========================================================================== */

/* ------------------------------------------------------------------ 0. Tokens */
:root {
  --c-red: #dd1405;
  --c-red-hover: #b51004;
  --c-red-active: #8e2114;
  --c-dark: #04101e;
  --c-dark-hover: #030d17;
  --c-bg: #ffffff;
  --c-surface-light: #ededee;
  --c-surface-tint: #f9f9fb;
  --c-dark-surface: #1f2834;
  --c-text: #333333;
  --c-muted: #6e6e6e;
  --c-inverse: #f8f8f9;
  --c-border: #d7d8d9;
  --c-border-light: #d4d4d4;
  --c-cobalt: #002267;
  --c-disabled: #b5b7bc;

  --c-ok: #0f8a4d;
  --c-ok-soft: #e6f6ed;
  --c-warn: #b26a00;
  --c-warn-soft: #fdf3e2;
  --c-bad: #c0392b;
  --c-bad-soft: #fdecea;
  --c-info: #0b5ca8;
  --c-info-soft: #e8f1fb;

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;

  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;

  --sh-card: 0 2px 4px rgba(0, 0, 0, .08);
  --sh-hover: 0 4px 8px rgba(0, 0, 0, .12);
  --sh-natural: 6px 6px 9px rgba(0, 0, 0, .2);
  --sh-deep: 12px 12px 50px rgba(0, 0, 0, .4);

  --dur-fast: 50ms;
  --dur: 200ms;
  --ease: ease-in-out;

  --font-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei',
    'Source Han Sans SC', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei',
    'Source Han Sans SC', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei', sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  --header-h: 68px;
  --container: 1280px;
  --z-header: 10;
  --z-drawer: 40;
  --z-overlay: 30;
  --z-top: 50;
}

html[data-theme='dark'] {
  --c-bg: #0b1622;
  --c-surface-light: #16212e;
  --c-surface-tint: #101b28;
  --c-text: #dfe4ea;
  --c-muted: #9aa5b1;
  --c-border: #2b3746;
  --c-border-light: #2b3746;
  --c-dark: #f2f5f8;
  --c-dark-hover: #ffffff;
  --c-inverse: #0b1622;
  --c-ok-soft: #10281d;
  --c-warn-soft: #2b2213;
  --c-bad-soft: #2c1614;
  --c-info-soft: #10202f;
  --sh-card: 0 2px 4px rgba(0, 0, 0, .4);
  --sh-hover: 0 4px 10px rgba(0, 0, 0, .5);
}

/* ------------------------------------------------------- 1. Reset & base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--sp-10) 0; }
::selection { background: rgba(221, 20, 5, .16); }

:focus-visible {
  outline: 2px solid var(--c-dark);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--c-dark); color: var(--c-inverse);
  padding: var(--sp-3) var(--sp-5); border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------- 2. Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--c-dark);
  margin: 0 0 var(--sp-4);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: 40px; line-height: 1.22; }
h2 { font-size: 24px; }
h3 { font-family: var(--font-body); font-size: 20px; font-weight: 600; line-height: 1.4; }
h4 { font-family: var(--font-body); font-size: 17px; font-weight: 600; }
h5 { font-family: var(--font-body); font-size: 15px; font-weight: 600; }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
small { font-size: 12px; }
strong, b { font-weight: 600; color: var(--c-dark); }
abbr[title] { text-decoration: underline dotted; cursor: help; }
code, kbd, samp { font-family: var(--font-mono); font-size: .92em; }
:not(pre) > code {
  background: var(--c-surface-light); padding: 2px 6px;
  border-radius: var(--r-sm); color: var(--c-dark);
}
.display { font-size: 60px; line-height: 1.2; font-weight: 700; }

.lead { font-size: 18px; line-height: 1.75; color: var(--c-text); }
.caption { font-size: 14px; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.small { font-size: 12px; }

/* ------------------------------------------------------------- 3. Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}
.container-narrow { max-width: 860px; }

.section { padding-block: var(--sp-16); }
.section--tight { padding-block: var(--sp-12); }
.section--tint { background: var(--c-surface-tint); }
.section--light { background: var(--c-surface-light); }
.section--dark { background: var(--c-dark); color: var(--c-inverse); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .muted, .section--dark .caption { color: #b9c0cb; }

.section-head { margin-bottom: var(--sp-8); max-width: 820px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-red); margin-bottom: var(--sp-2);
}
.section-head h2 { font-size: 28px; margin-bottom: var(--sp-3); }
.section-head p { color: var(--c-muted); font-size: 16px; }

.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2-1 { grid-template-columns: 2fr 1fr; }
.grid-1-2 { grid-template-columns: 1fr 2fr; }
.grid--gap-sm { gap: var(--sp-4); }
.grid--gap-lg { gap: var(--sp-8); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-6 > * + * { margin-top: var(--sp-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.cluster--center { justify-content: center; }
.between { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between; }

/* ------------------------------------------------------------ 4. Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.2;
  padding: 12px 24px; min-height: 44px;
  border: 1px solid transparent; border-radius: var(--r-md);
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background-color: var(--c-red); color: #fff; }
.btn-primary:hover { background-color: var(--c-red-hover); color: #fff; }
.btn-primary:active { background-color: var(--c-red-active); }

.btn-secondary { background-color: var(--c-dark); color: var(--c-inverse); }
html[data-theme='dark'] .btn-secondary { color: #06101c; }
.btn-secondary:hover { background-color: var(--c-dark-hover); }
html[data-theme='dark'] .btn-secondary:hover { color: #06101c; }

.btn-ghost {
  background-color: transparent; color: var(--c-dark);
  border-color: var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-dark); color: var(--c-red-hover); }

/* 红字 + 白底 + 红边框（卡片「前往访问」使用） */
.btn-outline-red {
  background-color: var(--c-bg);
  color: var(--c-red);
  border-color: var(--c-red);
}
.btn-outline-red:hover { background-color: var(--c-red); color: #fff; }
.btn-outline-red:active { background-color: var(--c-red-active); border-color: var(--c-red-active); color: #fff; }

.btn-sm { font-size: 14px; padding: 8px 16px; min-height: 38px; border-radius: var(--r-sm); }
.btn-lg { font-size: 17px; padding: 15px 32px; min-height: 52px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { background-color: var(--c-disabled); color: #fff; cursor: not-allowed; opacity: .7; transform: none; }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--c-border); color: var(--c-dark);
  cursor: pointer; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn-icon:hover { border-color: var(--c-dark); color: var(--c-red); }

/* --------------------------------------------------- 5. Badges / pills */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; line-height: 1;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--c-surface-light); color: var(--c-dark);
  white-space: nowrap;
}
.badge-red { background: rgba(221, 20, 5, .1); color: var(--c-red-active); }
.badge-dark { background: var(--c-dark); color: var(--c-inverse); }
html[data-theme='dark'] .badge-dark { color: #06101c; }
.badge-ok { background: var(--c-ok-soft); color: var(--c-ok); }
.badge-warn { background: var(--c-warn-soft); color: var(--c-warn); }
.badge-bad { background: var(--c-bad-soft); color: var(--c-bad); }
.badge-info { background: var(--c-info-soft); color: var(--c-info); }
.badge-outline { background: transparent; border: 1px solid var(--c-border); color: var(--c-dark); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-muted); flex: 0 0 auto; }
.dot--ok { background: var(--c-ok); box-shadow: 0 0 0 3px rgba(15, 138, 77, .18); }
.dot--warn { background: var(--c-warn); box-shadow: 0 0 0 3px rgba(178, 106, 0, .18); }
.dot--bad { background: var(--c-bad); box-shadow: 0 0 0 3px rgba(192, 57, 43, .18); }
.dot--checking { background: var(--c-info); animation: pulse 1s var(--ease) infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes shimmer {
  0% { background-position: -420px 0; }
  100% { background-position: 420px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--c-surface-light) 25%, var(--c-surface-tint) 37%, var(--c-surface-light) 63%);
  background-size: 840px 100%;
  animation: shimmer 1.2s linear infinite;
  border-radius: var(--r-sm); color: transparent;
}

.meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  font-size: 14px; color: var(--c-muted);
}
.meta li { display: inline-flex; align-items: center; gap: 6px; list-style: none; }

/* -------------------------------------------------------------- 6. Cards */
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-card);
  padding: var(--sp-6);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card--flat { box-shadow: none; }
.card--hover:hover { box-shadow: var(--sh-hover); transform: translateY(-2px); border-color: transparent; }
.card--pad-sm { padding: var(--sp-4); }
.card--pad-lg { padding: var(--sp-8); }
.card__kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-red); margin-bottom: var(--sp-2);
}
.card__title { font-size: 20px; font-weight: 600; line-height: 1.35; margin: 0 0 var(--sp-2); font-family: var(--font-body); color: var(--c-dark); }
.card__title a { color: inherit; text-decoration: none; }
.card--hover:hover .card__title a { color: var(--c-red); }
.card__text { color: var(--c-muted); font-size: 15px; margin: 0; }
.card__foot { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--c-border); }

.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: rgba(221, 20, 5, .09); color: var(--c-red);
  flex: 0 0 auto; margin-bottom: var(--sp-4);
}
.icon-box svg { width: 22px; height: 22px; }
.icon-box--dark { background: rgba(4, 16, 30, .08); color: var(--c-dark); }
html[data-theme='dark'] .icon-box--dark { background: rgba(255, 255, 255, .1); }

/* --------------------------------------------------- 7. Header & nav */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-surface-light);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-card); }
.header-inner {
  display: flex; align-items: center; gap: var(--sp-6);
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-dark); letter-spacing: -.02em; }
.brand__sub { font-size: 11px; color: var(--c-muted); letter-spacing: .06em; }

.main-nav { display: flex; align-items: center; gap: var(--sp-1); margin-left: var(--sp-4); }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--c-dark); text-decoration: none;
  padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--c-red-hover); background: var(--c-surface-tint); }
.nav-link:active { color: var(--c-red-active); }
.nav-link.active, .nav-link[aria-current='page'] { color: var(--c-red); font-weight: 600; }

.header-tools { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }

.nav-toggle { display: none; }

.mobile-drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-drawer);
  background: var(--c-bg); border-top: 1px solid var(--c-border);
  padding: var(--sp-6) var(--sp-6) var(--sp-16);
  overflow-y: auto; transform: translateX(100%); visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.mobile-drawer nav { display: flex; flex-direction: column; }
.mobile-drawer .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--c-surface-light); border-radius: 0; font-size: 16px; }
.mobile-drawer .drawer-group-title {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-muted); margin: var(--sp-6) 0 var(--sp-2);
}
body.drawer-open { overflow: hidden; }

/* --------------------------------------------------------------- 8. Hero */
.hero {
  position: relative; overflow: hidden;
  padding: var(--sp-16) 0 var(--sp-12);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(221, 20, 5, .10), transparent 62%),
    radial-gradient(700px 380px at 4% 8%, rgba(4, 16, 30, .07), transparent 60%),
    var(--c-bg);
}
/* 首页 hero 已改为单列（右侧「编辑优选」面板已移除）。
   h1 限宽是为了保持约两行的阅读节奏：容器仍与页头/下方区块同宽，左边缘保持对齐。 */
.hero h1 { font-size: 44px; margin-bottom: var(--sp-5); max-width: 760px; }
.hero h1 .accent { color: var(--c-red); }
.hero__lead { font-size: 17px; color: var(--c-text); max-width: 620px; margin-bottom: var(--sp-6); }

/* 首页「全部 AO3 镜像入口」已并入 hero：不再使用 .section / .section--tint，
   背景沿用 hero 自己的渐变，只靠上边距与导语拉开层次。 */
.hero__mirrors { margin-top: var(--sp-12); }
/* ★ 已停用：首页 hero 的按钮组与免责提示已移除，页面中不再有 .hero__actions / .hero__note。
   样式保留仅为将来需要时可直接恢复。 */
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero__note { font-size: 13px; color: var(--c-muted); max-width: 620px; }

/* ★ 已停用：首页 hero 右侧的「编辑优选」面板已移除，页面中不再有 .hero__panel。
   样式保留仅为将来需要时可直接恢复。 */
.hero__panel {
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  box-shadow: var(--sh-hover); padding: var(--sp-6);
}
.hero__panel h2 { font-size: 17px; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--sp-4); }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 11px 0; border-bottom: 1px dashed var(--c-border);
  font-size: 14px;
}
.mini-list li:last-child { border-bottom: 0; }
.mini-list .host { font-family: var(--font-mono); font-size: 13px; color: var(--c-dark); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


.notice {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm);
  background: var(--c-warn-soft); color: var(--c-warn); font-size: 14px;
}
.notice--info { background: var(--c-info-soft); color: var(--c-info); }
.notice--warn { background: var(--c-warn-soft); color: var(--c-warn); }
.notice--bad { background: var(--c-bad-soft); color: var(--c-bad); }
.notice--ok { background: var(--c-ok-soft); color: var(--c-ok); }
.notice svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; }
.notice p { margin: 0; }
.notice strong { color: inherit; }

/* ------------------------------------------------------------ 9. Modules */
/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.stat {
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: var(--sp-5); text-align: center;
}
.stat__num { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--c-dark); line-height: 1.2; }
.stat__num .unit { font-size: 15px; color: var(--c-red); }
.stat__label { font-size: 13px; color: var(--c-muted); margin-top: 2px; }

/* mirror card */
.mirror-card { position: relative; display: flex; flex-direction: column; }
.mirror-card__top { display: flex; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.mirror-card__logo {
  width: 42px; height: 42px; border-radius: var(--r-sm); flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-dark); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 15px; letter-spacing: -.02em;
  overflow: hidden;
}
.mirror-card__host { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--c-dark); word-break: break-all; }
.mirror-card__desc { font-size: 14px; color: var(--c-muted); margin: var(--sp-2) 0 var(--sp-4); flex: 1; }
.mirror-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--sp-4); }
.mirror-card__tags .badge { font-size: 12px; padding: 4px 10px; font-weight: 500; }
.mirror-card__actions { display: flex; gap: var(--sp-2); }
.mirror-card__actions .btn { flex: 1; }
.mirror-card.is-recommended { border-color: rgba(221, 20, 5, .45); }

/* 卡片右上角角标 —— ★ 已停用：site.js 的 cardHTML() 不再渲染 .ribbon，
   当前没有任何页面使用它。样式保留仅为将来需要时可直接恢复（同时需在 cardHTML 里加回该元素）。 */
.ribbon {
  position: absolute; top: -1px; right: -1px; z-index: 2;
  background: var(--c-red); color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 0 var(--r-md) 0 var(--r-md); letter-spacing: .04em;
}

/* ★ 已停用：连通性检测功能已下线（site.js 不再有 probe/initCheck），
   页面中不再有 .status-board / .status-board__head / .status-summary 元素。
   样式保留仅为将来需要时可直接恢复。 */
.status-board { border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; background: var(--c-bg); }
.status-board__head {
  display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5); background: var(--c-surface-tint); border-bottom: 1px solid var(--c-border);
}
.status-board__head h3 { margin: 0; font-size: 16px; }
.status-summary { display: flex; gap: var(--sp-4); font-size: 13px; color: var(--c-muted); flex-wrap: wrap; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data caption { caption-side: top; text-align: left; padding: var(--sp-3) 0; color: var(--c-muted); font-size: 13px; }
table.data th, table.data td { padding: 12px var(--sp-4); text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
table.data thead th {
  background: var(--c-surface-tint); font-weight: 600; color: var(--c-dark);
  font-size: 13px; white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
table.data tbody tr { transition: background-color var(--dur) var(--ease); }
table.data tbody tr:hover { background: var(--c-surface-tint); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.host { font-family: var(--font-mono); font-size: 13px; color: var(--c-dark); font-weight: 600; }
table.data .num { font-variant-numeric: tabular-nums; }
table.data .center { text-align: center; }

/* 镜像精简表（# / 域名 / 状态 / 访问 四列）：列少了，无需横向滚动 */
table.data--mirror { min-width: 340px; }
table.data--mirror th:first-child, table.data--mirror td:first-child { width: 52px; }
table.data--mirror td.host { overflow-wrap: anywhere; }
.table-note { font-size: 12px; color: var(--c-muted); padding: var(--sp-3) var(--sp-4); background: var(--c-surface-tint); border-top: 1px solid var(--c-border); }

/* steps */
.steps { counter-reset: step; display: grid; gap: var(--sp-4); }
.step { position: relative; display: flex; gap: var(--sp-5); padding: var(--sp-5); background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-md); }
.step__num {
  counter-increment: step; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-dark); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.step__num::before { content: counter(step); }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; font-size: 15px; color: var(--c-muted); }
.step--red .step__num { background: var(--c-red); }

/* timeline */
.timeline { position: relative; margin: 0; padding: 0 0 0 var(--sp-6); list-style: none; border-left: 2px solid var(--c-border); }
.timeline li { position: relative; padding: 0 0 var(--sp-6) var(--sp-2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: calc(-1 * var(--sp-6) - 7px); top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--c-bg);
  border: 2px solid var(--c-red);
}
.timeline .tl-year { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--c-red); }
.timeline .tl-title { font-weight: 600; color: var(--c-dark); }
.timeline p { margin: 2px 0 0; font-size: 14px; color: var(--c-muted); }

/* tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tag-cloud a {
  display: inline-block; text-decoration: none; font-size: 14px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--c-surface-light); color: var(--c-dark);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tag-cloud a:hover { background: var(--c-dark); color: var(--c-inverse); }
html[data-theme='dark'] .tag-cloud a:hover { color: #06101c; }
.tag-cloud a .count { font-size: 12px; color: var(--c-muted); margin-left: 5px; }
.tag-cloud a:hover .count { color: rgba(255, 255, 255, .7); }

/* faq */
.faq { border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-bg); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--c-border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: var(--sp-4) var(--sp-5); font-weight: 600; color: var(--c-dark);
  font-size: 16px; list-style: none; display: flex; gap: var(--sp-3); align-items: flex-start;
  transition: background-color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--c-surface-tint); }
.faq summary::after {
  content: '+'; margin-left: auto; color: var(--c-red); font-size: 20px; line-height: 1;
  font-weight: 700; flex: 0 0 auto;
}
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--c-red); }
.faq .faq__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--c-text); font-size: 15px; }
.faq .faq__body > * + * { margin-top: var(--sp-3); }

/* prose */
.prose { font-size: 16px; line-height: 1.85; color: var(--c-text); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-10); font-size: 26px; }
.prose h3 { margin-top: var(--sp-8); }
.prose ul, .prose ol { padding-left: var(--sp-6); margin: 0; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--c-dark); text-decoration: underline; text-underline-offset: 3px; transition: color var(--dur) var(--ease); }
.prose a:hover { color: var(--c-red-hover); }
.prose blockquote {
  margin: 0; padding: var(--sp-4) var(--sp-5); border-left: 3px solid var(--c-red);
  background: var(--c-surface-tint); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--c-text);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--c-surface-tint); font-weight: 600; color: var(--c-dark); }
.prose figure { margin: 0; }
.prose figcaption { font-size: 13px; color: var(--c-muted); margin-top: var(--sp-2); }

/* breadcrumbs */
/* 面包屑与下方 .page-head 共用同一个底色（--c-surface-tint），使两者连成一条完整的浅灰带。
   注意：本元素同时带 .container（居中 + 限宽 1280px），若只写 background，
   灰色只会铺满中间那段、两侧露出白色。因此用 box-shadow 的扩散把底色横向撑到整行，
   再用 clip-path 在垂直方向裁掉多余部分——这也是不产生横向滚动条的通栏背景标准做法。
   另：这里只能用 padding-top 长写，不能用 padding 简写，否则简写里的左右值 0 会覆盖 .container 的 padding-inline。 */
.breadcrumbs {
  padding-top: var(--sp-4);
  font-size: 13px;
  color: var(--c-muted);
  background: var(--c-surface-tint);
  box-shadow: 0 0 0 100vmax var(--c-surface-tint);
  clip-path: inset(0 -100vmax);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; color: var(--c-border); }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-red); text-decoration: underline; }
.breadcrumbs [aria-current='page'] { color: var(--c-dark); font-weight: 500; }

/* page header */
.page-head { padding: var(--sp-6) 0 var(--sp-10); background: var(--c-surface-tint); border-bottom: 1px solid var(--c-border); }
.page-head h1 { font-size: 34px; margin-bottom: var(--sp-3); }
.page-head .lead { max-width: 780px; color: var(--c-muted); }
.page-head .meta { margin-top: var(--sp-4); }

/* 域名防复制：只禁止"选中"，配合 site.js 的 copy 事件拦截。
   注意这是提高门槛的软性措施，无法阻止查看源代码。 */
.mirror-card__host,
table.data td.host,
.mini-list .host,
.jump-target,
.jump-alts .host {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ad slots —— ★ 本站已移除全部广告位，以下样式为「待用」状态：
   当前没有任何页面使用 .ad-slot / .ad-slot__label，保留仅为将来需要时可直接恢复。 */
.ad-slot {
  margin: var(--sp-8) auto; padding: var(--sp-3);
  border: 1px dashed var(--c-border); border-radius: var(--r-md);
  background: var(--c-surface-tint); text-align: center; overflow: hidden;
  min-height: 60px;
}
.ad-slot__label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-disabled); margin-bottom: var(--sp-2); }
.ad-slot--inline { margin: var(--sp-6) 0; }

/* toc */
.toc { position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
.toc h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); font-family: var(--font-body); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; font-size: 14px; }
.toc li { border-bottom: 1px solid var(--c-surface-light); }
.toc a { display: block; padding: 9px 0; color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-red); }

/* --------------------------------------------------- 10. Jump page */
.jump-wrap { max-width: 860px; margin-inline: auto; }
.jump-card { text-align: center; padding: var(--sp-10) var(--sp-8); }
.jump-card__logo {
  width: 72px; height: 72px; margin: 0 auto var(--sp-5);
  border-radius: var(--r-lg); background: var(--c-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
}
.jump-card h1 { font-size: 30px; margin-bottom: var(--sp-2); }
.jump-error-title {
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  color: var(--c-dark); line-height: 1.25; margin: 0 0 var(--sp-3);
}
.jump-target {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-mono); font-size: 15px; color: var(--c-dark);
  background: var(--c-surface-light); padding: 8px 14px; border-radius: var(--r-sm);
  margin-bottom: var(--sp-6); word-break: break-all;
}
.jump-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-bottom: var(--sp-6); }
.jump-actions .btn { min-width: 190px; }
.jump-steps { text-align: left; margin-top: var(--sp-8); }
.check-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.check-list li { display: flex; gap: var(--sp-3); padding: 10px 0; border-bottom: 1px dashed var(--c-border); }
.check-list li:last-child { border-bottom: 0; }
.check-list svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; }
.check-list .ok { color: var(--c-ok); }
.check-list .no { color: var(--c-bad); }
.jump-alts { margin-top: var(--sp-8); }
.jump-alts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.jump-alts li { display: flex; align-items: center; gap: var(--sp-3); font-size: 14px; padding: 10px var(--sp-4); border: 1px solid var(--c-border); border-radius: var(--r-sm); background: var(--c-bg); }
.jump-alts .host { font-family: var(--font-mono); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.countdown-note { font-size: 13px; color: var(--c-muted); }

/* --------------------------------------------------- 11. Footer */
.site-footer { background: var(--c-dark); color: #c3cbd6; margin-top: var(--sp-16); font-size: 14px; }
html[data-theme='dark'] .site-footer { background: #060f19; }
/* 同上：本元素同时带 .container，必须用长写保留其左右内边距 */
.footer-main { padding-top: var(--sp-16); padding-bottom: var(--sp-10); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-8); }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 15px; font-family: var(--font-body); font-weight: 600; margin-bottom: var(--sp-4); letter-spacing: .01em; }
.site-footer a { color: #c3cbd6; text-decoration: none; transition: color var(--dur) var(--ease); }
.site-footer a:hover { color: var(--c-red); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-4); }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: #8b97a6; }
.footer-about { color: #a7b1bf; font-size: 14px; line-height: 1.75; max-width: 380px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer-meta .badge { background: rgba(255, 255, 255, .08); color: #dfe4ea; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: var(--sp-6) 0; font-size: 13px; color: #8b97a6;
}
.footer-bottom .between { gap: var(--sp-3); }
.footer-disclaimer { color: #8b97a6; font-size: 12.5px; line-height: 1.7; margin-top: var(--sp-3); }

/* back to top */
.to-top {
  position: fixed; right: var(--sp-6); bottom: var(--sp-6); z-index: var(--z-top);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-red); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--sh-hover);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-red-hover); }

.progress-bar {
  position: fixed; top: 0; left: 0; z-index: calc(var(--z-header) + 1);
  height: 3px; width: 0; background: var(--c-red); transition: width 100ms linear;
}

/* --------------------------------------------------------- 12. Utilities */
.text-center { text-align: center; }
.text-red { color: var(--c-red); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); } .mt-12 { margin-top: var(--sp-12); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); } .mb-10 { margin-bottom: var(--sp-10); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* ★ 已停用：分档筛选与关键字筛选已移除，页面中不再有 .filters / .chip 元素。
   样式保留仅为将来需要时可直接恢复。 */
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-6); }
.chip {
  font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--c-border); background: transparent; color: var(--c-dark);
  cursor: pointer; transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--c-dark); }
.chip[aria-pressed='true'], .chip.is-active { background: var(--c-dark); border-color: var(--c-dark); color: var(--c-inverse); }
html[data-theme='dark'] .chip[aria-pressed='true'], html[data-theme='dark'] .chip.is-active { color: #06101c; }
.empty-state { padding: var(--sp-12) var(--sp-6); text-align: center; color: var(--c-muted); }
.is-hidden { display: none !important; }

/* ------------------------------------------------------- 13. Responsive */
@media (max-width: 1320px) {
  .container { max-width: 1180px; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero h1 { font-size: 38px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .toc { position: static; }
  .display { font-size: 42px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding-inline: var(--sp-4); }
  .section { padding-block: var(--sp-12); }
  h1, .hero h1 { font-size: 28px; }
  .page-head h1 { font-size: 26px; }
  .section-head h2 { font-size: 22px; }
  .display { font-size: 32px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: var(--sp-10) 0 var(--sp-8); }
  .jump-card { padding: var(--sp-8) var(--sp-4); }
  .jump-actions .btn { width: 100%; min-width: 0; }
  .mirror-card__actions { flex-direction: column; }
  .btn { font-size: 15px; }
  .card { padding: var(--sp-5); }
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { right: var(--sp-4); bottom: var(--sp-4); }
  .prose h2 { font-size: 22px; }
}
@media (max-width: 576px) {
  .stat-strip { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
  .stat { padding: var(--sp-4) var(--sp-2); }
  .stat__num { font-size: 21px; }
  .stat__label { font-size: 12px; }
  .step { flex-direction: column; gap: var(--sp-3); }
}

/* --------------------------------------------- 14. Motion / print / a11y */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
@media print {
  .site-header, .site-footer, .to-top, .progress-bar, .ad-slot, .mobile-drawer, .jump-actions { display: none !important; }
  body { color: #000; }
  a { text-decoration: none; color: #000; }
  .card { box-shadow: none; border: 1px solid #999; }
}
