* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  min-height: 100vh;
  background: #1a1a2e;
}

body {
  font-family: -apple-system, sans-serif;
  background: #1a1a2e;
  color: #eee;
  min-height: 100vh;
  padding-bottom: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 820px) {
  html {
    background: #0d0d1a;
  }

  body {
    min-height: unset;
    margin: 40px auto;
    border-radius: 14px;
    border: 1px solid #0f3460;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(233, 69, 96, 0.08);
    overflow: hidden;
  }
}

nav {
  display: flex;
  background: #16213e;
  border-bottom: 2px solid #0f3460;
}

.nav-btn {
  flex: 1;
  padding: 14px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
}

.nav-btn.active { color: #e94560; border-bottom: 2px solid #e94560; }

.date-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
}

.date-nav button {
  background: none;
  border: none;
  color: #e94560;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 12px;
  transition: opacity 0.2s;
}

.date-nav button[style*="opacity: 0.3"] {
  pointer-events: none;
  cursor: not-allowed;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #0f3460;
  font-size: 16px;
  cursor: pointer;
}

.checklist-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #e94560;
}

.score-display {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  padding: 20px;
  color: #e94560;
}

.hidden { display: none !important; }

canvas { padding: 16px; width: 100% !important; }
