#quality-check {
  color-scheme: dark;
  --ink: #f4f4f5;
  --muted: rgba(255, 255, 255, .8);
  --line: rgba(255, 255, 255, .28);
  --fill: rgba(10, 10, 11, .4);
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 28px 16px;
  color: var(--ink);
  font: 400 18px/1.6 "Outfit", system-ui, sans-serif;
}

#quality-check * {
  box-sizing: border-box;
}

#quality-check::before {
  content: "";
  position: absolute;
  width: min(72%, 320px);
  top: 20%;
  right: 8%;
  bottom: 24px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(160deg, #8d8d90, #4a4a4d 55%, #2b2b2d);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  transform: rotate(7deg);
  pointer-events: none;
}

#quality-check .quality-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 24px 50px rgba(0, 0, 0, .55);
}

#quality-check .quality-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 38%);
  pointer-events: none;
}

#quality-check .quality-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

#quality-check h3 {
  margin: 0 0 4px;
  font: 400 28px/1.3 "Outfit", system-ui, sans-serif;
  letter-spacing: -.01em;
}

#quality-check .context {
  margin: 0;
  color: var(--muted);
}

#quality-check dl {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

#quality-check .result-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
}

#quality-check dt {
  color: var(--muted);
}

#quality-check dd {
  margin: 0;
}

#quality-check .review {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  background: var(--fill);
}

#quality-check .review h4 {
  margin: 0 0 4px;
  font: 400 24px/1.3 "Outfit", system-ui, sans-serif;
}

#quality-check .review p {
  margin: 0;
}

#quality-check .review .source {
  margin-bottom: 6px;
}

#quality-check .quality-footer {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}

#quality-check .source {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  #quality-check { font-size: 17px; }
  #quality-check h3 { font-size: 26px; }
  #quality-check .review h4 { font-size: 22px; }
}

@media (max-width: 360px) {
  #quality-check .result-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
