:root {
  font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system,
    'Segoe UI', Roboto, sans-serif;
  color: #f3efe3;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* 锁死视口：禁止上下滑动 / 橡皮筋，避免「大」上滑下注时页面跟着滚 */
html,
body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body {
  background: #0a120e;
}

/* ===== 通用立体金币（尺寸由 font-size 控制：宽高=1em）===== */
.coin {
  display: inline-block;
  position: relative;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  vertical-align: -0.14em;
  background: radial-gradient(circle at 36% 30%, #fff4cc 0%, #ffdd72 28%, #ecb53e 60%, #bd831f 100%);
  box-shadow:
    inset 0 0 0 0.085em rgba(255, 247, 214, 0.9),
    inset 0 -0.13em 0.2em rgba(120, 76, 16, 0.6),
    inset 0 0.1em 0.14em rgba(255, 255, 255, 0.6),
    0 0.06em 0.14em rgba(0, 0, 0, 0.45);
}
.coin::after {
  content: '¥';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62em;
  font-weight: 900;
  color: #8a5712;
  text-shadow: 0 0.04em 0 rgba(255, 255, 255, 0.45);
}
