body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 450px;
  padding: 0;
  margin: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  min-height: 400px;
}

#container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  position: relative; /* Added for demo badge positioning */
}

.logo-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 0 12px 0;
  position: relative;
  width: 100%;
  padding: 4px 0;
}

.logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: all 0.2s ease;
  display: block;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 8px rgba(255, 161, 22, 0.3));
}

/* Update the h1 styling to be removed or repurposed */
h1 {
  display: none; /* Hide the old text heading */
}

input, button, select {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 6px;
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

input {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus {
  border-color: #FFA116;
  box-shadow: 0 0 0 2px rgba(255, 161, 22, 0.2);
}

button {
  background: linear-gradient(45deg, #FFA116, #FF8C00);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 161, 22, 0.3);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 161, 22, 0.4);
}

button:active {
  transform: translateY(0);
}

#controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#sort-options {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
}

#sort-options label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  min-width: 40px;
}

#sort-select {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border-radius: 15px;
  padding: 4px 8px;
  font-size: 12px;
}

#sort-select:focus {
  border-color: #FFA116;
}

#sort-select option {
  background: #2d2d2d;
  color: #fff;
}

/* Settings Section */
#settings-section {
  margin-bottom: 8px;
}

.settings-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 50%;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}

.settings-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: none;
  box-shadow: none;
}

.settings-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.settings-panel.hidden {
  display: none;
}

.setting-item {
  margin-bottom: 12px;
}

.setting-item:last-child {
  margin-bottom: 0;
}

.setting-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin-bottom: 4px;
}

.setting-description {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 20px;
}

input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #FFA116;
}

#refresh-interval {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  width: 100%;
  margin-top: 4px;
}

#refresh-interval option {
  background: #2d2d2d;
  color: #fff;
}

.test-btn {
  background: rgba(108, 117, 125, 0.3);
  color: #fff;
  border: 1px solid rgba(108, 117, 125, 0.5);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: none;
}

.test-btn:hover {
  background: rgba(108, 117, 125, 0.4);
  transform: none;
  box-shadow: none;
}

#user-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  position: relative; /* Added for overlay positioning */
}

.user-box:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 161, 22, 0.3);
}

.username {
  font-weight: 600;
  font-size: 13px;
  color: #FFA116;
  width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.username.clickable {
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
  padding: 2px 4px;
  margin: -2px -4px;
}

.username.clickable:hover {
  background: rgba(255, 161, 22, 0.2);
  color: #FFD700;
  transform: scale(1.05);
}

.username.clickable:active {
  transform: scale(0.98);
  background: rgba(255, 161, 22, 0.3);
}

.stats-container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: space-between;
  margin-right: 8px;
}

.stat-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 42px;
  flex: 1;
}

.stat-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
}

.stat-value {
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  color: #e8e8e8;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.2;
}

.stat-value.total {
  color: #FFA116;
  font-size: 13px;
}

.stat-value.ranking {
  color: #8b9dc3;
  font-size: 9px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}

/* Stat change indicators */
.stat-change {
  font-size: 7px;
  font-weight: 500;
  padding: 0px 2px;
  border-radius: 1px;
  display: block;
  animation: fadeIn 0.3s ease-in;
  white-space: nowrap;
  min-height: 8px;
  line-height: 8px;
  opacity: 0.9;
}

.stat-change.rank-up {
  color: #00b8a3;
}

.stat-change.rank-down {
  color: #ff375f;
}

.stat-change.stat-up {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
}

/* Difficulty-specific colors for stat changes */
.stat-value.easy .stat-change.stat-up {
  color: #00b8a3;
  background: rgba(0, 184, 163, 0.1);
}

.stat-value.medium .stat-change.stat-up {
  color: #FFA116;
  background: rgba(255, 161, 22, 0.1);
}

.stat-value.hard .stat-change.stat-up {
  color: #ff375f;
  background: rgba(255, 55, 95, 0.1);
}

.stat-value.total .stat-change.stat-up {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.15);
}

/* Animation for stat changes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader {
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid #FFA116;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin: 8px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-state {
  color: #ff6b7a;
  text-align: center;
  font-size: 12px;
  flex: 1;
}

.error-state.invalid-user {
  color: #ff9800;
  font-weight: 600;
}

.error-box {
  animation: slideInError 0.3s ease-out;
  transition: all 0.5s ease;
}

.error-box .remove-user {
  display: none; /* Hide remove button for temporary errors */
}

@keyframes slideInError {
  from {
    opacity: 0;
    transform: translateX(10px);
    background: rgba(255, 107, 107, 0.2);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255, 255, 255, 0.08);
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  background: #FFA116;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF8C00;
}

/* Animation for adding new users */
.user-box {
  animation: slideIn 0.2s ease-out;
}

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

/* Enhanced loading overlay for better visibility */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  backdrop-filter: blur(3px);
  z-index: 10;
}

.loading-overlay::after {
  content: '';
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid #FFA116;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

/* Ensure cached data is slightly dimmed when loading */
.user-box:has(.loading-overlay) .stats-container {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* Ranking change indicator */
.ranking-change {
  font-size: 8px;
  font-weight: 500;
  padding: 1px 2px;
  border-radius: 2px;
  display: block;
  animation: fadeIn 0.5s ease-in;
  white-space: nowrap;
  min-height: 10px;
  line-height: 10px;
}

.ranking-change.rank-up {
  color: #00b8a3;
  background: rgba(0, 184, 163, 0.15);
}

.ranking-change.rank-down {
  color: #ff375f;
  background: rgba(255, 55, 95, 0.15);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  body {
    min-width: 400px;
  }
  
  .user-box {
    padding: 8px 12px;
  }
  
  .username {
    width: 75px;
  }
  
  .stats-container {
    gap: 4px;
    margin-right: 6px;
  }
  
  .stat-group {
    min-width: 38px;
  }
  
  .stat-value {
    font-size: 10px;
  }
  
  .stat-value.total {
    font-size: 12px;
  }
}

/* Demo Badge */
#demo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(45deg, #FF6B6B, #FF8E53);
  color: white;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
  animation: pulse 2s infinite;
  z-index: 10;
}

/* Branding Section */
#branding {
  margin-top: 12px;
  padding: 12px;
  background: rgba(255, 161, 22, 0.05);
  border: 1px solid rgba(255, 161, 22, 0.2);
  border-radius: 8px;
  font-size: 11px;
}

.feedback-section, .github-section {
  margin-bottom: 8px;
}

.feedback-section:last-child, .github-section:last-child {
  margin-bottom: 0;
}

#branding p {
  margin: 2px 0;
  line-height: 1.4;
}

#branding strong {
  color: #FFA116;
  font-weight: 600;
}

#branding a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 2px;
  padding: 1px 2px;
}

#branding a:hover {
  color: #FFA116;
  background: rgba(255, 161, 22, 0.1);
  text-decoration: underline;
}

/* Footer styling updates */
#footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

#footer p {
  margin: 2px 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.3;
}

.version {
  font-size: 8px !important;
  color: rgba(255, 255, 255, 0.4) !important;
  font-weight: 400 !important;
}

#footer a {
  color: #FFA116;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-radius: 3px;
  padding: 1px 3px;
}

#footer a:hover {
  color: #FFD700;
  background: rgba(255, 161, 22, 0.1);
  text-decoration: none;
  transform: scale(1.05);
}

#footer a:active {
  transform: scale(0.98);
}

.refresh-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 50%;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  transition: all 0.2s ease;
}

.refresh-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
  box-shadow: none;
}

.refresh-btn:active {
  transform: rotate(180deg) scale(0.95);
}

.refresh-btn.refreshing {
  animation: spin 1s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}

.share-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 50%;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 161, 22, 0.2);
}

/* Share Modal */
.share-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

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

.share-content {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 161, 22, 0.3);
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.share-header h3 {
  margin: 0;
  color: #FFA116;
  font-size: 16px;
  font-weight: 600;
}

.close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  box-shadow: none;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: none;
  box-shadow: none;
}

.share-message {
  margin-bottom: 20px;
}

.share-message p {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.message-preview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
  justify-content: center;
  box-shadow: none;
  white-space: nowrap;
}

.share-option:hover {
  background: rgba(255, 161, 22, 0.15);
  border-color: rgba(255, 161, 22, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 161, 22, 0.2);
}

.share-icon {
  font-size: 12px;
  flex-shrink: 0;
}

/* Special styling for Instagram option */
.share-option[data-platform="instagram"] {
  background: linear-gradient(45deg, rgba(131, 58, 180, 0.1), rgba(253, 29, 29, 0.1), rgba(252, 176, 64, 0.1));
  border-color: rgba(131, 58, 180, 0.3);
}

.share-option[data-platform="instagram"]:hover {
  background: linear-gradient(45deg, rgba(131, 58, 180, 0.2), rgba(253, 29, 29, 0.2), rgba(252, 176, 64, 0.2));
  border-color: rgba(131, 58, 180, 0.5);
}

/* Animation for modal */
.share-modal {
  animation: fadeIn 0.2s ease-out;
}

.share-content {
  animation: slideUp 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Update Banner Styles */
.update-banner {
  background: linear-gradient(135deg, #00b8a3, #0084d1);
  color: white;
  margin: 10px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 184, 163, 0.3);
  animation: slideInUpdate 0.3s ease-out;
}

.update-content {
  padding: 12px 16px;
}

.update-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.update-header strong {
  font-size: 14px;
  font-weight: 700;
}

.dismiss-update {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.dismiss-update:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.update-banner p {
  margin: 0 0 12px 0;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.95;
}

.update-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.update-btn, .changelog-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.update-btn:hover, .changelog-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.update-btn {
  background: rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.update-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Tooltip chart styles - Made smaller and more compact */
.tooltip-chart {
  position: absolute;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 161, 22, 0.3);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  width: 280px; /* Reduced from 400px */
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.tooltip-chart.visible {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-chart h4 {
  margin: 0 0 10px 0;
  color: #FFA116;
  font-size: 12px; /* Reduced from 14px */
  font-weight: 600;
  text-align: center;
}

.chart-container {
  width: 100%;
  height: 60px; /* Reduced from 80px */
  position: relative;
  margin-bottom: 10px; /* Reduced from 12px */
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: #FFA116;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-dot {
  fill: #FFA116;
  stroke: #1a1a1a;
  stroke-width: 1;
  r: 3; /* Reduced from 4 */
}

.chart-dot:hover {
  fill: #FFD700;
  r: 4; /* Reduced from 5 */
}

.chart-grid {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 0.5;
}

.chart-axis {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
}

.chart-label {
  fill: rgba(255, 255, 255, 0.6);
  font-size: 8px; /* Reduced from 10px */
  text-anchor: middle;
  font-weight: 500;
}

/* Data value labels above points */
.chart-value-label {
  fill: #FFA116;
  font-size: 8px; /* Reduced from 10px */
  text-anchor: middle;
  font-weight: 600;
}

/* Update chart stats to use CSS Grid for better layout */
.chart-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Changed from 4 to 3 columns */
  gap: 8px; /* Reduced from 12px */
  font-size: 10px; /* Reduced from 11px */
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px; /* Reduced from 12px */
}

.chart-stat {
  text-align: center;
}

.chart-stat-value {
  color: #FFA116;
  font-weight: 600;
  font-size: 11px; /* Reduced from 13px */
  display: block;
  margin-bottom: 2px;
}

.chart-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60px; /* Reduced from 80px */
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px; /* Reduced from 12px */
}

/* Enhance the loading animation */
.chart-loading .loader {
  width: 16px; /* Reduced from 20px */
  height: 16px; /* Reduced from 20px */
  border: 2px solid rgba(255, 161, 22, 0.2);
  border-top: 2px solid #FFA116;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 6px auto; /* Reduced from 8px */
}

