/* ── Google Auth Modal ───────────────────────────────────────────────────── */
.omgauth-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; transition: opacity 0.25s;
  pointer-events: none;
}
.omgauth-backdrop.omgauth--open { opacity: 1; pointer-events: all; }

.omgauth-modal {
  background: #111;
  border: 1px solid rgba(249,115,22,0.35);
  border-radius: 16px;
  padding: 32px 28px 24px;
  max-width: 360px; width: 100%;
  position: relative;
  box-shadow: 0 0 40px rgba(249,115,22,0.15);
  transform: translateY(20px); transition: transform 0.25s;
  font-family: 'Space Mono', monospace;
  color: #fff;
}
.omgauth--open .omgauth-modal { transform: translateY(0); }

.omgauth-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 16px; cursor: pointer; padding: 4px 8px;
  border-radius: 4px; transition: color 0.15s;
}
.omgauth-close:hover { color: #fff; }

.omgauth-icon { font-size: 40px; text-align: center; margin-bottom: 12px; }

.omgauth-title {
  font-size: 18px; font-weight: 700;
  text-align: center; margin: 0 0 8px;
  color: #f97316;
}

.omgauth-sub {
  font-size: 12px; color: rgba(255,255,255,0.6);
  text-align: center; margin: 0 0 20px; line-height: 1.5;
}

.omgauth-perks {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.omgauth-perks li {
  font-size: 13px; display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.85);
}
.omgauth-perk-icon { font-size: 16px; flex-shrink: 0; }

.omgauth-gsignin-wrap {
  display: flex; justify-content: center; margin-bottom: 14px;
  min-height: 44px;
}

.omgauth-note {
  font-size: 10px; color: rgba(255,255,255,0.3);
  text-align: center; margin: 0;
}

/* ── Header button ───────────────────────────────────────────────────────── */
.omgauth-header-btn {
  position: fixed; top: 14px; right: 16px; z-index: 1000;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.4);
  color: #f97316; border-radius: 8px;
  padding: 7px 16px; font-family: 'Space Mono', monospace;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: background 0.2s, border-color 0.2s;
  text-transform: uppercase;
}
.omgauth-header-btn:hover {
  background: rgba(249,115,22,0.25);
  border-color: #f97316;
}
.omgauth-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .omgauth-header-btn {
    display: none !important;
  }
}

/* ── Toast ───────────────────────────────────────────────────────────────── */
.omgauth-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a1a1a; border: 1px solid #22c55e;
  color: #22c55e; padding: 10px 20px; border-radius: 8px;
  font-family: 'Space Mono', monospace; font-size: 13px;
  z-index: 10000; opacity: 0; transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.omgauth-toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Leaderboard green nick ──────────────────────────────────────────────── */
.lb-google-user { color: #22c55e !important; }
.lb-google-user::after {
  content: ' ✓';
  font-size: 10px;
  opacity: 0.7;
}
