/* Guest fake-demo UX: gray locked actions + login CTA. */
html.zpz-guest .zpz-guest-lock,
html.zpz-guest [data-guest-lock],
html.zpz-guest .zpz-guest-locked {
  opacity: 0.48 !important;
  filter: grayscale(0.25);
  cursor: not-allowed !important;
  pointer-events: none !important;
}
html.zpz-guest .zpz-guest-lock-wrap {
  position: relative;
}
html.zpz-guest .zpz-guest-lock-wrap::after {
  content: attr(data-guest-cta);
  pointer-events: auto;
  cursor: pointer;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  border-radius: inherit;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  z-index: 5;
}
.zpz-guest-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  margin: 10px 12px 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #f0c36d;
  background: #fff8e8;
  color: #7a4b00;
  font-size: 13px;
  line-height: 1.5;
}
html.dark .zpz-guest-banner {
  background: #3d301c;
  border-color: #a16e2c;
  color: #ffe0a2;
}
.zpz-guest-banner .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zpz-guest-banner a, .zpz-guest-banner button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
}
.zpz-guest-banner a.primary, .zpz-guest-banner button.primary {
  background: #2563eb;
  color: #fff;
}
.zpz-guest-banner a.secondary, .zpz-guest-banner button.secondary {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.zpz-guest-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.zpz-guest-modal {
  width: min(420px, 100%);
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  padding: 18px 16px 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
html.dark .zpz-guest-modal { background: #0f172a; color: #e2e8f0; }
.zpz-guest-modal h3 { margin: 0 0 8px; font-size: 18px; }
.zpz-guest-modal p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: #64748b; }
html.dark .zpz-guest-modal p { color: #94a3b8; }
.zpz-guest-modal .row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.zpz-guest-modal a, .zpz-guest-modal button {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border-radius: 8px; border: 1px solid #cbd5e1; background: #f8fafc; color: inherit;
  text-decoration: none; cursor: pointer; font-size: 13px;
}
.zpz-guest-modal a.primary { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 650; }
html.zpz-guest a.entry.zpz-guest-locked-entry {
  opacity: 0.55;
  filter: grayscale(0.2);
  position: relative;
}
html.zpz-guest a.entry.zpz-guest-locked-entry::after {
  content: "登录后可用";
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #334155;
  color: #fff;
}