/* ========== 外层容器：让卡片并排 ========== */
.cards-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

/* ========== 小熊留言卡片 ========== */
.bear-snow-card{position:relative;width:170px;height:95px;background:#fff;border-radius:18px;border:1px solid #d4b996;box-shadow:0 3px 10px rgba(160,120,80,.12),0 1px 3px rgba(160,120,80,.06);overflow:visible;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;margin:12px 0;transform-origin:center bottom}
.bear-shake{animation:bearWiggle .5s ease-in-out}
@keyframes bearWiggle{0%{transform:rotate(0deg)}25%{transform:rotate(-2.5deg)}50%{transform:rotate(0deg)}75%{transform:rotate(2.5deg)}100%{transform:rotate(0deg)}}
.paw{position:absolute;width:28px;height:22px;background:#f5ebe0;border:1px solid #d4b996;border-radius:50% 50% 20% 20%;top:-10px;z-index:-1}
.paw.left{left:20px;transform:rotate(-12deg)}
.paw.right{right:20px;transform:rotate(12deg)}
.paw::before{content:'';position:absolute;width:6px;height:6px;background:#e6c7a3;border-radius:50%;top:6px;left:50%;transform:translateX(-50%)}
.paw::after{content:'';position:absolute;width:4px;height:4px;background:#e6c7a3;border-radius:50%;top:12px;left:30%;box-shadow:8px 0 0 #e6c7a3}
.snow-canvas{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}
.card-content{position:relative;z-index:2;padding:14px 12px 12px;height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.card-title{font-size:14px;color:#a67c52;font-weight:600;letter-spacing:.5px;margin:0;text-align:center}
.card-btn{background:linear-gradient(45deg,#d4b996,#c2a47d);color:#fff;border:none;border-radius:10px;padding:6px 14px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;width:82%;text-align:center;line-height:1.2;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.card-btn:active{background:linear-gradient(45deg,#c2a47d,#b08f66);transform:scale(.97)}
[onclick*="留言"],.old-message-button{display:none!important}

/* ========== 右侧商店卡片 ========== */
.fancy-shop-card {
  position: relative;
  width: 130px;
  height: 110px;
  background: #f0f4ff;
  border-radius: 16px;
  border: 1px solid #c9d8ff;
  box-shadow: 0 4px 15px rgba(100, 149, 237, 0.15);
  overflow: visible;
  z-index: 9998;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  transform-origin: center bottom;
}
.shop-shake {
  animation: shopWiggle 0.5s ease-in-out;
}
@keyframes shopWiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}
.fancy-shop-card .paw {
  position: absolute;
  width: 24px;
  height: 20px;
  background: #e6f0ff;
  border: 1px solid #c9d8ff;
  border-radius: 50% 50% 20% 20%;
  top: -8px;
  z-index: -1;
}
.fancy-shop-card .paw.left {
  left: 18px;
  transform: rotate(-10deg);
}
.fancy-shop-card .paw.right {
  right: 18px;
  transform: rotate(10deg);
}
.fancy-shop-card .paw::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: #bdd7f7;
  border-radius: 50%;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
}
.fancy-shop-card .paw::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: #bdd7f7;
  border-radius: 50%;
  top: 10px;
  left: 30%;
  box-shadow: 6px 0 0 #bdd7f7;
}
.shop-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.shop-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.shop-icon {
  font-size: 28px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 4px rgba(100, 149, 237, 0.4));
}
.shop-title {
  font-size: 14px;
  color: #4a6fa5;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.shop-btn {
  display: block;
  background: linear-gradient(45deg, #6495ed, #87cefa);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(100, 149, 237, 0.3);
}
.shop-btn:active {
  background: linear-gradient(45deg, #5a86d8, #7cb9e8);
  transform: scale(0.97);
  box-shadow: 0 1px 4px rgba(100, 149, 237, 0.3);
}