body {
  font-family: system-ui, sans-serif;
  background: #fafafa;
  color: #222;
  margin: 0;
  padding: 1rem;
}

header {
  text-align: center;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

h1 {
  margin: 0;
  font-size: 1.6rem;
}

#settings {
  max-width: 650px;
  margin: 1rem auto;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

input,
select {
  width: 100%;
  padding: 0.4rem;
  margin-top: 0.2rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.slug-options {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.slug-options input[type="color"] {
  width: 40px;
  padding: 0;
}

.slug-options input[data-slug-xp] {
  width: 60px;
}

button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  background: #0077cc;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

button:hover {
  background: #005fa3;
}

#chartContainer {
  max-width: 800px;
  margin: 2rem auto;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#toggleSettings {
  display: block;
  margin: 1rem auto;
  background: #444;
}

.clear-btn {
  background: #999;
}

.settings-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

#shareSettings {
  background: #28a745;
}

#refreshVisibleDays {
  background: #17a2b8;
  margin-bottom: 1rem;
}

#xpBar {
  height: 24px;
  display: flex;
  margin-top: 1rem;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

#xpBarLabels {
  display: flex;
  height: 24px;
  margin-top: 2px;
  font-size: 0.8rem;
}

#xpBarLabels div {
  text-align: center;
  color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

#streakInfo {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #666;
}

.chart-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.chart-header label {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  gap: 4px;
  margin: 0;
}

.chart-header input[type="date"],
.chart-header select {
  font-size: 0.8rem;
  padding: 2px 4px;
  max-width: 110px;
  height: 24px;
  line-height: 1;
}

.chart-header button#refreshVisibleDays {
  margin-left: auto;
  font-size: 0.85rem;
  padding: 4px 8px;
  height: 28px;
  align-self: center;
}

/* ✅ Mobile-specific layout */
@media (max-width: 600px) {
  
}
