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

:root {
  --bg: #000;
  --card: #1c1c1e;
  --card-hover: #2c2c2e;
  --text: #e5e5ea;
  --text-secondary: #aeaeb2;
  --text-tertiary: #636366;
  --red: #ff3b30;
  --orange: #ff9f0a;
  --green: #30d158;
  --blue: #0a84ff;
  --purple: #bf5af2;
  --cyan: #64d2ff;
  --radius: 13px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'SF Pro Display', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding: 0 1rem 2rem;
}

.screen { padding-top: 1rem; }

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.8rem;
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-green { background: var(--green); color: #000; }
.btn-blue { background: var(--blue); color: #fff; }

/* Form inputs */
.input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
}
.input:focus { border-color: var(--green); }
.input::placeholder { color: var(--text-tertiary); }

.label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  display: block;
}

/* Score ring */
.score-ring { text-align: center; margin-bottom: 1rem; }

/* Metric bar */
.metric-bar {
  margin-bottom: 0.55rem;
}
.metric-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}
.metric-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.04);
  border-radius: 2.5px;
  overflow: hidden;
}
.metric-bar-fill {
  height: 100%;
  border-radius: 2.5px;
}

/* Navigation */
.nav-back {
  font-size: 0.75rem;
  color: var(--green);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
}

/* Tip card */
.tip {
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.7rem;
  margin-top: 0.6rem;
}
.tip-label { font-size: 0.65rem; font-weight: 600; margin-bottom: 0.1rem; }
.tip-text { font-size: 0.7rem; color: var(--text-secondary); line-height: 1.4; }

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 600;
}
