/* 公共样式 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
  background: #f3f4f6;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
button, input, select { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; border: none; }
a { color: #2563eb; text-decoration: none; }
.hidden { display: none !important; }
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
  background: rgba(17, 24, 39, .92); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; z-index: 9999; max-width: 86vw; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); animation: toastIn .2s ease;
}
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
