/* ============ 基础变量 ============ */
:root {
  --bg-deep: #1a1208;
  --bg-wood: #2b1d12;
  --bg-wood-light: #3d2a1a;
  --gold: #c9a25a;
  --gold-bright: #f0c674;
  --gold-dark: #8a6d3b;
  --purple: #a335ee;
  --purple-bright: #c068ff;
  --purple-deep: #5a1d8a;
  --orange: #ff8000;
  --green-good: #1eff00;
  --red-bad: #ff4040;
  --text-main: #f0e6d2;
  --text-dim: #a89a7a;
  --shadow-deep: 0 0 30px rgba(0, 0, 0, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background:
    radial-gradient(ellipse at center top, #2a1a0a 0%, #0d0804 70%, #000 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ============ 视图切换 ============ */
.view {
  display: none;
  width: 100%;
  max-width: 960px;
  animation: fadeIn 0.4s ease-out;
}

.view-active {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ 通用按钮 ============ */
.btn {
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 36px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: #2b1d12;
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.15s ease;
  letter-spacing: 0.1em;
}

.btn:hover {
  background: linear-gradient(180deg, #fff0c0 0%, var(--gold-bright) 50%, var(--gold) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 4px 20px rgba(255, 215, 100, 0.5);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-large {
  font-size: 22px;
  padding: 16px 48px;
  letter-spacing: 0.2em;
}

.btn-secondary {
  background: linear-gradient(180deg, #5a4a30 0%, #3d2f1c 100%);
  color: var(--gold-bright);
  border-color: var(--gold-dark);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, #7a6440 0%, #5a4a30 100%);
}

/* ============ 视图 1：封面 ============ */
.cover-inner {
  text-align: center;
  position: relative;
  padding: 60px 40px;
}

.cover-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(163, 53, 238, 0.25) 0%, transparent 60%);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.cover-title {
  font-family: 'ZCOOL QingKe HuangYou', 'ZCOOL XiaoWei', 'Microsoft YaHei', serif;
  font-size: clamp(40px, 8vw, 80px);
  color: var(--gold-bright);
  text-shadow:
    0 0 20px rgba(255, 215, 100, 0.6),
    0 0 40px rgba(163, 53, 238, 0.4),
    2px 2px 0 rgba(0, 0, 0, 0.8);
  margin-bottom: 16px;
  letter-spacing: 0.15em;
  position: relative;
  white-space: nowrap;
  font-weight: 400;
}

.cover-subtitle {
  font-size: 22px;
  color: var(--purple-bright);
  margin-bottom: 8px;
  letter-spacing: 0.3em;
  text-shadow: 0 0 10px rgba(163, 53, 238, 0.5);
  position: relative;
}

.cover-byline {
  font-family: 'ZCOOL XiaoWei', 'Microsoft YaHei', serif;
  font-size: 22px;
  color: var(--text-dim);
  margin-bottom: 48px;
  letter-spacing: 0.4em;
  position: relative;
  white-space: nowrap;
}

.cover-hint {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
  position: relative;
  opacity: 0.7;
}

/* ============ 通用卡片（魔兽 UI 仿造）============ */
.card {
  background:
    linear-gradient(180deg, rgba(43, 29, 18, 0.95) 0%, rgba(26, 18, 8, 0.95) 100%);
  border: 2px solid var(--gold-dark);
  border-radius: 8px;
  padding: 28px;
  box-shadow:
    inset 0 1px 0 rgba(201, 162, 90, 0.3),
    inset 0 0 30px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 1px var(--gold);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark), var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

.card-title {
  font-family: 'ZCOOL XiaoWei', 'Microsoft YaHei', serif;
  font-size: 28px;
  color: var(--gold-bright);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 0.15em;
  text-shadow: 0 0 12px rgba(255, 215, 100, 0.4);
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.2em;
}

/* ============ 视图 2：表单 ============ */
.card-form {
  width: 100%;
  max-width: 560px;
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 14px;
  color: var(--gold-bright);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}

.field input[type='text'],
.field select {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input[type='text']:focus,
.field select:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 8px rgba(201, 162, 90, 0.4);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><polygon points='0,0 12,0 6,8' fill='%23c9a25a'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-group label {
  flex: 1;
  min-width: 80px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 14px;
  color: var(--text-main);
}

.radio-group label:hover {
  background: rgba(201, 162, 90, 0.15);
  border-color: var(--gold);
}

.radio-group input[type='radio'] {
  accent-color: var(--gold-bright);
}

.radio-group label:has(input:checked) {
  background: rgba(163, 53, 238, 0.25);
  border-color: var(--purple-bright);
  box-shadow: 0 0 8px rgba(163, 53, 238, 0.4);
  color: var(--gold-bright);
}

#divine-form .btn {
  width: 100%;
  margin-top: 12px;
}

/* ============ 视图 3：通灵中 ============ */
.divining-inner {
  text-align: center;
  padding: 80px 40px;
}

.divining-orb {
  width: 140px;
  height: 140px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--purple-bright) 0%, var(--purple) 40%, var(--purple-deep) 80%, #1a0033 100%);
  box-shadow:
    0 0 40px var(--purple),
    0 0 80px rgba(163, 53, 238, 0.5),
    inset 0 0 30px rgba(255, 255, 255, 0.2);
  animation: orb-spin 1.4s linear infinite, orb-pulse 1s ease-in-out infinite alternate;
}

@keyframes orb-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orb-pulse {
  from { box-shadow: 0 0 40px var(--purple), 0 0 80px rgba(163, 53, 238, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.2); }
  to { box-shadow: 0 0 60px var(--purple-bright), 0 0 120px rgba(163, 53, 238, 0.7), inset 0 0 40px rgba(255, 255, 255, 0.3); }
}

.divining-text {
  font-family: 'ZCOOL XiaoWei', 'Microsoft YaHei', serif;
  font-size: 36px;
  color: var(--gold-bright);
  letter-spacing: 0.4em;
  text-shadow: 0 0 16px rgba(255, 215, 100, 0.5);
}

.divining-sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
}

/* ============ 视图 4：结果 ============ */
.result-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-capture {
  background:
    linear-gradient(180deg, rgba(43, 29, 18, 0.6) 0%, rgba(26, 18, 8, 0.4) 100%);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 90, 0.3);
}

.result-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201, 162, 90, 0.2);
}

.result-title {
  font-family: 'ZCOOL XiaoWei', 'Microsoft YaHei', serif;
  font-size: 42px;
  color: var(--gold-bright);
  letter-spacing: 0.2em;
  text-shadow: 0 0 16px rgba(255, 215, 100, 0.5);
}

.result-meta {
  margin-top: 8px;
  font-size: 16px;
  color: var(--purple-bright);
  letter-spacing: 0.1em;
}

.result-week {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-dim);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 720px) {
  .result-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ---- 紫装 tooltip 卡片 ---- */
.card-tooltip {
  padding: 20px 22px;
  background:
    linear-gradient(180deg, rgba(20, 10, 30, 0.95) 0%, rgba(10, 5, 15, 0.95) 100%);
  border: 1px solid var(--purple);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(192, 104, 255, 0.3),
    0 0 12px rgba(163, 53, 238, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.6);
}

.card-tooltip::before { display: none; }

.card-tooltip-title {
  font-family: 'ZCOOL XiaoWei', 'Microsoft YaHei', serif;
  font-size: 22px;
  color: var(--purple-bright);
  margin-bottom: 12px;
  letter-spacing: 0.2em;
  text-shadow: 0 0 8px rgba(192, 104, 255, 0.5);
}

.card-tooltip-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold-bright);
  font-family: 'Noto Serif SC', serif;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.card-tooltip-value-small {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 4px;
  line-height: 1.5;
}

.card-tooltip-blurb {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 6px;
}

/* ---- 欧皇值进度条 ---- */
.luck-unit {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 400;
}

.luck-bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--purple-deep);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.luck-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--gold-bright) 100%);
  border-radius: 4px;
  transition: width 0.6s ease;
  box-shadow: 0 0 8px var(--purple-bright);
}

/* ---- 宜忌卡片 ---- */
.yiji-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 16px;
  line-height: 1.5;
}

.yiji-line + .yiji-line {
  border-top: 1px dashed rgba(201, 162, 90, 0.3);
}

.yiji-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: 'ZCOOL XiaoWei', 'Microsoft YaHei', serif;
  font-size: 18px;
  flex-shrink: 0;
}

.yiji-tag.yi {
  background: var(--green-good);
  color: #001a00;
  box-shadow: 0 0 10px rgba(30, 255, 0, 0.4);
}

.yiji-tag.ji {
  background: var(--red-bad);
  color: #1a0000;
  box-shadow: 0 0 10px rgba(255, 64, 64, 0.4);
}

/* ---- 队友卡片 ---- */
.teammate-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
  font-size: 18px;
}

.teammate-line strong {
  color: var(--gold-bright);
  font-size: 20px;
}

.teammate-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.teammate-tag.good {
  background: var(--green-good);
  color: #001a00;
}

.teammate-tag.bad {
  background: var(--red-bad);
  color: #1a0000;
}

/* ---- 结果底部 ---- */
.result-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- 结果底部含二维码 ---- */
.result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.result-footer-text {
  text-align: left;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.diviner-line {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 13px;
  color: var(--purple-bright);
  margin-bottom: 4px;
  opacity: 0.9;
}

.result-qr {
  width: 64px;
  height: 64px;
  padding: 4px;
  background: #fff;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(201, 162, 90, 0.3);
}

.result-qr img,
.result-qr canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- Toast 提示 ---- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--purple-deep);
  color: var(--gold-bright);
  padding: 12px 24px;
  border: 1px solid var(--purple-bright);
  border-radius: 6px;
  font-size: 15px;
  letter-spacing: 0.1em;
  box-shadow: 0 0 16px rgba(163, 53, 238, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ 起名页专用 ============ */
.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--gold-bright);
}

.radio-group-name label {
  flex: 1 1 30%;
  min-width: 110px;
}

.name-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.name-card {
  position: relative;
  padding: 24px 24px 60px;
  text-align: center;
}

.name-rank {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 14px;
  color: var(--purple-bright);
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}

.name-text {
  font-family: 'ZCOOL QingKe HuangYou', serif;
  font-size: 44px;
  color: var(--gold-bright);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  text-shadow:
    0 0 16px rgba(255, 215, 100, 0.5),
    0 0 32px rgba(163, 53, 238, 0.3);
  font-weight: 400;
}

.name-explain {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 70px;
  text-align: left;
}

.name-copy {
  position: absolute;
  bottom: 18px;
  right: 18px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13px;
  color: var(--gold-bright);
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid var(--purple);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.1em;
}

.name-copy:hover {
  background: rgba(163, 53, 238, 0.3);
  color: #fff;
  box-shadow: 0 0 8px var(--purple-bright);
}

/* ============ 主页跳转入口 ============ */
.cover-cross-link {
  position: relative;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.2em;
  border-bottom: 1px dashed var(--gold-dark);
  padding-bottom: 2px;
  transition: all 0.15s;
}

.cover-cross-link:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

/* ============ 护身符模板（截图用）============ */
.amulet-template {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 720px;
  height: 1080px;
  pointer-events: none;
  z-index: -1;
}

.amulet-card {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 60px 50px;
  background:
    radial-gradient(ellipse at center top, #3d2a1a 0%, #1a1208 60%, #000 100%),
    linear-gradient(180deg, #2b1d12 0%, #0a0604 100%);
  background-blend-mode: multiply;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--text-main);
  box-sizing: border-box;
  border: 3px solid var(--gold);
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.8),
    inset 0 0 0 6px rgba(163, 53, 238, 0.4);
}

.amulet-corner {
  position: absolute;
  width: 50px;
  height: 50px;
  border-color: var(--gold-bright);
  border-style: solid;
}
.amulet-corner-tl { top: 16px; left: 16px; border-width: 3px 0 0 3px; }
.amulet-corner-tr { top: 16px; right: 16px; border-width: 3px 3px 0 0; }
.amulet-corner-bl { bottom: 16px; left: 16px; border-width: 0 0 3px 3px; }
.amulet-corner-br { bottom: 16px; right: 16px; border-width: 0 3px 3px 0; }

.amulet-header { text-align: center; }

.amulet-title {
  font-family: 'ZCOOL QingKe HuangYou', serif;
  font-size: 80px;
  color: var(--gold-bright);
  letter-spacing: 0.3em;
  text-shadow:
    0 0 20px rgba(255, 215, 100, 0.6),
    0 0 40px rgba(163, 53, 238, 0.5);
  margin-bottom: 12px;
  font-weight: 400;
}

.amulet-subtitle {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 24px;
  color: var(--purple-bright);
  letter-spacing: 0.4em;
}

.amulet-glyph-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amulet-glyph {
  font-family: 'ZCOOL QingKe HuangYou', serif;
  font-size: 220px;
  color: var(--gold-bright);
  text-shadow:
    0 0 30px var(--purple-bright),
    0 0 60px rgba(163, 53, 238, 0.6),
    0 0 90px rgba(255, 215, 100, 0.4);
  z-index: 2;
  font-weight: 400;
}

.amulet-glyph-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--purple);
  box-shadow:
    0 0 20px var(--purple),
    inset 0 0 30px rgba(163, 53, 238, 0.3);
}

.amulet-glyph-ring::before,
.amulet-glyph-ring::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
}
.amulet-glyph-ring::after {
  inset: 24px;
  border-color: var(--gold-bright);
  opacity: 0.4;
}

.amulet-charinfo { text-align: center; }

.amulet-charname {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 40px;
  color: var(--gold-bright);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.amulet-meta {
  font-size: 18px;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}

.amulet-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.amulet-time { text-align: center; }

.amulet-time-label {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 22px;
  color: var(--purple-bright);
  letter-spacing: 0.4em;
  margin-bottom: 12px;
}

.amulet-time-value {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
  text-shadow: 0 0 12px rgba(255, 215, 100, 0.4);
}

.amulet-luck {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.amulet-luck-label {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 20px;
  color: var(--text-dim);
  letter-spacing: 0.3em;
}

.amulet-luck-value {
  font-size: 48px;
  font-weight: 900;
  color: var(--green-good);
  text-shadow: 0 0 12px rgba(30, 255, 0, 0.4);
}

.amulet-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.amulet-qr {
  width: 96px;
  height: 96px;
  padding: 6px;
  background: #fff;
  border-radius: 4px;
}
.amulet-qr img,
.amulet-qr canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.amulet-footer-text {
  text-align: right;
  font-family: 'ZCOOL XiaoWei', serif;
  letter-spacing: 0.2em;
}

.amulet-domain {
  font-size: 22px;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.amulet-date {
  font-size: 16px;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .result-footer {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .result-footer-text {
    text-align: center;
  }
}
