/* Knockoff's composition on top of site.css: the legit-check card on the home page, the red marker loop around a
   knockoff's middle, and the label details. Colours and type still come from tokens.css. */

.brand { font: italic 800 22px/1 var(--disp); text-transform: uppercase; letter-spacing: 0.01em; gap: 9px; }
.brand svg { flex: none; }
.h-xl { line-height: 0.96; }
.kicker .dot, .chip .dot { border-radius: 2px; }
.btn.solid { font-weight: 700; }

/* the legit-check card */
.lc-card { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.lc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lc-title { font: italic 800 20px/1 var(--disp); letter-spacing: -0.01em; }
.lc-src { font-size: 13px; color: var(--mute); }
.lc-label { position: relative; background: var(--surf-2); border: 1px solid var(--line); border-radius: 2px; padding: 18px 18px 17px; outline: 1px dashed var(--line-2); outline-offset: -7px; }
.lc-label + .lc-label { margin-top: 12px; }
.lc-label.fake { border-color: color-mix(in srgb, var(--acc) 38%, var(--line)); }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lc-top svg { height: 30px; width: auto; }
.lc-fact { font-size: 14px; color: var(--mute); }
.lc-addr { margin-top: 18px; padding: 0 0 4px 2px; font-size: 15px; letter-spacing: 0; white-space: nowrap; }
.lc-label.fake .m { color: var(--acc); }
.lc-card .pair-foot { margin-top: 16px; }
.pair-foot b { font: italic 800 18px/1 var(--disp); text-transform: uppercase; letter-spacing: 0.02em; }
.lc-card .real-note { margin-top: 10px; }

/* the red marker loop around the different middle: two rounded strokes a touch off each other, like a pen that
   went round twice. Drawn on once, left to right, on the home card */
.pair .row.twin .m { color: var(--acc); }
/* the middle stands apart on both rows by the same amount, so the characters still line up and the loop has room */
.pair .addr .m, .lc-addr .m { margin: 0 0.6em; }
.circ { position: relative; }
.circ::before, .circ::after { content: ''; position: absolute; pointer-events: none; border: 2px solid var(--acc); border-radius: 999px; }
.circ::before { left: -0.5em; right: -0.42em; top: -0.34em; bottom: -0.3em; transform: rotate(-1.1deg); }
.circ::after { left: -0.36em; right: -0.58em; top: -0.24em; bottom: -0.4em; transform: rotate(0.7deg); border-width: 1.5px; opacity: 0.8; }
.circ.draw::before, .circ.draw::after { clip-path: inset(0 100% 0 0); animation: draw 0.8s cubic-bezier(.65, .05, .3, 1) .45s forwards; }
.circ.draw::after { animation-delay: .7s; }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .circ.draw::before, .circ.draw::after { animation: none; clip-path: none; } }
/* rows with a loop need room above and below it */
.pair { gap: 18px; }
.pair .row.twin { padding-bottom: 2px; }

/* small-phone fixes Mugshot found in the shared code (2026-11-04): the report form's one column may shrink below the
   file input's natural width (313 px), and a scan's summary chips wrap instead of pushing the page sideways */
.form { grid-template-columns: minmax(0, 1fr); }
.drop input[type='file'] { max-width: 100%; min-width: 0; }
.scan-sum .chip { white-space: normal; height: auto; min-height: 34px; padding-block: 6px; line-height: 1.35; }

/* a full header between the phone menu and 1180 px: the contract chip goes, the nav tightens */
.nav a { white-space: nowrap; }
@media (max-width: 1180px) { .nav { gap: 18px; } .top .right .ca-chip { display: none; } }

/* empty states: the tag, a little smaller than the old face */
.empty svg { width: 58px; height: auto; }
.nf svg { width: 96px; height: auto; }

@media (max-width: 720px) {
  .lc-card { padding: 16px; }
  .lc-label { padding: 15px 14px 14px; }
  /* the whole address on one line, so the real one and its knockoff line up character for character */
  .lc-addr { font-size: max(9px, min(15px, calc((100vw - 104px) / 27.6))); }
  .pair .addr { font-size: max(9px, min(15px, calc((100vw - 84px) / 27.6))); }
  .lc-top svg { height: 24px; }
}
/* under 360 px a whole address can't sit on one line at a readable size: it wraps, and the loop (which needs one
   line) becomes a wavy red underline */
@media (max-width: 360px) {
  .brand { font-size: 17px; gap: 7px; }
  .brand svg { width: 24px; height: 24px; }
  .lc-addr { white-space: normal; word-break: break-all; font-size: 13px; }
  .lc-addr .m, .pair .addr .m { margin: 0; }
  .circ::before, .circ::after { display: none; }
  .circ { text-decoration: underline wavy var(--acc) 1.5px; text-underline-offset: 4px; }
  .pair .addr { font-size: 13px; }
}
