/* Quasarium public modules. Authored against native PHP/JS markup, not legacy skins.
   core.css owns common controls; these rules give native content its station layout. */

.qs-world :is(.forum-main,.forum-side,.news-main,.news-side,.docs-v31,.downloads-v32,.bl-head-main,.bl-post-body,.bl-set-main,.bl-set-side) { min-width:0; }
.qs-world :is(.forum-panel,.news-glass,.docs-frame,.bl-author,.bl-post) {
  border:1px solid var(--qs-line);
  border-radius:var(--qs-radius);
  background:linear-gradient(125deg,rgba(99,176,214,.08),transparent 40%),var(--qs-panel);
  box-shadow:inset 0 1px rgba(218,246,255,.08),0 12px 36px rgba(0,7,18,.18);
}
.qs-world :is(.forum-widget,.forum-replybox,.forum-search-results,.forum-empty,.news-widget,.news-empty,.docs-paper,.docs-empty,.bl-author) { padding:clamp(1rem,2.2vw,1.75rem); }
.qs-world :is(.forum-head,.bl-head,.docs-head,.dl32-heading) { display:flex; align-items:center; justify-content:space-between; gap:1.25rem; flex-wrap:wrap; margin:0 0 1.5rem; }
.qs-world :is(.forum-head,.bl-head,.docs-head,.dl32-heading) h1 { margin:0 0 .35rem; font-size:clamp(1.7rem,3vw,2.7rem); line-height:1.15; letter-spacing:-.025em; overflow-wrap:anywhere; }
.qs-world :is(.forum-head,.bl-head,.docs-head,.dl32-heading) p { margin:.35rem 0 0; color:var(--qs-muted); max-width:68ch; }
.qs-world :is(.forum-widget,.news-widget) h2 { margin:0 0 1rem; font-size:1rem; letter-spacing:.025em; }
.qs-world :is(.forum-widget,.news-widget) h2 svg { width:1.1rem; height:1.1rem; vertical-align:middle; margin-inline-end:.5rem; }
.qs-world :is(.news-crumbs,.docs-breadcrumbs,.dl32-breadcrumbs) { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin:0 0 1.25rem; font-size:.85rem; color:var(--qs-muted); overflow-wrap:anywhere; }
.qs-world :is(.news-crumbs,.docs-breadcrumbs,.dl32-breadcrumbs) svg { width:.8rem; height:.8rem; flex:none; }
.qs-world :is(.forum-sr,.news-sr,.docs-sr,.dl32-video-sr) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.qs-world :is(.cab-chip,.bl-chip,.news-chip,.news-tag,.news-badge,.mod-status,.dl32-release,.dl32-video-badge) { display:inline-flex; align-items:center; gap:.35rem; max-width:100%; padding:.3rem .65rem; border:1px solid var(--qs-line); border-radius:99px; color:var(--qs-muted); background:rgba(89,164,207,.08); font-size:.78rem; line-height:1.45; overflow-wrap:anywhere; }
.qs-world :is(.news-chip.active,.news-cat.active,.news-toc-item.active,.bl-chip--tag,.mod-status.is-ok) { border-color:var(--qs-accent); color:var(--qs-accent); background:rgba(73,169,229,.16); }
.qs-world :is(.bl-chips,.bl-tags,.bl-topics,.bl-nav,.news-chips,.news-tags,.news-labels,.forum-topic-badges) { display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; }
.qs-world :is(.cab-card-sub,.news-widget-sub,.bl-author-desc,.bl-post-lead) { color:var(--qs-muted); line-height:1.6; }
.qs-world :is(.forum-pages,.news-pager) { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1.5rem 0; }
.qs-world :is(.forum-page,.news-page) { display:inline-flex; justify-content:center; align-items:center; min-width:2.75rem; min-height:2.75rem; padding:.45rem .7rem; border:1px solid var(--qs-line); border-radius:9px; background:var(--qs-panel); color:var(--qs-text); text-decoration:none; }
.qs-world :is(.forum-page.is-cur,.news-page.active) { border-color:var(--qs-accent); background:rgba(59,157,216,.22); color:var(--qs-accent); font-weight:700; }
.qs-world .news-page.is-gap { border-color:transparent; background:transparent; }
.qs-world .news-page.is-off { opacity:.5; }
.qs-world :is(.forum-search,.bl-search,.news-search) { display:flex; align-items:center; gap:.5rem; min-width:0; }
.qs-world :is(.forum-search,.bl-search,.news-search) input[type="search"] { width:100%; min-width:0; }
.qs-world :is(.forum-search,.news-search) button { flex:none; min-width:2.75rem; min-height:2.75rem; }
.qs-world :is(.bl-search-ico,.cab-form-ico) { display:inline-flex; flex:none; width:1.25rem; height:1.25rem; color:var(--qs-accent); }
.qs-world :is(.forum-ava,.bl-ava) { display:inline-flex; flex:none; align-items:center; justify-content:center; width:2.75rem; height:2.75rem; border:1px solid var(--qs-line); border-radius:50%; background:#12394e; color:var(--qs-text); font-weight:700; overflow:hidden; }
.qs-world :is(.forum-ava,.bl-ava) img { width:100%; height:100%; object-fit:cover; }
.qs-world .bl-ava--sm { width:2rem; height:2rem; }
.qs-world :is(.cab-state,.bl-reason,.bl-note,.forum-media-unavailable) { padding:.9rem 1rem; border-inline-start:3px solid var(--qs-accent); background:rgba(100,196,226,.08); overflow-wrap:anywhere; }
.qs-world .cab-dot { display:inline-block; width:.55rem; height:.55rem; margin-inline-end:.45rem; border-radius:50%; background:var(--qs-accent); }
.qs-world .cab-dot.wait { background:#ffd48d; }
.qs-world :is(.forum-tip .tile,.forum-symbol,.forum-empty-symbol,.dl32-mark) { display:inline-flex; align-items:center; justify-content:center; flex:none; width:2.75rem; height:2.75rem; border:1px solid var(--qs-line); border-radius:12px 4px; color:var(--qs-accent); background:rgba(70,163,214,.1); }
.qs-world :is(.forum-symbol,.forum-empty-symbol,.dl32-mark,.forum-tip .tile) svg { width:1.25rem; height:1.25rem; }

/* Forum: categories, topics, post stream and authoring. */
.qs-world .forum-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(14rem,18rem); gap:1.5rem; align-items:start; }
.qs-world :is(.forum-main,.forum-side) { display:grid; gap:1.25rem; }
.qs-world .forum-cat { overflow:hidden; }
.qs-world .forum-cat-title { margin:0; padding:1.2rem 1.4rem; font-size:1.2rem; border-bottom:1px solid var(--qs-line); }
.qs-world :is(.forum-cat-head,.forum-row) { display:grid; grid-template-columns:minmax(0,1fr) 5.5rem 5.5rem minmax(8rem,11rem); gap:1rem; align-items:center; padding:1rem 1.4rem; }
.qs-world .forum-cat-head { font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; color:var(--qs-muted); background:rgba(111,187,225,.06); }
.qs-world .forum-cat-head>span { min-width:0; white-space:normal; overflow-wrap:anywhere; }
.qs-world .forum-cat-head>span:is(:nth-child(2),:nth-child(3)) { text-align:center; }
.qs-world .forum-row { color:var(--qs-text); text-decoration:none; border-top:1px solid var(--qs-line); transition:background-color .18s ease; }
.qs-world .forum-row:hover { background:rgba(88,183,231,.12); }
.qs-world .forum-row-main { display:flex; gap:.9rem; align-items:center; min-width:0; }
.qs-world .forum-row-text { min-width:0; }
.qs-world .forum-row-text b { font-size:1rem; line-height:1.45; }
.qs-world :is(.forum-row-text,.forum-last) :is(b,small) { display:block; overflow-wrap:anywhere; }
.qs-world :is(.forum-row-text small,.forum-last,.forum-num small) { color:var(--qs-muted); font-size:.78rem; line-height:1.5; }
.qs-world .forum-num { display:grid; gap:.15rem; text-align:center; font-variant-numeric:tabular-nums; }
.qs-world .forum-num b { font-size:1.05rem; color:var(--qs-text); }
.qs-world .forum-last { min-width:0; }
.qs-world .forum-last svg { width:.85rem; height:.85rem; margin-inline-end:.3rem; vertical-align:middle; }
.qs-world .forum-topic-badges { margin:.35rem 0; }
.qs-world .forum-tools { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1.25rem; }
.qs-world .forum-tools .forum-search { flex:1 1 17rem; max-width:28rem; }
.qs-world .forum-stats dl { margin:0; display:grid; gap:.7rem; }
.qs-world .forum-stats dl>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.3rem 1rem; }
.qs-world .forum-stats dt { color:var(--qs-muted); }
.qs-world .forum-stats dd { margin:0; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.qs-world .forum-online { display:flex; flex-wrap:wrap; gap:.75rem; }
.qs-world .forum-online-person { display:flex; align-items:center; gap:.45rem; font-size:.8rem; overflow-wrap:anywhere; }
.qs-world .forum-online-person .forum-ava { width:2rem; height:2rem; }
.qs-world .forum-online-total { display:flex; gap:.5rem; align-items:center; color:var(--qs-muted); }
.qs-world .forum-widget-link { display:flex; gap:.5rem; align-items:start; padding:.65rem 0; overflow-wrap:anywhere; }
.qs-world .forum-widget-link svg { flex:none; width:1rem; height:1rem; margin-top:.2rem; }
.qs-world .forum-empty { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.qs-world .forum-empty h2 { margin:0 0 .75rem; }
.qs-world .forum-discussion { padding:0; background:rgba(5,24,39,.95); }
.qs-world .forum-post { display:grid; grid-template-columns:3.5rem minmax(0,1fr); gap:1rem; padding:clamp(1rem,2.4vw,1.75rem); scroll-margin-top:6rem; }
.qs-world .forum-post+.forum-post { border-top:1px solid var(--qs-line); }
.qs-world .forum-ava-lg { width:3.25rem; height:3.25rem; }
.qs-world .forum-post-body { min-width:0; }
.qs-world .forum-post-meta { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:1rem; }
.qs-world .forum-post-meta small { display:block; color:var(--qs-muted); font-size:.75rem; line-height:1.6; }
.qs-world .forum-post-number { flex:none; font-size:.8rem; color:var(--qs-muted); padding:.3rem; }
.qs-world :is(.forum-post-actions,.forum-modbar,.cab-formbar,.bl-formbar,.bl-cm-acts) { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem; margin-top:1rem; }
.qs-world .forum-modbar { margin:0 0 1.25rem; padding:.8rem 1rem; border:1px solid var(--qs-line); border-radius:12px; background:var(--qs-panel); }
.qs-world .forum-post-actions { border-top:1px solid rgba(135,218,247,.15); padding-top:1rem; font-size:.85rem; }
.qs-world :is(.forum-post-actions,.forum-modbar) form { margin:0; }
.qs-world .forum-edited { font-size:.75rem; }
.qs-world .forum-compose-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(14rem,18rem); gap:1.5rem; align-items:start; }
.qs-world .forum-compose-layout>.forum-panel { padding:clamp(1rem,2vw,1.75rem); }
.qs-world .forum-compose-layout .cab-side-card>.forum-panel { padding:1.25rem; }
.qs-world .forum-tip { display:flex; gap:.75rem; align-items:flex-start; margin:1rem 0; }
.qs-world .forum-tip p { margin:.3rem 0; color:var(--qs-muted); font-size:.85rem; }
.qs-world :is(.forum-replybox,.forum-composer,.forum-compose-layout) { min-width:0; }
.qs-world .forum-replybox { margin-top:1.5rem; scroll-margin-top:6rem; }
.qs-world .forum-title-count { display:block; color:var(--qs-muted); text-align:end; font-size:.75rem; }
.qs-world .forum-editor-error { color:#ffc1b5; white-space:pre-wrap; }
.qs-world .forum-preview { border:1px solid var(--qs-line); border-radius:12px; padding:1.25rem; margin-top:1rem; background:var(--qs-panel-strong); }
.qs-world dialog.forum-panel { width:min(42rem,calc(100% - 2rem)); max-height:calc(100dvh - 2rem); overflow:auto; padding:1.25rem; background:var(--qs-panel-strong); color:var(--qs-text); }
.qs-world dialog.forum-panel::backdrop { background:rgba(1,8,17,.8); }
.qs-world dialog.forum-panel :is(header,footer) { display:flex; gap:.75rem; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.qs-world dialog.forum-panel h2 { font-size:1.3rem; margin:.25rem 0 1rem; }
.qs-world dialog.forum-panel label { display:grid; gap:.5rem; margin:1rem 0; }
.qs-world dialog.forum-panel footer { margin-top:1.25rem; }
.qs-world .forum-media-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1rem; }
.qs-world .forum-media-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(7rem,1fr)); gap:.65rem; max-height:20rem; overflow:auto; }
.qs-world .forum-media-tile { padding:.4rem; min-width:0; border:1px solid var(--qs-line); border-radius:8px; background:var(--qs-panel); color:var(--qs-text); }
.qs-world .forum-media-tile img { display:block; width:100%; height:7rem; object-fit:contain; }
.qs-world :is(.forum-media-tile[aria-pressed="true"],.forum-media-tabs [aria-selected="true"]) { outline:2px solid var(--qs-accent); outline-offset:-2px; background:rgba(65,173,218,.2); }
.qs-world .forum-content-image { margin:1.25rem 0; }
.qs-world .forum-content-image img { max-width:100%; height:auto; border-radius:8px; }
.qs-world .forum-content-image figcaption { color:var(--qs-muted); margin-top:.5rem; font-size:.85rem; }
.qs-world .forum-video { max-width:48rem; margin:1.25rem 0; border:1px solid var(--qs-line); border-radius:12px; overflow:hidden; background:#041421; }
.qs-world .forum-video-stage { position:relative; aspect-ratio:16/9; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.65rem; padding:1rem; text-align:center; }
.qs-world .forum-video-stage :is(iframe,img) { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border:0; }
.qs-world .forum-video-stage p { margin:0; font-size:.85rem; line-height:1.5; }
.qs-world .forum-video-stage .btn { max-width:100%; }
.qs-world .forum-video-logo { display:grid; place-items:center; width:2.5rem; height:2.5rem; color:var(--qs-accent); }
.qs-world .forum-video>a { display:block; padding:.8rem 1rem; overflow-wrap:anywhere; }
.qs-world .forum-img { max-width:100%; height:auto; border-radius:8px; }
.qs-world .forum-del { color:#ffc3b4; }

/* Native QDoc editor: component behaviour stays with its own script. */
.qs-world .forum-composer .qf-editor { min-width:0; border:1px solid var(--qs-line); border-radius:12px; color:var(--qs-text); background:#061a2a; }
.qs-world .forum-composer .qf-toolbar { position:static; display:flex; flex-wrap:wrap; gap:.4rem; padding:.65rem; border-bottom:1px solid var(--qs-line); background:#0b293d; color:var(--qs-text); }
.qs-world .forum-composer .qf-toolbar :is(button,select) { min-height:2.5rem; max-width:100%; border:1px solid var(--qs-line); border-radius:7px; color:var(--qs-text); background:#0a2335; }
.qs-world .forum-composer .qf-toolbar [aria-pressed="true"] { color:var(--qs-accent); border-color:var(--qs-accent); background:#164761; }
.qs-world .forum-composer .qf-toolbar button svg { width:1.1rem; height:1.1rem; }
.qs-world .forum-composer :is(.qf-surface,.qf-preview,.qf-source) { min-height:16rem; padding:1.2rem; color:var(--qs-text); background:#061a2a; line-height:1.75; overflow-wrap:anywhere; }
.qs-world .forum-composer .qf-source { width:100%; font-family:ui-monospace,monospace; }
.qs-world .forum-composer .qf-status { padding:.5rem .8rem; border-top:1px solid var(--qs-line); color:var(--qs-muted); background:#0b293d; font-size:.8rem; }
.qs-world .forum-composer .qf-block { margin:0 0 1rem; max-width:100%; }
.qs-world .forum-composer :is(.qf-image,.qf-video,.qf-unsupported) { border:1px solid var(--qs-line); border-radius:8px; padding:.75rem; max-width:100%; }
.qs-world .forum-composer .qf-image img { max-width:100%; height:auto; }
.qs-world .forum-composer .qf-table-wrap { max-width:100%; overflow:auto; }

/* Shared reading surface. Content is never clipped or line-clamped. */
.qs-world :is(.forum-post-text,.news-body,.docs-prose,.dl32-description,.qf-preview) { line-height:1.8; overflow-wrap:anywhere; color:var(--qs-text); }
.qs-world :is(.forum-post-text,.news-body,.docs-prose,.dl32-description) :is(p,ul,ol,blockquote,figure,pre,table) { margin-block:0 1.25rem; }
.qs-world :is(.forum-post-text,.news-body,.docs-prose,.dl32-description) :is(h2,h3,h4) { margin:1.8em 0 .7em; line-height:1.3; scroll-margin-top:6rem; }
.qs-world :is(.forum-post-text,.news-body,.docs-prose,.dl32-description) a { text-decoration:underline; text-underline-offset:.18em; }
.qs-world :is(.forum-quote,.qdoc-quote,.qf-quote,.news-body blockquote,.docs-prose blockquote) { padding:1rem 1.25rem; margin-inline:0; border-inline-start:3px solid var(--qs-accent); background:rgba(89,181,225,.09); color:var(--qs-muted); }
.qs-world :is(.forum-code,.docs-code,.qdoc-code,.qf-code,.news-body pre,.docs-prose pre) { display:block; padding:1rem 1.25rem; max-width:100%; overflow-x:auto; border:1px solid var(--qs-line); border-radius:10px; background:#03131f; color:#d8f4ff; white-space:pre; overflow-wrap:normal; line-height:1.65; font: .85rem/1.65 ui-monospace,SFMono-Regular,Consolas,monospace; tab-size:4; }
.qs-world :is(.news-body,.docs-prose,.forum-post-text) code { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.qs-world :is(.news-body,.docs-prose,.forum-post-text) :not(pre)>code { padding:.1em .3em; border-radius:4px; background:rgba(100,188,224,.12); font-size:.9em; overflow-wrap:anywhere; }
.qs-world :is(.news-body,.docs-prose,.forum-post-text) table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; }
.qs-world :is(.news-body,.docs-prose,.forum-post-text) :is(img,video,iframe) { max-width:100%; }
.qs-world :is(.news-body,.docs-prose,.forum-post-text) img { height:auto; }
.qs-world :is(.news-body,.docs-prose,.forum-post-text) figure { margin-inline:0; }
.qs-world :is(.news-body,.docs-prose) figcaption { color:var(--qs-muted); font-size:.85rem; }

/* News and Blog: publication desk, long reading and native author tools. */
.qs-world .news-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(14rem,18rem); gap:1.5rem; align-items:start; }
.qs-world .news-layout--article { grid-template-columns:minmax(10rem,13rem) minmax(0,1fr) minmax(12rem,15rem); }
.qs-world .news-side { display:grid; gap:1.25rem; }
.qs-world .news-main>.card+.card { margin-top:1.25rem; }
.qs-world .news-banner { padding:clamp(1.5rem,4vw,3rem); margin-bottom:1.25rem; }
.qs-world .news-banner h1 { margin:.25rem 0 .6rem; font-size:clamp(1.8rem,3.8vw,3rem); letter-spacing:-.025em; }
.qs-world .news-banner p { max-width:65ch; }
.qs-world :is(.news-eyebrow,.dl32-eyebrow,.dl32-terminal-eyebrow) { margin:0 0 .5rem; color:var(--qs-accent); font-size:.75rem; text-transform:uppercase; letter-spacing:.12em; }
.qs-world .news-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; margin-bottom:1.5rem; }
.qs-world .news-search { flex:1 1 16rem; max-width:28rem; }
.qs-world .news-filter-state { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.5rem; padding:1rem; border:1px solid var(--qs-line); border-radius:12px; background:var(--qs-panel); margin-bottom:1.25rem; }
.qs-world .news-cluster { display:grid; grid-template-columns:1.3fr 1fr; gap:1.25rem; margin-bottom:2rem; }
.qs-world .news-card { min-width:0; overflow:hidden; display:flex; flex-direction:column; }
.qs-world .news-card--featured { grid-row:span 2; }
.qs-world .news-card--compact { display:grid; grid-template-columns:minmax(7rem,.7fr) minmax(0,1.3fr); }
.qs-world .news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.qs-world .news-card--wide { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
.qs-world .news-cover { display:flex; justify-content:center; min-width:0; min-height:7rem; background:linear-gradient(145deg,#123a56,#071d2d); }
.qs-world .news-cover img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.qs-world .news-card--compact .news-cover img { height:100%; }
.qs-world .news-cover img.news-fallback { width:3.5rem; height:3.5rem; object-fit:contain; margin:auto; }
.qs-world .news-card-body { padding:clamp(1rem,2vw,1.5rem); min-width:0; }
.qs-world .news-card-title { margin:.65rem 0; font-size:1.25rem; line-height:1.35; overflow-wrap:anywhere; }
.qs-world .news-card-title a { color:var(--qs-text); text-decoration:none; }
.qs-world .news-card--featured .news-card-title { font-size:clamp(1.4rem,2.4vw,2rem); }
.qs-world .news-card-text { color:var(--qs-muted); line-height:1.65; }
.qs-world :is(.news-meta,.bl-post-meta,.blog-card-meta) { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .8rem; color:var(--qs-muted); font-size:.78rem; }
.qs-world .news-meta { margin-top:.75rem; }
.qs-world .news-meta span { display:inline-flex; gap:.35rem; align-items:center; }
.qs-world :is(.news-meta,.news-pin) svg { width:.9rem; height:.9rem; }
.qs-world .news-pin { display:inline-flex; gap:.35rem; align-items:center; font-size:.72rem; color:var(--qs-accent); }
.qs-world .news-feed-heading { margin:1.5rem 0 1rem; font-size:1.3rem; }
.qs-world :is(.news-arch,.news-cat,.news-rank,.news-rel,.news-toc-item,.docs-tree-item) { display:flex; gap:.75rem; padding:.7rem 0; align-items:start; color:var(--qs-text); text-decoration:none; border-bottom:1px solid rgba(135,218,247,.16); overflow-wrap:anywhere; }
.qs-world .news-arch { justify-content:space-between; }
.qs-world :is(.news-rank-text,.news-rel-text) { min-width:0; }
.qs-world :is(.news-rank-text,.news-rel-text) :is(b,small) { display:block; }
.qs-world :is(.news-rank-text,.news-rel-text) small { color:var(--qs-muted); margin-top:.3rem; font-size:.75rem; }
.qs-world :is(.news-rank-n,.news-cat-ico) { color:var(--qs-accent); flex:none; width:1.5rem; }
.qs-world .news-rel-img { width:3.5rem; flex:none; }
.qs-world .news-rel-img img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; }
.qs-world .news-toc-item { font-size:.9rem; padding:.7rem .5rem; border-inline-start:2px solid transparent; }
.qs-world .news-toc-item.active { border-inline-start-color:var(--qs-accent); }
.qs-world .news-article { padding:clamp(1.1rem,3vw,2.5rem); background:rgba(5,24,39,.96); }
.qs-world .news-title { margin:1rem 0; font-size:clamp(1.8rem,3.4vw,3rem); letter-spacing:-.025em; line-height:1.15; overflow-wrap:anywhere; }
.qs-world .news-lead { font-size:clamp(1.05rem,1.7vw,1.2rem); line-height:1.7; color:#c9e1ed; }
.qs-world :is(.news-hero-img,.bl-view-cover) { display:block; width:100%; max-height:36rem; object-fit:contain; height:auto; margin:1.5rem auto; border-radius:12px; }
.qs-world .news-body { max-width:75ch; margin-inline:auto; font-size:1rem; }
.qs-world :is(.news-tags--article,.bl-tags) { margin-top:1.5rem; }
.qs-world .news-votes { display:flex; flex-wrap:wrap; gap:.75rem; border-top:1px solid var(--qs-line); margin-top:1.5rem; padding-top:1.25rem; }
.qs-world .news-vote { min-height:2.75rem; padding:.6rem 1rem; display:flex; gap:.5rem; align-items:center; border:1px solid var(--qs-line); border-radius:10px; background:var(--qs-panel); color:var(--qs-text); }
.qs-world .news-vote.is-on { border-color:var(--qs-accent); color:var(--qs-accent); background:#16415a; }
.qs-world .news-vote.is-down { border-color:#f8bd9f; color:#f8bd9f; }
.qs-world .news-sub .input-wrap { position:relative; }
.qs-world .news-sub .input-eye { position:absolute; inset-inline-end:.8rem; top:.8rem; pointer-events:none; color:var(--qs-muted); }
.qs-world .news-sub .input-wrap input { padding-inline-end:2.5rem; }
.qs-world .bl-head { align-items:flex-start; }
.qs-world :is(.bl-head-cta,.bl-hero-cta,.bl-postbar) { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; }
.qs-world :is(.bl-nav,.bl-topics) { margin:1rem 0; }
.qs-world .bl-posts { display:grid; gap:1.25rem; }
.qs-world .bl-post { display:grid; grid-template-columns:minmax(8rem,.7fr) minmax(0,1.4fr); overflow:hidden; }
.qs-world .bl-post-cover { min-width:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(145deg,#163b54,#071d2d); }
/* Edge-filling links stay visibly focused inside their clipped card boundary. */
.qs-world :is(.forum-row,.bl-post-cover):focus-visible { outline-offset:-4px; }
.qs-world .bl-post-cover img { display:block; width:100%; height:100%; min-height:12rem; object-fit:cover; }
.qs-world .bl-post-noimg { display:grid; place-items:center; min-height:9rem; color:var(--qs-accent); }
.qs-world .bl-post-noimg svg { width:2rem; height:2rem; }
.qs-world .bl-post-body { padding:1.5rem; }
.qs-world .bl-post-title { margin:.7rem 0; font-size:1.5rem; line-height:1.3; overflow-wrap:anywhere; }
.qs-world .bl-post-title a { color:var(--qs-text); text-decoration:none; }
.qs-world :is(.bl-feed-who,.bl-side-author) { display:flex; gap:.65rem; align-items:center; }
.qs-world .bl-side-author { padding:.75rem 0; }
.qs-world :is(.bl-feed-who,.bl-side-author) span { min-width:0; overflow-wrap:anywhere; }
.qs-world .blog-view-meta { padding:1rem 0; }
.qs-world .blog-view-meta small { display:block; margin-top:.3rem; }
.qs-world .bl-authorbox { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.qs-world .bl-authorbox small { display:block; }
.qs-world .bl-authorbox form { margin-inline-start:auto; }
.qs-world .bl-cm { display:grid; grid-template-columns:2.75rem minmax(0,1fr); gap:.9rem; padding:1.25rem 0; border-bottom:1px solid var(--qs-line); scroll-margin-top:6rem; }
.qs-world .bl-cm-body { min-width:0; overflow-wrap:anywhere; }
.qs-world .bl-cm-body>small { display:block; margin-top:.25rem; font-size:.75rem; }
.qs-world .bl-cm-body>p { line-height:1.7; }
.qs-world .bl-cm.is-reply { margin-inline-start:2rem; padding-inline-start:1rem; border-inline-start:2px solid var(--qs-line); }
.qs-world .bl-cm.is-hidden { border-inline-start:3px solid #ffd48d; padding-inline-start:1rem; background:rgba(173,126,41,.07); }
.qs-world .bl-cm.is-dead { color:var(--qs-muted); }
.qs-world .bl-cm-acts { align-items:flex-start; }
.qs-world .bl-cm-acts form { display:flex; flex-wrap:wrap; gap:.5rem; min-width:0; }
.qs-world .bl-cm-acts input { width:12rem; max-width:100%; }
.qs-world .bl-cm-edit[open] { flex:1 1 100%; }
.qs-world .bl-cm-edit form { display:grid; gap:.75rem; margin-top:.75rem; }
.qs-world .bl-cm-form { margin-top:1.5rem; scroll-margin-top:6rem; }
.qs-world .bl-cm-replyto { display:flex; flex-wrap:wrap; gap:.65rem; align-items:center; padding:.75rem; border:1px solid var(--qs-line); border-radius:8px; }
.qs-world .bl-hero { display:flex; flex-wrap:wrap; align-items:center; gap:1.5rem; padding:clamp(1.25rem,3vw,2.5rem); margin:0 0 1.5rem; border:1px solid var(--qs-line); border-radius:var(--qs-radius); background-color:#09283b; background-size:cover; background-position:center; }
.qs-world .bl-hero-ava { flex:none; width:5rem; height:5rem; display:grid; place-items:center; border:1px solid var(--qs-line); border-radius:18px 5px; overflow:hidden; background:#0d3147; }
.qs-world .bl-hero-ava img { width:100%; height:100%; object-fit:cover; }
.qs-world .bl-hero-text { flex:1 1 20rem; min-width:0; }
.qs-world .bl-hero-title { margin:.3rem 0; font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.2; overflow-wrap:anywhere; }
.qs-world .bl-hero-sub { max-width:70ch; line-height:1.6; }
.qs-world .bl-hero-meta { display:flex; flex-wrap:wrap; gap:1rem; color:var(--qs-muted); font-size:.85rem; }
.qs-world .bl-authors-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(14rem,18rem); gap:1.5rem; }
.qs-world .bl-authors-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.qs-world .bl-author-who { display:grid; grid-template-columns:2.75rem minmax(0,1fr); gap:.6rem .8rem; align-items:center; }
.qs-world .bl-author-who>:is(.bl-author-desc,.bl-chips,.bl-author-count,.btn) { grid-column:1/-1; }
.qs-world .bl-author-who>.btn { justify-self:start; }
.qs-world .bl-author-who>div { min-width:0; }
.qs-world .bl-author-name { display:block; font-size:1.1rem; font-weight:700; overflow-wrap:anywhere; }
.qs-world .bl-author-count { color:var(--qs-muted); font-size:.8rem; }
.qs-world .bl-author-last { margin-top:1rem; padding-top:1rem; border-top:1px solid var(--qs-line); }
.qs-world .bl-last { display:flex; gap:.8rem; margin-top:1rem; padding-top:1rem; border-top:1px solid var(--qs-line); }
.qs-world .bl-last-cover { width:4rem; flex:none; }
.qs-world .bl-last-cover img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; }
.qs-world .bl-last-text { min-width:0; overflow-wrap:anywhere; }
.qs-world .bl-last-label { display:block; color:var(--qs-muted); font-size:.75rem; }
.qs-world .bl-how-step { display:flex; gap:.75rem; margin:1.25rem 0; }
.qs-world .bl-how-n { color:var(--qs-accent); font-size:1.2rem; flex:none; }
.qs-world .bl-sort { display:flex; gap:.5rem; align-items:center; flex-wrap:wrap; margin:1rem 0; }
.qs-world .bl-sortlinks { display:flex; gap:1rem; flex-wrap:wrap; margin:1rem 0; }
.qs-world .bl-h2 { margin:1.5rem 0 .75rem; font-size:1.3rem; }
.qs-world .bl-pin { display:inline-flex; gap:.35rem; align-items:center; color:var(--qs-accent); font-size:.75rem; }
.qs-world .bl-pin svg { width:.9rem; height:.9rem; }
.qs-world .bl-head-main { display:flex; align-items:flex-start; gap:.8rem; }
.qs-world .bl-head-main>.cab-form-ico { margin-top:.45rem; }
.qs-world :is(.bl-hero-link,.bl-slug-real) { overflow-wrap:anywhere; }
.qs-world .bl-author-sign { font-size:.85rem; color:var(--qs-muted); }
.qs-world .bl-comment-gap { padding:.5rem; }
.qs-world .bl-myrow { display:grid; grid-template-columns:5rem minmax(0,1fr) auto; align-items:center; gap:1rem; margin-bottom:1rem; }
.qs-world .bl-myrow-cover img { width:5rem; height:4rem; object-fit:cover; border-radius:8px; }
.qs-world .bl-myrow-text { min-width:0; overflow-wrap:anywhere; }
.qs-world .bl-myrow-actions { display:flex; flex-wrap:wrap; gap:.5rem; }
.qs-world .bl-createform { max-width:65rem; }
.qs-world .bl-createform .row2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.qs-world .bl-cover-drop { display:grid; gap:.75rem; padding:1.25rem; border:1px dashed var(--qs-line); border-radius:12px; background:rgba(91,180,217,.05); }
.qs-world .bl-cover-drop>svg { width:1.5rem; height:1.5rem; color:var(--qs-accent); }
.qs-world .bl-cover-now { max-width:min(20rem,100%); height:auto; max-height:12rem; object-fit:contain; border-radius:10px; margin-bottom:1rem; }
.qs-world .bl-settings { display:grid; grid-template-columns:minmax(0,1fr) minmax(15rem,20rem); gap:1.5rem; align-items:start; }
.qs-world .bl-set-side { display:grid; gap:1rem; }
.qs-world .bl-topicpick { display:flex; flex-wrap:wrap; gap:.6rem; }
.qs-world .bl-topicbox { display:inline-flex; align-items:center; gap:.5rem; padding:.6rem .8rem; border:1px solid var(--qs-line); border-radius:10px; }
.qs-world .bl-topicbox.is-on { border-color:var(--qs-accent); background:rgba(76,173,217,.13); }
.qs-world .bl-preview { padding:1.25rem; border-radius:12px; border:1px solid var(--qs-line); background-color:#0d3048; background-size:cover; }
.qs-world .bl-preview-empty { display:flex; align-items:center; gap:.6rem; color:var(--qs-muted); padding:1.25rem 0; }
.qs-world .bl-preview-empty svg { width:1.4rem; height:1.4rem; }
.qs-world .bl-req { color:#ffc1b5; font-style:normal; }
.qs-world :is(.bl-feed-view,.bl-subscribe) { max-width:65rem; }
.qs-world .bl-feed-view pre { overflow:auto; max-width:100%; }
.qs-world[data-sector="blog"] .admin-table { display:block; width:100%; overflow-x:auto; }

/* Docs: a calm reading desk with native collapsible navigation. */
.qs-world .docs-banner { padding:clamp(1.25rem,3vw,2rem); margin-bottom:1.5rem; }
.qs-world .docs-banner-copy { max-width:65rem; }
.qs-world .docs-banner h1 { margin:0 0 .75rem; font-size:clamp(1.8rem,3.3vw,2.75rem); }
.qs-world .docs-banner-copy>p { max-width:65ch; color:var(--qs-muted); }
.qs-world .docs-banner-title { display:inline-flex; align-items:center; gap:.6rem; font-size:1.1rem; font-weight:700; margin-bottom:1rem; }
.qs-world .docs-banner-title svg { width:1.25rem; height:1.25rem; }
/* These exact images are decorative (empty alt) and duplicate their adjacent titles. */
.qs-world .docs-banner-art[alt=""],.qs-world .docs-product-card>img[alt=""],.qs-world .dl32-product-title>img[alt=""] { display:none; }
.qs-world .docs-searchbox { max-width:52rem; }
.qs-world .docs-searchline { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.6rem; align-items:center; }
.qs-world .docs-searchlabel { display:flex; color:var(--qs-accent); }
.qs-world .docs-searchlabel svg { width:1.2rem; height:1.2rem; }
.qs-world .docs-searchline input { width:100%; min-width:0; }
.qs-world .docs-searchscope { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; margin-top:.75rem; font-size:.8rem; color:var(--qs-muted); }
.qs-world .docs-searchscope select { width:auto; max-width:100%; }
.qs-world .docs-suggestions { padding:.75rem; border:1px solid var(--qs-line); border-radius:12px; background:var(--qs-panel-strong); margin-top:.75rem; }
.qs-world .docs-suggestions [role="listbox"] { display:grid; gap:.25rem; }
.qs-world .docs-suggestions [role="option"] { display:block; padding:.7rem .8rem; border-radius:7px; overflow-wrap:anywhere; }
.qs-world .docs-suggestions [role="option"][aria-selected="true"] { outline:2px solid var(--qs-accent); background:#163e55; }
.qs-world .docs-catalog-heading { margin:2rem 0 1rem; font-size:1.2rem; }
.qs-world .docs-catalog { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
.qs-world .docs-product-card { padding:clamp(1.25rem,2.5vw,2rem); position:relative; border-top-color:rgba(160,226,249,.6); }
.qs-world .docs-product-card h2 { margin:0 0 .75rem; font-size:1.5rem; }
.qs-world .docs-product-card p { color:var(--qs-muted); line-height:1.7; max-width:55ch; }
.qs-world .docs-product-action { display:inline-flex; gap:.6rem; align-items:center; padding:.75rem 0; }
.qs-world .docs-product-action svg { width:1rem; height:1rem; }
.qs-world .docs-groups { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.qs-world .docs-group-card { display:flex; align-items:center; gap:.8rem; padding:1.25rem; color:var(--qs-text); text-decoration:none; }
.qs-world .docs-group-card svg { width:1.25rem; height:1.25rem; flex:none; color:var(--qs-accent); }
.qs-world .docs-group-card svg:last-child { margin-inline-start:auto; width:1rem; }
.qs-world .docs-group-card :is(strong,small) { display:block; }
.qs-world .docs-group-card small { margin-top:.4rem; font-size:.8rem; color:var(--qs-muted); }
.qs-world .docs-legacy-link { margin:1.5rem 0; color:var(--qs-muted); }
.qs-world .docs-reading { display:grid; grid-template-columns:minmax(11rem,14rem) minmax(0,1fr) minmax(10rem,12rem); grid-template-areas:"navigation paper toc"; align-items:start; gap:1.25rem; }
.qs-world .docs-navigation { grid-area:navigation; }
.qs-world .docs-page-toc { grid-area:toc; }
.qs-world .docs-paper { grid-area:paper; background:rgba(5,24,39,.96); min-width:0; }
.qs-world .docs-reading--short { grid-template-columns:minmax(11rem,14rem) minmax(0,1fr); grid-template-areas:"navigation paper"; }
.qs-world .docs-panel { padding:.8rem; min-width:0; }
.qs-world .docs-panel>summary { padding:.65rem .4rem; font-weight:700; cursor:pointer; }
.qs-world .docs-panel nav { padding:.5rem .2rem; }
.qs-world .docs-panel nav h2 { font-size:.85rem; color:var(--qs-muted); margin:.5rem 0 1rem; }
.qs-world .docs-panel nav a { display:block; padding:.6rem .65rem; margin:.2rem 0; border-inline-start:2px solid transparent; border-radius:4px; font-size:.85rem; line-height:1.5; color:var(--qs-muted); overflow-wrap:anywhere; text-decoration:none; }
.qs-world .docs-panel nav a:hover { background:rgba(98,183,222,.09); color:var(--qs-text); }
.qs-world .docs-panel nav a[aria-current] { color:var(--qs-accent); border-inline-start-color:var(--qs-accent); background:rgba(74,162,217,.12); }
.qs-world .docs-tree-group { margin:.5rem 0; }
.qs-world .docs-tree-group>summary { padding:.55rem .2rem; cursor:pointer; line-height:1.45; }
.qs-world .docs-all-products { margin-top:1rem; border-top:1px solid var(--qs-line); }
.qs-world .docs-paper>h1 { font-size:clamp(1.6rem,2.6vw,2.5rem); line-height:1.2; margin:.75rem 0 1rem; overflow-wrap:anywhere; }
.qs-world .docs-lead { color:#cee5ee; font-size:1.1rem; line-height:1.7; }
.qs-world .docs-prose { max-width:75ch; margin-inline:auto; }
.qs-world .docs-context { padding:1rem; border-inline-start:3px solid var(--qs-accent); border-radius:0 8px 8px 0; background:rgba(91,179,222,.09); color:var(--qs-muted); line-height:1.65; }
.qs-world .docs-reading-pager { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; border-top:1px solid var(--qs-line); margin-top:2rem; padding-top:1.25rem; }
.qs-world .docs-reading-pager>a { padding:.75rem; border:1px solid var(--qs-line); border-radius:10px; overflow-wrap:anywhere; }
.qs-world .docs-reading-pager :is(small,strong) { display:block; }
.qs-world .docs-reading-pager small { color:var(--qs-muted); margin-bottom:.5rem; }
.qs-world .docs-results { max-width:65rem; margin-inline:auto; }
.qs-world .docs-result-list { list-style:none; padding:0; }
.qs-world .docs-result-list>li { padding:1.25rem 0; border-bottom:1px solid var(--qs-line); }
.qs-world .docs-result-list>li>span { color:var(--qs-muted); font-size:.8rem; }
.qs-world .docs-result-list h2 { font-size:1.25rem; margin:.5rem 0; }
.qs-world .docs-result-list p { line-height:1.7; }
.qs-world .docs-hit { display:block; padding:1.25rem 0; border-bottom:1px solid var(--qs-line); }
.qs-world .docs-hit>b { display:block; margin-bottom:.5rem; }
.qs-world .docs-hit-text { display:block; line-height:1.7; color:var(--qs-muted); }
.qs-world .docs-state-counts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; margin:1.5rem 0; }
.qs-world .docs-state-counts>div { display:grid; gap:.3rem; padding:1rem; border:1px solid var(--qs-line); border-radius:10px; }
.qs-world .docs-state-counts strong { font-size:1.7rem; color:var(--qs-accent); }
.qs-world .docs-state-counts small { color:var(--qs-muted); }
.qs-world .docs-state-stages { padding-inline-start:1.5rem; }
.qs-world .docs-state-stages li { padding:.75rem 0; border-bottom:1px solid var(--qs-line); }
.qs-world .docs-state-stages span { margin-inline-start:.75rem; color:var(--qs-accent); }
.qs-world .docs-status-definitions dt { margin-top:1rem; font-weight:700; }
.qs-world .docs-status-definitions dd { margin:.4rem 0 0; color:var(--qs-muted); line-height:1.6; }

/* Downloads: real builds, platform selection, risk notices and media. */
.qs-world .downloads-v32 { display:grid; gap:1.5rem; }
.qs-world .dl32-heading { justify-content:flex-start; margin-bottom:0; }
.qs-world .dl32-frame { border:1px solid var(--qs-line); border-radius:var(--qs-radius); background:linear-gradient(125deg,rgba(94,181,218,.07),transparent 50%),var(--qs-panel); box-shadow:inset 0 1px rgba(217,246,255,.08); min-width:0; }
.qs-world .dl32-product { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(1.25rem,2.8vw,2.5rem); padding:clamp(1rem,2.5vw,2rem); align-items:start; }
.qs-world :is(.dl32-product-copy,.dl32-product-media,.dl32-picker) { min-width:0; }
.qs-world .dl32-product-title { margin-bottom:1.5rem; }
.qs-world .dl32-product-title :is(h1,h2) { font-size:clamp(1.5rem,2.6vw,2.3rem); line-height:1.2; margin:.5rem 0; overflow-wrap:anywhere; }
.qs-world .dl32-product-title p { color:var(--qs-muted); line-height:1.65; }
.qs-world .dl32-release strong { color:var(--qs-text); }
.qs-world .dl32-picker fieldset { min-width:0; padding:0; margin:0; border:0; }
.qs-world .dl32-picker legend { padding:0; margin-bottom:.75rem; font-weight:700; }
.qs-world .dl32-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
.qs-world .dl32-options label { display:flex; align-items:flex-start; gap:.6rem; padding:.9rem; min-width:0; border:1px solid var(--qs-line); border-radius:12px 5px; background:rgba(9,37,55,.9); cursor:pointer; line-height:1.4; }
.qs-world .dl32-options input { flex:none; margin-top:.2rem; accent-color:var(--qs-accent); }
.qs-world .dl32-options span { min-width:0; overflow-wrap:anywhere; }
.qs-world .dl32-options small { display:block; color:var(--qs-muted); font-size:.72rem; margin-top:.3rem; }
.qs-world .dl32-options label:has(input:checked) { border-color:var(--qs-accent); background:rgba(46,125,175,.25); box-shadow:inset 0 0 0 1px var(--qs-accent); }
.qs-world .dl32-options label:focus-within { outline:2px solid var(--qs-accent); outline-offset:3px; }
.qs-world .dl32-build-summary { margin:1rem 0; color:var(--qs-muted); font-variant-numeric:tabular-nums; }
.qs-world .dl32-download { width:100%; justify-content:center; min-height:3.25rem; }
.qs-world .dl32-availability { padding:.9rem; border:1px dashed var(--qs-line); border-radius:10px; color:var(--qs-muted); line-height:1.6; }
.qs-world .dl32-quick { display:flex; gap:.6rem; flex-wrap:wrap; margin:1rem 0; }
.qs-world .dl32-quick a { display:inline-flex; align-items:center; gap:.4rem; font-size:.85rem; }
.qs-world .dl32-quick svg { width:1rem; height:1rem; }
.qs-world :is(.dl32-risk-notice,.dl32-signing) { padding:1.1rem; border:1px solid rgba(255,197,137,.6); border-inline-start-width:4px; border-radius:12px 5px; background:rgba(62,38,18,.62); color:#ffe2bb; line-height:1.7; }
.qs-world .dl32-risk-notice { margin:0 0 1.25rem; }
.qs-world .dl32-signing { display:flex; align-items:flex-start; gap:.8rem; margin-top:1.25rem; scroll-margin-top:6rem; }
.qs-world .dl32-signing-icon { width:2.5rem; height:2.5rem; flex:none; }
.qs-world .dl32-signing-copy { min-width:0; }
.qs-world .dl32-signing-kicker { text-transform:uppercase; font-size:.7rem; letter-spacing:.08em; margin:0; }
.qs-world .dl32-signing h3 { margin:.5rem 0; font-size:1.1rem; }
.qs-world .dl32-signing ol { padding-inline-start:1.25rem; }
.qs-world .dl32-signing-stop { font-weight:700; }
.qs-world .dl32-current-only { color:var(--qs-muted); font-size:.8rem; line-height:1.6; }
.qs-world .dl32-file-details { border-top:1px solid var(--qs-line); margin-top:1.25rem; padding-top:1rem; }
.qs-world .dl32-file-details summary { cursor:pointer; color:var(--qs-accent); padding:.4rem 0; }
.qs-world .dl32-file-details dl { margin:1rem 0; }
.qs-world .dl32-file-details dl>div { display:grid; grid-template-columns:minmax(5rem,.6fr) minmax(0,1fr); gap:.6rem; padding:.5rem 0; border-bottom:1px solid rgba(135,218,247,.12); }
.qs-world .dl32-file-details dt { color:var(--qs-muted); }
.qs-world .dl32-file-details dd { margin:0; overflow-wrap:anywhere; }
.qs-world .dl32-file-details :is(input,code) { max-width:100%; overflow-wrap:anywhere; font-family:ui-monospace,monospace; font-size:.8rem; }
.qs-world .dl32-file-details input { display:block; width:100%; margin:.5rem 0; }
.qs-world .dl32-file-details p { color:var(--qs-muted); font-size:.85rem; line-height:1.65; }
.qs-world .dl32-information { padding:clamp(1rem,2.5vw,2rem); }
.qs-world .dl32-section-links { display:flex; flex-wrap:wrap; gap:1rem; padding-bottom:1.25rem; border-bottom:1px solid var(--qs-line); }
.qs-world .dl32-information-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }
.qs-world .dl32-information-grid section { min-width:0; scroll-margin-top:6rem; }
.qs-world .dl32-information-grid li { margin:.65rem 0; line-height:1.7; }
.qs-world .dl32-information-grid dt { color:var(--qs-muted); font-size:.85rem; }
.qs-world .dl32-information-grid dd { margin:.25rem 0 .9rem; }
.qs-world .dl32-description { max-width:80ch; border-top:1px solid var(--qs-line); margin-top:1.25rem; padding-top:1rem; }
.qs-world :is(.dl32-empty,.dl32-risk-warning) { padding:clamp(1.25rem,3vw,2.5rem); }
.qs-world .dl32-risk-warning { width:100%; max-width:55rem; margin-inline:auto; background:rgba(5,24,39,.97); line-height:1.8; }
.qs-world .dl32-risk-warning h1 { font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.25; }
.qs-world .dl32-risk-warning [role="alert"] { border-inline-start:3px solid #ffb7a1; padding:1rem; color:#ffd7cb; background:rgba(124,43,27,.2); }
.qs-world .dl32-risk-ack { display:flex; align-items:flex-start; gap:.75rem; padding:1rem; border:1px solid var(--qs-line); border-radius:10px; }
.qs-world .dl32-risk-ack input { flex:none; width:1.2rem; height:1.2rem; margin-top:.3rem; accent-color:var(--qs-accent); }
.qs-world .dl32-preview-note { color:var(--qs-muted); padding:.8rem 0; }
.qs-world .dl32-gallery { min-width:0; }
.qs-world .dl32-gallery>header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:.8rem; }
.qs-world .dl32-gallery h2 { margin:.4rem 0; font-size:1.1rem; }
.qs-world .dl32-gallery-options { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; }
.qs-world .dl32-gallery-options label { display:grid; gap:.25rem; font-size:.72rem; color:var(--qs-muted); }
.qs-world .dl32-gallery-options select { width:auto; max-width:100%; min-height:2.5rem; }
.qs-world .dl32-stage { display:grid; grid-template-columns:2.75rem minmax(0,1fr) 2.75rem; gap:.5rem; align-items:center; padding:.5rem; border:1px solid var(--qs-line); border-radius:12px; background:#03121e; }
.qs-world .dl32-stage>a { position:relative; grid-column:2; grid-row:1; display:grid; place-items:center; min-width:0; min-height:10rem; }
.qs-world .dl32-stage img { display:block; width:100%; height:auto; max-height:28rem; object-fit:contain; }
.qs-world .dl32-stage [data-gallery-prev] { grid-column:1; grid-row:1; }
.qs-world .dl32-stage [data-gallery-next] { grid-column:3; grid-row:1; }
.qs-world :is(.dl32-stage,.dl32-viewer-body)>button { width:2.75rem; min-height:2.75rem; padding:.25rem; font-size:1.6rem; border:1px solid var(--qs-line); border-radius:8px; background:#0b2e43; color:var(--qs-text); }
.qs-world .dl32-expand { position:absolute; inset-inline-end:.5rem; bottom:.5rem; display:grid; place-items:center; width:2rem; height:2rem; border:1px solid var(--qs-line); border-radius:6px; background:#071f31; color:var(--qs-text); }
.qs-world .dl32-caption { display:flex; justify-content:space-between; align-items:start; gap:1rem; padding:.8rem .25rem; color:var(--qs-muted); font-size:.8rem; line-height:1.6; }
.qs-world [data-gallery-count] { flex:none; font-variant-numeric:tabular-nums; }
.qs-world .dl32-thumbs { display:flex; gap:.6rem; overflow-x:auto; max-width:100%; padding:.4rem; scrollbar-width:thin; }
.qs-world .dl32-thumbs button { width:5rem; flex:none; padding:.25rem; border:1px solid var(--qs-line); border-radius:7px; background:#09263a; }
.qs-world .dl32-thumbs img { display:block; width:100%; aspect-ratio:16/9; object-fit:contain; height:auto; }
.qs-world .dl32-thumbs [aria-current="true"] { border-color:var(--qs-accent); outline:1px solid var(--qs-accent); outline-offset:2px; }
.qs-world :is([data-gallery-status],[data-viewer-status],.dl32-gallery-empty) { font-size:.85rem; color:var(--qs-muted); overflow-wrap:anywhere; }
.qs-world .dl32-viewer { width:min(92rem,calc(100vw - 2rem)); max-width:calc(100vw - 2rem); max-height:calc(100dvh - 2rem); padding:0; border:1px solid var(--qs-line); border-radius:16px; background:#041927; color:var(--qs-text); overflow:auto; }
.qs-world .dl32-viewer::backdrop { background:rgba(1,8,17,.9); }
.qs-world .dl32-viewer-shell { padding:1rem; background:#041927; }
.qs-world .dl32-viewer-shell>header { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; padding-bottom:.8rem; }
.qs-world .dl32-viewer-shell>header>div:first-child { flex:1 1 15rem; min-width:0; }
.qs-world .dl32-viewer-shell>header p { margin:.25rem 0; color:var(--qs-muted); font-size:.85rem; }
.qs-world .dl32-viewer-body { display:grid; grid-template-columns:2.75rem minmax(0,1fr) 2.75rem; gap:.65rem; align-items:center; }
.qs-world .dl32-viewer-scroll { max-width:100%; height:min(65dvh,58rem); overflow:auto; border:1px solid var(--qs-line); border-radius:8px; background:#020b12; }
.qs-world [data-viewer-image] { display:block; margin:auto; max-width:100%; width:auto; height:100%; object-fit:contain; }
.qs-world .dl32-zoomed [data-viewer-image] { max-width:none; max-inline-size:none; height:auto; object-fit:initial; margin:0; }
.qs-world .dl32-viewer-feedback { padding-inline:.25rem; }
.qs-world .dl32-viewer-shell>footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.75rem; color:var(--qs-muted); font-size:.75rem; padding-top:.75rem; }
.qs-world .dl32-media-tabs { display:flex; gap:.5rem; flex-wrap:wrap; margin:.75rem 0 1rem; }
.qs-world .dl32-media-tabs button { padding:.65rem 1rem; min-height:2.75rem; border:1px solid var(--qs-line); border-radius:10px; background:#09263a; color:var(--qs-muted); }
.qs-world .dl32-media-tabs [aria-selected="true"] { border-color:var(--qs-accent); background:#16415a; color:var(--qs-text); }
.qs-world .dl32-video-heading { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; margin-bottom:1rem; }
.qs-world .dl32-video-heading h2 { margin:.4rem 0; font-size:1.15rem; line-height:1.4; }
.qs-world .dl32-video-frame { border:1px solid var(--qs-line); border-radius:12px; background:#020c14; overflow:hidden; }
.qs-world .dl32-video-surface { position:relative; aspect-ratio:16/9; display:grid; place-items:center; }
.qs-world .dl32-video-surface video { display:block; width:100%; height:100%; max-height:100%; object-fit:contain; }
.qs-world .dl32-video-big-play { position:absolute; width:3.5rem; height:3.5rem; display:grid; place-items:center; border:1px solid var(--qs-accent); border-radius:50%; background:rgba(5,31,49,.93); color:var(--qs-accent); }
.qs-world .dl32-video-big-play svg { width:1.6rem; height:1.6rem; }
.qs-world .dl32-video-controls { padding:.75rem; border-top:1px solid var(--qs-line); background:#082538; }
.qs-world .dl32-video-seek { display:block; width:100%; accent-color:var(--qs-accent); cursor:pointer; margin:0 0 .65rem; }
.qs-world .dl32-video-control-row { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; }
.qs-world .dl32-video-control-row button { display:grid; place-items:center; min-width:2.75rem; min-height:2.75rem; padding:.5rem; border:1px solid var(--qs-line); border-radius:8px; background:#0d3249; color:var(--qs-text); }
.qs-world .dl32-video-control-row svg { display:block; width:1.15rem; height:1.15rem; }
.qs-world .dl32-video-time { color:var(--qs-muted); font: .75rem/1.5 ui-monospace,monospace; white-space:nowrap; }
.qs-world .dl32-video-volume { width:5.5rem; min-width:3rem; accent-color:var(--qs-accent); }
.qs-world .dl32-video-fullscreen { margin-inline-start:auto; }
.qs-world .dl32-video-feedback { padding:1rem; color:#ffd9c9; background:#34251e; line-height:1.6; }
.qs-world .dl32-video-feedback button { border:1px solid currentColor; border-radius:7px; color:inherit; background:transparent; padding:.6rem; margin:.25rem; }
.qs-world .dl32-video-frame:fullscreen { display:flex; flex-direction:column; border:0; border-radius:0; width:100%; height:100%; }
.qs-world .dl32-video-frame:fullscreen .dl32-video-surface { flex:1; min-height:0; aspect-ratio:auto; }
.qs-world .dl32-video-frame:fullscreen .dl32-video-controls { flex:none; }

/* Responsive layout changes preserve every action and label. */
@media (max-width:1240px) {
  .qs-world .news-layout--article { grid-template-columns:minmax(0,1fr) minmax(13rem,17rem); }
  .qs-world .news-side--left { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .qs-world .docs-reading { grid-template-columns:minmax(11rem,14rem) minmax(0,1fr); grid-template-areas:"navigation toc" "navigation paper"; }
  .qs-world .docs-reading--short { grid-template-areas:"navigation paper"; }
  .qs-world .dl32-product { grid-template-columns:minmax(0,1fr); }
  .qs-world .dl32-product-media { width:100%; max-width:64rem; }
  .qs-world .bl-authors-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:1000px) {
  .qs-world :is(.forum-layout,.forum-compose-layout,.news-layout,.bl-authors-layout) { grid-template-columns:minmax(0,1fr); }
  .qs-world :is(.forum-side,.news-side) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .qs-world .news-layout--article .news-side--left { grid-column:auto; }
  .qs-world .news-cluster { grid-template-columns:minmax(0,1fr); }
  .qs-world .news-card--featured { grid-row:auto; }
  .qs-world .news-card--compact { grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr); }
  .qs-world .docs-reading { grid-template-columns:minmax(10rem,12rem) minmax(0,1fr); }
  .qs-world .docs-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .qs-world .bl-settings { grid-template-columns:minmax(0,1fr); }
  .qs-world .bl-set-side { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .qs-world :is(.forum-side,.news-side,.bl-set-side,.docs-catalog,.docs-groups,.news-grid,.dl32-information-grid,.bl-createform .row2) { grid-template-columns:minmax(0,1fr); }
  .qs-world .forum-cat-head[aria-hidden="true"] { display:none; }
  .qs-world .forum-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem 1rem; padding:1.1rem; }
  .qs-world .forum-row-main { grid-column:1/-1; align-items:flex-start; }
  .qs-world .forum-num { display:flex; align-items:baseline; gap:.4rem; padding-inline-start:3.65rem; text-align:start; }
  .qs-world .forum-num:nth-child(3) { padding-inline-start:0; }
  .qs-world .forum-last { grid-column:1/-1; padding-inline-start:3.65rem; }
  .qs-world .forum-last b { font-weight:500; }
  .qs-world .forum-post { grid-template-columns:2.5rem minmax(0,1fr); gap:.7rem; }
  .qs-world .forum-ava-lg { width:2.5rem; height:2.5rem; }
  .qs-world .news-card--wide { display:flex; grid-column:auto; }
  .qs-world .bl-post { grid-template-columns:minmax(0,1fr); }
  .qs-world .bl-post-cover img { aspect-ratio:16/9; height:auto; min-height:0; max-height:22rem; }
  .qs-world .bl-post-noimg { min-height:5rem; }
  .qs-world .bl-myrow { grid-template-columns:4rem minmax(0,1fr); }
  .qs-world .bl-myrow-cover img { width:4rem; }
  .qs-world .bl-myrow-actions { grid-column:1/-1; }
  .qs-world .docs-reading { display:flex; flex-direction:column; }
  .qs-world .docs-reading>.docs-frame { width:100%; }
  .qs-world .docs-panel { position:static; }
  .qs-world .docs-paper { padding:1.1rem; }
  .qs-world .docs-searchline { grid-template-columns:minmax(0,1fr) auto; }
  .qs-world .docs-searchlabel { grid-column:1/-1; }
  .qs-world .dl32-signing { flex-direction:column; }
  .qs-world .dl32-viewer { width:calc(100vw - 1rem); max-width:calc(100vw - 1rem); max-height:calc(100dvh - 1rem); }
  .qs-world .dl32-viewer-shell { padding:.65rem; }
  .qs-world .dl32-viewer-body { gap:.3rem; grid-template-columns:2.75rem minmax(0,1fr) 2.75rem; }
  .qs-world .dl32-viewer-scroll { height:55dvh; }
}
@media (max-width:480px) {
  .qs-world .forum-post { grid-template-columns:minmax(0,1fr); }
  .qs-world .forum-poster { margin-bottom:-.25rem; }
  .qs-world .forum-post-meta { gap:.5rem; }
  .qs-world .forum-row { padding:1rem .8rem; }
  .qs-world .forum-num { padding-inline-start:0; }
  .qs-world .forum-last { padding-inline-start:0; }
  .qs-world .forum-row-main { gap:.65rem; }
  .qs-world .news-card--compact { display:flex; }
  .qs-world .bl-post-body { padding:1.1rem; }
  .qs-world .bl-cm { grid-template-columns:2rem minmax(0,1fr); gap:.6rem; }
  .qs-world .bl-cm>.forum-ava { width:2rem; height:2rem; }
  .qs-world .bl-cm.is-reply { margin-inline-start:.6rem; padding-inline-start:.6rem; }
  .qs-world .bl-hero { gap:1rem; }
  .qs-world .bl-hero-text { flex-basis:100%; }
  .qs-world .docs-reading-pager { grid-template-columns:minmax(0,1fr); }
  .qs-world .docs-state-counts { grid-template-columns:minmax(0,1fr); }
  .qs-world .dl32-options { grid-template-columns:minmax(0,1fr); }
  .qs-world .dl32-file-details dl>div { grid-template-columns:minmax(0,1fr); gap:.2rem; }
  .qs-world .dl32-video-volume { width:4.5rem; }
  .qs-world .dl32-video-fullscreen { margin-inline-start:0; }
  .qs-world .dl32-stage { grid-template-columns:2.75rem minmax(0,1fr) 2.75rem; gap:.2rem; padding:.25rem; }
  .qs-world .dl32-stage>a { min-height:7rem; }
  .qs-world .dl32-gallery-options { width:100%; }
  .qs-world .dl32-gallery-options label { flex:1; }
}
@media (prefers-reduced-motion:reduce) {
  .qs-world :is(.forum-row,.news-card,.bl-post,.docs-panel,.dl32-viewer,.qf-editor) { animation:none; transition:none; scroll-behavior:auto; }
}
@media (forced-colors:active) {
  .qs-world :is(.forum-panel,.news-glass,.docs-frame,.dl32-frame,.bl-post,.bl-author,.qf-editor,.qf-toolbar,.qf-surface,.dl32-viewer) { background:Canvas; color:CanvasText; border-color:CanvasText; box-shadow:none; }
  .qs-world :is(.news-chip.active,.forum-page.is-cur,.news-page.active,.docs-panel nav a[aria-current],.dl32-thumbs [aria-current="true"],.dl32-media-tabs [aria-selected="true"],.qf-toolbar [aria-pressed="true"]) { outline:2px solid Highlight; color:LinkText; border-color:Highlight; }
  .qs-world .dl32-options label:has(input:checked) { outline:2px solid Highlight; border-color:Highlight; box-shadow:none; }
  .qs-world :is(.dl32-risk-notice,.dl32-signing,.dl32-risk-warning [role="alert"],.bl-cm.is-hidden) { border-color:CanvasText; background:Canvas; color:CanvasText; }
  .qs-world :is(.forum-quote,.qf-quote,.docs-context) { border-color:Highlight; background:Canvas; color:CanvasText; }
}
/* Native JS owns visibility. Keep it authoritative over authored flex/grid rules. */
.qs-world dialog:not([open]) { display:none; }
.qs-world [hidden] { display:none !important; }
