/* ============================================================
   电玩城棋牌 · 共享站点样式 /assets/site.css
   暗厅亮屏：深蓝黑底 + 霓虹青主光 + 紫/金局部跳光
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; }
main { display: block; }

/* ---------- 2. 变量 ---------- */
:root {
  --pdc-ink: #070B18;
  --pdc-curtain: #0D1730;
  --pdc-steel: #1C2C4D;
  --pdc-cyan: #25E6D6;
  --pdc-mist: #8CF8F0;
  --pdc-violet: #8D6BFF;
  --pdc-amber: #FFB84D;
  --pdc-paper: #E8EDF5;
  --pdc-muted: #A5B0C4;
  --pdc-dim: #8794AB;
  --pdc-hair: rgba(28, 44, 77, 0.95);
  --pdc-hair-soft: rgba(165, 176, 196, 0.18);
  --pdc-r-lg: 30px;
  --pdc-r-md: 18px;
  --pdc-r-sm: 12px;
  --pdc-pill: 999px;
  --pdc-shell: min(1180px, 100% - 40px);
  --pdc-font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --pdc-font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --pdc-font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--pdc-ink);
  background-image:
    radial-gradient(1100px 620px at 80% -12%, rgba(37, 230, 214, 0.10), transparent 62%),
    radial-gradient(900px 560px at 4% 2%, rgba(141, 107, 255, 0.13), transparent 58%),
    linear-gradient(180deg, var(--pdc-curtain) 0%, var(--pdc-ink) 34%, #050810 100%);
  color: var(--pdc-paper);
  font-family: var(--pdc-font-body);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--pdc-font-display);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: #fff;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.02rem; letter-spacing: 0.02em; }
p { max-width: 72ch; }
strong { color: #fff; font-weight: 700; }
::selection { background: rgba(37, 230, 214, 0.32); color: #fff; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--pdc-mist);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 4. 跳转链接 / 进度条 ---------- */
.pdc-skip {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -180%);
  padding: 0.62rem 1.15rem;
  border-radius: var(--pdc-pill);
  background: var(--pdc-cyan);
  color: #04121A;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: transform 0.22s ease;
}
.pdc-skip:focus,
.pdc-skip:focus-visible { transform: translate(-50%, 0); }

.pdc-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: rgba(28, 44, 77, 0.55);
  pointer-events: none;
}
.pdc-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pdc-cyan), var(--pdc-violet) 55%, var(--pdc-amber));
  box-shadow: 0 0 14px rgba(37, 230, 214, 0.85);
  transition: width 0.14s linear;
}

/* ---------- 5. 按钮 ---------- */
.pdc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.78rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--pdc-pill);
  font-family: var(--pdc-font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.pdc-btn--primary {
  background: linear-gradient(118deg, var(--pdc-cyan), #58F0C6);
  color: #04121A;
  box-shadow: 0 0 0 1px rgba(37, 230, 214, 0.5), 0 16px 34px -18px rgba(37, 230, 214, 0.9);
}
.pdc-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(140, 248, 240, 0.8), 0 22px 40px -18px rgba(37, 230, 214, 1); }
.pdc-btn--pill {
  color: var(--pdc-mist);
  background: rgba(37, 230, 214, 0.08);
  border-color: rgba(37, 230, 214, 0.42);
  box-shadow: inset 0 0 18px -12px rgba(37, 230, 214, 0.9);
}
.pdc-btn--pill:hover {
  color: #04121A;
  background: var(--pdc-cyan);
  border-color: var(--pdc-cyan);
  box-shadow: 0 0 26px -8px rgba(37, 230, 214, 0.95);
}
.pdc-btn--line {
  color: var(--pdc-paper);
  background: transparent;
  border-color: rgba(232, 237, 245, 0.26);
}
.pdc-btn--line:hover { border-color: rgba(37, 230, 214, 0.6); color: var(--pdc-mist); }

/* ---------- 6. 页头：居中刊头 ---------- */
.pdc-header {
  position: relative;
  z-index: 90;
  background: linear-gradient(180deg, #0A1428 0%, #0A1122 52%, var(--pdc-ink) 100%);
  border-bottom: 1px solid var(--pdc-hair);
  box-shadow: 0 24px 60px -46px rgba(37, 230, 214, 0.85);
}
.pdc-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pdc-cyan), var(--pdc-violet) 48%, var(--pdc-amber));
  opacity: 0.85;
}
.pdc-header__inner {
  width: var(--pdc-shell);
  margin-inline: auto;
}
.pdc-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px 0 14px;
}
.pdc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  padding: 2px 6px;
  border-radius: var(--pdc-r-md);
}
.pdc-brand--start { justify-self: start; }
.pdc-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: conic-gradient(from 210deg, var(--pdc-cyan), var(--pdc-violet) 46%, var(--pdc-amber) 72%, var(--pdc-cyan));
  box-shadow: 0 0 0 1px rgba(140, 248, 240, 0.45), 0 0 24px -6px rgba(37, 230, 214, 0.85);
  transition: box-shadow 0.3s ease;
}
.pdc-brand__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 7px;
  background: radial-gradient(circle at 50% 6%, rgba(13, 23, 48, 0.35), #070B18 76%);
}
.pdc-brand:hover .pdc-brand__mark { box-shadow: 0 0 0 1px var(--pdc-mist), 0 0 32px -4px rgba(37, 230, 214, 1); }
.pdc-brand__text { display: flex; flex-direction: column; gap: 2px; }
.pdc-brand__name {
  font-family: var(--pdc-font-display);
  font-weight: 900;
  font-size: clamp(1.12rem, 2.6vw, 1.55rem);
  letter-spacing: 0.14em;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 0 26px rgba(37, 230, 214, 0.35);
}
.pdc-brand__tagline {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: var(--pdc-muted);
  white-space: nowrap;
}
.pdc-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 移动栏目开关 */
.pdc-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  justify-self: start;
  padding: 0.55rem 0.92rem;
  border-radius: var(--pdc-pill);
  border: 1px solid rgba(37, 230, 214, 0.36);
  background: rgba(37, 230, 214, 0.08);
  color: var(--pdc-mist);
  font-family: var(--pdc-font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.pdc-navtoggle:hover { border-color: rgba(37, 230, 214, 0.7); }
.pdc-navtoggle__bars { display: grid; gap: 4px; }
.pdc-navtoggle__bars > span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.pdc-navtoggle__text { line-height: 1; }
.pdc-header[data-open] .pdc-navtoggle__bars > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pdc-header[data-open] .pdc-navtoggle__bars > span:nth-child(2) { opacity: 0; }
.pdc-header[data-open] .pdc-navtoggle__bars > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 主导航 */
.pdc-nav {
  border-top: 1px solid var(--pdc-hair);
}
.pdc-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 0;
}
.pdc-nav__item { display: flex; }
.pdc-nav__link {
  display: inline-block;
  padding: 0.48rem 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--pdc-pill);
  font-family: var(--pdc-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #C6D2E6;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pdc-nav__link:hover {
  color: var(--pdc-mist);
  background: rgba(37, 230, 214, 0.10);
  border-color: rgba(37, 230, 214, 0.30);
}
.pdc-nav__link[aria-current="page"] {
  color: #04121A;
  font-weight: 900;
  background: linear-gradient(118deg, var(--pdc-cyan), #5CF2C4);
  border-color: transparent;
  box-shadow: 0 0 24px -8px rgba(37, 230, 214, 0.95);
}

/* 公告走马灯 */
.pdc-band {
  display: flex;
  align-items: center;
  gap: 0;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background: linear-gradient(90deg, rgba(255, 184, 77, 0.16), rgba(13, 23, 48, 0.88) 24%, rgba(13, 23, 48, 0.88));
  border-top: 1px solid rgba(255, 184, 77, 0.26);
  overflow: hidden;
}
.pdc-band__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-right: 1.1rem;
  padding: 0.5rem 1.1rem 0.5rem 0;
  border-right: 1px solid rgba(255, 184, 77, 0.32);
  font-family: var(--pdc-font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--pdc-amber);
  white-space: nowrap;
}
.pdc-band__label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pdc-amber);
  box-shadow: 0 0 10px var(--pdc-amber);
  animation: pdc-pulse 2.6s ease-in-out infinite;
}
.pdc-band__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.pdc-band__track {
  display: flex;
  width: max-content;
  animation: pdc-marquee 48s linear infinite;
}
.pdc-band:hover .pdc-band__track,
.pdc-band:focus-within .pdc-band__track { animation-play-state: paused; }
.pdc-band__group {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
}
.pdc-band__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-block: 0.52rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #CBD6E8;
  white-space: nowrap;
}
.pdc-band__item::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pdc-cyan);
  box-shadow: 0 0 8px rgba(37, 230, 214, 0.95);
}
@keyframes pdc-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes pdc-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------- 7. 页脚 ---------- */
.pdc-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  background: linear-gradient(180deg, #070B18 0%, #060A14 46%, #04060E 100%);
  border-top: 1px solid var(--pdc-hair);
}
.pdc-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 230, 214, 0.7) 24%, rgba(141, 107, 255, 0.6) 62%, transparent);
}
.pdc-footer__inner {
  width: var(--pdc-shell);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 68px) 0 clamp(22px, 3vw, 34px);
}
.pdc-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(0, 0.72fr));
  gap: clamp(24px, 4vw, 52px);
}
.pdc-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.pdc-footer__brand .pdc-brand { justify-self: start; padding-left: 0; }
.pdc-footer__tagline {
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.82;
  color: var(--pdc-muted);
}
.pdc-footer__hours {
  font-family: var(--pdc-font-mono);
  font-size: 0.74rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--pdc-dim);
}
.pdc-footer__hours::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.55em;
  border-radius: 50%;
  background: var(--pdc-cyan);
  box-shadow: 0 0 8px rgba(37, 230, 214, 0.9);
  vertical-align: middle;
}
.pdc-footer__col { min-width: 0; }
.pdc-footer__title {
  margin-bottom: 14px;
  font-family: var(--pdc-font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  color: var(--pdc-mist);
}
.pdc-footer__list { display: flex; flex-direction: column; gap: 10px; }
.pdc-footer__link {
  display: inline-block;
  padding-block: 2px;
  font-size: 0.9rem;
  color: #BCC8DC;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.pdc-footer__link:hover { color: var(--pdc-paper); border-bottom-color: rgba(37, 230, 214, 0.65); }
.pdc-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px 36px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(28, 44, 77, 0.85);
}
.pdc-footer__contact {
  max-width: 56ch;
  font-size: 0.79rem;
  line-height: 1.95;
  color: #93A0B6;
}
.pdc-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  color: #7C89A0;
  text-align: right;
}
.pdc-footer__icp { font-family: var(--pdc-font-mono); letter-spacing: 0.06em; color: #8E9BB2; }
.pdc-footer__copy { letter-spacing: 0.08em; }

/* ---------- 8. 通用排版组件 ---------- */
.pdc-container { width: var(--pdc-shell); margin-inline: auto; }
.pdc-section { padding-block: clamp(46px, 7vw, 92px); }
.pdc-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(22px, 3.4vw, 38px);
}
.pdc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--pdc-font-display);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--pdc-mist);
}
.pdc-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--pdc-amber);
  box-shadow: 0 0 10px rgba(255, 184, 77, 0.9);
}
.pdc-lead {
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.88;
  color: var(--pdc-muted);
}
.pdc-mono {
  font-family: var(--pdc-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.pdc-divider {
  height: 1px;
  margin-block: clamp(28px, 4vw, 52px);
  border: 0;
  background: linear-gradient(90deg, rgba(37, 230, 214, 0.55), rgba(141, 107, 255, 0.35) 42%, rgba(28, 44, 77, 0) 100%);
}

/* 面包屑 */
.pdc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  color: var(--pdc-muted);
}
.pdc-breadcrumb__link {
  color: var(--pdc-mist);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.pdc-breadcrumb__link:hover { border-bottom-color: rgba(37, 230, 214, 0.65); }
.pdc-breadcrumb__sep { color: rgba(165, 176, 196, 0.45); }
.pdc-breadcrumb__current { color: var(--pdc-paper); font-weight: 700; }

/* 网格与卡片 */
.pdc-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.pdc-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.pdc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); }
.pdc-card {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--pdc-hair);
  border-radius: var(--pdc-r-lg);
  background: linear-gradient(158deg, rgba(13, 23, 48, 0.96), rgba(7, 11, 24, 0.96));
  box-shadow: inset 0 1px 0 rgba(140, 248, 240, 0.08), 0 26px 50px -44px rgba(0, 0, 0, 1);
  transition: border-color 0.26s ease, transform 0.26s ease, box-shadow 0.26s ease;
}
.pdc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 230, 214, 0.42);
  box-shadow: inset 0 1px 0 rgba(140, 248, 240, 0.14), 0 30px 56px -44px rgba(37, 230, 214, 0.6);
}

/* 标签胶囊 */
.pdc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.26rem 0.72rem;
  border: 1px solid transparent;
  border-radius: var(--pdc-pill);
  font-family: var(--pdc-font-display);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.5;
  white-space: nowrap;
}
.pdc-tag--cyan { color: var(--pdc-mist); background: rgba(37, 230, 214, 0.10); border-color: rgba(37, 230, 214, 0.45); }
.pdc-tag--violet { color: #CDBEFF; background: rgba(141, 107, 255, 0.13); border-color: rgba(141, 107, 255, 0.5); }
.pdc-tag--amber { color: #FFD79A; background: rgba(255, 184, 77, 0.13); border-color: rgba(255, 184, 77, 0.5); }

/* 图片容器（页面阶段放占位或 <img>） */
.pdc-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pdc-hair);
  border-radius: var(--pdc-r-lg);
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(37, 230, 214, 0.16), rgba(13, 23, 48, 0.95) 56%, #070B18 100%);
  box-shadow: inset 0 0 70px -22px rgba(37, 230, 214, 0.38);
  isolation: isolate;
}
.pdc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(7, 11, 24, 0.78));
  pointer-events: none;
}
.pdc-media__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.pdc-media--wide .pdc-media__img { aspect-ratio: 16 / 9; }
.pdc-media--tall .pdc-media__img { aspect-ratio: 3 / 4; }
.pdc-media--square .pdc-media__img { aspect-ratio: 1 / 1; }
.pdc-media__cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  z-index: 2;
  font-family: var(--pdc-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--pdc-muted);
}

/* 章节目录跟随 */
.pdc-toc { display: block; }
.pdc-toc__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pdc-toc__link {
  display: block;
  padding: 0.4rem 0.88rem;
  border: 1px solid transparent;
  border-radius: var(--pdc-pill);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--pdc-muted);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.pdc-toc__link:hover { color: var(--pdc-paper); border-color: var(--pdc-hair); }
.pdc-toc__link[aria-current="true"] {
  color: #04121A;
  font-weight: 800;
  background: linear-gradient(118deg, var(--pdc-cyan), #5CF2C4);
  box-shadow: 0 0 20px -8px rgba(37, 230, 214, 0.95);
}

/* 返回顶部 */
.pdc-totop {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 150;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(37, 230, 214, 0.48);
  background: rgba(13, 23, 48, 0.94);
  color: var(--pdc-mist);
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 14px 32px -14px #000, 0 0 0 7px rgba(7, 11, 24, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease, background 0.2s ease;
}
.pdc-totop[data-visible] { opacity: 1; visibility: visible; transform: translateY(0); }
.pdc-totop:hover { background: rgba(37, 230, 214, 0.18); color: #fff; }

/* 显现动效 */
.pdc-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.pdc-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 9. 响应式 ---------- */
@media (min-width: 900px) {
  .pdc-header { position: sticky; top: 0; }
  html { scroll-padding-top: 160px; }
}

@media (max-width: 899px) {
  .pdc-masthead {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px 0;
  }
  .pdc-navtoggle { display: inline-flex; }
  .pdc-brand { gap: 9px; padding-inline: 2px; }
  .pdc-brand__mark { width: 32px; height: 32px; border-radius: 10px; }
  .pdc-brand__mark::after { inset: 5px; border-radius: 6px; }
  .pdc-brand__tagline { display: none; }
  .pdc-header__actions .pdc-btn { padding: 0.55rem 0.92rem; font-size: 0.78rem; letter-spacing: 0.03em; }
  .pdc-nav {
    display: none;
    border-top: 1px solid var(--pdc-hair);
    background: rgba(7, 11, 24, 0.98);
  }
  .pdc-header[data-open] .pdc-nav { display: block; }
  .pdc-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 16px;
  }
  .pdc-nav__link { padding: 0.72rem 0.95rem; font-size: 0.95rem; border-radius: var(--pdc-r-sm); }
  .pdc-nav__link[aria-current="page"] { border-radius: var(--pdc-r-sm); }
  .pdc-band { padding-inline: 16px; }
  .pdc-band__label { margin-right: 0.7rem; padding-right: 0.7rem; font-size: 0.6rem; letter-spacing: 0.18em; }
  .pdc-band__group { gap: 1.5rem; padding-right: 1.5rem; }
  .pdc-band__item { font-size: 0.74rem; }
  .pdc-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdc-footer__brand { grid-column: 1 / -1; }
  .pdc-footer__legal { text-align: left; }
}

@media (max-width: 560px) {
  .pdc-brand__name { font-size: 1rem; letter-spacing: 0.06em; }
  .pdc-header__actions .pdc-btn { padding: 0.5rem 0.72rem; font-size: 0.72rem; }
  .pdc-footer__grid { grid-template-columns: 1fr; }
  .pdc-footer__meta { flex-direction: column; }
  .pdc-totop { width: 42px; height: 42px; }
}

/* ---------- 10. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .pdc-band__track { animation: none; transform: none; }
  .pdc-band__label::before { animation: none; opacity: 1; transform: none; }
  .pdc-js [data-reveal] { opacity: 1; transform: none; }
  .pdc-progress__bar { transition: none; }
  .pdc-card:hover, .pdc-btn--primary:hover { transform: none; }
}
