/* WNBA All-Star Vote Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1a1a1a; background: #fff; }a { color: #2563eb; text-decoration: none; }a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 1rem; }

.site-header { background: linear-gradient(135deg, #e0f2fe, #fef3c7); border-bottom: 2px solid #fbbf24; }
.site-header h1 { font-size: 1.8rem; font-weight: 700; color: #1e40af; }
.nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav a { color: #1e40af; font-weight: 500; }
.nav a:hover { color: #2563eb; }

.hero { text-align: center; padding: 2rem 0; border-bottom: 1px solid #e5e7eb; }
.hero h2 { font-size: 1.6rem; margin-bottom: 0.5rem; color: #1e3a8a; }
.hero p { color: #4b5563; }

.team-builder { padding: 1.5rem 0; }
.conference { margin-bottom: 2rem; }
.conference h3 { font-size: 1.2rem; margin-bottom: 1rem; color: #1e40af; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem; }
.position-group { margin-bottom: 1rem; }
.position-group label { display: block; margin-bottom: 0.25rem; font-weight: 500; color: #374151; }
.player-select { width: 100%; padding: 0.5rem; border: 1px solid #d1d5db; border-radius: 4px; font-size: 0.95rem; background: #fff; }
.player-select option { font-size: 0.9rem; }
.player-select:hover { border-color: #3b82f6; background: #f0f9ff; }

.action-bar { display: flex; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; }
.primary-btn { background: #2563eb; color: #fff; border: none; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 500; cursor: pointer; }
.primary-btn:hover { background: #1d4ed8; }
.secondary-btn { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; padding: 0.75rem 1.5rem; border-radius: 6px; cursor: pointer; }
.secondary-btn:hover { background: #e5e7eb; }

.results-section { background: #f9fafb; border-radius: 8px; padding: 1.5rem; margin: 1.5rem 0; }
.comparison-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 1.5rem; }
.comparison-card { background: #fff; border-radius: 6px; padding: 1rem; border: 1px solid #e5e7eb; }
.comparison-card h4 { font-size: 1rem; margin-bottom: 0.5rem; color: #1e40af; }
.team-list { list-style: none; padding: 0; }
.player-item { padding: 0.35rem 0; border-bottom: 1px solid #f3f4f6; font-size: 0.9rem; }
.player-item:last-child { border-bottom: none; }

.impact-ratings { margin-top: 1rem; }
.rating-bar { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.rating-label { font-size: 0.85rem; flex: 1; color: #374151; }
.rating-stars { color: #f59e0b; font-size: 1.1rem; }
.rating-value { font-weight: 600; color: #1e40af; min-width: 2.5rem; text-align: right; }

.result-actions { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }

.strategy-notes { background: #fff; border-radius: 8px; padding: 1.5rem; margin: 1.5rem 0; border: 1px solid #e5e7eb; }
.strategy-notes h3 { margin-bottom: 1rem; color: #1e40af; }
.strategy-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.strategy-card { background: #f9fafb; padding: 1rem; border-radius: 6px; border-left: 4px solid #3b82f6; }
.strategy-card h4 { font-size: 0.95rem; margin-bottom: 0.5rem; color: #1e40af; }
.strategy-card p { font-size: 0.9rem; color: #4b5563; }

.comparison-table { overflow-x: auto; margin: 1.5rem 0; }
.comparison-table table { min-width: 400px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #e5e7eb; background: #fff; }
.comparison-table th { background: #f0f9ff; font-weight: 600; color: #1e40af; }
.comparison-table tr:hover { background: #f0f9ff; }

.faq-section { background: #fff; border-radius: 8px; padding: 1.5rem; margin: 1.5rem 0; border: 1px solid #e5e7eb; }
.faq-section h3 { margin-bottom: 1rem; color: #1e40af; }
.faq-item { margin-bottom: 1rem; }
.faq-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; color: #374151; }
.faq-item p { font-size: 0.9rem; color: #4b5563; }

.version-note { text-align: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.version-note p { color: #6b7280; font-size: 0.85rem; }

.site-footer { background: #f3f4f6; padding: 1rem 0; border-top: 1px solid #d1d5db; margin-top: 2rem; }
.site-footer a { color: #6b7280; font-size: 0.9rem; }
.site-footer a:hover { color: #2563eb; }

.ad-slot-placeholder { min-height: 120px; display: flex; align-items: center; justify-content: center; background: #f3f4f6; border-radius: 6px; margin: 1rem 0; }

@media (max-width: 768px) {
.site-header h1 { font-size: 1.5rem; }
.nav { gap: 1rem; }
.hero h2 { font-size: 1.4rem; }
.action-bar { flex-direction: column; }
.strategy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
.container { padding: 0.75rem; }
.site-header { padding: 1rem 0; }
}

/* Star rating styling */
.rating-stars::before { content: '\2605\2605\2605\2605\2605'; }
.rating-stars.on::before { content: '\2605\2605\2605\2605\2606'; }

/* Loading state */
.loading { opacity: 0.6; pointer-events: none; }

/* Result visible state */
.results-visible { animation: fadeIn 0.3s ease-in; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Empty state styling */
.empty-state { text-align: center; padding: 2rem; color: #6b7280; background: #f9fafb; border-radius: 8px; }

/* Form validation */
.player-select:invalid { border-color: #ef4444; background: #fef2f2; }


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
