/* Is this message a scam? Page styles on top of the shared theme.css. Built by Suman Mukherjee. */
.masthead h1 { max-width: 24ch; }
.privacy strong { color: var(--allow); }

/* Checker */
.checker { padding-top: clamp(18px, 3vw, 30px); }
.check-form { display: grid; gap: 10px; max-width: 860px; }
.msg-label { font-weight: 700; font-size: 17px; font-variation-settings: "wdth" 108; }
#msg {
  font-family: var(--font); font-size: 16px; line-height: 1.5; min-height: 150px;
  border: 1.5px solid var(--ink-3); background: var(--sheet);
}
.check-btn { font-size: 17px; padding: 14px 24px; min-height: 52px; }
#model-status:empty { display: none; }
.examples { margin-top: 18px; max-width: 860px; }
.examples p { margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 999px;
  padding: 7px 13px; min-height: 36px; cursor: pointer;
}
.chip:hover { border-color: var(--ink-2); }

/* Result */
.result { margin-top: 26px; border-top: 2px solid var(--ink); padding-top: 14px; scroll-margin-top: 12px; }
.verdict-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin-bottom: 8px; }
/* The slot clips the stamp's entry animation so it can never widen the page on a phone. */
/* Padding leaves room for the rotated corners (about 4% of the stamp's width above and below). */
.stamp-slot { overflow: hidden; contain: paint; padding: 36px 16px 34px; margin: -18px 0 -16px; max-width: 100%; flex: 0 0 auto; }
.stamp-slot .stamp.big {
  font-size: clamp(19px, 5.4vw, 34px); padding: 7px 16px 5px; border-width: 4px;
  white-space: nowrap; text-align: center; line-height: 1.12;
}
.summary { margin: 0; font-size: 16px; color: var(--ink-2); max-width: 52ch; flex: 1 1 280px; }
.summary b { color: var(--ink); }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px calc(var(--gap) * 1.4); margin-top: 10px; }
.result-grid h3 { margin: 6px 0 10px; }

.flags { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.flag { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 11px 0 12px; border-bottom: 1px solid var(--rule); }
.flag .num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 13.5px; color: #fff; background: var(--deny); margin-top: 1px;
}
.flag.w1 .num { background: var(--review); }
.flag b { font-weight: 700; }
.flag .sev {
  display: inline-block; font-size: 11.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  padding: 1px 6px; border-radius: 3px; margin-left: 4px; vertical-align: 1px; color: var(--deny); background: var(--deny-wash);
}
.flag.w1 .sev { color: var(--review); background: var(--review-wash); }
.flag.w4 .sev { color: #fff; background: var(--deny); }
.flag p { margin: 3px 0 0; font-size: 14.5px; color: var(--ink-2); }
.flag.none { grid-template-columns: minmax(0, 1fr); }
.flag q { font-weight: 650; color: var(--ink); }
.model-line { color: var(--ink-2); margin: 10px 0 0; }
.model-line:empty { display: none; }

.marked {
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 12px 14px; font-size: 15.5px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere;
}
.marked mark { color: var(--ink); padding: 1px 0; border-radius: 2px; }
.marked mark.sig { background: var(--deny-wash); border-bottom: 2px solid var(--deny); }
.marked mark.weak { background: var(--review-wash); border-bottom: 2px dotted var(--review); }
.marked sup.tag { font-size: 11px; font-weight: 800; color: var(--deny); margin: 0 1px 0 2px; line-height: 0; }

/* What to do */
.todo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px calc(var(--gap) * 1.4); }
.todo-list { margin: 8px 0 0; padding-left: 20px; }
.todo-list li { margin-bottom: 10px; max-width: 62ch; }
.report h3 { margin-top: 8px; }
.big-num { font-weight: 850; font-size: 1.15em; font-variation-settings: "wdth" 115; }
.todo.urgent > h2 { color: var(--deny); }

/* Install */
.install { margin: 0; padding-left: 22px; }
.install li { margin-bottom: 9px; max-width: 70ch; }
code { overflow-wrap: anywhere; }

/* Evaluation */
table.eval td:first-child { font-weight: 600; }
table.eval tr.current td { background: var(--cobalt-wash); }
table.eval th { white-space: nowrap; }
#eval-parts, #eval-fp { margin: 12px 0 0; max-width: 80ch; }
.eval-notes p { max-width: 80ch; color: var(--ink-2); }
.eval-notes b { color: var(--ink); }

/* Why and limits */
.why { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.4); }
.limits ul { padding-left: 18px; margin: 8px 0 0; }
.limits li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .result-grid, .todo-grid, .why { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .stamp-slot { flex: 1 1 100%; padding: 20px 10px 18px; margin: -6px 0 -4px; }
  .stamp-slot .stamp.big { white-space: normal; max-width: calc(100% - 6px); }
}
/* On phones the results table becomes one block per method, so nothing scrolls sideways. */
@media (max-width: 560px) {
  table.eval thead { display: none; }
  table.eval, table.eval tbody, table.eval tr, table.eval td { display: block; width: 100%; }
  table.eval tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  table.eval tr.current { background: var(--cobalt-wash); padding: 8px 8px; }
  table.eval tr.current td { background: transparent; }
  table.eval td { border: 0; padding: 2px 0; }
  table.eval td:first-child { font-size: 15px; padding-bottom: 4px; }
  table.eval td.num { display: flex; justify-content: space-between; text-align: right; }
  table.eval td.num::before { content: attr(data-label); color: var(--ink-2); font-weight: 500; text-align: left; }
}
@media (max-width: 480px) {
  .check-btn { width: 100%; justify-content: center; }
  .verdict-top { gap: 2px; }
  table.data { font-size: 13.5px; }
  table.data th, table.data td { padding: 7px 6px; }
  .credit nav { gap: 6px 14px; }
}
