* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0;
  height: 100dvh; width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f1115;
  color: #eaeaea;
  overscroll-behavior: none;
}
button { font-family: inherit; }
.hidden { display: none !important; }

.btn {
  border: none; border-radius: 24px; padding: 12px 20px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn.primary {
  background: linear-gradient(135deg, #2fe37a, #1fb35e);
  color: #06210f;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn:active { transform: scale(0.94); box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.btn.ghost { background: transparent; color: #eaeaea; border: 1px solid #444; }
.btn.danger, .btn.ghost.danger { color: #ff5c5c; }
.btn.small { padding: 8px 14px; font-size: 14px; }

.icon-btn {
  background: transparent; border: none; color: #eaeaea;
  font-size: 20px; padding: 8px; cursor: pointer; border-radius: 50%;
  line-height: 1; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn.small { font-size: 14px; padding: 4px 8px; }
.icon-btn:active { background: rgba(255,255,255,0.1); }

.toast {
  position: fixed; bottom: env(safe-area-inset-bottom, 20px); left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85); color: #fff; padding: 10px 18px; border-radius: 20px;
  font-size: 14px; z-index: 999;
}
