/* Reader mobile layout. Keep desktop and editorial workspaces unchanged. */
@media(max-width:767px){
 html{scroll-padding-top:52px}
 body{min-width:0}
 .mast>.wrap{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px!important;padding:14px 16px!important;min-height:0!important}
 .mast .brand{justify-self:start;gap:10px!important}
 .mast .brand b{font-size:21px!important}
 .mast .brand small{display:block!important;font-size:8px!important}
 .mast .logo{width:34px!important;height:32px!important}
 .mast .right{display:contents!important}
 .mast .date{display:none!important}
 .mast .search-top{display:flex!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;gap:8px;transform:none!important}
 .mast .search-top input{flex:1 1 0!important;min-width:0!important;width:0!important;height:44px!important;font-size:16px!important;border-radius:22px!important}
 .mast .search-top button{flex:0 0 44px!important;width:44px!important;height:44px!important;border-radius:50%!important}
 .mast .nav{display:flex!important;width:100%!important;max-width:100%;gap:6px!important;justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:2px 0;scrollbar-width:thin}
 .mast .nav>*{flex-shrink:0}
 .mast .nav :is(button,a){min-height:44px!important;min-width:44px;padding:10px!important}
 .mast .nav .who{max-width:130px!important}
 .cats .wrap{padding-inline:12px!important;scroll-padding-inline:12px;overscroll-behavior-x:contain}
 .cats a{min-height:46px;padding:12px!important;font-size:14px!important}
 #app>.wrap,#app .wrap.ax2-home{padding-inline:12px!important}
 #app .cols,#app .ax2-home .ax2-home-columns{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 #app .cols>*,#app .ax2-home-columns>*{min-width:0;grid-column:1!important;grid-row:auto!important}
 #app .ax2-home-columns>aside,#app .cols>aside{position:static!important;max-height:none!important;margin-top:8px;overflow:visible}
 #app :is(.ax3-digest,.ax2-news-block){padding:12px!important;border-radius:12px!important}
 #app .ax3-digest-head{flex-wrap:wrap;gap:10px!important;align-items:flex-start!important}
 #app .ax3-heading h2{font-size:21px!important;line-height:1.2}
 #app .ax3-heading-aside{flex-wrap:wrap;gap:10px;font-size:11px}
 #app .ax119-feature,#app .ax119-feature.ax138-solo{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 #app .ax119-copy{position:static!important;gap:14px!important;padding:0!important}
 #app .ax119-primary h2{font-size:23px!important;line-height:1.25!important;-webkit-line-clamp:4!important}
 #app .ax119-primary p{font-size:14px!important;line-height:1.6!important;-webkit-line-clamp:3!important}
 #app .ax119-more{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 #app .ax119-related{grid-template-columns:96px minmax(0,1fr)!important;gap:12px!important;padding:12px 0!important;min-height:78px}
 #app .ax119-related strong{font-size:15px!important;line-height:1.4!important;-webkit-line-clamp:3!important}
 #app .ax119-thumb{aspect-ratio:16/9!important}
 #app .ax138-read{min-height:44px;align-items:center}
 #app :is(.grid,.ax3-story-grid){grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 #app :is(.card,.ax3-story-row){min-width:0;height:auto!important}
 #app .card .img{aspect-ratio:16/9!important}
 #app .card h3{font-size:19px!important;line-height:1.35!important}
 #app :is(.bookmark-btn,.ax3-bookmark){min-width:44px!important;min-height:44px!important}
 #app .more{width:100%;min-height:46px}
 #app .li{grid-template-columns:minmax(0,1fr) 104px!important;gap:12px!important;padding:18px 0}
 #app .li.noimg{grid-template-columns:minmax(0,1fr)!important}
 #app .li h3{font-size:18px!important;line-height:1.35!important}
 #app .li .img{aspect-ratio:16/9;align-self:start}
 #app .art h1{font-size:clamp(26px,6.5vw,34px)!important;line-height:1.2!important}
 #app .art .body p{font-size:17px!important;line-height:1.75!important}
 #app .art :is(figure,img,video,iframe){max-width:100%}
 #app .art figure{margin-inline:0}
 #app .art .body table{display:block;max-width:100%;overflow-x:auto}
 #app .art :is(pre,.body pre){white-space:pre-wrap;overflow-wrap:anywhere}
 #app .art :is(input,select,textarea){font-size:16px!important}
 #app .art .btn{min-height:44px}
 #app #axrg-root.wrap{padding:24px 12px 32px!important}
 #app #axrg-root .axrg-heading{flex-direction:column;align-items:stretch;gap:14px}
 #app #axrg-root .axrg-select{width:100%;min-height:44px}
 #app #axrg-root .axrg-grid{grid-template-columns:minmax(0,1fr)!important}
 #app #axrg-root .axrg-grid .axrg-card{flex-direction:column!important;height:auto!important}
 #app #axrg-root .axrg-grid .axrg-card-visual{width:100%!important;aspect-ratio:16/9!important;min-width:0!important}
 #app #axrg-root .axrg-card-main{padding:14px!important}
 #app #axrg-root .axrg-card-main strong{font-size:19px!important;line-height:1.35!important}
 html[data-axiom-theme] .axrg-modal{padding:8px!important}
 html[data-axiom-theme] .axrg-modal .axrg-dialog{width:100%;height:min(88dvh,760px)!important;max-height:calc(100dvh - 16px)!important;padding:16px!important;gap:12px}
 html[data-axiom-theme] .axrg-modal .axrg-options{min-height:0!important;grid-template-columns:minmax(0,1fr)!important;overscroll-behavior:contain}
 html[data-axiom-theme] .axrg-modal :is(input,select){font-size:16px!important}
 html[data-axiom-theme] .axrg-modal .axrg-close{min-width:44px!important;min-height:44px!important}
 .axiom-app-promo{background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
 .axiom-app-promo__close{min-width:44px;min-height:44px;top:0;right:0}
}
@media(hover:none){
 #app :is(.card,.li,.lead,.hero,.axrg-card):hover img{transform:none!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

@media(max-width:767px){
 #app .ax5-home .ax2-news-block .card{display:flex!important;flex-direction:column!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:0!important;overflow:hidden}
 #app .ax5-home .ax2-news-block .card>.img{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;order:0!important;margin:0!important}
 #app .ax5-home .ax2-news-block .card>:not(.img){margin:10px 14px!important}
}

@media(max-width:767px){
 #app #axrg-root .axrg-grid>.axrg-card{min-height:0!important;max-height:none!important}
 #app #axrg-root .axrg-grid>.axrg-card>.axrg-card-visual{height:auto!important;flex:0 0 auto!important}
 #app #axrg-root .axrg-grid>.axrg-card>.axrg-card-main{height:auto!important;min-height:0!important;max-height:none!important;flex:1 1 auto!important}
 #app #axrg-root .axrg-grid .axrg-card-main strong{height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important}
}

.ax145-cat-arrow{display:none}
@media(max-width:767px){
 nav.cats[data-ax145-cats]{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:4px;padding:4px 8px;overflow:hidden!important;background:var(--paper);border-color:var(--line)}
 nav.cats[data-ax145-cats]>#catsin.wrap{display:flex!important;flex-wrap:nowrap!important;width:100%!important;min-width:0!important;max-width:none!important;overflow-x:auto!important;overflow-y:hidden!important;gap:2px;padding:0!important;scrollbar-width:none;overscroll-behavior-x:contain}
 nav.cats[data-ax145-cats]>#catsin>a{flex:0 0 auto;min-height:44px;white-space:nowrap!important;padding:12px 10px!important}
 nav.cats[data-ax145-cats]>.ax145-cat-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--soft);color:var(--ink);cursor:pointer}
 nav.cats[data-ax145-cats]>.ax145-cat-arrow svg{display:block;width:20px;height:20px;flex:none}
 nav.cats[data-ax145-cats]>.ax145-cat-arrow:disabled{opacity:.28;cursor:default}
 nav.cats[data-ax145-cats]>.ax145-cat-arrow:active:not(:disabled){background:var(--line)}
}
