/* Sablier-inspired Design System */
:root {
  /* Sablier Color Palette */
  --primary-gradient: linear-gradient(135deg, #FFB800 0%, #FF7300 100%);
  --secondary-blue: #0063FF;

  /* Dark Theme Colors */
  --bg-primary: #14161F;
  --bg-secondary: #1A1D28;
  --bg-tertiary: #212530;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  /* Text Colors */
  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --text-inverse: #000000;

  /* Border Colors */
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-secondary: rgba(255, 255, 255, 0.05);

  /* Status Colors */
  --success: #10B981;
  --error: #EF4444;

  /* Progress Bar Colors */
  --progress-gradient: linear-gradient(90deg,
      #ef4444 0%,
      /* Red at start */
      #f97316 20%,
      /* Orange */
      #eab308 40%,
      /* Yellow */
      #84cc16 70%,
      /* Light green */
      #22c55e 99.60%);
  /* Green at end */
  --progress-background: #374151;
  --progress-thumb: #ffffff;
  --progress-thumb-border: #374151;

  /* Score Change Indicators */
  --score-positive: #22c55e;
  --score-negative: #ef4444;
  --score-neutral: var(--text-secondary);

  /* Typography */
  --font-family: 'Urbanist', system-ui, -apple-system, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Typography Scales */
  --font-size-score-large: 2.5rem;
  /* 24px for main score */
  --font-size-score-change: 1.875rem;
  /* 14px for score changes */
  --font-size-display-name: 2.25rem;
  /* 20px for user display name */
  --font-size-username: 1.5rem;
  /* 16px for username */
  --font-size-metrics: 1.3rem;
  /* 16px for follower counts */
  --font-size-metrics-small: 1.15rem;
  /* 12px for metric changes */
  --font-size-level: 1.25rem;
  /* 12px for level text */
  --font-size-button: 0.875rem;
  /* 14px for buttons */

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 0.3rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout Spacing */
  --item-padding: 1.5rem;
  /* 24px internal padding */
  --column-gap: 1.5rem;
  /* 24px gap between columns */
  --score-element-gap: 0.5rem;
  /* 8px gap between score elements */
  --metrics-gap: 0.25rem;
  /* 4px gap in metrics */
  --avatar-size: 90px;
  /* Profile image size - increased to match text stack height */
  --progress-bar-width: 140px;
  /* Progress bar width */
  --progress-bar-height: 4px;
  /* Progress bar height */
  --progress-thumb-size: 8px;
  /* Progress thumb size */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 184, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(135, 79, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 99, 255, 0.05) 0%, transparent 50%);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 22, 31, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-primary);
  padding: var(--space-lg) 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-subtitle {
  font-size: 1.175rem;
  color: var(--text-secondary);
  margin: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Container */
.container {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Main Content */
.main {
  min-height: calc(100vh - 80px);
  padding: var(--space-3xl) 0;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.hero-title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-lg);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stats Overview */
.stats-overview {
  margin-bottom: var(--space-3xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-title {
  font-size: 1.275rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

/* Leaderboards */
.leaderboards-section {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(10px);
}

.tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
  background: var(--bg-secondary);
  padding: var(--space-xs);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  min-width: max-content;
  padding: var(--space-sm) var(--space-lg);
  background: none;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: var(--font-weight-medium);
  font-size: 1.275rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: var(--primary-gradient);
  color: var(--text-inverse);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.leaderboard-card {
  /* No additional styling needed - inherits from parent */
}

.leaderboard-content {
  position: relative;
  min-height: 300px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.card-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.card-actions {
  display: flex;
  gap: var(--space-md);
}

.period-selector {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.period-selector:hover {
  border-color: rgba(255, 184, 0, 0.3);
}

.period-selector:focus {
  outline: none;
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

/* Loading and Error States */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
  text-align: center;
  color: var(--text-secondary);
}

.loading-state i {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--secondary-blue);
}

.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
  text-align: center;
  color: var(--error);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
  text-align: center;
  color: var(--text-secondary);
}

.spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--border-primary);
  border-radius: 50%;
  border-top-color: var(--secondary-blue);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

/* Leaderboard Lists */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.leaderboard-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--column-gap);
  align-items: center;
  padding: var(--item-padding);
  background: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 88px;
  justify-items: stretch;
  animation: fadeIn 0.3s ease forwards;
}

.account-column {
  justify-self: start;
  text-align: left;
}

.score-column {
  justify-self: end;
  text-align: right;
}

.leaderboard-item:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-primary);
  transform: translateY(-1px);
}

.item-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  margin-right: var(--space-lg);
  flex-shrink: 0;
}

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

.item-title {
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.item-subtitle {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.item-metrics {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.item-score {
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  font-size: 1.25rem;
}

.item-posts {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.view-posts-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--secondary-blue);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  margin-top: var(--space-xs);
  transition: color 0.2s ease;
}

.view-posts-link:hover {
  color: #3B82F6;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
}

.footer-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
  }

  /* Keep 2-column layout on tablets for all tabs */
  .leaderboard-item {
    gap: var(--space-md);
  }

  .progress-labels {
    font-size: 0.5rem;
  }

  .account-display-name {
    font-size: 1.1rem;
  }

  .score-number {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .nav-brand {
    align-items: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .leaderboards-section {
    padding: var(--space-lg);
  }

  /* Keep 2-column layout on mobile for all tabs */
  .leaderboard-item {
    gap: var(--space-md);
  }

  .account-column {
    justify-self: start;
    text-align: left;
    gap: 0.375rem;
  }

  .account-top-section {
    gap: var(--space-md);
  }

  .account-avatar-small {
    width: 64px;
    height: 64px;
    font-size: 1.2rem;
  }

  .account-names .account-username {
    font-size: calc(var(--font-size-username) * 0.9);
  }

  .account-names .account-display-name {
    font-size: calc(var(--font-size-display-name) * 0.8);
  }

  .score-column {
    justify-self: end;
    text-align: right;
    align-items: flex-end;
  }

  .followers-column {
    text-align: center;
  }

  .tags-column {
    align-items: center;
  }

  .progress-labels {
    font-size: 0.5rem;
  }
}

@media (max-width: 580px) {
  .container {
    padding: 0 var(--space-md);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .tab-btn {
    flex: none;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Focus Styles */
*:focus {
  outline: 2px solid rgba(255, 184, 0, 0.5);
  outline-offset: 2px;
}

button:focus,
select:focus {
  outline: 2px solid rgba(255, 184, 0, 0.5);
  outline-offset: 2px;
}

/* Posts Page Styles */
.posts-section {
  padding: var(--space-xl) 0;
}

.post-item {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
  position: relative;
}

.post-item:hover {
  border-color: #FFB800;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Post element styles consolidated in main posts section below */

.filter-header {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.filter-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.filter-description {
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
}

.filter-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFB800;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #874FFF;
}

.posts-grid {
  display: grid;
  gap: 1.5rem;
}

.no-posts {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.no-posts h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Posts Page Responsive */
@media (max-width: 768px) {
  .post-header {
    flex-direction: column;
    gap: 1rem;
  }

  .post-metrics {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Installation Page Styles */
.install-guide {
  margin-bottom: var(--space-3xl);
}

.guide-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
}

.guide-header h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.guide-header h2 i {
  margin-right: var(--space-sm);
}

.guide-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.install-step {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.install-step:hover {
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
}

.step-content p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.step-actions {
  margin-top: var(--space-lg);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--success);
}

.config-item {
  margin-bottom: var(--space-xl);
}

.config-item h4 {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.code-block {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  font-family: 'Courier New', monospace;
}

.code-block code {
  color: var(--text-primary);
  font-size: 0.875rem;
}

.copy-btn {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-xs);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.config-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.commands-section {
  margin-bottom: var(--space-3xl);
}

.commands-section h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--text-primary);
}

.commands-section h2 i {
  margin-right: var(--space-sm);
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.command-category {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.command-category h3 {
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: var(--space-sm);
}

.command-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.command-item:hover {
  background: var(--bg-secondary);
}

.command-item code {
  color: #FFB800;
  font-weight: var(--font-weight-medium);
  font-family: 'Courier New', monospace;
}

.command-item span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.command-header {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.command-header:hover {
  background: var(--bg-secondary);
}

.command-header i {
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.command-details {
  display: none;
  padding: var(--space-md);
  margin-top: var(--space-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  line-height: 1.6;
}

.command-details p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.command-details p:last-child {
  margin-bottom: 0;
}

.command-details strong {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  display: block;
  margin-bottom: var(--space-xs);
}

.command-details ul {
  margin: var(--space-sm) 0;
  padding-left: var(--space-lg);
}

.command-details li {
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

.command-details code {
  background: var(--bg-tertiary);
  color: #FFB800;
  padding: 0.125rem 0.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
}

.support-section {
  margin-bottom: var(--space-3xl);
}

.support-section h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--text-primary);
}

.support-section h2 i {
  margin-right: var(--space-sm);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.support-item {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.support-item:hover {
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.support-item i {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: #FFB800;
}

.support-item h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.support-item p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-primary);
  transform: translateY(-1px);
}

/* Installation Page Responsive */
@media (max-width: 768px) {
  .install-step {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .step-number {
    align-self: center;
  }

  .commands-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    flex-direction: column;
  }
}

/* Additional Leaderboard Classes for app.js compatibility */
.leaderboard-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  margin-right: var(--space-lg);
  flex-shrink: 0;
}


/* Score Display */
.score-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--score-element-gap);
  text-align: center;
}

.score-main {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.score-number {
  font-size: var(--font-size-score-large);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: 1;
}

.score-change {
  font-size: var(--font-size-score-change);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

.score-change.positive {
  color: var(--score-positive);
}

.score-change.negative {
  color: var(--score-negative);
}

.score-change.neutral {
  color: var(--score-neutral);
}

.score-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  max-width: var(--progress-bar-width);
}

.progress-bar {
  position: relative;
  width: 100%;
  height: var(--progress-bar-height);
  background: var(--progress-gradient);
  border-radius: calc(var(--progress-bar-height) / 2);
  overflow: visible;
}

.progress-thumb {
  position: absolute;
  top: 50%;
  width: var(--progress-thumb-size);
  height: var(--progress-thumb-size);
  background: var(--progress-thumb);
  border: 1px solid var(--progress-thumb-border);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.625rem;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

.score-level {
  font-size: var(--font-size-level);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  margin-top: 0.125rem;
}

/* Score Display Classes for app.js */
.score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
}

.score-scale {
  position: relative;
  width: 80px;
  height: 6px;
  background: var(--progress-gradient);
  border-radius: 3px;
  margin: var(--space-xs) 0;
}

.score-thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--progress-thumb);
  border: 1px solid var(--progress-thumb-border);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Score Column Styles for Current Layout */
.score-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
  margin-left: auto;
  padding-right: var(--space-md);
}

.score-main {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.score-progress {
  width: 120px;
  margin-top: var(--space-xs);
}

.progress-bar {
  position: relative;
  height: 6px;
  background: var(--progress-background);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--progress-gradient);
  opacity: 0.3;
}

.progress-thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--progress-thumb);
  border: 2px solid var(--progress-thumb-border);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Account Column Complete Definition */
.account-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.account-avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  position: relative;
}

.account-avatar-small {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
  font-size: 0.875rem;
  flex-shrink: 0;
  position: relative;
}

.account-avatar-small .avatar-image {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
}

.account-top-section {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  flex: 1;
  min-width: 0;
}

.account-names {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.avatar-image:hover {
  opacity: 0.9;
}

/* Hide background gradient when image is loaded */
.avatar-image+.avatar-fallback {
  display: none;
}

/* Remove background gradient from parent when image is present - using class-based approach for better compatibility */
.account-avatar.has-image,
.account-avatar-small.has-image,
.post-avatar.has-image {
  background: none;
}

/* Modern browser support with :has() selector as fallback */
@supports selector(:has(*)) {

  .account-avatar:has(.avatar-image),
  .account-avatar-small:has(.avatar-image),
  .post-avatar:has(.avatar-image) {
    background: none;
  }
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.account-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.account-names .account-display-name {
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  font-size: var(--font-size-display-name);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-names .account-username {
  color: var(--text-secondary);
  font-size: var(--font-size-username);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.account-display-name {
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  font-size: var(--font-size-display-name);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 0.125rem;
}

.account-username {
  color: var(--text-secondary);
  font-size: var(--font-size-username);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.account-followers {
  font-size: var(--font-size-metrics);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-left: 0;
  align-self: flex-start;
}

.account-followers .followers-count {
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}

.account-followers .followers-change {
  font-size: var(--font-size-metrics-small);
  font-weight: var(--font-weight-medium);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.account-followers .followers-change.positive {
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.account-followers .followers-change.negative {
  color: var(--error);
  background: rgba(239, 68, 68, 0.1);
}

.account-followers .followers-change.neutral {
  color: var(--text-muted);
}

.verification-badge {
  color: var(--secondary-blue);
  font-size: 1rem;
}

.full-description-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.full-description-btn:hover {
  border-color: var(--border-primary);
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Followers Column */
.followers-column {
  display: flex;
  flex-direction: column;
  gap: var(--metrics-gap);
  text-align: right;
}

.followers-section {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.followers-label {
  font-size: var(--font-size-metrics-small);
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.followers-value {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.25rem;
}

.followers-count {
  font-size: var(--font-size-metrics);
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

.followers-change {
  font-size: var(--font-size-metrics-small);
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

.followers-change.positive {
  color: var(--score-positive);
}

.followers-change.negative {
  color: var(--score-negative);
}

/* Tags Column */
.tags-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
}

.influencer-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background: rgba(135, 79, 255, 0.1);
  border: 1px solid rgba(135, 79, 255, 0.3);
  border-radius: var(--radius-sm);
  color: #874FFF;
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.more-options {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.more-options:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

.click-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-primary);
  font-size: 1rem;
  margin-top: var(--space-xs);
  transition: all 0.2s ease;
}

.clickable-item:hover .click-indicator {
  color: #FFB800;
  transform: translateX(3px);
}

.clickable-item {
  cursor: pointer;
}

.slide-in-left {
  animation: fadeIn 0.3s ease forwards;
}

.rank-1,
.rank-2,
.rank-3 {
  background: var(--primary-gradient);
}

.rank-other {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* ===== POST STYLES ===== */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}


.clickable-post {
  cursor: pointer;
  transition: all 0.3s ease;
}

.clickable-post:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.1);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.post-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
  overflow: hidden;
  position: relative;
}

/* Posts use the same avatar styling as defined above */

.post-author-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.post-timestamp {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.post-date {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: right;
}

.post-content {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.post-tag {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
}

.post-tag.hashtag {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.post-tag.cashtag {
  background: rgba(255, 184, 0, 0.1);
  color: #FFB800;
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.post-tag.mention {
  background: rgba(0, 99, 255, 0.1);
  color: var(--secondary-blue);
  border: 1px solid rgba(0, 99, 255, 0.3);
}

.post-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-secondary);
}

.post-engagement {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.engagement-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.engagement-icon {
  font-size: 1rem;
}

.post-score {
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.post-link-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-secondary);
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.clickable-post:hover .post-link-indicator {
  opacity: 1;
  color: #FFB800;
}

.post-link-indicator i {
  font-size: 0.75rem;
}

/* Responsive adjustments for posts */
@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 1.5rem;
  }

  .post-engagement {
    gap: 1.5rem;
  }
}
/* Performance Score Info Icon and Modal */
.performance-e {
  position: relative;
}

.score-info-icon {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-left: 0.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
  vertical-align: super;
}

.score-info-icon:hover {
  color: #FFB800;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-primary);
  animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-primary);
}

.modal-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
}

.score-explanation h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.score-explanation h4:not(:first-child) {
  margin-top: 1.5rem;
}

.score-explanation p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.formula-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 1rem;
  margin: 0.75rem 0;
}

.formula-box code {
  color: var(--text-primary);
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.engagement-weights {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}

.engagement-weights li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-secondary);
}

.engagement-weights li:last-child {
  border-bottom: none;
}

.engagement-weights strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.weight-explanation {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-left: 0;
}

.example-box {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 1rem;
  margin: 0.75rem 0;
}

.example-box p {
  margin: 0 0 0.75rem 0;
}

.example-box p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.post-example-numbers {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0.5rem 0 1rem 0;
  padding-left: 0;
}

.calculation-steps {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.calculation-steps li {
  color: var(--text-secondary);
  padding: 0.25rem 0;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .modal-header,
  .modal-body {
    padding: 1rem;
  }
  
  .formula-box code {
    font-size: 0.75rem;
  }
  
  .score-info-icon {
    font-size: 0.875rem;
    margin-left: 0.2rem;
  }
}

/* Post Score Styles */
.clickable-score {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: var(--primary-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.clickable-score:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.clickable-score:active {
    transform: translateY(0);
}

.post-score-icon {
    color: inherit;
    font-size: 1rem;
    transition: color 0.2s ease;
    vertical-align: middle;
    line-height: 1;
}

/* Small Post Score Button Variant */
.clickable-score.small {
    padding: calc(var(--space-sm) * 0.6) calc(var(--space-lg) * 0.7);
    font-size: 0.875rem;
    gap: calc(var(--space-xs) * 0.8);
}

.clickable-score.small .post-score-icon {
    font-size: 0.875rem;
}

/* Post Score Modal Styles */
.calculation-breakdown {
    margin-top: 1rem;
}

.metric-grid {
    display: grid;
    gap: 0;
    margin: 1rem 0;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.metric-row {
    display: grid;
    grid-template-columns: 200px 80px 120px;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-primary);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.9rem;
    align-items: center;
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-row:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.metric-category {
    color: var(--text-primary);
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metric-rate {
    color: var(--text-secondary);
    text-align: left;
    font-weight: var(--font-weight-medium);
}

.metric-result {
    color: var(--text-primary);
    text-align: left;
    font-weight: var(--font-weight-medium);
}

.total-score {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.1rem;
}

.formula-reminder {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.formula-reminder strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.formula-reminder div {
    color: var(--text-secondary);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    line-height: 1.4;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
EOF < /dev/null
