/* ============================================================
   安顺学院 · 黔境数字漫游纪念邮戳与探索护照系统
   Sitewide Cultural Tourism Postmark & Digital Passport System
   File: assets/postmark-system.css
   Author: 祝刚 (Zhugang) 教学文旅实验室
   ============================================================ */

/* 核心变量与主题配色（默认：朱砂红印泥） */
:root {
  --zg-pm-ink: #be123c;
  --zg-pm-ink-bg: rgba(190, 18, 60, 0.08);
  --zg-pm-ink-shadow: rgba(190, 18, 60, 0.25);
  --zg-pm-gold: #d97706;
  --zg-pm-gold-glow: rgba(217, 119, 6, 0.35);
  --zg-pm-navy: #0f172a;
  --zg-pm-paper: #fdfbf7;
  --zg-pm-border: #e2d9cc;
}

/* 印泥主题切换类 */
.zg-pm-theme-green {
  --zg-pm-ink: #047857;
  --zg-pm-ink-bg: rgba(4, 120, 87, 0.08);
  --zg-pm-ink-shadow: rgba(4, 120, 87, 0.25);
}
.zg-pm-theme-blue {
  --zg-pm-ink: #1d4ed8;
  --zg-pm-ink-bg: rgba(29, 78, 216, 0.08);
  --zg-pm-ink-shadow: rgba(29, 78, 216, 0.25);
}
.zg-pm-theme-gold {
  --zg-pm-ink: #b45309;
  --zg-pm-ink-bg: rgba(180, 83, 9, 0.12);
  --zg-pm-ink-shadow: rgba(180, 83, 9, 0.3);
}

/* ============================================================
   1. 页面右下角常驻悬浮入口 (HUD Badge)
   ============================================================ */
.zg-pm-hud {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(217, 119, 6, 0.5);
  border-radius: 40px;
  padding: 6px 14px 6px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(217, 119, 6, 0.2);
  cursor: pointer;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.zg-pm-hud:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(217, 119, 6, 0.4);
  border-color: #f59e0b;
}
.zg-pm-hud-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d97706, #b45309);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  position: relative;
}
.zg-pm-hud-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  opacity: 0;
  animation: zgPmPulse 2s infinite;
}
@keyframes zgPmPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.zg-pm-hud-info {
  display: flex;
  flex-direction: column;
}
.zg-pm-hud-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fef08a;
  display: flex;
  align-items: center;
  gap: 4px;
}
.zg-pm-hud-count {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}
.zg-pm-hud-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.4);
  pointer-events: none;
  animation: zgPmFloat 2.4s ease-in-out infinite;
}
.zg-pm-hud-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 22px;
  border-width: 6px;
  border-style: solid;
  border-color: #991b1b transparent transparent transparent;
}
@keyframes zgPmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ============================================================
   2. 真实复古消印双环邮戳 (Authentic Double-Ring Postmark)
   ============================================================ */
.zg-real-postmark {
  display: inline-flex;
  align-items: center;
  position: relative;
  user-select: none;
  filter: drop-shadow(0 2px 4px var(--zg-pm-ink-shadow));
}
.zg-pm-circle {
  width: 78px;
  height: 78px;
  border: 2px solid var(--zg-pm-ink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--zg-pm-ink-bg);
  color: var(--zg-pm-ink);
  box-shadow: inset 0 0 0 2px var(--zg-pm-ink-shadow);
  text-align: center;
  position: relative;
  box-sizing: border-box;
  transform: rotate(-8deg);
  transition: transform 0.2s ease;
}
.zg-pm-circle::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--zg-pm-ink);
  border-radius: 50%;
  opacity: 0.65;
  pointer-events: none;
}
.zg-pm-top {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.1;
  padding: 0 6px;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zg-pm-mid {
  font-size: 10.5px;
  font-weight: 900;
  margin: 1.5px 0;
  border-top: 1px solid var(--zg-pm-ink);
  border-bottom: 1px solid var(--zg-pm-ink);
  padding: 0 4px;
  letter-spacing: 0.8px;
  font-family: 'Courier New', Courier, monospace;
}
.zg-pm-bot {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.1;
  padding: 0 4px;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zg-pm-waves {
  margin-left: -8px;
  transform: rotate(-4deg);
}

/* 复古齿孔邮票 */
.zg-real-stamp {
  width: 62px;
  height: 74px;
  background: #fff;
  border-radius: 2px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  outline: 2.5px dashed #cbd5e1;
  outline-offset: -2.5px;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
}
.zg-stamp-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px;
  box-sizing: border-box;
}
.zg-stamp-pill {
  background: rgba(190, 18, 60, 0.9);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 3px;
  border-radius: 2px;
  align-self: flex-start;
  line-height: 1;
}
.zg-stamp-name {
  font-size: 7px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   3. 盖戳庆贺与即时仪式感弹窗 (Stamping Ceremony)
   ============================================================ */
.zg-pm-celebrate-mask {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zgPmFadeIn 0.3s ease;
}
.zg-pm-celebrate-card {
  width: 90%;
  max-width: 440px;
  background: #fdfbf7;
  border-radius: 16px;
  border: 2px solid #e2d9cc;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(217, 119, 6, 0.3);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: zgPmPopUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes zgPmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zgPmPopUp {
  0% { transform: scale(0.7) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.zg-pm-stamp-anim-target {
  animation: zgPmStampPress 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes zgPmStampPress {
  0% { transform: scale(2.2) translateY(-60px) rotate(15deg); opacity: 0; }
  60% { transform: scale(0.9) translateY(0) rotate(-10deg); opacity: 1; }
  80% { transform: scale(1.05) translateY(0) rotate(-8deg); }
  100% { transform: scale(1) translateY(0) rotate(-8deg); }
}
.zg-pm-celebrate-title {
  font-size: 20px;
  font-weight: 900;
  color: #1e293b;
  margin-top: 18px;
  margin-bottom: 6px;
}
.zg-pm-celebrate-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}
.zg-pm-celebrate-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}
.zg-pm-celebrate-btn {
  background: linear-gradient(135deg, #be123c, #9f1239);
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.35);
  transition: all 0.2s;
}
.zg-pm-celebrate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(190, 18, 60, 0.45);
}

/* ============================================================
   4. 漫游护照全景画册 (Digital Passport Modal)
   ============================================================ */
.zg-pm-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 99996;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.zg-pm-modal-dialog {
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  background: #fdfbf7;
  border-radius: 18px;
  border: 2px solid #d4c7b8;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(217, 119, 6, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* 护照顶部 */
.zg-pm-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  color: #f8fafc;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #d97706;
  position: relative;
}
.zg-pm-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.zg-pm-badge-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d97706, #92400e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1.5px solid #fef08a;
}
.zg-pm-header-title {
  font-family: "PingFang SC", "Microsoft YaHei", serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fef08a;
}
.zg-pm-header-sub {
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.zg-pm-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.zg-pm-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* 护照旅人档案条 */
.zg-pm-profile-bar {
  background: #f1ebd9;
  border-bottom: 1px solid #e2d9cc;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.zg-pm-profile-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-weight: 600;
}
.zg-pm-profile-val {
  font-weight: 800;
  color: #b45309;
}
.zg-pm-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}
.zg-pm-progress-track {
  flex: 1;
  height: 8px;
  background: #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
}
.zg-pm-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #d97706, #be123c);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* 印泥色彩切换条 */
.zg-pm-palette-bar {
  background: #fdfbf7;
  padding: 8px 24px;
  border-bottom: 1px dashed #e2d9cc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}
.zg-pm-color-chips {
  display: flex;
  align-items: center;
  gap: 8px;
}
.zg-pm-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s;
}
.zg-pm-color-chip.active {
  border-color: currentColor;
  background: rgba(0, 0, 0, 0.05);
}
.zg-pm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* 邮戳收集网格 */
.zg-pm-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  box-sizing: border-box;
}
.zg-pm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.zg-pm-card {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #e2d9cc;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.zg-pm-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.zg-pm-card.locked {
  background: #f8fafc;
  opacity: 0.82;
  filter: grayscale(0.85);
}
.zg-pm-card.locked:hover {
  filter: grayscale(0.5);
  opacity: 0.95;
}
.zg-pm-card-badge-num {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  font-family: 'Courier New', Courier, monospace;
}
.zg-pm-card-stamp-box {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}
.zg-pm-card-name {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 3px;
  line-height: 1.3;
}
.zg-pm-card-sub {
  font-size: 10.5px;
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.3;
}
.zg-pm-card-status {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  line-height: 1;
}
.zg-pm-card-status.unlocked {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.zg-pm-card-status.go {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s;
}
.zg-pm-card-status.go:hover {
  background: #fee2e2;
  transform: scale(1.05);
}

/* 护照底部操作栏 */
.zg-pm-footer {
  background: #f1ebd9;
  border-top: 1.5px solid #e2d9cc;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.zg-pm-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zg-pm-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  user-select: none;
  text-decoration: none;
}
.zg-pm-footer-btn.primary {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}
.zg-pm-footer-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.45);
}
.zg-pm-footer-btn.secondary {
  background: #fff;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.zg-pm-footer-btn.secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* ============================================================
   5. 3D 可翻转明信片展台 (Postcard 3D Stage)
   ============================================================ */
.zg-pc-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 99997;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.zg-pc-stage {
  perspective: 1600px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
}
.zg-pc-card {
  width: 620px;
  height: 380px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.zg-pc-card.is-flipped {
  transform: rotateY(180deg);
}
.zg-pc-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

/* 明信片正面（实景风光） */
.zg-pc-front {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-sizing: border-box;
  position: relative;
}
.zg-pc-front-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.7) 100%);
  border-radius: 12px;
}
.zg-pc-front-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.zg-pc-front-logo {
  font-family: "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.zg-pc-front-title {
  font-size: 26px;
  font-weight: 900;
  margin-top: 4px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  letter-spacing: 1px;
}
.zg-pc-front-sub {
  font-size: 13px;
  color: #f1f5f9;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.zg-pc-flip-hint {
  font-size: 11px;
  color: #fef08a;
  background: rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

/* 明信片背面（手写航空信风） */
.zg-pc-back {
  transform: rotateY(180deg);
  background: repeating-linear-gradient(
    135deg,
    #dc2626 0, #dc2626 12px,
    transparent 12px, transparent 18px,
    #1e40af 18px, #1e40af 30px,
    transparent 30px, transparent 36px
  );
  padding: 8px;
  box-sizing: border-box;
}
.zg-pc-back-inner {
  width: 100%;
  height: 100%;
  background: #fdfbf7;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e2d9cc;
}
.zg-pc-back-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1.5px dashed #e2d9cc;
  padding-bottom: 8px;
}
.zg-pc-zip-boxes {
  display: flex;
  gap: 3px;
}
.zg-pc-zip-box {
  width: 18px;
  height: 24px;
  border: 1.5px solid #dc2626;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #dc2626;
  background: #fff;
  font-family: 'Courier New', Courier, monospace;
}
.zg-pc-back-body {
  display: grid;
  grid-template-columns: 1.3fr 1px 1fr;
  gap: 14px;
  flex: 1;
  padding: 10px 0;
  align-items: stretch;
}
.zg-pc-divider {
  background: #cbd5e1;
  width: 1px;
  height: 100%;
}
.zg-pc-letter {
  font-family: 'Segoe Print', 'Comic Sans MS', 'Caveat', 'KaiTi', cursive, sans-serif;
  font-size: 13.5px;
  color: #1e293b;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.zg-pc-address-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-left: 6px;
}
.zg-pc-address-line {
  border-bottom: 1px solid #cbd5e1;
  height: 26px;
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2px;
}

/* ============================================================
   6. 打印专属优化 (@media print)
   ============================================================ */
@media print {
  body * {
    visibility: hidden;
  }
  .zg-pm-hud,
  .zg-pm-celebrate-mask,
  .zg-pc-modal-header,
  .zg-pc-toolbar,
  .zg-pm-header,
  .zg-pm-footer,
  .zg-pm-palette-bar {
    display: none !important;
  }
  .zg-pc-print-area,
  .zg-pc-print-area * {
    visibility: visible;
  }
  .zg-pc-print-area {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .zg-pc-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* 移动端适配 */
@media (max-width: 680px) {
  .zg-pm-hud {
    right: 12px;
    bottom: 12px;
    padding: 4px 10px 4px 6px;
  }
  .zg-pm-hud-title {
    font-size: 12px;
  }
  .zg-pc-card {
    width: 330px;
    height: 210px;
  }
  .zg-pm-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .zg-pm-card-stamp-box {
    height: 90px;
  }
  .zg-pm-circle {
    transform: scale(0.8) rotate(-8deg);
  }
}
