/* sc-spot.v2.css (18 Nov 2026): sc-spot.v1.css without one-sided borders; lines became backgrounds, shading or spacing. */
/* Scam Check "spot the red flags" demo, v3 look (18 Nov 2026): an Outlook window beside a side panel with the time
   budget and the flags found; after checking, the flags are marked on the email itself and the panel becomes the result. */
.spd{--ink:#0f1827;--mut:#55607a;--line:#e3e6f1;--pur:#5b4cd2;--pur-t:#efedfb;--blue:#0441a8;--ok:#166534;--ok-bg:#e9f8ef;--bad:#b42318;--bad-bg:#fdecea;--amb:#b45309;
  max-width:1060px;margin:30px auto 0;text-align:left;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink)}
.spd *{box-sizing:border-box}
.spx{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.9fr);gap:20px;align-items:start}
.spx__q{grid-column:1/-1;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 4px}
.spx__q b{display:block;font-size:clamp(1.1rem,1rem + .5vw,1.35rem);line-height:1.3;max-width:52ch}
.spx__q span{font-size:12px;font-weight:600;color:var(--blue);background:#eef2fb;border-radius:4px;padding:3px 8px}
/* the Outlook window */
.spx__win{border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 30px 60px -30px rgba(15,24,39,.45),0 0 0 1px var(--line)}
.spx__title{height:34px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#4d66a8;color:#fff;font-size:12px;font-weight:600}
.spx__title i{width:10px;height:10px;border-radius:50%;flex:none}
.spx__title i:nth-child(1){background:#ff5f57}.spx__title i:nth-child(2){background:#febc2e}.spx__title i:nth-child(3){background:#28c840}
.spx__title span{flex:1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:30px}
.spm-bar{display:flex;align-items:center;gap:2px;padding:6px 8px;background:#f6f7fa;font-size:12.5px;flex-wrap:wrap}
.spm-bar button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:5px;color:#1f2937}
.spm-bar button:hover{background:#e7ebf5}
.spm-bar button:focus-visible{outline:2px solid var(--blue)}
.spm-bar button svg{width:15px;height:15px}
.spm-bar .spm-report{color:#a4262c;font-weight:600}
.spm-bar button.did{background:#e7ebf5}
.spm-sep{width:1px;height:18px;background:#d6dae4;margin:0 4px}
.spm-subj{font-size:17px;font-weight:700;padding:16px 18px 6px;line-height:1.3}
.spm-head{display:flex;gap:12px;padding:6px 18px 12px;align-items:flex-start}
.spm-av{width:38px;height:38px;border-radius:50%;background:#0f6cbd;color:#fff;display:grid;place-items:center;font-weight:600;flex:0 0 38px;font-size:13px}
.spm-from{font-size:13.5px;line-height:1.45;min-width:0;flex:1;overflow-wrap:anywhere}
.spm-addr{color:var(--mut)}
.spm-to{color:var(--mut);font-size:12.5px}
.spm-date{font-size:12px;color:var(--mut);white-space:nowrap}
.spm-ext{margin:0 18px;background:#fff4ce;border:1px solid #f0d58c;color:#5c4400;font-size:12.5px;padding:7px 10px;border-radius:4px}
.spm-body{padding:14px 18px 20px;font-size:14px;line-height:1.6}
.spm-body p{margin:0 0 10px}
.spm-sig{white-space:pre-line}
/* clickable parts */
.spd .hs{cursor:pointer;border-radius:4px;outline:1.5px dashed transparent;outline-offset:2px;transition:outline-color .15s,background .15s;position:relative}
.spot.hunting .hs:hover{outline-color:#b9b2f3;background:#f7f6fe}
.spd .hs:focus-visible{outline:2px solid var(--blue)}
.spd .hs.on{outline:2px solid var(--pur);background:var(--pur-t)}
.spd .hs .pin{position:absolute;left:-12px;top:-10px;width:20px;height:20px;border-radius:50%;background:var(--pur);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;box-shadow:0 2px 6px rgba(15,24,39,.3);animation:spxPop .25s ease}
@keyframes spxPop{from{transform:scale(.4)}to{transform:scale(1)}}
.spot.reveal .hs{cursor:default}
.spot.reveal .hs.found{outline:2px solid #3f9b5f;background:var(--ok-bg)}
.spot.reveal .hs.missed{outline:2px dashed #d0574b;background:var(--bad-bg)}
.spx-call{display:flex;gap:6px;align-items:flex-start;margin:6px 0 10px;font-size:12.5px;line-height:1.4;font-weight:600;animation:spxIn .4s ease both}
.spx-call i{font-style:normal;width:18px;height:18px;border-radius:4px;display:grid;place-items:center;font-size:11px;color:#fff;flex:none}
.spx-call.found{color:var(--ok)}.spx-call.found i{background:#3f9b5f}
.spx-call.missed{color:var(--bad)}.spx-call.missed i{background:#d0574b}
@keyframes spxIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* the side panel */
.spx__side{border-radius:10px;background:#fff;box-shadow:0 0 0 1px var(--line),0 20px 40px -30px rgba(15,24,39,.35);padding:20px;position:sticky;top:90px}
.spx__clock{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.spx__ring{width:62px;height:62px;flex:none}
.spx__ring circle{fill:none;stroke-width:6}
.spx__ring .bg{stroke:#eceef5}
.spx__ring .fg{stroke:var(--pur);stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%;transition:stroke-dashoffset 1s linear,stroke .3s}
.spx__ring.over .fg{stroke:var(--amb)}
.spx__ring text{font-size:15px;font-weight:700;fill:var(--ink);font-family:inherit;font-variant-numeric:tabular-nums}
.spx__clock b{display:block;font-size:14px}
.spx__clock small{font-size:12.5px;color:var(--mut);line-height:1.4}
.spx__slots{display:flex;gap:6px;margin:4px 0 6px}
.spx__slots i{flex:1;height:8px;border-radius:2px;background:#eceef5;transition:background .25s}
.spx__slots i.on{background:var(--pur)}
.spx__cnt{font-size:13px;color:var(--mut);margin:0 0 14px;font-variant-numeric:tabular-nums}
.spx__how{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:8px}
.spx__how li{display:flex;gap:10px;font-size:13px;line-height:1.4;color:var(--mut)}
.spx__how li b{flex:none;width:20px;height:20px;border-radius:4px;background:#eef0f6;color:var(--ink);display:grid;place-items:center;font-size:11px}
.spd__btn{all:unset;box-sizing:border-box;display:block;text-align:center;background:var(--blue);color:#fff;font-weight:700;font-size:14px;padding:11px 18px;border-radius:8px;cursor:pointer;text-decoration:none}
.spd__btn:hover{background:#033a96}
.spd__btn:focus-visible{outline:2px solid var(--pur);outline-offset:2px}
.spd__btn--line{background:#fff;color:var(--blue);box-shadow:inset 0 0 0 1.5px var(--line)}
.spd__btn--line:hover{background:#f6f7fb}
/* the result */
.spx__out{font-size:13px;font-weight:700;padding:8px 10px;border-radius:6px;margin:0 0 14px}
.spx__out.ok{color:var(--ok);background:var(--ok-bg)}
.spx__out.hit{color:var(--bad);background:var(--bad-bg)}
.spx__score{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.spx__score .spx__ring{width:76px;height:76px}
.spx__score .spx__ring text{font-size:17px}
.spx__tiles{display:grid;grid-template-columns:1fr;gap:4px;flex:1}
.spx__tiles div{display:flex;justify-content:space-between;font-size:13px;color:var(--mut);padding:4px 8px;border-radius:4px}
.spx__tiles div:nth-child(odd){background:#f6f7fb}
.spx__tiles div:last-child{border-bottom:0}
.spx__tiles b{color:var(--ink);font-variant-numeric:tabular-nums}
.spx__acts{list-style:none;margin:0 0 12px;padding:0}
.spx__acts li{font-size:12.5px;line-height:1.45;padding:7px 10px;border-radius:6px;margin-bottom:6px}
.spx__acts li.bad{background:var(--bad-bg);color:var(--bad)}
.spx__acts li.good{background:var(--ok-bg);color:var(--ok)}
.spx__tell{font-size:13px;line-height:1.5;color:var(--mut);margin:0 0 12px}
.spx__tell b{color:var(--ink)}
.spx__todo{margin:0 0 14px;padding:12px 14px;border-radius:8px;background:#f6f7fb}
.spx__todo h4{margin:0 0 6px;font-size:13px}
.spx__todo ul{margin:0;padding-left:18px;font-size:12.5px;line-height:1.5;color:var(--mut)}
.spx__pitch{font-size:13px;line-height:1.5;color:var(--mut);margin:0 0 14px;padding-top:12px}
.spx__pitch b{color:var(--ink)}
.spx__btns{display:flex;flex-direction:column;gap:8px}
#spd-tip{position:fixed;z-index:70;max-width:320px;background:#1f2937;color:#f8fafc;font:13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;padding:9px 11px;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.25);pointer-events:none;display:none;white-space:pre-line;word-break:break-word}
@media (max-width:900px){
  .spx{grid-template-columns:minmax(0,1fr)}
  .spm-bar{flex-wrap:nowrap;overflow-x:auto}
  .spx__title span{padding-right:0}
  .spx__side{position:static}
}
@media (max-width:560px){
  .spm-date{display:none}
  .spm-body,.spm-subj,.spm-head{padding-left:14px;padding-right:14px}
  .spm-ext{margin:0 14px}
  .spd .hs .pin{left:-6px}
}
@media (prefers-reduced-motion:reduce){ .spd .hs .pin,.spx-call{animation:none} .spx__ring .fg{transition:none} }

/* sc-spot.v3.css (19 Nov 2026): the start gate. The email is hidden until Start, and the clock starts with it */
.spx__win--wait{min-height:300px;display:flex;flex-direction:column}
.spx__gate{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:40px 24px;text-align:center;background:#f7f8fb}
.spx__gate p{margin:0;max-width:36ch;font-size:15.5px;line-height:1.55;color:var(--ink)}
.spx__gate .spd__btn{min-width:170px;min-height:46px;padding:13px 30px;font-size:15px}
.spx__win:focus{outline:none}
@media (max-width:560px){.spx__win--wait{min-height:240px}.spx__gate{padding:32px 18px}}
