:root {
  --bg: #f7c6cf;
  --bg2: #fde8ec;
  --primary: #e8627c;
  --text: #7a2e3d;
  --card: #fffafb;
  --on-primary: #fff;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg2);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 999px;
  padding: 12px 24px;
  background: var(--primary); color: var(--on-primary, #fff);
  font-weight: 600; font-size: 16px;
  box-shadow: 0 6px 16px -6px var(--primary);
  transition: transform .15s, opacity .15s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn.block { width: 100%; }

#toast {
  position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%) scale(.9);
  background: rgba(0,0,0,.78); color: #fff; padding: 10px 18px; border-radius: 10px;
  font-size: 14px; max-width: 80vw; text-align: center;
  opacity: 0; pointer-events: none; transition: all .2s; z-index: 999;
}
#toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.hidden { display: none !important; }
