/* ============================================================================
   DETECTORS.CSS \u2014 styles for the "AI detectors we test against" list, the
   SubmitHub verification steps, and the final-master AI check card.
   Shared by index.html (landing), tutorial.html and studio.html.
   ========================================================================== */

/* ---- the detector grid (cards) ------------------------------------------ */
.det-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin: 18px 0 10px;
}
.det-card {
  position: relative;
  background: #14161d;
  border: 1px solid #2a2f3a;
  border-radius: 14px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.det-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #35c2ff, #35e0a1);
  opacity: 0.85;
}
.det-gate { border-color: #ff6b3555; }
.det-inapp { border-color: #35c2ff55; }
.det-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.det-card-head h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  color: #f2f4f8;
}
.det-tag {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #06202b;
  background: #35c2ff;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.det-gate .det-tag { background: #ff6b35; color: #1a0d05; }
.det-inapp .det-tag { background: #35e0a1; color: #06241a; }
.det-method {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #c7cdd8;
}
.det-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #8b93a3;
}
.det-link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: #35c2ff;
  text-decoration: none;
}
.det-link:hover { text-decoration: underline; }
.det-link-off { color: #6b7280; font-weight: 500; }
.det-disclaimer {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8b93a3;
  border-left: 3px solid #ff6b35;
  padding-left: 12px;
}

/* ---- compact list -------------------------------------------------------- */
.det-compact {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.det-compact li {
  font-size: 13px;
  line-height: 1.55;
  color: #c7cdd8;
  border-bottom: 1px solid #222732;
  padding-bottom: 8px;
}
.det-compact li:last-child { border-bottom: 0; }
.det-compact a { color: #35c2ff; text-decoration: none; }
.det-compact a:hover { text-decoration: underline; }
.det-compact .det-tag { margin-right: 6px; }

/* ---- SubmitHub verification steps --------------------------------------- */
.sh-steps {
  margin: 10px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sh-steps li {
  font-size: 13px;
  line-height: 1.55;
  color: #c7cdd8;
}
.sh-steps a { color: #35c2ff; text-decoration: none; }
.sh-steps a:hover { text-decoration: underline; }

/* ---- "Verify on SubmitHub" wrapper (landing + tutorial) ----------------- */
.det-verify {
  margin-top: 30px;
  padding: 26px 28px;
  border: 1px solid #2a2f3a;
  border-radius: 16px;
  background: #14161d;
}
.det-verify h3 { margin-top: 0; color: #f2f4f8; }

/* ---- final-master AI check card (studio) -------------------------------- */
.fm-check {
  margin-top: 22px;
  border: 1px solid #2a2f3a;
  border-radius: 14px;
  background: #14161d;
  padding: 18px;
}
.fm-check h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #f2f4f8;
}
.fm-rows {
  margin: 12px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #c7cdd8;
  border-bottom: 1px solid #222732;
  padding-bottom: 8px;
}
.fm-val {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f2f4f8;
}
.fm-val.ok { color: #35e0a1; }
.fm-val.warn { color: #ff6b35; }
.fm-verdict {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #c7cdd8;
}
.fm-verdict .ok { color: #35e0a1; }
.fm-verdict .warn { color: #ff6b35; }
.fm-verify {
  margin-top: 16px;
  border-top: 1px solid #222732;
  padding-top: 14px;
}
.fm-verify > b { color: #f2f4f8; font-size: 14px; }
.fm-record {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 13px;
  color: #c7cdd8;
}
.fm-record input {
  width: 90px;
  background: #0e1015;
  border: 1px solid #2a2f3a;
  border-radius: 8px;
  color: #f2f4f8;
  padding: 8px 10px;
  font-size: 14px;
}
.fm-record button {
  background: #232838;
  color: #e8eaf0;
  border: 1px solid #2a2f3a;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}
.fm-record button:hover { background: #2b3145; }
.fm-saved { font-size: 12.5px; color: #35e0a1; }
.fm-saved.warn { color: #ff6b35; }
