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

body {
  min-height: 100vh;
  background: #000;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card {
  background: #0d0d0d;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 28px;
  max-width: 460px;
  width: 100%;
}

h1 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.input-wrap {
  position: relative;
  margin-bottom: 16px;
}

input {
  width: 100%;
  padding: 13px 45px 13px 14px;
  background: #161616;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus {
  border-color: #3a3a3a;
}

input::placeholder {
  color: #555;
}

#toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

#toggle:hover {
  color: #aaa;
}

#toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.bar-wrap {
  height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.bar {
  height: 100%;
  width: 0%;
  background: #333;
  border-radius: 3px;
  transition: width 0.3s ease, background 0.3s ease;
}

.level {
  font-size: 14px;
  margin-bottom: 20px;
  color: #888;
  min-height: 20px;
  transition: color 0.3s ease;
}

.checks {
  list-style: none;
  margin-bottom: 18px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: #555;
  transition: color 0.2s ease;
}

.checks li .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #1a1a1a;
  color: #444;
  font-size: 11px;
  font-weight: bold;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checks li.ok {
  color: #ccc;
}

.checks li.ok .mark {
  background: #2a2a2a;
  color: #fff;
}

.score {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid #1f1f1f;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.score b {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
}

.crack {
  font-size: 12.5px;
  color: #666;
  min-height: 18px;
  transition: color 0.3s ease;
  }
