/* Shared mobile composition. Desktop themes and legacy routes remain unchanged. */
.bz-mobile-nav,.bz-mobile-topics,.bz-mobile-search-link,.bz-reading-controls,.bz-reading-toc{display:none}
@media(max-width:760px){
  :root{--bz-radius:6px;--gap-md:15px}
  html{scroll-padding-bottom:90px}
  body{font-size:14px;line-height:1.5;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .bz-container{width:calc(100% - 30px)}
  .bz-header .bz-top,.bz-header .bz-subscribe,.bz-discover>p,.bz-tech-banner{display:none}
  .bz-header .bz-bar{min-height:60px;padding-block:6px;gap:10px}
  .bz-header .bz-brand,.bz-tech-masthead .bz-brand{font-size:26px;line-height:1.15;max-width:calc(100% - 84px);letter-spacing:-.8px;overflow-wrap:anywhere}
  .bz-brand img{max-height:40px;max-width:160px}
  .bz-header .bz-menu{min-height:44px;padding:6px 10px;font-size:12px;border-radius:6px}
  .bz-header .bz-nav{font-size:14px;gap:0;padding-top:6px;color:var(--ink);background:#fff}
  .bz-header .bz-nav>a,.bz-header .bz-topics summary{min-height:44px;padding:8px 0;color:var(--ink)}
  .bz-header .bz-discover{display:block;margin-block:0 8px;padding:0;background:none;border:0}
  body:not([data-page="search"]) .bz-header .bz-discover{display:none}
  .bz-mobile-search-link{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:6px;background:var(--light);color:var(--ink)}
  .bz-mobile-search-link svg{width:19px;height:19px}
  .bz-discover .bz-search{width:100%;background:var(--light);border-radius:6px}
  .bz-search input{font-size:16px;padding:9px 10px;min-height:44px}
  .bz-mobile-topics{display:flex;gap:6px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;padding-block:8px 10px;scrollbar-width:thin}
  .bz-mobile-topics>a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;max-width:240px;padding:5px 10px;border:1px solid var(--bz-border);border-radius:6px;color:var(--ink);background:#fff;font-size:13px;font-weight:500;line-height:1.3;overflow-wrap:anywhere}
  .bz-mobile-topics>a[aria-current=page]{color:#fff;background:var(--gold);border-color:var(--gold)}
  .bz-mobile-nav{position:fixed;inset:auto 10px calc(8px + env(safe-area-inset-bottom,0px));z-index:45;display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:3px;padding:3px;max-width:520px;margin-inline:auto;background:#fff;border:1px solid var(--bz-border);border-radius:10px;box-shadow:0 3px 18px #191a1f14}
  .bz-mobile-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;border-radius:7px;color:var(--ink);font-size:11px;font-weight:500}
  .bz-mobile-nav svg{width:19px;height:19px}
  .bz-mobile-nav>a:last-child{background:var(--light)}
  .bz-mobile-nav>a[aria-current=page]{color:var(--gold);background:#e9f0fd}
  .bz-backtop{bottom:calc(80px + env(safe-area-inset-bottom,0px));right:12px}
  .bz-home,.bz-tech-home,.bz-explore,.bz-article-page{padding-block:10px 20px}
  .bz-home h2,.bz-explore-section-title,.bz-article-related h2{font-size:20px;line-height:1.25;margin-bottom:10px}
  .bz-home-intro,.bz-section-heading{gap:10px;margin-bottom:12px;align-items:center}
  .bz-home-intro h1,.bz-tech-home .bz-home-intro h1{font-size:23px;margin:0}
  .bz-home-intro .bz-kicker{display:none}
  .bz-all-link,.bz-section-heading>a{font-size:12px;flex-shrink:0}
  .bz-home .bz-feature-grid,.bz-home .bz-feature-grid:has(>article:only-child){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:12px}
  .bz-home .bz-feature-grid>.bz-story-featured,.bz-home .bz-feature-grid>.bz-story-featured:first-child,.bz-home .bz-feature-grid>.bz-story-featured:last-child{grid-column:auto;grid-row:auto;min-height:0;border-radius:0;overflow:visible;isolation:auto;background:none;color:var(--ink);display:block}
  .bz-home .bz-story-featured::after{display:none}
  .bz-home .bz-story-featured>.bz-story-visual{position:relative;inset:auto;z-index:auto}
  .bz-home .bz-story-featured .bz-story-image{position:relative;inset:auto;z-index:auto;aspect-ratio:2/1;border-radius:8px}
  .bz-home .bz-story-featured .bz-story-placeholder{min-height:0;height:100%;padding:15px;align-items:center;font-size:20px}
  .bz-home .bz-story-featured .bz-story-body{padding:10px 0 0;color:var(--ink)}
  .bz-home .bz-story-featured h3,.bz-home .bz-story-featured:first-child h3{font-size:22px;line-height:1.2;font-weight:800;margin:6px 0}
  .bz-home .bz-story-featured h3 a{color:var(--ink)}
  .bz-home .bz-feature-grid>.bz-story-featured:first-child .bz-story-excerpt{color:var(--muted);font-size:14px;line-height:1.5;margin:6px 0 10px}
  .bz-home .bz-story-featured .bz-story-meta{color:var(--muted);margin-top:8px}
  .bz-home .bz-feature-grid>.bz-story-featured:not(:first-child){display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:10px;padding-top:12px;border-top:1px solid var(--bz-border)}
  .bz-home .bz-feature-grid>.bz-story-featured:not(:first-child)>.bz-story-visual{grid-column:2;grid-row:1}
  .bz-home .bz-feature-grid>.bz-story-featured:not(:first-child)>.bz-story-body{grid-column:1;grid-row:1;padding:0}
  .bz-home .bz-feature-grid>.bz-story-featured:not(:first-child) .bz-story-image{aspect-ratio:1;border-radius:7px}
  .bz-home .bz-feature-grid>.bz-story-featured:not(:first-child) h3{font-size:17px;line-height:1.3}
  .bz-home-columns,.bz-tech-home .bz-home-columns,.bz-explore-columns{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:20px}
  .bz-latest-grid,.bz-tech-home .bz-latest-grid,.bz-explore-grid,.bz-explore-grid-wide,.bz-archive-grid,.bz-article-related-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .bz-latest-grid>.bz-story,.bz-explore-grid>.bz-story,.bz-archive-grid>.bz-story,.bz-article-related-grid>.bz-story,.bz-tech-side>.bz-story{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:10px;padding:12px 0;border-top:1px solid var(--bz-border)}
  .bz-story:not(.bz-story-featured)>.bz-story-visual{grid-column:2;grid-row:1}
  .bz-story:not(.bz-story-featured)>.bz-story-body{grid-column:1;grid-row:1;padding:0}
  .bz-story:not(.bz-story-featured) .bz-story-image{aspect-ratio:1;border-radius:7px}
  .bz-story:not(.bz-story-featured) .bz-story-placeholder{min-height:76px;padding:5px;font-size:12px;letter-spacing:0}
  .bz-story:not(.bz-story-featured) h3,.bz-tech-home .bz-latest-grid .bz-story h3,.bz-tech-side .bz-story h3{font-size:17px;line-height:1.3;margin:0 0 6px;font-weight:700}
  .bz-story:not(.bz-story-featured) .bz-story-excerpt{display:none}
  .bz-story .bz-image-topic,.bz-tech-side .bz-image-topic{position:static;display:block;margin-top:5px;padding:2px 4px;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
  .bz-topic{font-size:11px;padding:3px 6px;border-radius:4px}
  .bz-story-meta{font-size:11px;gap:5px;line-height:1.5}
  .bz-author-avatar{display:none}
  .bz-home-edito,.bz-home-empty{padding:16px;margin-bottom:16px;border-radius:8px}
  .bz-home-gallery,.bz-tech-home .bz-home-gallery{margin-top:20px;padding:0;background:none}
  .bz-tech-home .bz-home-gallery h2{color:var(--ink)}
  .bz-home-gallery .item img{height:200px}
  .bz-gallery-caption{font-size:16px;padding:10px 12px}
  .bz-home-rediscover,.bz-tech-home .bz-home-rediscover,.bz-article-related{margin-top:22px;padding-top:16px}
  .bz-home-sidebar>section{margin-bottom:16px;padding-bottom:16px}
  .bz-home-sidebar h2,.bz-article-page .bz-home-sidebar h2{font-size:18px;margin-bottom:10px}
  .bz-sidebar-topics>a{min-height:44px;padding:8px 10px;font-size:13px}
  .bz-home-sidebar .bz-sidebar-newsletter{padding:14px;border-radius:8px}
  .bz-promotion,.bz-home-sidebar>.bz-promotion{margin:16px 0;padding:12px;border-radius:8px}
  .bz-promotion-label{margin-bottom:8px}
  .bz-promotion-copy h3{font-size:17px;margin-bottom:6px}
  .bz-promotion-copy p{font-size:13px;line-height:1.5;margin-bottom:10px}
  .bz-promotion-image{margin-bottom:10px}
  .bz-promotion-image img{max-height:180px}
  .bz-promotion-link{padding:8px 12px;border-radius:6px}
  .bz-promotion--article product-shop:has(.bz-promotion-image),.bz-promotion--article .bz-promotion-card:has(.bz-promotion-image){display:block}
  .bz-explore-heading{padding:14px;margin-bottom:16px;border-radius:8px;text-align:left}
  .bz-explore-heading h1{font-size:26px;margin:4px 0 8px}
  .bz-explore-heading>p:not(.bz-kicker){font-size:15px;line-height:1.5;margin-bottom:8px}
  .bz-explore-filters{gap:6px;padding-block:10px;margin-bottom:16px}
  .bz-explore-filters a{padding:6px 10px;border-radius:6px;font-size:13px}
  .bz-category-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .bz-pagination{margin-top:20px;padding-top:14px}
  .bz-article-breadcrumb{font-size:11px;gap:6px;margin-bottom:14px}
  .bz-article-heading{margin-bottom:14px}
  .bz-article-heading h1{font-size:28px;line-height:1.15;margin:0 0 12px;overflow-wrap:anywhere}
  .bz-article-topics{margin-bottom:10px;gap:6px}
  .bz-article-deck{font-size:16px;line-height:1.5;margin-bottom:12px}
  .bz-article-byline{font-size:12px;gap:6px}
  .bz-article-layout{grid-template-columns:minmax(0,1fr);gap:20px}
  .bz-article-layout>.bz-home-sidebar{grid-column:auto}
  .bz-article-reading>.bz-author-rail,.bz-article-layout>.bz-author-rail{display:none}
  .bz-article-cover{margin-bottom:16px;border-radius:8px}
  .bz-article-copy{font-size:var(--mobile-reading-size,17px);line-height:1.6;color:var(--ink);max-width:none}
  .bz-article-copy p{margin:0 0 14px}
  .bz-article-copy h2{font-size:1.25em;margin:18px 0 10px;scroll-margin-top:16px}
  .bz-article-copy h3{font-size:1.12em;margin:16px 0 8px;scroll-margin-top:16px}
  .bz-article-copy>p:first-child::first-letter{float:none;font-size:inherit;font-weight:inherit;padding:0;line-height:inherit}
  .bz-article-copy blockquote{font-size:1.05em;padding:12px 16px;margin:16px 0}
  .bz-article-copy pre{padding:12px;font-size:13px}
  .bz-reading-controls:not([hidden]){display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:6px 0 10px;font-size:12px;color:var(--muted)}
  .bz-reading-controls>span{margin-right:auto}
  .bz-reading-controls button{min-width:44px;min-height:44px;border:1px solid var(--bz-border);border-radius:6px;background:var(--light);color:var(--ink);font-size:14px}
  .bz-reading-controls button:disabled{opacity:.45}
  .bz-reading-toc:not([hidden]){display:block;margin:0 0 14px;padding:4px 12px;background:var(--light);border-radius:7px;font-size:13px}
  .bz-reading-toc summary{min-height:44px;align-content:center;cursor:pointer;font-weight:500;color:var(--ink)}
  .bz-reading-toc ol{padding-left:18px;margin:0 0 10px;list-style:decimal}
  .bz-reading-toc a{display:block;padding:8px 0;color:var(--gold);text-decoration:underline;line-height:1.5}
  .bz-article-media{margin-top:20px;padding-top:16px}
  .bz-article-media h2{font-size:20px}
  .bz-article-media-grid{gap:12px}
  .bz-article-end{margin-top:20px;padding-block:14px}
  .bz-footer{padding-top:26px;margin-top:22px}
  .bz-footer-grid{gap:20px;padding-bottom:20px}
  .bz-footer .bz-brand{font-size:26px;margin-bottom:12px}
  .bz-footer h2{font-size:16px;margin-bottom:10px}
  .bz-footer p{margin-bottom:12px}
  .bz-footer-social,.bz-footer-bottom{padding-block:16px}
  .bz-newsletter-fields input{font-size:16px}
  .bz-tech-header{display:grid;grid-template-columns:minmax(0,1fr) auto;padding-inline:15px;align-items:center;gap:0 10px}
  .bz-tech-masthead{padding-block:8px;min-height:60px;width:auto;margin:0;display:block}
  .bz-tech-masthead .bz-brand{max-width:100%;font-size:24px}
  .bz-tech-header .bz-bar{width:auto;margin:0;padding:0;min-height:0;background:none;display:block}
  .bz-tech-header .bz-actions{width:auto;margin:0}
  .bz-tech-header .bz-menu{background:#fff;border-color:var(--bz-border);color:var(--ink)}
  .bz-tech-header .bz-nav[data-enhanced=true]:not([hidden]){position:absolute;top:60px;left:15px;right:15px;width:auto;padding:10px 15px;border:1px solid var(--bz-border);border-radius:6px;box-shadow:0 8px 20px #191a1f14}
  .bz-tech-header .bz-discover{grid-column:1/-1;width:100%;margin:0 0 8px}
  .bz-tech-header .bz-topics summary{color:var(--ink)}
  .bz-tech-briefs{display:none}
  .bz-tech-home .bz-tech-side{grid-template-columns:minmax(0,1fr);gap:0}
  .bz-tech-home .bz-story-featured .bz-story-body{padding:12px;background:#eff4ff;border-top:3px solid var(--gold);border-radius:0 0 8px 8px}
  .bz-tech-home .bz-story-featured .bz-story-image{border-radius:8px 8px 0 0;aspect-ratio:2.4/1}
}
