/* The fake link finder (/tools/lookalike/): type a real website, see six made up fakes of it.
   The fakes are only text, never links. The part a scammer changed gets the yellow highlighter.
   Loaded after tool-link.css, which has the headline, the box, the tips and the questions. */

/* the one box: a website, already filled in */
.fk-field { position: relative; }
.fk-input {
  display: block; width: 100%; min-height: 68px; margin: 0; padding: 0 64px 0 24px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink);
  font: 700 22px/1.2 var(--addr);
}
.fk-input:focus { outline: none; box-shadow: 0 0 0 4px var(--mark); }
.fk-input::placeholder { color: #80868F; font-weight: 500; }
.fk-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer;
}
.fk-clear svg { width: 26px; height: 26px; }
@media (hover: hover) { .fk-clear:hover { color: var(--ink); } }
.fk-note { font-size: 17px; font-weight: 700; line-height: 1.45; padding: 2px; }

/* the fakes, right under the box */
.fk-out { display: flex; flex-direction: column; gap: 12px; }
.fk-made {
  align-self: flex-start; padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: 14px; font-weight: 800; line-height: 1.2;
}
.fk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.fk-card { border: 2px solid var(--line); border-radius: 20px; padding: 16px 18px 18px; background: var(--white); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fk-title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fk-n {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0;
}
.fk-addr { font: 700 clamp(20px, 5.8vw, 24px)/1.3 var(--addr); color: var(--ink); overflow-wrap: anywhere; }
.fk-addr-small { font-size: 18px; }
.fk-mark { background: var(--mark); color: var(--ink); border-radius: 4px; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fk-dots { letter-spacing: .08em; color: var(--muted); }     /* a short link's code, hidden: it can't take anyone anywhere */
.fk-trick { font-size: 16px; line-height: 1.45; color: #3A3F47; text-wrap: pretty; }
.fk-trick b { color: var(--ink); }

/* a picture of a message, not a working link */
.fk-msg { border-radius: 18px; background: #F6F6F4; border: 1px solid #E8E8E3; padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.fk-from { align-self: center; font: 700 13px/1.2 var(--addr); color: var(--muted); }
.fk-bubble {
  align-self: flex-start; max-width: 94%; background: #E6E6EA; color: var(--ink); border-radius: 20px 20px 20px 6px;
  padding: 11px 15px; font: 400 17px/1.4 var(--addr); overflow-wrap: anywhere;
}
.fk-link { color: #1F63D6; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.fk-behind { display: flex; flex-direction: column; gap: 2px; padding: 4px 4px 0; }
.fk-behind-label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

@media (min-width: 760px) {
  .fk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fk-input { min-height: 64px; padding-left: 20px; font-size: 21px; }
  .fk-card { padding: 14px 14px 16px; }
}
