/* ui.bundle.css — auto-generated bundle, do not edit manually.
   Built: 2026-03-14 11:14 UTC | Commit: 9050c4f
   Sources: components/toast.css, components/modal.css, components/onboarding-wizard.css, components/getting-started.css, components/tournament-state.css, components/micro-tips.css, components/mobile-interactions.css, components/trust-signals.css, components/notif-nudge.css
   Total: 36,576 bytes (9 files) */

/* === components/toast.css (2,911 bytes) === */
/**
 * Toast Notification Styles
 * Extracted from base.html for better organization
 *
 * Usage: Flash messages and dynamic notifications
 * Classes: .toast-container, .toast, .toast--{success|danger|warning|info}
 */

/* Toast Container - Positioned below app header chrome */
.toast-container {
  position: fixed;
  top: calc(var(--app-top-offset, 44px) + 8px);
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  width: 100%;
  pointer-events: none;
}

/* Individual Toast Styling */
.toast {
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  margin-bottom: 12px;
  overflow: hidden;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: auto;
  border-left: 4px solid #e5e7eb;
  max-width: 100%;
  position: relative;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Toast Content */
.toast__content {
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.toast__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.toast__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  font-weight: 500;
  flex: 1;
  word-wrap: break-word;
}

.toast__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 18px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #6b7280;
}

/* Success Toast */
.toast--success {
  border-left-color: #10b981;
}

.toast--success .toast__icon {
  color: #10b981;
}

/* Error/Danger Toast */
.toast--danger,
.toast--error {
  border-left-color: #ef4444;
}

.toast--danger .toast__icon,
.toast--error .toast__icon {
  color: #ef4444;
}

/* Warning Toast */
.toast--warning {
  border-left-color: #f59e0b;
}

.toast--warning .toast__icon {
  color: #f59e0b;
}

/* Info Toast */
.toast--info {
  border-left-color: #3b82f6;
}

.toast--info .toast__icon {
  color: #3b82f6;
}

/* Progress Bar */
.toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  width: 100%;
  transition: width linear;
}

.toast--success .toast__progress {
  background: #10b981;
}

.toast--danger .toast__progress,
.toast--error .toast__progress {
  background: #ef4444;
}

.toast--warning .toast__progress {
  background: #f59e0b;
}

.toast--info .toast__progress {
  background: #3b82f6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .toast-container {
    top: calc(var(--app-top-offset, 44px) + 8px);
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .toast__content {
    padding: 14px 16px;
  }

  .toast__message {
    font-size: 13px;
  }
}


/* === components/modal.css (2,921 bytes) === */
/**
 * Modal/Overlay Styles
 * Extracted from base.html for better organization
 *
 * Usage: Dialogs, popups, and overlay panels
 * Classes: .modal-overlay, .modal, .modal-header, .modal-body, .modal-footer
 */

/* Modal Overlay - Proper centering */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

/* Modal Container - Responsive sizing and scrolling */
.modal {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal Header - Fixed at top */
.modal-header {
  padding: 24px 24px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Modal Subtitle */
.modal-subtitle {
  padding: 8px 24px 0 24px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  flex-shrink: 0;
}

/* Modal Body - Scrollable content */
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* Modal Footer - Fixed at bottom */
.modal-footer {
  padding: 20px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #f3f4f6;
  flex-shrink: 0;
}

/* Sub Link */
.modal-sub-link {
  text-align: center;
  padding: 0 24px 24px 24px;
  font-size: 13px;
  color: #6b7280;
  flex-shrink: 0;
}

/* Close Button Styling */
.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: #f3f4f6;
  color: #6b7280;
}

/* Button styles used in modals */
.btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.btn-primary {
  background: #059669;
  color: white;
}

.btn-primary:hover {
  background: #047857;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 16px;
  }

  .modal {
    max-height: 95vh;
  }

  .modal-header {
    padding: 20px 20px 0 20px;
  }

  .modal-subtitle {
    padding: 8px 20px 0 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-footer {
    padding: 16px 20px 20px 20px;
    flex-direction: column;
  }

  .btn {
    padding: 14px 20px;
  }

  .modal-sub-link {
    padding: 0 20px 20px 20px;
  }
}


/* === components/onboarding-wizard.css (9,523 bytes) === */
/* ============================================================
   Onboarding Wizard — Full-screen overlay with 4 interactive steps
   ============================================================ */

.onboarding-wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.onboarding-wizard-overlay.active {
  opacity: 1;
}

.wizard-container {
  background: white;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 2rem 1.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: wizardSlideUp 0.4s ease;
}

@keyframes wizardSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Progress Dots */
.wizard-progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.wizard-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: all 0.3s ease;
}

.wizard-progress-dot.active {
  background: var(--primary-green, #006a4e);
  width: 24px;
  border-radius: 4px;
}

.wizard-progress-dot.completed {
  background: var(--primary-green, #006a4e);
}

/* Steps */
.wizard-step {
  display: none;
  text-align: center;
  animation: wizardFadeIn 0.3s ease;
}

.wizard-step.active {
  display: block;
}

.wizard-step.exit {
  animation: wizardFadeOut 0.2s ease;
}

@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes wizardFadeOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-20px); }
}

.wizard-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green, #006a4e), #3498db);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: white;
}

.wizard-step h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.wizard-subtitle {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Step 1: Features */
.wizard-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.wizard-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 10px;
  text-align: left;
}

.wizard-feature i,
.wizard-feature .icon {
  color: var(--primary-green, #006a4e);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.wizard-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

/* Step 2: Preference Questions */
.wizard-question {
  margin-bottom: 1.25rem;
  text-align: left;
}

.wizard-question h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.wizard-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: #f8fafc;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.wizard-option-card i,
.wizard-option-card .icon {
  font-size: 1.25rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.wizard-option-card:hover {
  border-color: var(--primary-green, #006a4e);
  background: #f0fdf4;
}

.wizard-option-card.selected {
  border-color: var(--primary-green, #006a4e);
  background: #ecfdf5;
  color: var(--primary-green, #006a4e);
}

.wizard-option-card.selected i,
.wizard-option-card.selected .icon {
  color: var(--primary-green, #006a4e);
}

/* Step 3: League Cards */
.wizard-leagues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.wizard-league-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.wizard-league-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.wizard-league-header {
  padding: 0.75rem;
  min-height: 40px;
  display: flex;
  align-items: flex-start;
}

.wizard-league-body {
  padding: 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wizard-league-body h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.wizard-league-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.wizard-league-meta i,
.wizard-league-meta .icon {
  margin-right: 0.25rem;
}

.wizard-league-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}

.wizard-league-fee {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-green, #006a4e);
}

.wizard-league-cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
}

.wizard-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  color: #9ca3af;
}

.wizard-loading i,
.wizard-loading .icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.wizard-empty-leagues {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  color: #6b7280;
}

.wizard-empty-leagues i,
.wizard-empty-leagues .icon {
  font-size: 2rem;
  color: #d1d5db;
  margin-bottom: 0.75rem;
  display: block;
}

.wizard-browse-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary-green, #006a4e);
  font-weight: 600;
  text-decoration: none;
}

.wizard-browse-link:hover {
  text-decoration: underline;
}

/* Step 4: Extras */
.wizard-extras {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  text-align: left;
}

.wizard-extra-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  align-items: flex-start;
}

.wizard-extra-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-green, #006a4e), #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.wizard-extra-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.wizard-extra-content p {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.wizard-extra-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-green, #006a4e);
  text-decoration: none;
}

.wizard-extra-link:hover {
  text-decoration: underline;
}

/* Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.wizard-skip-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  font-family: inherit;
  transition: color 0.2s;
}

.wizard-skip-btn:hover {
  color: #6b7280;
}

.wizard-nav-buttons {
  display: flex;
  gap: 0.5rem;
}

.wizard-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.wizard-back-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.wizard-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-green, #006a4e), #10b981);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.wizard-next-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .wizard-container {
    padding: 1.5rem 1.25rem 1rem;
    border-radius: 16px;
    max-height: 95vh;
  }

  .wizard-step h2 {
    font-size: 1.25rem;
  }

  .wizard-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .wizard-option-card {
    padding: 0.75rem 0.25rem;
    font-size: 0.75rem;
  }

  .wizard-option-card i,
  .wizard-option-card .icon {
    font-size: 1.1rem;
  }

  .wizard-leagues-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .wizard-league-card {
    flex-direction: row;
  }

  .wizard-league-header {
    min-height: unset;
    width: 80px;
    min-height: 100%;
  }

  .wizard-nav {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .wizard-nav-buttons {
    width: 100%;
  }

  .wizard-next-btn {
    flex: 1;
    justify-content: center;
  }

  .wizard-back-btn {
    flex: 0;
  }
}

@media (max-width: 400px) {
  .wizard-container {
    padding: 1.25rem 1rem 0.75rem;
  }

  .wizard-icon {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
}


/* === components/getting-started.css (9,163 bytes) === */
/* ============================================================
   Getting Started Checklist — Dashboard onboarding card
   ============================================================ */

.getting-started-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border-radius: 14px;
  border-left: 4px solid var(--primary-green, #006a4e);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.getting-started-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.25rem 0.5rem;
}

.getting-started-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.getting-started-title > i,
.getting-started-title > .icon {
  font-size: 1.25rem;
  color: var(--primary-green, #006a4e);
  flex-shrink: 0;
}

.getting-started-title h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.getting-started-title p {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0.1rem 0 0;
}

.getting-started-dismiss {
  background: none;
  border: none;
  color: #d1d5db;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
  line-height: 1;
}

.getting-started-dismiss:hover {
  color: #6b7280;
}

/* Progress Bar */
.getting-started-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
}

.progress-bar-bg {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-green, #006a4e), #3498db);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

/* Checklist Items */
.checklist-items {
  padding: 0.25rem 1.25rem 1rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
}

.checklist-item:not(:last-child) {
  border-bottom: 1px solid #f3f4f6;
}

.checklist-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
}

.checklist-icon.completed {
  background: var(--primary-green, #006a4e);
  color: white;
}

.checklist-icon.optional {
  background: #fef3c7;
  color: #d97706;
}

.checklist-number {
  font-size: 0.75rem;
  font-weight: 700;
}

.checklist-optional-tag {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.checklist-content {
  flex: 1;
  min-width: 0;
}

.checklist-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  display: block;
}

.checklist-item.completed .checklist-label {
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-color: #d1d5db;
}

.checklist-hint {
  font-size: 0.75rem;
  color: #9ca3af;
  display: block;
  margin-top: 0.1rem;
}

.checklist-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-green, #006a4e);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.2rem;
}

.checklist-action:hover {
  text-decoration: underline;
}

.checklist-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary-green, #006a4e);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.checklist-action-btn:hover {
  background: #047857;
  transform: translateY(-1px);
}

.checklist-action-btn .icon {
  width: 0.85em;
  height: 0.85em;
}



/* ============================================================
   Inline Install Card — Dashboard
   ============================================================ */

.inline-install-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}

.inline-install-content {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex: 1;
  min-width: 0;
}

.inline-install-icon {
  flex-shrink: 0;
}

.inline-install-icon img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.inline-install-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.inline-install-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f2937;
}

.inline-install-text span {
  font-size: 0.7rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inline-install-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.inline-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary-green, #006a4e);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.inline-install-btn:hover {
  background: #047857;
}

.inline-install-btn .icon {
  width: 0.85em;
  height: 0.85em;
}

.inline-install-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 4px;
}

.inline-install-dismiss:hover {
  color: #6b7280;
  background: rgba(0, 0, 0, 0.05);
}

.inline-install-dismiss .icon {
  width: 0.75em;
  height: 0.75em;
}

/* ============================================================
   Notification Enablement Banner — Dashboard
   ============================================================ */

.notification-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid #93c5fd;
  border-radius: 10px;
}

.notification-banner-content {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex: 1;
  min-width: 0;
}

.notification-banner-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 8px;
  color: #fff;
}

.notification-banner-icon .icon {
  width: 1.1em;
  height: 1.1em;
}

.notification-banner-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.notification-banner-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f2937;
}

.notification-banner-text span {
  font-size: 0.7rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.notification-banner-enable {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.notification-banner-enable:hover {
  background: #1d4ed8;
}

.notification-banner-enable:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.notification-banner-enable .icon {
  width: 0.85em;
  height: 0.85em;
}

.notification-banner-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 4px;
}

.notification-banner-dismiss:hover {
  color: #6b7280;
  background: rgba(0, 0, 0, 0.05);
}

.notification-banner-dismiss .icon {
  width: 0.75em;
  height: 0.75em;
}

/* ============================================================
   Recommended Leagues Section — Dashboard
   ============================================================ */

.recommended-leagues-section {
  margin-bottom: 1.25rem;
}

.recommended-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.recommended-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.recommended-header h3 i,
.recommended-header h3 .icon {
  color: #f59e0b;
}

.see-all-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-green, #006a4e);
  text-decoration: none;
}

.see-all-link:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .getting-started-card {
    margin-bottom: 1rem;
  }

  .getting-started-header {
    padding: 0.75rem 1rem 0.4rem;
  }

  .getting-started-progress {
    padding: 0.4rem 1rem;
  }

  .checklist-items {
    padding: 0.25rem 1rem 0.75rem;
  }

  .getting-started-title h3 {
    font-size: 0.95rem;
  }

  .getting-started-title p {
    font-size: 0.75rem;
  }
}


/* === components/tournament-state.css (2,073 bytes) === */
/**
 * Tournament State Indicator
 * Persistent pill in mobile brand header showing live/upcoming tournament state.
 * Supports auto-rotating carousel for multiple simultaneous tournaments.
 */

.tournament-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity var(--transition-base);
  position: relative;
  min-width: 0;
}

/* Live state — green */
.tournament-state-pill--live {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}

/* Upcoming state — amber */
.tournament-state-pill--upcoming {
  background: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
}

/* Pulsing dot for live tournaments */
.tournament-state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success-icon);
  animation: tournament-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes tournament-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Carousel container for multiple tournaments */
.tournament-state-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

/* Fade transition between items */
.tournament-state-pill[data-transitioning] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Dot indicators for multi-tournament carousel */
.tournament-state-dots {
  display: flex;
  gap: 3px;
  justify-content: center;
}

.tournament-state-dots .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-medium);
  transition: background var(--transition-base);
}

.tournament-state-dots .dot.active {
  background: var(--primary-green);
}

/* Hide on desktop — header is mobile-only */
@media (min-width: 769px) {
  .tournament-state-carousel {
    display: none;
  }
}


/* === components/micro-tips.css (1,623 bytes) === */
/**
 * Micro Tips — One-time contextual tooltip hints
 * Shown once per element, dismissed via "Got it" or auto-dismiss after 8s.
 */

.micro-tip {
  position: absolute;
  z-index: var(--z-tooltip, 1200);
  max-width: 240px;
  padding: 0.625rem 0.75rem;
  background: var(--bg-dark, #1f2937);
  color: white;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.micro-tip.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Arrow — bottom position (tip above target) */
.micro-tip--bottom::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--bg-dark, #1f2937);
}

/* Arrow — top position (tip below target) */
.micro-tip--top::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--bg-dark, #1f2937);
}

.micro-tip-text {
  margin: 0 0 0.4rem 0;
}

.micro-tip-dismiss {
  display: inline-block;
  padding: 0;
  background: none;
  border: none;
  color: var(--info-border, #bae6fd);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.micro-tip-dismiss:hover {
  color: white;
}


/* === components/mobile-interactions.css (1,390 bytes) === */
/**
 * Mobile Interaction Styles
 * Pull-to-refresh hint and swipe ghost indicator.
 */

/* Pull-to-refresh hint */
.pull-refresh-hint {
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--info-text, #0369a1);
  background: var(--info-bg, #f0f9ff);
  border-bottom: 1px solid var(--info-border, #bae6fd);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pull-refresh-hint.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Swipe hint ghost overlay on first league card */
.swipe-hint-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 5;
}

.swipe-hint-ghost.visible {
  opacity: 1;
}

.swipe-hint-arrow {
  font-size: 1.5rem;
  color: white;
  animation: swipe-slide 1.2s ease-in-out infinite;
}

.swipe-hint-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

@keyframes swipe-slide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-8px); }
}

/* Only show mobile interaction styles on touch devices */
@media (hover: hover) and (pointer: fine) {
  .pull-refresh-hint,
  .swipe-hint-ghost {
    display: none !important;
  }
}


/* === components/trust-signals.css (1,475 bytes) === */
/**
 * Trust Signals
 * Visual trust indicators in payment and join flows.
 */

/* Stripe secure payment badge */
.trust-badge-stripe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.75rem;
  color: var(--text-muted, #6b7280);
  letter-spacing: 0.02em;
}

.trust-badge-stripe svg {
  width: 12px;
  height: 12px;
  fill: var(--success-icon, #22c55e);
}

/* Free entry badge */
.trust-badge-free {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--success-text, #166534);
  background: var(--success-bg, #dcfce7);
  border: 1px solid var(--success-border, #86efac);
  border-radius: var(--radius-sm, 8px);
}

.trust-badge-free svg {
  width: 14px;
  height: 14px;
  fill: var(--success-icon, #22c55e);
}

/* League card trust: free badge overlay */
.league-card-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  background: var(--success-bg, #dcfce7);
  color: var(--success-text, #166534);
  border: 1px solid var(--success-border, #86efac);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.league-card-free-badge svg {
  width: 10px;
  height: 10px;
  fill: var(--success-icon, #22c55e);
}


/* === components/notif-nudge.css (5,497 bytes) === */
/**
 * Notification Nudge Card + Modal
 * Dashboard card and repeat-visitor modal for push notification adoption.
 * The nudge card is the single installation/notification prompt (replaces
 * pwa_install_prompt.html banner).
 * Classes: .notif-nudge, .notif-modal
 */

/* ── Dashboard nudge card ────────────────────────────────────────────────── */

.notif-nudge {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border: 1.5px solid #d1fae5;
  border-radius: 12px;
  margin-top: 0;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 106, 78, 0.1);
  min-height: 120px; /* stabilises layout when body swaps to success state */
}

/* Green gradient header bar */
.notif-nudge-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #006a4e, #10b981);
  padding: 0.8rem 1rem;
}

/* Bell icon inside a white semi-transparent circle */
.notif-nudge-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.notif-nudge-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.notif-nudge-dismiss {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  flex-shrink: 0;
  white-space: nowrap;
  transition: color 0.15s;
}

.notif-nudge-dismiss:hover {
  color: #fff;
}

/* Card body */
.notif-nudge-body {
  padding: 0.9rem 1rem 1rem;
}

.notif-nudge-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem 0;
  line-height: 1.5;
}

/* Full-width CTA button */
.notif-nudge-cta {
  display: block;
  width: 100%;
  background: var(--primary-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.notif-nudge-cta:hover,
.notif-nudge-cta:focus {
  background: var(--primary-green-dark);
}

/* One-time pulse animation on first show */
.notif-nudge--animate .notif-nudge-cta {
  animation: notifPulse 0.6s ease-out 0.3s 1 both;
}

@keyframes notifPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 106, 78, 0.5); }
  60%  { box-shadow: 0 0 0 8px rgba(0, 106, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 106, 78, 0); }
}

/* Bell bounce — fires once on show alongside the CTA pulse */
@keyframes bellBounce {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(18deg); }
  35%  { transform: rotate(-16deg); }
  55%  { transform: rotate(10deg); }
  70%  { transform: rotate(-6deg); }
  85%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

.notif-nudge--animate .notif-nudge-icon-wrap {
  animation: bellBounce 0.7s ease-out 0.3s 1 both;
}

@media (prefers-reduced-motion: reduce) {
  .notif-nudge--animate .notif-nudge-cta,
  .notif-nudge--animate .notif-nudge-icon-wrap {
    animation: none;
  }
}

.notif-nudge-time {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-align: center;
}

.notif-nudge-error {
  font-size: 0.75rem;
  color: #dc2626;
  text-align: center;
  margin: 0.25rem 0 0;
}

.notif-nudge-howto-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--primary-green);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0.5rem 0 0 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Collapsible steps */
.notif-nudge-steps {
  padding: 0 1rem 0.75rem;
  border-top: 1px solid #d1fae5;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}

.notif-nudge-steps ol {
  margin: 0;
  padding-left: 1.3rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  line-height: 1.75;
}

/* Success confirmation */
.notif-nudge-success {
  background: var(--success-bg);
  border-top: 1px solid var(--success-border);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--success-text);
}

.notif-nudge-success ul {
  margin: 0.4rem 0 0 0;
  padding-left: 1.2rem;
  font-size: 0.85rem;
}

/* ── Repeat-visitor notification modal ──────────────────────────────────── */

.notif-modal {
  background: var(--bg-white);
}

.notif-modal .modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.notif-modal .modal-body ul {
  margin: 0.4rem 0 1rem 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.notif-modal-enable {
  display: block;
  width: 100%;
  background: var(--primary-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.notif-modal-enable:hover {
  background: var(--primary-green-dark);
}

.notif-modal-time {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0 0;
}

.notif-modal-success {
  background: var(--success-bg);
  border-top: 1px solid var(--success-border);
  border-radius: 0 0 12px 12px;
  color: var(--success-text);
  padding: 1.25rem 1.5rem 1.5rem;
}

.notif-modal-success ul {
  margin: 0.4rem 0 1rem 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.7;
}


