:root {
  --ppvi-bg: #f6f5f2;
  --ppvi-paper: rgba(255,255,255,.9);
  --ppvi-ink: #181817;
  --ppvi-muted: #6f6c66;
  --ppvi-line: rgba(24,24,23,.1);
  --ppvi-red: #b61f2b;
  --ppvi-radius: 8px;
  --ppvi-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ppvi-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
}
* { box-sizing: border-box; }
html { min-width: 0; text-size-adjust: 100%; }
body.ppvi-body,
body {
  margin: 0;
  background: var(--ppvi-bg);
  color: var(--ppvi-ink);
  font-family: var(--ppvi-sans);
}
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container,
.ppvi-site-inner {
  width: min(100% - 2rem, 1296px);
  margin-inline: auto;
}
.d-none { display: none !important; }
.img-fluid { max-width: 100%; height: auto; }
.ratio { position: relative; display: block; width: 100%; }
.ratio::before { display: block; content: ""; }
.ratio-16x9::before { padding-top: 56.25%; }
.ratio > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bi { display: none; }
.ppvi-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(24,24,23,.08);
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(14px);
}
.ppvi-site-header .ppvi-site-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}
.ppvi-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}
.ppvi-brand img {
  width: 178px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(24,24,23,.1));
}
.ppvi-nav-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ppvi-primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem;
}
.ppvi-primary-nav a {
  padding: .45rem .62rem;
  border-radius: 999px;
  color: #302e2a;
  font: 600 .92rem/1 var(--ppvi-sans);
  text-decoration: none;
}
.ppvi-primary-nav a:hover {
  background: rgba(182,31,43,.08);
  color: var(--ppvi-red);
}
.ppvi-search {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: min(28vw, 260px);
  padding: .25rem;
  border: 1px solid rgba(24,24,23,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
}
.ppvi-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: .48rem .6rem;
  color: var(--ppvi-ink);
}
.ppvi-search button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #242321;
  color: #fff;
  padding: .52rem .82rem;
  cursor: pointer;
}
.ppvi-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(24,24,23,.12);
  border-radius: var(--ppvi-radius);
  background: rgba(255,255,255,.75);
  padding: .55rem;
}
.ppvi-nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #242321;
}
.ppvi-site-footer {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.08), transparent 28rem),
    #242729;
  color: rgba(255,255,255,.82);
}
.ppvi-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  padding-block: clamp(2.2rem, 5vw, 4.2rem);
}
.ppvi-footer-main {
  display: grid;
  gap: .75rem;
  text-align: center;
  justify-items: center;
}
.ppvi-footer-copy,
.ppvi-footer-locale,
.ppvi-footer-record {
  margin: 0;
}
.ppvi-footer-copy {
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 1.8vw, 1.42rem);
  font-weight: 600;
  letter-spacing: .01em;
}
.ppvi-footer-locale,
.ppvi-footer-record {
  color: rgba(255,255,255,.8);
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
}
.ppvi-site-footer a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
}
.ppvi-site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.ppvi-footer-qr {
  display: grid;
  justify-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  font-weight: 700;
}
.ppvi-footer-qr img {
  display: block;
  width: clamp(112px, 12vw, 154px);
  aspect-ratio: 1;
  padding: .45rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--ppvi-radius);
  background: #fff;
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.ppvi-qr-popover {
  position: fixed;
  z-index: 80;
  width: 176px;
  padding: .75rem;
  border: 1px solid rgba(24,24,23,.1);
  border-radius: var(--ppvi-radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(24,24,23,.16);
}
.ppvi-qr-popover img { display: block; width: 150px; margin: 0 auto; }
@media (min-width: 992px) {
  .d-lg-flex { display: flex !important; }
  .d-lg-none { display: none !important; }
}
@media (min-width: 768px) {
  .d-md-block { display: block !important; }
}
@media (max-width: 980px) {
  .ppvi-site-header .ppvi-site-inner {
    flex-wrap: wrap;
    min-height: 64px;
    padding-block: .55rem;
  }
  .ppvi-brand img { width: 158px; }
  .ppvi-nav-toggle { display: block; }
  .ppvi-nav-panel {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: .4rem 0 .6rem;
  }
  .ppvi-site-header.is-open .ppvi-nav-panel { display: flex; }
  .ppvi-primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
  }
  .ppvi-primary-nav a {
    background: rgba(24,24,23,.045);
    padding: .7rem .8rem;
  }
  .ppvi-search { width: 100%; min-width: 0; }
  .ppvi-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-block: 2.4rem;
  }
  .ppvi-footer-copy { max-width: 34rem; }
}
@media (max-width: 575.98px) {
  .container,
  .ppvi-site-inner { width: min(100% - 1.5rem, 1296px); }
}

/* === ppvi 通用点赞反馈：+1 飘起 + 按钮心跳（2026-06-13 提升为全局） === */
.setstar { position: relative; transition: transform .18s ease, background-color .18s ease; will-change: transform; }
.setstar.is-pulsing { transform: scale(1.06); }
.setstar:active { transform: scale(.96); }
.ppvi-star-burst {
  position: absolute;
  display: inline-block;
  pointer-events: none;
  font: 700 .95rem/1 var(--ppvi-sans, system-ui, -apple-system, "Segoe UI", sans-serif);
  color: var(--ppvi-red, #b8261b);
  text-shadow: 0 1px 0 rgba(255,255,255,.85);
  transform: translate(-50%, 0);
  animation: ppvi-star-burst 1s cubic-bezier(.2,.7,.3,1) forwards;
  white-space: nowrap;
  z-index: 5;
}
@keyframes ppvi-star-burst {
  0%   { opacity: 0;   transform: translate(-50%, 6px) scale(.7); }
  18%  { opacity: 1;   transform: translate(-50%, -6px) scale(1); }
  100% { opacity: 0;   transform: translate(-50%, -34px) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ppvi-star-burst { animation: none; opacity: 1; transform: translate(-50%, -8px); }
  .setstar.is-pulsing { transform: none; }
}
