/* The four dotted tiles of the hubs' first screen, on the country pages (15/11/2026). Markup: country-tiles.mjs;
   drawings: country-tiles.js. Same look as #mhb/#rhb .mhb-tile/.rhb-tile on /mobile-proxies/ and /residential-proxies/.
   Everything under #qct: the light pages recolour p and code in <main> with selectors stronger than a class. */
#qct{--qct-soft:#C9D1E3;--qct-dim:#96A1BA;--qct-hair:rgba(255,255,255,.16);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:34px 0 0;padding:0;font-family:var(--font-body,'InterVar',system-ui,sans-serif);text-align:left;color:#fff}
#qct.qct-3{grid-template-columns:repeat(3,minmax(0,1fr))}
#qct .qct-tile{min-width:0;margin:0;padding:12px 16px 16px;border:1px solid var(--qct-hair);border-radius:16px;background:#06080F}
#qct .qct-art{min-width:0}
#qct .qct-tile canvas{display:block;width:100%;height:86px}
#qct p.qct-ab{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:2px 0 0;font-size:14px;line-height:1.3;color:var(--qct-dim);text-align:center}
#qct p.qct-ab span{color:var(--qct-dim)}
#qct .qct-tx{min-width:0}
#qct p.qct-tt{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0;font:600 17px/1.2 var(--font-head,'Sora',sans-serif);letter-spacing:-.01em;color:#fff}
#qct p.qct-tt em{font:600 12px/1 var(--font-body,'InterVar',sans-serif);font-style:normal;color:var(--qct-soft);border:1px solid var(--qct-hair);padding:4px 7px;border-radius:999px}
#qct p.qct-t{margin:5px 0 0;font-size:14.5px;line-height:1.42;color:var(--qct-dim);max-width:none}
#qct p.qct-t strong{font-weight:600;color:#fff}
#qct p.qct-t code{padding:1px 5px;border-radius:6px;background:rgba(255,255,255,.08);font:500 13.5px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--qct-soft)}
#qct p.qct-path{display:inline-flex;align-items:center;min-height:30px;margin:10px 0 0;padding:0 10px;border:1px solid var(--qct-hair);border-radius:999px;font-size:14px;line-height:1;color:var(--qct-soft);white-space:nowrap}
#qct ul.qct-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none}
#qct ul.qct-tags li{display:inline-flex;align-items:center;min-height:30px;margin:0;padding:0 10px;border:1px solid var(--qct-hair);border-radius:999px;font-size:14px;line-height:1;color:var(--qct-soft);list-style:none}
#qct ul.qct-tags li::before{content:none}
#qct .qct-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
#qct .qct-chips button{position:relative;height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--qct-hair);background:none;font:500 14px/1 var(--font-body,'InterVar',sans-serif);color:var(--qct-soft);white-space:nowrap;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#qct .qct-chips button::after{content:"";position:absolute;inset:-7px -3px}
#qct .qct-chips button[aria-pressed=true]{background:#fff;color:#05070F;border-color:#fff;font-weight:600}
#qct .qct-chips button:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* the shape did not decode: the drawings fold, the words stay */
#qct.qct-off .qct-art{display:none}

/* narrower tiles: a pill can take two lines, so it gets room for them */
@media (max-width:1219px){
  #qct ul.qct-tags li,#qct p.qct-path{padding:6px 10px;border-radius:14px;line-height:1.25;white-space:normal}
}
/* the residential labels are long ("Rotating: a new IP each request"): one per line; the mobile ones stay side by side */
@media (max-width:1099px){
  #qct[data-qct="resi"] p.qct-ab{grid-template-columns:1fr;gap:2px}
}
@media (max-width:959px){
  #qct,#qct.qct-3{grid-template-columns:1fr 1fr;gap:10px;margin-top:26px}
  #qct .qct-tile{padding:10px 12px 14px}
  #qct .qct-tile canvas{height:78px}
  #qct p.qct-tt{font-size:16px}
  #qct p.qct-t{font-size:14px}
  #qct ul.qct-tags li{padding:6px 10px;border-radius:14px;line-height:1.25}
  #qct .qct-chips button{height:32px}
}
/* phones: one tile per row, the drawing on the left, so the text keeps a readable line */
@media (max-width:559px){
  #qct,#qct.qct-3{grid-template-columns:1fr;margin-top:22px}
  #qct .qct-tile{display:grid;grid-template-columns:116px minmax(0,1fr);column-gap:14px;align-items:center;padding:12px 14px 12px 12px}
  #qct .qct-tile canvas{height:84px}
  #qct p.qct-tt{margin-top:0}
  #qct p.qct-path{padding:6px 10px;border-radius:14px;line-height:1.25;white-space:normal}
  #qct p.qct-ab{gap:0}
  #qct .qct-chips button{padding:0 8px}
}
@media (max-width:359px){
  #qct .qct-tile{display:block;padding:10px 14px 14px}
  #qct .qct-tile canvas{height:78px}
  #qct p.qct-ab,#qct[data-qct="resi"] p.qct-ab{grid-template-columns:1fr 1fr;gap:12px}
  #qct p.qct-tt{margin-top:8px}
}
