.checker {
  padding-top: 110px;
  padding-bottom: 64px;
  max-width: 760px;
}

.checker-intro h1 {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  margin-bottom: 12px;
}

.checker-intro p {
  color: var(--muted);
  margin: 0 0 32px;
}

.checker-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
}

.checker-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.meter {
  height: 10px;
  background: var(--surface-2);
  border-radius: 999px;
  margin: 20px 0 12px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 0.3s, background 0.3s;
}

.verdict {
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
}

.crack-time {
  color: var(--muted);
  margin: 4px 0 0;
  min-height: 1.6em;
}

.checker-card h2,
.checker-notes h2 {
  font-size: 1.8rem;
  margin: 28px 0 12px;
}

.checker-notes p {
  color: #cfcfd6;
  margin: 0 0 14px;
}

.site-header .back-link {
  margin: 0;
}

@media (max-width: 680px) {
  .site-header .back-link {
    font-size: 0.9rem;
  }
}

.checker-card textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  padding: 12px 14px;
  resize: vertical;
}

.checker-card textarea:focus {
  outline: 2px solid var(--blue);
  border-color: transparent;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sample {
  background: none;
  border: 1px solid rgba(76, 141, 255, 0.4);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
}

.sample:hover {
  background: rgba(76, 141, 255, 0.12);
}

.result {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  scroll-margin-top: 90px;
}

.flags {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flags li {
  border-left: 3px solid var(--red);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.flags h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.flags p {
  margin: 0;
  color: #cfcfd6;
}

.flags .found {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.flags code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 3px;
}

.highlighted {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0;
  overflow-wrap: anywhere;
}

.highlighted mark {
  background: rgba(229, 9, 20, 0.3);
  color: #fff;
  border-bottom: 2px solid var(--red);
  padding: 0 2px;
}
