/* warmup.v2.css (19 Nov 2026; v1 + readable words under the button): the "Think you can spot a scam?" warm-up question (tooling/warmup/build44.py).
   The text arrives on a phone (the same phone as the quiz page), the answer sits beside it, and after an answer the
   fee and the fake link light up in the message while the reasons are listed. No dot pattern behind the band. */

/* ---------- the band ---------- */
html body .qzc{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:end;column-gap:clamp(24px,3.4vw,52px);row-gap:0;
  padding:clamp(28px,3.2vw,44px) clamp(22px,3.4vw,48px) 0;border-radius:8px}
html body .qzc::before{display:none}
html body .qzc__copy{align-self:center;padding-bottom:clamp(28px,3.2vw,44px)}
html body .qzc .qzc__demo.qzw{max-width:none;width:100%;justify-self:stretch;display:flex;align-items:flex-end;gap:clamp(18px,2.4vw,30px)}

/* ---------- the phone, cut off by the bottom of the band ---------- */
.qzw__ph{flex:0 0 252px;height:346px;overflow:hidden;padding:6px 8px 0;box-sizing:border-box}
.qzw-ph{position:relative;box-sizing:border-box;width:236px;padding:7px;border-radius:42px;background:#10131b;
  box-shadow:0 0 0 1.5px #474e5e,0 0 0 3px #c9ced8,0 0 0 3.5px #9ea5b3,0 30px 60px -20px rgba(0,0,0,.6)}
.qzw-ph__btn{position:absolute;width:3px;border-radius:2px;background:linear-gradient(90deg,#9ea5b3,#d6dae2)}
.qzw-ph__btn--act{left:-6px;top:88px;height:21px}
.qzw-ph__btn--vu{left:-6px;top:122px;height:38px}
.qzw-ph__btn--vd{left:-6px;top:169px;height:38px}
.qzw-ph__btn--pw{right:-6px;top:139px;height:60px;background:linear-gradient(270deg,#9ea5b3,#d6dae2)}
.qzw-ph__scr{position:relative;display:flex;flex-direction:column;height:480px;border-radius:35px;overflow:hidden;background:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
.qzw-ph__st{display:grid;grid-template-columns:1fr 70px 1fr;align-items:center;height:40px;padding:0 4px;color:#0b0d12}
.qzw-ph__st b{justify-self:center;padding-left:6px;font-size:13.5px;font-weight:600;letter-spacing:-.01em}
.qzw-ph__isl{width:70px;height:21px;border-radius:999px;background:#0b0d12}
.qzw-ph__ic{display:flex;justify-self:center;align-items:center;gap:4px;padding-right:4px}
.qzw-ph__ic svg{display:block;flex:0 0 auto}
.qzw-ph__hd{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:2px 0 10px;background:#f6f6f8}
.qzw-ph__bk{position:absolute;left:10px;top:11px;display:flex;color:#1a73e8}
.qzw-ph__bk svg{width:20px;height:20px}
.qzw-av{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(180deg,#a5abb8,#868d9b);color:#fff}
.qzw-av svg{width:26px;height:26px;margin-top:6px}
.qzw-ph__hd b{display:flex;align-items:center;gap:1px;font-size:11.5px;font-weight:500;color:#0b0d12;max-width:84%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qzw-ph__hd b svg{width:11px;height:11px;flex:0 0 auto;color:#9aa1ae}
.qzw-ph__msgs{display:flex;flex-direction:column;gap:6px;padding:12px 11px}
.qzw-ph__stamp{align-self:center;margin-bottom:2px;color:#8e8e93;font-size:10.5px}
.qzw-ph__bub{position:relative;z-index:0;align-self:flex-start;max-width:84%;margin:0 0 0 4px;padding:8px 12px;border-radius:17px;background:#e9e9eb;
  font-size:13.5px;line-height:1.4;color:#0b0d12;overflow-wrap:anywhere}
/* a received message: the tail sits at the bottom left */
.qzw-ph__bub::before,.qzw-ph__bub::after{content:"";position:absolute;bottom:0;z-index:-1}
.qzw-ph__bub::before{left:-7px;width:20px;height:20px;background:#e9e9eb;border-bottom-right-radius:16px 14px}
.qzw-ph__bub::after{left:-10px;width:10px;height:20px;background:#fff;border-bottom-right-radius:10px}
.qzw-ph__bub .lnk{color:#1a73e8;text-decoration:underline;text-underline-offset:2px;word-break:normal;overflow-wrap:anywhere}
.qzw-ph__bub .lnk,.qzw-flag{unicode-bidi:isolate;direction:ltr}
.qzw-ph__bub mark{background:none;color:inherit}

/* the message arrives when the band scrolls into view */
@keyframes qzwArrive{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
.qzc.vis .qzw-ph__bub,.qzc.vis .qzw-ph__stamp{animation:qzwArrive .5s cubic-bezier(.2,.8,.2,1) .35s both}
.qzc.vis .qzw-ph__stamp{animation-delay:.2s}

/* after an answer, the two giveaways light up in the message */
.qzw-ph__bub .lnk,.qzw-flag{border-radius:3px;transition:background .45s ease,box-shadow .45s ease,color .45s ease}
.qzc.answered .qzw-flag,.qzc.answered .qzw-ph__bub .lnk{background:rgba(229,72,77,.15);box-shadow:inset 0 -2px 0 #e5484d;color:#b4232a;text-decoration:none}

/* ---------- the question and the answer ---------- */
.qzw__panel{flex:1 1 auto;min-width:0;align-self:center;padding:0 0 30px}
html body .qzw .qzc__label{display:block;margin:0 0 6px;font:500 12.5px/1.4 var(--sans);letter-spacing:0;text-transform:none;color:rgba(233,240,252,.62)}
.qzw__q{margin:0 0 16px;font:600 clamp(1.05rem,.6vw + .8rem,1.25rem)/1.3 var(--sans);letter-spacing:-.01em;color:#fff}
html body .qzw .qzc__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
html body .qzw .qzc__btn{min-height:46px;padding:10px 12px;border-radius:8px;border:1px solid rgba(233,240,252,.3);background:rgba(255,255,255,.05);
  color:#fff;font:600 14px/1.25 var(--sans);transform:none;transition:background .15s,border-color .15s}
html body .qzw .qzc__btn:hover{background:rgba(255,255,255,.12);border-color:rgba(233,240,252,.6);color:#fff;transform:none}
html body .qzw .qzc__btn:focus-visible{outline:2px solid #9fc3ff;outline-offset:2px}
html body .qzw .qzc__verdict{margin:0}
html body .qzw .qzc__v{gap:10px;align-items:center;margin:0 0 12px;padding:0;border-radius:0;background:none!important;color:#fff!important;font:600 16px/1.35 var(--sans)}
html body .qzw .qzc__v svg{width:24px;height:24px;flex:0 0 auto;padding:4px;border-radius:50%;box-sizing:border-box}
html body .qzw .qzc__v.ok svg{background:#5b4cd2;color:#fff}
html body .qzw .qzc__v.no svg{background:#e5484d;color:#fff}
html body .qzw .qzc__tells{margin:0;padding:0;display:grid;gap:8px}
html body .qzw .qzc__tells li{position:relative;display:block;padding:0 0 0 24px;font-size:13.5px;line-height:1.45;color:rgba(233,240,252,.84)}
html body .qzw .qzc__tells li::before{content:"";position:absolute;left:0;top:2px;width:15px;height:15px;margin:0;border-radius:0;background:#ff8a8f;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h12l-2.5 4.5L17 13H5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4h12l-2.5 4.5L17 13H5'/%3E%3C/svg%3E") center/contain no-repeat}
html body .qzw .qzc__more{margin:14px 0 0;font-size:13px;color:rgba(233,240,252,.62)}

/* ---------- smaller screens ---------- */
@media (max-width:820px){
  html body .qzc{grid-template-columns:minmax(0,1fr)}
  html body .qzc__copy{padding-bottom:22px}
}
@media (max-width:560px){
  html body .qzc .qzc__demo.qzw{flex-direction:column;align-items:stretch;gap:18px}
  .qzw__ph{flex:none;align-self:center;height:340px;-webkit-mask-image:linear-gradient(180deg,#000 86%,transparent);mask-image:linear-gradient(180deg,#000 86%,transparent)}
  .qzw__panel{align-self:stretch;padding-bottom:26px}
}

/* ---------- Arabic: the phone reads right to left ---------- */
html[dir="rtl"] .qzw-ph__bk{left:auto;right:10px;transform:scaleX(-1)}
html[dir="rtl"] .qzw-ph__hd b svg{transform:scaleX(-1)}
html[dir="rtl"] .qzw-ph__bub{margin:0 4px 0 0}
html[dir="rtl"] .qzw-ph__bub::before{left:auto;right:-7px;border-bottom-right-radius:0;border-bottom-left-radius:16px 14px}
html[dir="rtl"] .qzw-ph__bub::after{left:auto;right:-10px;border-bottom-right-radius:0;border-bottom-left-radius:10px}
html[dir="rtl"] body .qzw .qzc__tells li{padding:0 24px 0 0}
html[dir="rtl"] body .qzw .qzc__tells li::before{left:auto;right:0}

@media (prefers-reduced-motion:reduce){
  .qzc.vis .qzw-ph__bub,.qzc.vis .qzw-ph__stamp{animation:none}
  .qzw-ph__bub .lnk,.qzw-flag{transition:none}
}

/* ---------- v2: readable words under the button (19 Nov 2026) ---------- */
html body .qzc .qzc__biz{color:rgba(233,240,252,.78)!important}
html body .qzc .qzc__biz a{color:#a9c8ff!important;font-weight:600;text-decoration:none}
html body .qzc .qzc__biz a:hover{color:#d3e3ff!important;text-decoration:underline;text-underline-offset:3px}
html body .qzc .qzc__biz a:focus-visible{outline:2px solid #9fc3ff;outline-offset:2px;border-radius:2px}
html body .qzc .qzc__meta{color:rgba(233,240,252,.66)!important}
