/* 小熊很忙下载页 — 参照虎牙下载站：深底、金黄主色、左文右图、底栏分区 */
:root {
  --bg: #0a0a0c;
  --bg-deep: #050506;
  --bg-elev: #111114;
  --surface: #16161c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-muted: #71717a;
  --gold: #f0b429;
  --gold-bright: #fde047;
  --gold-dim: #a16207;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --slide-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-preview__frame {
    transform: none !important;
  }
}

body.page-download {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.02rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.page-download {
  --warm-ink: var(--text);
  --ink: var(--text);
  --ink-dim: var(--text-dim);
  --accent: var(--gold);
  --accent-bright: var(--gold-bright);
}

/* 斜向金光 + 细网格（虎牙系氛围） */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(118deg, rgba(240, 180, 41, 0.09) 0%, transparent 46%),
    linear-gradient(180deg, #0c0c0e 0%, var(--bg-deep) 100%);
  pointer-events: none;
}
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 78% 58% at 32% 18%, #000 22%, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
a:hover,
a:focus-visible {
  color: #fff;
  outline: none;
}

.wrap {
  width: min(80rem, 100% - 1.5rem);
  margin: 0 auto;
}

/* 顶栏 */
.site-header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.94) 0%, rgba(10, 10, 12, 0) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  transition: opacity 0.45s var(--ease);
}
body.intro-pending .brand {
  opacity: 0;
  pointer-events: none;
}
body.intro-done .brand {
  opacity: 1;
  pointer-events: auto;
}

.brand-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 0.4rem;
  border: none;
  outline: none;
}

.nav-aux {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
}
.nav-aux a:not(.nav-cta) {
  color: var(--text-dim);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.42em 1em;
  background: linear-gradient(145deg, #e6b422, var(--gold));
  color: #0a0a0a !important;
  font-weight: 600;
  border-radius: 999px;
  font-size: 0.88rem;
  border: none;
  box-shadow: 0 2px 20px rgba(240, 180, 41, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  color: #0a0a0a !important;
  box-shadow: 0 4px 28px rgba(240, 180, 41, 0.38);
}

/* 开屏：与主背景一致，仅居中 Logo */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(118deg, rgba(240, 180, 41, 0.07) 0%, transparent 42%),
    radial-gradient(ellipse 100% 85% at 50% 42%, #12100e 0%, var(--bg-deep) 100%);
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
body.intro-done .intro-splash {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.intro-splash__inner {
  text-align: center;
  padding: 1rem;
}
.intro-splash__logo {
  width: clamp(7.5rem, 20vw, 10.5rem);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0.5rem;
  border: none;
  outline: none;
  will-change: transform, opacity;
  transform-origin: center center;
}

/* Hero：左文案 / 右预览，栅格对齐 */
.hero-split {
  padding: 2.5rem 0 1rem;
  overflow: hidden;
}
@media (min-width: 56rem) {
  .hero-split {
    padding: 3.25rem 0 1.25rem;
  }
}

.hero-split__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 56rem) {
  .hero-split__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 2.5rem 3.5rem;
    align-items: center;
  }
}

.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-weight: 500;
  opacity: 0;
  animation: riseIn 0.7s var(--ease) 0.05s forwards;
}

.hero-title-lg {
  font-size: clamp(1.85rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 0.5rem;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: riseIn 0.75s var(--ease) 0.1s forwards;
}

.hero-title-sub {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--text-dim);
  margin: 0 0 1rem;
  max-width: 22em;
  font-weight: 400;
  opacity: 0;
  animation: riseIn 0.75s var(--ease) 0.16s forwards;
}

.hero-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  font-feature-settings: "tnum" 1;
  opacity: 0;
  animation: riseIn 0.75s var(--ease) 0.2s forwards;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin: 0 0 1.5rem;
  max-width: 26em;
  line-height: 1.7;
  opacity: 0;
  animation: riseIn 0.75s var(--ease) 0.24s forwards;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.28s forwards;
}

.btn--huya {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88em 1.45em;
  min-width: 12rem;
  font-size: 0.96rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  color: #0c0c0e;
  background: linear-gradient(165deg, #ffe066, var(--gold) 55%, #c9870a);
  box-shadow: 0 4px 28px rgba(240, 180, 41, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn--huya:hover:not(.is-disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(240, 180, 41, 0.45);
  color: #0a0a0a;
}
.btn--huya:active:not(.is-disabled) {
  transform: scale(0.99);
}
.btn--huya.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.2);
}
.btn-ico {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E")
    center/contain no-repeat;
  opacity: 0.88;
}
.btn--outline {
  display: inline-flex;
  align-items: center;
  padding: 0.85em 1.15em;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4em 0.9em;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  opacity: 0;
  animation: riseIn 0.8s var(--ease) 0.34s forwards;
}

/* 微信内：官方下载说明（商业信息条） */
.wechat-pc-banner {
  display: none;
  margin: 0 auto 1.5rem;
  max-width: min(80rem, 100% - 1.5rem);
}
body.env-wechat .wechat-pc-banner {
  display: block;
}
.wechat-pc-banner__inner {
  position: relative;
  padding: 1.35rem 1.35rem 1.4rem 1.5rem;
  background: linear-gradient(145deg, #14120e 0%, #0e0e12 50%, #121018 100%);
  border: 1px solid rgba(240, 180, 41, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.wechat-pc-banner__inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 50%, var(--gold-dim));
  border-radius: 2px 0 0 2px;
}
.wechat-pc-banner__head {
  padding-left: 0.5rem;
}
.wechat-pc-banner__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(90deg, #ffe066, var(--gold));
  padding: 0.22em 0.6em 0.22em 0.7em;
  border-radius: 0.2rem;
  margin-bottom: 0.75rem;
}
.wechat-pc-banner__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.wechat-pc-banner__lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dim);
}
.wechat-pc-banner__lead strong {
  color: #e8e4dc;
  font-weight: 600;
}
.wechat-pc-banner__steps {
  margin: 1rem 0 0;
  padding: 0.85rem 0.5rem 0.85rem 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.wechat-pc-banner__steps li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.6;
  counter-increment: step;
}
.wechat-pc-banner__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.4rem;
  height: 1.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4rem;
  text-align: center;
  color: #0a0a0a;
  background: linear-gradient(145deg, #ffe066, var(--gold));
  border-radius: 0.3rem;
}
.wechat-pc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
  padding-left: 0.5rem;
}
.wechat-pc-banner__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em 1.25em;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a0a0a;
  background: linear-gradient(165deg, #ffe066, var(--gold) 55%, #c9870a);
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(240, 180, 41, 0.25);
}
.wechat-pc-banner__copy:hover {
  filter: brightness(1.04);
}
.wechat-pc-banner__link {
  font-size: 0.86rem;
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.wechat-pc-banner__feedback {
  margin: 0.65rem 0 0 0.5rem;
  min-height: 1.2em;
  font-size: 0.8rem;
  color: #86c070;
}
/* 预览滑轨 */
.hero-slides-outer {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.hero-slides {
  display: flex;
  width: 200%;
  transition: transform 0.55s var(--slide-ease);
  will-change: transform;
  align-items: flex-start;
}
.hero-slide {
  position: relative;
  flex: 0 0 50%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 0.12rem;
}
.hero-slide__caption {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}
.hero-preview__img--tall {
  max-height: min(70vh, 28rem);
  width: 100%;
  object-fit: contain;
}

.hero-preview {
  position: relative;
  opacity: 0;
  animation: riseIn 1s var(--ease) 0.2s forwards;
  perspective: 1000px;
}
.hero-preview__glow {
  position: absolute;
  inset: 10% -5% 10% -5%;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(240, 180, 41, 0.22), transparent 65%);
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
  animation: glowPulse 5s var(--ease) infinite;
}
.hero-preview__glow.g2 {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200, 160, 80, 0.12), transparent 65%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-preview__glow {
    animation: none;
  }
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}
.hero-preview__frame {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s ease-out;
}
.hero-preview__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  border-radius: 10px;
  object-fit: contain;
  object-position: center center;
  /* 位图缩放时尽量用清晰插值（浏览器默认即可，避免误用 crisp-edges） */
  image-rendering: auto;
}

/* 底栏：深色横条，两主区 + 下排 pill（虎牙式分区） */
.platform-dock {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 56rem;
  margin: 1.5rem auto 0;
  padding: 0;
  background: #0e0e11;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.5rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.platform-dock__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  min-height: 0;
}
@media (max-width: 28rem) {
  .platform-dock__main {
    grid-template-columns: 1fr;
  }
  .dock-seg.is-active {
    box-shadow: inset 4px 0 0 var(--gold);
  }
}
.dock-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.9rem 0.75rem;
  font: inherit;
  color: var(--text-dim);
  background: #121215;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.dock-seg:hover,
.dock-seg:focus-visible {
  color: #fff;
  background: #18181c;
  outline: none;
}
.dock-seg.is-active {
  color: #fff;
  background: #1c190f;
  box-shadow: inset 0 -3px 0 var(--gold);
}
.dock-seg__title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.dock-seg__sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.02em;
}
.dock-seg.is-active .dock-seg__sub {
  color: var(--text-dim);
}
.dock-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  padding: 0.7rem 1rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #0a0a0c;
  margin: 0;
}
.dock-pill {
  font-size: 0.8rem;
  padding: 0.32em 0.8em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.dock-pill:hover,
.dock-pill:focus-visible {
  color: #fff;
  background: rgba(240, 180, 41, 0.14);
  border-color: rgba(240, 180, 41, 0.28);
  outline: none;
}
.dock-pill.is-active {
  color: #0a0a0a;
  background: linear-gradient(145deg, #ffe066, var(--gold));
  font-weight: 600;
  border-color: rgba(0, 0, 0, 0.15);
}
/* 与上方「电脑端/移动端」一致：非当前大区的分平台 pill 略弱化，仍可与 hover 区分 */
.platform-dock[data-segment="pc"] .dock-pill[data-hero-slide="1"] {
  opacity: 0.48;
}
.platform-dock[data-segment="mobile"] .dock-pill[data-hero-slide="0"] {
  opacity: 0.48;
}
.platform-dock .dock-pill.is-active,
.platform-dock .dock-pill:hover,
.platform-dock .dock-pill:focus-visible {
  opacity: 1;
}
.dock-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
}
.dock-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}

/* 同步与下载卡片区 */
.sync-bar {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1.1rem 0 0.4rem;
  min-height: 1.5em;
}
.sync-bar--err {
  color: #f87171;
}

.section-title {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  margin: 0 0 1.25rem;
  padding-left: 0.7rem;
  border-left: 3px solid var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 与顶栏吸顶 + 分栏配合：锚点滚动时保留上边距，避免被遮挡 */
#platforms [id^="pc-"] {
  scroll-margin-top: 5.25rem;
}

.platforms {
  display: grid;
  gap: 1.1rem;
  padding: 1.75rem 0 3.25rem;
}
@media (min-width: 50rem) {
  .platforms {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 75rem) {
  .platforms {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pcard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.2rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  opacity: 0;
  transform: translateY(16px);
}
.pcard.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  border-color: rgba(240, 180, 41, 0.2);
}
#platforms [id^="pc-"].is-dock-active .pcard {
  border-color: rgba(240, 180, 41, 0.32);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(240, 180, 41, 0.14);
}
#platforms [id^="pc-"].is-dock-active .pcard:hover {
  border-color: rgba(240, 180, 41, 0.38);
}
.pcard--featured {
  background: linear-gradient(160deg, #1a1814 0%, #14141a 100%);
  border-color: rgba(240, 180, 41, 0.18);
}
.pcard__tag {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(135deg, #fde047, var(--gold));
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  opacity: 0;
  animation: tagIn 0.4s var(--ease) 0.5s forwards;
}
.pcard.is-visible .pcard__tag.show {
  opacity: 1;
  animation: tagIn 0.4s var(--ease) 0.5s forwards;
}
@keyframes tagIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pcard__icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.pcard h2 {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.pcard__lead {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 0 0 0.9rem;
}
.pcard__ver {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 0.4rem;
}
.pcard__ver strong {
  color: var(--text);
}
.pcard__notes {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 0.84rem;
  color: var(--text-dim);
  flex: 1;
}
.pcard__notes li {
  position: relative;
  padding-left: 1.05em;
  margin-bottom: 0.4em;
  line-height: 1.5;
}
.pcard__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.72em 0.9em;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, filter 0.2s, background 0.2s;
}
.btn--primary {
  color: #0a0a0a;
  background: linear-gradient(160deg, #ffe066, var(--gold) 50%, #b8860b);
  box-shadow: 0 2px 16px rgba(240, 180, 41, 0.25);
}
.btn--primary:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: scale(0.99);
  color: #0a0a0a;
}
.btn--ghost {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.pcard__meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0.35rem 0 0;
}
.notes-more summary {
  color: var(--gold-bright);
  cursor: pointer;
  font-size: 0.8rem;
  list-style: none;
}
.notes-more summary::-webkit-details-marker {
  display: none;
}
.notes-more summary::after {
  content: " 展开";
}
.notes-more[open] summary::after {
  content: " 收起";
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.foot-copy {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  opacity: 0.9;
}
.site-footer a {
  color: var(--text-dim);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
