/* Fantha Banter Styles - Auto-generated */
:root {
  --fb-primary: hsl(0 0% 100%);
  --fb-primary-dark: hsl(0 0% 35%);
  --fb-secondary: hsl(0 0% 0%);
  --fb-background: hsl(38 64% 46%);
  --fb-text: hsl(0 0% 100%);
  --fb-font-family: system-ui;
  --fb-sidebar-width: 320px;
  --fb-module-width-desktop: 55%;
  --fb-module-width-mobile: 100%;
  --fb-button-radius: 8px;
  --fb-card-radius: 10px;
  --fb-module-inner-padding: 16px;
  --fb-module-outer-padding: 16px;
  --fb-module-element-spacing: 12px;
  --fb-sidebar-inner-padding: 12px;
  --fb-sidebar-outer-padding: 8px;
  --fb-sidebar-element-spacing: 8px;
  --fb-sidebar-bg: hsl(39 100% 95%);
  --fb-sidebar-text: hsl(0 0% 0%);
  --fb-sidebar-header: hsl(38 64% 46%);
  --fb-sidebar-card-bg: hsl(38 64% 46%);
  --fb-sidebar-border: hsl(39 100% 100%);
  --fb-module-bg: hsl(0 0% 100%);
  --fb-module-text: hsl(0 0% 10%);
  --fb-module-border: hsl(220 13% 91%);
  --fb-module-badge-bg: #f3f4f6;
  --fb-module-badge-text: #1a1a1a;
  --fb-module-poll-btn-bg: #f3f4f6;
  --fb-module-poll-btn-border: #e5e7eb;
  --fb-module-poll-btn-text: #1a1a1a;
  --fb-module-footer-text: #6b7280;
  --fb-input-bg: hsl(0 0% 100%);
  --fb-input-border: hsl(0 0% 0%);
  --fb-input-text: hsl(0 0% 0%);
  --fb-login-bg: hsl(0 0% 100%);
  --fb-login-border: hsl(215 25% 27%);
  --fb-login-text: hsl(0 0% 0%);
  --fb-login-button: hsl(258 90% 66%);
  --fb-login-radius: 8px;
  --fb-login-padding: 16px;
  --fb-topbar-bg: hsl(38 64% 46%);
  --fb-topbar-text: hsl(0 0% 100%);
  --fb-topbar-border: hsl(0 0% 100%);
  --fb-topbar-height: 48px;
  --fb-streak-bg: hsl(240 32% 20%);
  --fb-streak-border: hsl(240 27% 33%);
  --fb-streak-text: hsl(0 0% 100%);
  --fb-streak-accent: hsl(38 92% 50%);
  --fb-challenge-bg: hsl(240 32% 20%);
  --fb-challenge-border: hsl(240 27% 33%);
  --fb-challenge-text: hsl(0 0% 100%);
  --fb-challenge-progress: hsl(142 71% 45%);
  --fb-goal-bg: hsl(240 32% 20%);
  --fb-goal-border: hsl(240 27% 33%);
  --fb-goal-text: hsl(0 0% 100%);
  --fb-goal-progress: hsl(217 91% 60%);
  --fb-leader-bg: hsl(240 32% 20%);
  --fb-leader-border: hsl(240 27% 33%);
  --fb-leader-text: hsl(0 0% 100%);
  --fb-leader-rank: hsl(38 92% 50%);
  --fb-leader-points: hsl(142 71% 45%);
  --fb-spotlight-bg: hsl(240 32% 20%);
  --fb-spotlight-border: hsl(38 92% 50%);
  --fb-spotlight-text: hsl(0 0% 100%);
  --fb-spotlight-accent: hsl(38 92% 50%);
  --fb-comment-bg: hsl(240 28% 14%);
  --fb-comment-border: hsl(240 27% 33%);
  --fb-comment-text: hsl(0 0% 100%);
  --fb-comment-author: hsl(258 90% 66%);
  --fb-comment-timestamp: hsl(218 11% 65%);
  --fb-reaction-bg: hsl(240 32% 20%);
  --fb-reaction-border: hsl(240 27% 33%);
  --fb-reaction-text: hsl(0 0% 100%);
  --fb-reaction-active: hsl(258 90% 66%);
  --fb-muted: hsl(0 0% 0%);
  --fb-success: hsl(150 60% 50%);
  --fb-warning: hsl(45 100% 50%);
  --fb-toggle-bg: #000000;
  --fb-toggle-icon: #ffffff;
}

/* Toggle Button Styles - use high specificity to override theme styles */
button#fantha-banter-toggle,
.fantha-banter-toggle-btn {
    position: fixed !important;
    z-index: 999999 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    outline: none !important;
}

button#fantha-banter-toggle:hover,
.fantha-banter-toggle-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4) !important;
}

button#fantha-banter-toggle:active,
.fantha-banter-toggle-btn:active {
    transform: scale(0.95) !important;
}

/* Toggle button sizes */
.fantha-banter-toggle-sm,
.fantha-banter-toggle-small {
    width: 48px !important;
    height: 48px !important;
}

.fantha-banter-toggle-md,
.fantha-banter-toggle-medium {
    width: 56px !important;
    height: 56px !important;
}

.fantha-banter-toggle-lg,
.fantha-banter-toggle-large {
    width: 72px !important;
    height: 72px !important;
}

.fantha-banter-toggle-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.fantha-banter-module {
  background: var(--fb-module-bg);
  border: 1px solid var(--fb-module-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-module-inner-padding);
  width: var(--fb-module-width-desktop);
  max-width: 400px;
  margin: var(--fb-module-outer-padding) auto;
  color: var(--fb-module-text);
  font-family: var(--fb-font-family);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (max-width: 768px) {
  .fantha-banter-module {
    width: var(--fb-module-width-mobile);
    max-width: none;
    margin: 16px 0;
  }
}

.fantha-banter-module:hover {
  transform: scale(1.02);
}

.fantha-banter-module__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--fb-module-element-spacing);
}

.fantha-banter-module__brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--fb-module-text);
}

.fantha-banter-module__badge {
  background: var(--fb-module-badge-bg);
  color: var(--fb-module-badge-text);
  padding: 4px 10px;
  border-radius: var(--fb-button-radius);
  font-size: 12px;
}

.fantha-banter-module__question {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: var(--fb-module-element-spacing);
  color: var(--fb-module-text);
}

.fantha-banter-module__cta {
  background: var(--fb-module-poll-btn-bg);
  border: 1px solid var(--fb-module-poll-btn-border);
  color: var(--fb-module-poll-btn-text);
  border-radius: var(--fb-button-radius);
  padding: 12px;
  text-align: center;
  margin-bottom: var(--fb-module-element-spacing);
}

.fantha-banter-module__featured {
  background: var(--fb-spotlight-bg);
  border: 1px solid var(--fb-spotlight-border);
  border-radius: var(--fb-card-radius);
  padding: 10px;
  margin-bottom: var(--fb-module-element-spacing);
}

.fantha-banter-module__featured-badge {
  background: var(--fb-warning);
  padding: 3px 10px;
  border-radius: var(--fb-button-radius);
  font-size: 10px;
  font-weight: 700;
  color: white;
}

.fantha-banter-module__footer {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fb-module-footer-text);
}

/* Sidebar Styles - use high z-index and !important to override themes */
.fantha-banter-sidebar__overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0,0,0,0.5) !important;
  z-index: 9999998 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.fantha-banter-sidebar__overlay--visible,
.fantha-banter-sidebar__overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

.fantha-banter-sidebar {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  width: var(--fb-sidebar-width) !important;
  max-width: 90vw !important;
  background: var(--fb-sidebar-bg) !important;
  border: 1px solid var(--fb-sidebar-border);
  font-family: var(--fb-font-family);
  z-index: 9999999 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s ease-out !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15) !important;
}

.fantha-banter-sidebar--right {
  right: 0 !important;
  left: auto !important;
  border-radius: 16px 0 0 16px;
  transform: translateX(100%) !important;
}

.fantha-banter-sidebar--left {
  left: 0 !important;
  right: auto !important;
  border-radius: 0 16px 16px 0;
  transform: translateX(-100%) !important;
}

.fantha-banter-sidebar--open,
.fantha-banter-sidebar.is-open,
.fantha-banter-sidebar.open {
  transform: translateX(0) !important;
}

.fantha-banter-sidebar__header {
  background: var(--fb-sidebar-header);
  padding: var(--fb-sidebar-inner-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--fb-sidebar-border);
}

.fantha-banter-sidebar__close {
  color: var(--fb-sidebar-text);
  cursor: pointer;
  font-size: 14px;
  background: none;
  border: none;
  opacity: 0.7;
}

.fantha-banter-sidebar__brand {
  color: var(--fb-sidebar-text);
  font-weight: bold;
  font-size: 16px;
}

.fantha-banter-sidebar__content {
  flex: 1;
  overflow-y: auto;
  padding: var(--fb-sidebar-inner-padding);
}

.fantha-banter-sidebar__module-badge {
  background: var(--fb-primary);
  padding: 4px 10px;
  border-radius: var(--fb-button-radius);
  color: white;
  font-size: 12px;
  display: inline-block;
  margin-bottom: var(--fb-sidebar-element-spacing);
}

.fantha-banter-sidebar__question {
  color: var(--fb-sidebar-text);
  font-weight: 500;
  margin-bottom: var(--fb-sidebar-element-spacing);
}

.fantha-banter-poll-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.fantha-banter-poll-option__radio {
  color: var(--fb-muted);
}

.fantha-banter-poll-option__radio.selected {
  color: var(--fb-primary);
}

.fantha-banter-poll-option__text {
  color: var(--fb-sidebar-text);
  flex: 1;
}

.fantha-banter-poll-option__percent {
  color: var(--fb-muted);
  font-size: 13px;
}

.fantha-banter-poll-option__bar {
  width: 80px;
  height: 6px;
  background: var(--fb-sidebar-border);
  border-radius: 3px;
}

.fantha-banter-poll-option__bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--fb-primary);
}

.fantha-banter-poll-option__bar-fill.winner {
  background: var(--fb-success);
}

.fantha-banter-vote-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--fb-primary), var(--fb-primary-dark));
  color: white;
  padding: 12px;
  border-radius: var(--fb-button-radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: var(--fb-sidebar-element-spacing);
}

.fantha-banter-comment-card {
  background: var(--fb-comment-bg);
  border: 1px solid var(--fb-comment-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-sidebar-inner-padding);
  margin-bottom: var(--fb-sidebar-element-spacing);
  color: var(--fb-comment-text);
}

.fantha-banter-comment-author {
  color: var(--fb-comment-author);
  font-weight: 600;
}

.fantha-banter-comment-timestamp {
  color: var(--fb-comment-timestamp);
  font-size: 12px;
}

.fantha-banter-user-badge {
  background: var(--fb-warning);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.fantha-banter-related-articles {
  background: var(--fb-sidebar-header);
  padding: var(--fb-sidebar-inner-padding);
  border-top: 1px solid var(--fb-sidebar-border);
}

.fantha-banter-input {
  flex: 1;
  font-size: 14px;
  border-radius: var(--fb-button-radius);
  border: 1px solid var(--fb-input-border);
  background: var(--fb-input-bg);
  padding: 8px 12px;
  color: var(--fb-input-text);
}

.fantha-banter-input:focus {
  outline: none;
  border-color: var(--fb-primary);
}


/* Gamification Section Styles - using CSS variables */
.fantha-banter-day-streaks {
  background: var(--fb-streak-bg);
  border: 1px solid var(--fb-streak-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-sidebar-inner-padding);
  margin-bottom: var(--fb-sidebar-element-spacing);
  color: var(--fb-streak-text);
}

.fantha-banter-day-streaks__icon {
  font-size: 24px;
}

.fantha-banter-day-streaks__progress {
  height: 6px;
  background: var(--fb-sidebar-border);
  border-radius: 3px;
  overflow: hidden;
}

.fantha-banter-day-streaks__progress-fill {
  height: 100%;
  background: var(--fb-streak-accent);
  border-radius: 3px;
}

.fantha-banter-daily-challenges {
  background: var(--fb-challenge-bg);
  border: 1px solid var(--fb-challenge-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-sidebar-inner-padding);
  margin-bottom: var(--fb-sidebar-element-spacing);
  color: var(--fb-challenge-text);
}

.fantha-banter-daily-challenges__progress {
  height: 6px;
  background: var(--fb-sidebar-border);
  border-radius: 3px;
  overflow: hidden;
}

.fantha-banter-daily-challenges__progress-fill {
  height: 100%;
  background: var(--fb-challenge-progress);
  border-radius: 3px;
}

.fantha-banter-community-goals {
  background: var(--fb-goal-bg);
  border: 1px solid var(--fb-goal-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-sidebar-inner-padding);
  margin-bottom: var(--fb-sidebar-element-spacing);
  color: var(--fb-goal-text);
}

.fantha-banter-community-goals__progress {
  height: 8px;
  background: var(--fb-sidebar-border);
  border-radius: 4px;
  overflow: hidden;
}

.fantha-banter-community-goals__progress-fill {
  height: 100%;
  background: var(--fb-goal-progress);
  border-radius: 4px;
}

.fantha-banter-community-leaders {
  background: var(--fb-leader-bg);
  border: 1px solid var(--fb-leader-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-sidebar-inner-padding);
  margin-bottom: var(--fb-sidebar-element-spacing);
  color: var(--fb-leader-text);
}

.fantha-banter-community-leaders__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--fb-sidebar-border);
}

.fantha-banter-community-leaders__item:last-child {
  border-bottom: none;
}

.fantha-banter-community-leaders__rank {
  color: var(--fb-leader-rank);
  font-weight: 700;
  font-size: 18px;
  min-width: 28px;
}

.fantha-banter-community-leaders__points {
  color: var(--fb-leader-points);
  font-weight: 600;
  margin-left: auto;
}

.fantha-banter-comments-section {
  background: var(--fb-comment-bg);
  border: 1px solid var(--fb-comment-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-sidebar-inner-padding);
  margin-bottom: var(--fb-sidebar-element-spacing);
  color: var(--fb-comment-text);
}

.fantha-banter-comments-section__author {
  color: var(--fb-comment-author);
  font-weight: 600;
}

.fantha-banter-comments-section__timestamp {
  color: var(--fb-comment-timestamp);
  font-size: 12px;
}

.fantha-banter-reactions-section {
  background: var(--fb-reaction-bg);
  border: 1px solid var(--fb-reaction-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-sidebar-inner-padding);
  margin-bottom: var(--fb-sidebar-element-spacing);
  color: var(--fb-reaction-text);
}

.fantha-banter-reactions-section__btn {
  background: transparent;
  border: 1px solid var(--fb-reaction-border);
  border-radius: var(--fb-button-radius);
  padding: 6px 12px;
  color: var(--fb-reaction-text);
  cursor: pointer;
  transition: all 0.2s;
}

.fantha-banter-reactions-section__btn:hover,
.fantha-banter-reactions-section__btn.active {
  color: var(--fb-reaction-active);
  background: hsl(var(--fb-reaction-active) / 0.15);
  border-color: var(--fb-reaction-active);
}

.fantha-banter-spotlight {
  background: var(--fb-spotlight-bg);
  border: 1px solid var(--fb-spotlight-border);
  border-radius: var(--fb-card-radius);
  padding: var(--fb-sidebar-inner-padding);
  margin-bottom: var(--fb-sidebar-element-spacing);
  color: var(--fb-spotlight-text);
}

.fantha-banter-spotlight__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.fantha-banter-spotlight__icon {
  font-size: 20px;
}

.fantha-banter-spotlight__title {
  font-weight: 600;
  color: var(--fb-spotlight-accent);
}

.fantha-banter-spotlight__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fantha-banter-spotlight__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fb-primary), var(--fb-spotlight-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.fantha-banter-spotlight__stats {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
}

.fantha-banter-spotlight__stat-value {
  color: var(--fb-spotlight-accent);
  font-weight: 600;
}