.fq-widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  color: var(--color-text, #e6e8eb);
}
.fq-intro { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fq-intro-icon { font-size: 36px; }
.fq-intro-text { flex: 1; min-width: 200px; }
.fq-intro-text h3 { margin: 0 0 4px; font-size: 17px; }
.fq-intro-text p { margin: 0; font-size: 13px; opacity: .75; }
.fq-btn {
  background: var(--color-primary, #7c3aed);
  color: #fff; border: none; border-radius: 8px;
  padding: 10px 20px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.fq-btn:hover { opacity: .9; }
.fq-btn:disabled { opacity: .5; cursor: not-allowed; }

.fq-progress { font-size: 12px; opacity: .6; margin-bottom: 6px; }
.fq-timer {
  display: inline-block; font-family: monospace; font-size: 20px; font-weight: 700;
  background: rgba(255,255,255,0.08); border-radius: 50%; width: 42px; height: 42px;
  line-height: 42px; text-align: center; float: right; margin-top: -4px;
}
.fq-timer-warning { color: #f26a80; }
.fq-question { font-size: 17px; font-weight: 600; margin: 12px 0 16px; clear: both; }
.fq-options { display: flex; flex-direction: column; gap: 8px; }
.fq-option-btn {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 10px 14px; color: inherit; font-size: 14px; cursor: pointer;
}
.fq-option-btn:hover { background: rgba(124,58,237,0.15); border-color: var(--color-primary, #7c3aed); }
.fq-option-btn.fq-selected { background: var(--color-primary, #7c3aed); border-color: var(--color-primary, #7c3aed); }
.fq-option-letter {
  width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0;
}

.fq-result-area { text-align: center; padding: 20px 0; }
.fq-result-emoji { font-size: 48px; }
.fq-result-score { font-size: 32px; font-weight: 700; margin-top: 8px; }
.fq-result-label { font-size: 13px; opacity: .7; margin-bottom: 16px; }

.fq-loading, .fq-empty, .fq-error { text-align: center; padding: 16px; opacity: .6; font-size: 13px; }

.fq-widget.fq-highlight { animation: fq-pulse-outline 1s ease-in-out 2; border-radius: 12px; }
@keyframes fq-pulse-outline {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
  50% { box-shadow: 0 0 0 6px rgba(124,58,237,0.35); }
}

.fq-spoiler-warning {
  text-align: center; padding: 10px 4px 4px;
}
.fq-spoiler-blink {
  display: inline-block; color: #ff3b4e; font-weight: 800; font-size: 16px;
  letter-spacing: .04em; padding: 8px 16px; border: 2px solid #ff3b4e; border-radius: 8px;
  animation: fq-blink-warning 1s step-start infinite;
}
@keyframes fq-blink-warning {
  50% { opacity: .25; }
}
.fq-spoiler-warning p { font-size: 13.5px; opacity: .85; margin: 14px auto; max-width: 480px; }
.fq-spoiler-actions { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.fq-btn-secondary { background: rgba(255,255,255,0.1); }

.fq-banner {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, rgba(124,58,237,0.16), rgba(124,58,237,0.05));
  border: 1px solid rgba(124,58,237,0.35); border-radius: 10px;
  padding: 12px 16px; margin: 20px 0; text-decoration: none; color: var(--color-text, #e6e8eb);
}
.fq-banner:hover { border-color: #7c3aed; }
.fq-banner-icon { font-size: 22px; flex-shrink: 0; }
.fq-banner-text { flex: 1; font-size: 13.5px; }
.fq-banner-cta { font-size: 12.5px; font-weight: 700; color: #a879f5; white-space: nowrap; }

.fq-leaderboard {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 18px; margin: 24px 0; color: var(--color-text, #e6e8eb);
}
.fq-leaderboard-title { margin: 0 0 12px; font-size: 15px; }
.fq-leader-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.fq-leader-row:last-child { border-bottom: none; }
.fq-leader-rank { width: 28px; text-align: center; font-size: 14px; }
.fq-leader-name { flex: 1; color: inherit; text-decoration: none; font-size: 13.5px; }
.fq-leader-name:hover { text-decoration: underline; }
.fq-leader-score { font-size: 13px; font-weight: 600; opacity: .85; }
