/* WaveBlue Universe — Funken/Runen Widget Styles */

/* ── Universe Widget ──────────────────────────────────────────────────────── */
.universe-widget {
  background: linear-gradient(135deg, rgba(26,109,255,0.08), rgba(108,99,255,0.06));
  border: 1px solid rgba(26,109,255,0.2);
  border-radius: 14px;
  padding: 16px;
  margin: 16px 0;
}
.uw-rank { font-size: 0.75rem; color: var(--muted,#888); margin-bottom: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.uw-currencies { display: flex; gap: 12px; flex-wrap: wrap; }
.uw-currency {
  flex: 1; min-width: 80px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  display: flex; flex-direction: column; gap: 3px;
}
.uw-icon   { font-size: 1.3rem; line-height: 1; }
.uw-amount { font-size: 1.1rem; font-weight: 800; color: #fff; }
.uw-label  { font-size: 0.65rem; color: var(--muted,#888); text-transform: uppercase; letter-spacing: 0.05em; }
.uw-funken  .uw-amount { color: #fbbf24; }
.uw-runen   .uw-amount { color: #a78bfa; }
.uw-credits .uw-amount { color: #60a5fa; }
.uw-leaderboard-link {
  display: inline-block; margin-top: 12px;
  font-size: 0.75rem; color: #60a5fa;
  text-decoration: none;
}
.uw-leaderboard-link:hover { text-decoration: underline; }

/* ── Daily Challenges ─────────────────────────────────────────────────────── */
.challenges-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.challenges-header h3 { font-size: 0.95rem; margin: 0; }
.challenge-date { font-size: 0.72rem; color: var(--muted,#888); font-weight: 400; }
.challenges-list { display: flex; flex-direction: column; gap: 8px; }
.challenge-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 10px 12px;
  transition: border-color 0.15s;
}
.challenge-item.completed { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.04); }
.challenge-item.claimed   { opacity: 0.5; }
.ch-info { flex: 1; min-width: 0; }
.ch-title { font-size: 0.82rem; font-weight: 700; display: block; }
.ch-desc  { font-size: 0.72rem; color: var(--muted,#888); display: block; }
.ch-progress { width: 80px; }
.ch-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.ch-bar-fill { height: 100%; background: linear-gradient(90deg,#1a6dff,#6c63ff); border-radius: 2px; transition: width 0.4s; }
.ch-count { font-size: 0.62rem; color: var(--muted,#888); }
.ch-reward { text-align: right; font-size: 0.75rem; font-weight: 700; }
.ch-funken { color: #fbbf24; display: block; }
.ch-runen  { color: #a78bfa; display: block; }
.ch-claim-btn {
  background: linear-gradient(135deg,#1a6dff,#6c63ff);
  color: #fff; border: none; border-radius: 8px;
  padding: 6px 12px; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  animation: pulse-badge 1.5s ease infinite;
}
.ch-done { font-size: 0.72rem; color: #22c55e; white-space: nowrap; }

/* ── Leaderboard ──────────────────────────────────────────────────────────── */
.lb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.1s;
}
.lb-item:hover { background: rgba(255,255,255,0.03); }
.lb-top { background: linear-gradient(90deg, rgba(251,191,36,0.05), transparent); }
.lb-rank   { width: 28px; font-size: 0.85rem; text-align: center; flex-shrink: 0; }
.lb-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: #fff; flex-shrink: 0;
  overflow: hidden;
}
.lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-name   { flex: 1; font-size: 0.85rem; font-weight: 600; }
.lb-name a { color: inherit; text-decoration: none; }
.lb-name a:hover { color: #60a5fa; }
.lb-host-badge { font-size: 0.7rem; }
.lb-amount { font-size: 0.85rem; font-weight: 700; color: #fbbf24; white-space: nowrap; }

/* ── Votes ────────────────────────────────────────────────────────────────── */
.vote-card {
  background: rgba(108,99,255,0.06);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 14px; padding: 16px; margin-bottom: 12px;
}
.vote-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.vote-title { font-size: 0.9rem; font-weight: 700; margin: 0; }
.vote-meta  { font-size: 0.72rem; color: var(--muted,#888); white-space: nowrap; }
.vote-desc  { font-size: 0.78rem; color: var(--muted,#888); margin: 0 0 10px; }
.vote-options { display: flex; flex-direction: column; gap: 6px; }
.vote-option {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 8px 10px;
  cursor: pointer; text-align: left; width: 100%;
  transition: all 0.15s; font-family: inherit; color: inherit; font-size: 0.82rem;
}
.vote-option:hover:not(:disabled) { border-color: rgba(108,99,255,0.5); background: rgba(108,99,255,0.1); }
.vote-option.voted { border-color: #6c63ff; background: rgba(108,99,255,0.15); }
.vote-option:disabled { cursor: default; }
.vo-label { flex: 1; font-weight: 600; }
.vo-bar { width: 80px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.vo-fill { height: 100%; background: #6c63ff; transition: width 0.5s; }
.vo-pct  { font-size: 0.72rem; color: var(--muted,#888); width: 30px; text-align: right; }
.vote-footer { font-size: 0.7rem; color: var(--muted,#888); margin-top: 8px; }
