/* Wave 3 of the localized intent pages (18/11/2026): /tr/mobil-proxy-fiyatlari/ and /pt/proxy-para-dolphin-anty/,
   written by wave3-tr-pt-build.mjs. The first screen is hero B of /mobile-proxies/ as it ships (its own hero-b.css); the
   page under it uses /best-res-dc-i18n/best-res-dc.css (fresh look: white cards, violet #4B3FD6 accents, 20px radius,
   soft shadows). This file only adds what that sheet does not have: code blocks, the bundle picker of the price page
   (.w3-pick) and the proxy-line builder of the setup page (.w3-build). Same tokens. Every motion has a still final state
   and stops with prefers-reduced-motion; nothing changes size after the first paint (fixed line heights, tabular figures). */

/* ---------- code blocks */
html.qd-bx main .w3-code{margin:20px 0 0;border:1px solid var(--bx-line,rgba(14,18,32,.09));border-radius:var(--bx-r,20px);background:#0E1220;box-shadow:var(--bx-shadow,0 1px 2px rgba(14,18,32,.04),0 14px 38px -22px rgba(14,18,32,.16));overflow:hidden}
html.qd-bx main .w3-code pre{margin:0;padding:18px 20px;overflow-x:auto;-webkit-overflow-scrolling:touch}
html.qd-bx main .w3-code code{display:block;font:500 14.5px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#E6E9F2;background:none;padding:0;white-space:pre}
html.qd-bx main .w3-code figcaption{margin:0;padding:10px 20px 12px;border-top:1px solid rgba(255,255,255,.08);font-size:14px;line-height:1.45;color:#B2BDD1;background:#141a2b}
html.qd-bx main .bx-sec code:not(pre code){font:500 .92em/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:1px 6px;border-radius:6px;background:var(--bx-violet-soft,#EEEBFF);color:var(--bx-ink,#0E1220);overflow-wrap:anywhere}
html.qd-bx main .bx-wrap > :is(ul,ol,figure,div) + p{margin-top:18px}

/* ---------- shared: a row of pressable options */
html.qd-bx main :is(.w3-pick,.w3-build){margin:22px 0 0;padding:20px 20px 18px;border:1px solid var(--bx-line);border-radius:var(--bx-r);background:#fff;box-shadow:var(--bx-shadow)}
html.qd-bx main .w3-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0}
html.qd-bx main .w3-row + .w3-row{border-top:1px solid rgba(14,18,32,.06)}
html.qd-bx main .w3-gl{font:600 14px/1.3 var(--font-body,'Inter',sans-serif);color:var(--bx-muted)}
html.qd-bx main .w3-opts{display:flex;flex-wrap:wrap;gap:8px}
html.qd-bx main .w3-opt{min-height:44px;padding:0 15px;border:1px solid var(--bx-line);border-radius:999px;background:#fff;font:500 15px/1 var(--font-body,'Inter',sans-serif);color:var(--bx-body);cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease}
html.qd-bx main .w3-opt:hover{border-color:rgba(75,63,214,.45);color:var(--bx-violet)}
html.qd-bx main .w3-opt[aria-pressed="true"]{background:var(--bx-violet-soft);border-color:var(--bx-violet);color:var(--bx-violet);font-weight:600}
html.qd-bx main .w3-opt:focus-visible{outline:2px solid var(--bx-violet);outline-offset:2px}

/* ---------- bundle picker: one bundle pressed, its price and what it buys below; the bar is the price per GB */
html.qd-bx main .w3-res{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--bx-line)}
html.qd-bx main .w3-res > div{padding:12px 14px;border-radius:14px;background:#F7F6FF}
html.qd-bx main .w3-res dt{margin:0 0 6px;font-size:13.5px;line-height:1.35;color:var(--bx-muted)}
html.qd-bx main .w3-res dd{margin:0;font:700 22px/1.2 var(--font-head,'Sora',sans-serif);color:var(--bx-ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em;min-height:1.2em;transition:color .35s ease}
html.qd-bx main .w3-res dd.w3-flash{color:var(--bx-violet)}
html.qd-bx main .w3-res dd small{font:500 13.5px/1.3 var(--font-body,'Inter',sans-serif);color:var(--bx-muted);letter-spacing:0}
html.qd-bx main .w3-meter{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;background:none!important;padding:4px 2px 0!important}
html.qd-bx main .w3-meter i{display:block;height:10px;border-radius:999px;background:#ECEAF8;overflow:hidden;position:relative}
html.qd-bx main .w3-meter i::after{content:"";position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(var(--w,1));background:linear-gradient(90deg,#4B3FD6,#7A6FF0);border-radius:inherit;transition:transform .55s cubic-bezier(.2,.7,.2,1)}
html.qd-bx main .w3-meter span{font-size:13.5px;color:var(--bx-muted);white-space:nowrap}
html.qd-bx main .w3-pick-note{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--bx-muted);max-width:none}

/* ---------- proxy-line builder: pick an option per row, the line changes */
html.qd-bx main .w3-out{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:center;margin:12px 0 0;padding:14px 0 0;border-top:1px solid var(--bx-line);max-width:none}
html.qd-bx main .w3-out code{display:block;min-height:3.2em;padding:10px 14px;border-radius:12px;background:#0E1220;color:#E8ECF7;font:500 14.5px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere;transition:background-color .35s ease}
html.qd-bx main .w3-out code.w3-flash{background:#231d6b}

@media (max-width:860px){
  html.qd-bx main .w3-row,html.qd-bx main .w3-out{grid-template-columns:1fr;gap:8px}
  html.qd-bx main :is(.w3-pick,.w3-build){padding:16px 14px}
  html.qd-bx main .w3-out code{min-height:4.7em}
}
@media (max-width:560px){
  html.qd-bx main .w3-res{grid-template-columns:1fr}
  html.qd-bx main .w3-res dd{font-size:20px}
  html.qd-bx main .w3-code pre{padding:14px 14px}
  html.qd-bx main .w3-code code{font-size:13.5px}
  /* six price columns must fit 390 px */
  html.qd-bx main.w3 .bx-ladder{gap:4px;padding:14px 8px 12px}
  html.qd-bx main.w3 .bx-ladder b{font-size:12.5px;white-space:normal;line-height:1.25}
  html.qd-bx main.w3 .bx-ladder span{font-size:12.5px}
}
@media (prefers-reduced-motion:reduce){
  html.qd-bx main .w3-opt,html.qd-bx main .w3-out code,html.qd-bx main .w3-res dd,html.qd-bx main .w3-meter i::after{transition:none}
}
