/* The shell sidebar ad rail (site_shell.render_sidebar_rail).
   Moved out of an inline <style> the rail used to carry (2026-10-01, sweep S9).
   The gate that matters is "nothing on a phone": hiding the rail's OWN wrapper removes the
   well whatever the specificity of the loader's reveal rules, so a filled sidebar can never
   paint into the content flow below 980px. Rules mirror assets/ah/history.css:126-144,
   including its 160px well width. Loaded by a versioned <link> the rail emits. */
.wgf-shell-adrail{display:none}
@media (min-width:980px){
  .wgf-shell-adrail{display:block}
  .wgf-shell-adrail .wgf-ad-slot--sidebar .wgf-ad-slot__well{width:160px;height:300px;margin:0 auto}
}
@media (min-width:1024px){
  .wgf-shell-adrail .wgf-ad-slot--sidebar .wgf-ad-slot__well{height:600px}
}
