/* The Scam Feed (thesimind.si/scam-feed/, v2.29). Built by Codeflex.
   It adds only what the earlier sheets (simind.css, simind-grow.css, simind-pass.css, roadtest.css) do not have: cards that open
   their area as a whole, the list with its search, the rules as rows that span, the format cards, the code block and the appeal
   form. Every panel is centered, every grid fills its row, a pill's words wrap inside it. No corner brackets. */
.sfm [hidden]{display:none!important}

/* a card opens the area it is about: one link lies over the whole card, and the card's own links, buttons, fields and code stay on
   top. These four rules also serve the bands this release adds to the home page, the guardian page and the Trap List. */
.sf-card{position:relative;transition:transform .3s,border-color .3s,box-shadow .3s}
.sf-cover{position:absolute;inset:0;z-index:1;border-radius:inherit}
.sf-card :is(a:not(.sf-cover),button,input,select,textarea,pre,.sf-item){position:relative;z-index:2}
.sf-card:hover,.sf-card:focus-within{border-color:var(--line2);box-shadow:var(--glow)}
.sfm .sf-fmt:hover,.sfm .sf-row:hover{transform:translateY(-3px)}
.sf-more{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;font-family:var(--f-mono);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--cyan);text-decoration:none;text-align:center;overflow-wrap:anywhere}
.sf-more svg{flex:0 0 auto;width:14px;height:14px;transition:transform .25s}
.sf-more:hover{color:#fff}
.sf-more:hover svg,.sf-card:hover .sf-more svg{transform:translateX(3px)}
.sf-more:focus-visible{outline:2px solid var(--cyan);outline-offset:4px;border-radius:6px}
/* a button's words wrap inside it too, in every language (the site's buttons stay on one line by default) */
.sfm .btn,.sf-card .btn{max-width:100%;white-space:normal;text-align:center;line-height:1.25;padding-block:9px}
/* a pill never runs past its card: its words wrap inside it */
.sfm .gr-tag{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere;line-height:1.35;padding-block:5px}

/* the three totals: each a card that opens its area */
.sf-stats .stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.sf-stats .stat small{margin:0;white-space:normal;overflow:visible;text-wrap:balance}
.sf-stats .stat b{width:100%}

/* the check box and the note under a result */
.sf-check .tl-result p{flex:1 1 100%;text-align:center}
.sf-check .tl-result small{flex:1 1 100%;text-align:center;color:var(--dim);font-size:13.5px;overflow-wrap:anywhere}

/* why it exists */
.sfm .answer.rt-pair .hero-cta{position:relative;z-index:2}

/* the list: search, type, on or left */
.sf-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,240px) auto;gap:12px;align-items:end;margin:0 0 16px}
.sf-tabs{display:flex;min-width:0}
.sf-tab{flex:1 1 auto;min-height:46px;padding:8px 18px;border:1px solid var(--line2);background:rgba(2,10,26,.85);color:var(--muted);font:600 14.5px/1.25 inherit;font-family:inherit;cursor:pointer;transition:color .25s,background .25s,border-color .25s}
.sf-tab:first-child{border-radius:12px 0 0 12px}
.sf-tab:last-child{border-radius:0 12px 12px 0;margin-left:-1px}
.sf-tab.is-on{position:relative;color:#fff;border-color:var(--cyan);background:rgba(0,192,240,.18)}
.sf-tab:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.sf-list{display:flex;flex-direction:column;gap:12px}
.sf-list .rt-empty{display:flex;flex-direction:column;align-items:center;gap:12px}
.sf-list .rt-empty p{margin:0;max-width:760px;text-wrap:balance}
.sf-row{display:grid;grid-template-columns:minmax(0,32%) minmax(0,1fr) auto;gap:14px 26px;align-items:center;min-width:0;padding:18px 22px;border-radius:var(--r);border:1px solid var(--line);background:linear-gradient(180deg,rgba(6,22,52,.92),rgba(3,12,28,.94));text-align:left}
.sf-row-id{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.sf-row-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;max-width:100%}
.sf-item{display:block;max-width:100%;padding:8px 14px;border-radius:12px;border:1px solid var(--line2);background:rgba(2,8,20,.85);font-family:var(--f-mono);font-size:14.5px;color:#fff;white-space:nowrap;overflow-x:auto;scrollbar-width:thin;user-select:all}
.sf-row-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.sf-row p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.6}
.sf-row p.sf-sum{color:#e4f1ff;font-size:15.5px}
/* the team's answer is a quoted line inside the row, not a box of its own (the row is the card) */
.sf-ans{display:flex;flex-direction:column;gap:4px;padding:2px 0 2px 14px;border-left:3px solid var(--cyan);color:#dfefff;font-size:14.5px;line-height:1.55;overflow-wrap:anywhere}
.sf-ans b{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--steel);font-weight:500}
.sf-row-acts{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0}
.sf-check .sf-item{flex:0 1 auto;margin-inline:auto}

/* four steps, two by two, each with its link */
.sf-steps .step{margin:0;height:100%}
.sf-steps .step>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.sf-steps .step h3,.sf-steps .step p{margin:0}
.sf-steps .step .sf-more{margin-top:6px;text-align:left}

/* the rules: rows that span (the name on the left, the rule across the rest) */
.sf-rules{display:flex;flex-direction:column;gap:6px}
.sf-rule-list{margin:0;display:flex;flex-direction:column}
.sf-rule{display:grid;grid-template-columns:minmax(150px,230px) minmax(0,1fr);gap:8px 28px;align-items:start;padding:18px 0;border-top:1px solid var(--line);text-align:left}
.sf-rule:first-child{border-top:0;padding-top:4px}
.sf-rule dt{margin:0;font-family:var(--f-display);font-size:clamp(15px,1.3vw,18px);letter-spacing:.03em;color:#fff}
.sf-rule dd{margin:0;color:var(--muted);font-size:15.5px;line-height:1.65}
.sf-rules .hero-cta{justify-content:center;margin:12px 0 0}

/* what it means, what it keeps: the card's link sits at the bottom */
.sfm .rt-col .sf-more{margin-top:auto;align-self:flex-start;padding-top:6px}

/* read it: four formats, the example, the fields */
.sf-fmts{grid-template-columns:repeat(4,minmax(0,1fr))}
.sf-fmt{color:inherit;text-decoration:none;min-width:0}
.sf-fmt p{flex:1 1 auto}
.sf-fmt code{display:block;max-width:100%;margin-top:4px;padding:6px 14px;border-radius:14px;border:1px solid var(--line2);background:rgba(2,10,26,.85);font-family:var(--f-mono);font-size:12.5px;line-height:1.4;color:#dff6ff;overflow-wrap:anywhere}
.sf-code{display:flex;flex-direction:column;gap:14px;margin-top:16px;min-width:0}
.sf-code header{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 22px;text-align:center}
.sf-code h3,.sf-sub{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;font-family:var(--f-display);font-size:clamp(17px,1.6vw,21px);letter-spacing:.03em;color:#fff;text-align:center}
.sf-code h3 svg,.sf-sub svg{flex:0 0 auto;width:22px;height:22px;color:var(--cyan)}
.sf-code-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px}
.sf-pre{margin:0;max-width:100%;padding:18px 20px;border-radius:14px;border:1px solid var(--line2);background:rgba(2,8,20,.92);color:#d7ecff;font-family:var(--f-mono);font-size:13px;line-height:1.65;text-align:left;white-space:pre;overflow-x:auto;scrollbar-width:thin;tab-size:2}
.sf-pre code{font:inherit;color:inherit;background:none;padding:0}
.sf-pre:focus{outline:none;border-color:var(--cyan)}
.sf-fields{margin-top:22px}
.sf-sub{margin-bottom:12px}
.sf-table tbody th{white-space:normal;width:1%}
.sf-table tbody th code{display:inline-block;font-family:var(--f-mono);font-size:13px;color:#dff6ff;white-space:nowrap}
.sf-table tbody td{overflow-wrap:anywhere}

/* the appeal */
.sf-form{display:flex;flex-direction:column;gap:16px}
.sf-form-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}
.sf-form .hero-cta{justify-content:center;margin:4px 0 0}
.sf-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.sf-note{margin:0;text-align:center;color:var(--dim);font-size:13.5px}

/* the paragraph and the last band */
.sfm .answer.sf-card .sf-more{margin-top:14px}
.sfm .band.sf-card .hero-cta{position:relative;z-index:2}

@media (max-width:1100px){
  .sf-fmts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  /* a row of the list stacks, centered */
  .sf-row{grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px}
  .sf-row-id,.sf-row-body{align-items:center;width:100%}
  .sf-ans{align-items:center;padding:8px 0 0;border-left:0;border-top:2px solid var(--cyan);text-align:center}
  .sf-row-top{justify-content:center}
  .sf-row p{text-wrap:balance}
  .sf-row-acts{flex-direction:row;flex-wrap:wrap;gap:10px 18px}
  .sf-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .sf-filter .sf-f-q{grid-column:1/-1}
  .sf-rule{grid-template-columns:1fr;gap:6px}
}
@media (max-width:640px){
  .sf-filter,.sf-fmts,.sf-form-row{grid-template-columns:1fr}
  .sf-filter .sf-f-q{grid-column:auto}
  .sf-row{padding:16px 14px}
  .sf-item{font-size:12.5px;padding:8px 10px}
  .sf-rule{text-align:center}
  .sf-pre{padding:14px;font-size:12px}
  .sf-table{font-size:14px}
  .sf-table th,.sf-table td{padding:9px 8px}
  .sf-steps .step{flex-direction:column;gap:12px}
  .sf-steps .step .n{flex:0 0 auto;width:44px;height:44px}
  /* a metric's label stays whole on a phone */
  .sfm .gr-stats .stat{padding-inline:10px}
  .sfm .gr-stats .stat small{font-size:10.5px;letter-spacing:.08em}
}
@media (prefers-reduced-motion:reduce){
  .sf-card,.sf-more svg,.sf-tab{transition:none}
  .sfm .sf-fmt:hover,.sfm .sf-row:hover{transform:none}
}
