body {
  background: radial-gradient(circle at top, #08162f, #02040a);
  color: #e0f2ff;
  font-family: system-ui;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.hud {
  width: 420px;
  background: rgba(0,30,60,.65);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 0 40px #00aaff55;
}

h1 {
  text-align: center;
  color: #7dd3fc;
}

#liveScore {
  text-align: center;
  font-size: 42px;
  color: #22d3ee;
  text-shadow: 0 0 15px #22d3ee;
  margin-bottom: 10px;
}

input, textarea, button {
  width: 100%;
  margin: 6px 0;
  padding: 10px;
  background: #020617;
  border: 1px solid #0ea5e9;
  color: #e0f2ff;
  border-radius: 10px;
}

textarea {
  resize: none;
}

button {
  background: linear-gradient(90deg, #0ea5e9, #22d3ee);
  font-weight: bold;
  cursor: pointer;
}

.slider-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 14px;
  color: #a5f3fc;
}

.slider-row span {
  color: #22d3ee;
  font-weight: bold;
  text-shadow: 0 0 6px #22d3ee;
}

.section-title {
  text-align: center;
  margin: 25px 0 10px;
  color: #7dd3fc;
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  color: #a5f3fc;
  margin-bottom: 5px;
}

#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

/* Heatmap */
.day[data-score="0"] { background: #020617; }
.day[data-score="1"] { background: #1e293b; }
.day[data-score="40"] { background: #0f766e; }
.day[data-score="70"] { background: #22c55e; }
.day[data-score="90"] {
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
}

footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #7dd3fc;
}



.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: rgba(2, 6, 23, 0.95);
  border: 1px solid #22d3ee;
  border-radius: 16px;
  padding: 20px;
  width: 90%;
  max-width: 360px;
  box-shadow: 0 0 25px #22d3ee55;
}

#closeModal {
  float: right;
  font-size: 22px;
  cursor: pointer;
  color: #7dd3fc;
}

.modal-content h3 {
  margin-top: 0;
  text-align: center;
  color: #22d3ee;
}

.modal-content p {
  font-size: 14px;
  margin: 6px 0;
}



.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 10px;
  color: #7dd3fc;
}

.calendar-controls button {
  background: none;
  border: 1px solid #22d3ee;
  color: #22d3ee;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

#streak {
  font-size: 13px;
  color: #facc15;
  text-align: center;
}

.weekly {
  margin-top: 20px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid #0ea5e9;
  font-size: 13px;
}

.weekly b {
  color: #22d3ee;
}

