.moyu-chip {
  --m-cinnabar: #b23b2e;
  --m-gold: #b08a4a;
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 230px;
  padding: 7px 11px 7px 8px;
  background: rgba(16, 18, 21, .9);
  border: 1px solid #34322d;
  color: #ddd4c4;
  font: 11px/1.4 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  text-decoration: none;
}
.moyu-chip:hover { border-color: var(--m-gold); color: #fff7e8; }
.moyu-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--m-cinnabar); flex: 0 0 auto; }
.moyu-chip .quota { color: #928b7f; white-space: nowrap; }
.moyu-chip .quota.low { color: #d2836f; }
.moyu-chip .label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.moyu-gate {
  --m-cinnabar: #b23b2e;
  --m-paper-ink: #221e18;
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 5, 7, .72);
  backdrop-filter: blur(8px);
}
.moyu-gate-card {
  position: relative;
  width: min(420px, 100%);
  padding: 30px 30px 24px;
  color: var(--m-paper-ink);
  background:
    repeating-linear-gradient(0deg, rgba(120, 95, 55, .045) 0, rgba(120, 95, 55, .045) 1px, transparent 1px, transparent 4px),
    linear-gradient(145deg, #f8f2e7, #e7dcc8);
  border: 1px solid #d4c3a9;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.moyu-gate-card .seal {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff5e6;
  background: var(--m-cinnabar);
  border: 1px solid #d56555;
  font: 600 20px/1 "Songti SC", "SimSun", serif;
  transform: rotate(-3deg);
}
.moyu-gate-card h3 {
  margin: 0 0 10px;
  padding-right: 52px;
  font: 600 24px/1.35 "Songti SC", "SimSun", serif;
}
.moyu-gate-card p { margin: 0 0 18px; color: #6f6351; font-size: 13px; line-height: 1.8; }
.moyu-gate-card .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border: 1px solid #b23b2e;
  background: #b23b2e;
  color: #fff8ec;
  font: 600 13px/1.2 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
}
.moyu-gate-card .btn:hover { background: #c24739; }
.moyu-gate-close {
  position: absolute;
  left: 14px;
  bottom: 12px;
  border: 0;
  background: transparent;
  color: #8b7d67;
  font-size: 11px;
  cursor: pointer;
}
@media (max-width: 560px) {
  .moyu-chip { left: 8px; bottom: 8px; max-width: 190px; }
}
