/* Wave 2 of the localized intent pages in tr, id, vi (18/11/2026), written by wave2-tr-id-vi-build.mjs.
   The first screen is hero B of the English hub 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 accents, 20px radius, soft shadows).
   This file only adds what those two do not have: code blocks, and the Vietnamese letters of Inter.
   Nothing here moves; nothing changes size after the first paint. */

/* ---------- code blocks (curl, Python, Telegram settings) */
html.qd-bx main .w2-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 .w2-code pre{margin:0;padding:18px 20px;overflow-x:auto;-webkit-overflow-scrolling:touch}
html.qd-bx main .w2-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 .w2-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}
@media (max-width:600px){
  html.qd-bx main .w2-code pre{padding:14px 14px}
  html.qd-bx main .w2-code code{font-size:13.5px}
}

/* ---------- Vietnamese: inter-var.woff2 is the Latin subset of Inter 4.001 and Sora has no Vietnamese at all, so the
   Vietnamese subset of the same Inter build (vi/fonts/, SIL OFL 1.1) joins the family by unicode-range, and inside
   <main> the headings use Inter (as on /vi/proxy-dan-cu/ and /vi/proxy-4g/). The nav and footer keep Sora. */
@font-face{font-family:'InterVar';src:url('/vi/fonts/inter-vietnamese.woff2?v=4001') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
html.qd-bx[lang="vi"] main{--font-head:'InterVar','Inter Fallback',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html.qd-bx[lang="vi"] main :is(h1,h2,h3){font-family:var(--font-head)}

/* ---------- spacing: a paragraph after a list, a table, a code block or a figure */
html.qd-bx main .bx-wrap > :is(ul,ol,figure,div) + p{margin-top:18px}
