/* Keep desktop content and existing resource URLs; adapt the controls and flow. */
.mobile-bottom-nav{display:none}
.home-shortcuts{padding-bottom:20px}.home-shortcuts+.editorial-section{padding-top:28px}
.recommended-card__body,.arm-catalog-card__content,.library-brand__copy{min-width:0}
.recommended-card h3,.arm-catalog-card h2,.library-brand__copy{overflow-wrap:anywhere}
@media(min-width:901px) and (max-width:1200px){.recommended-grid>.recommended-card:nth-child(n+7){display:none}}
@media(min-width:561px) and (max-width:900px){.recommended-grid>.recommended-card:nth-child(n+5){display:none}}
@media(max-width:560px){.recommended-grid>.recommended-card:nth-child(n+3){display:none}}
@media(max-width:1020px){
 body.arm-site{padding-bottom:calc(5.5rem + env(safe-area-inset-bottom))}
 .arm-shell{max-width:calc(100% - 24px)}
 .library-brandbar__inner{min-height:68px;gap:10px;flex-wrap:wrap;padding:10px 0}
 .library-brand{flex:1 1 190px;min-width:0}.library-brand__logo{width:42px;height:42px;flex-basis:42px}
 .library-brand__copy strong{font-size:clamp(15px,3.7vw,20px);line-height:1.3;white-space:normal}.library-brand__copy small{font-size:10px;line-height:1.5;white-space:normal}
 .library-brandbar__actions{min-width:0;gap:8px}.library-video{max-width:100%;white-space:normal;font-size:12px}.library-menu-toggle{display:none}
 .library-navrow__inner{min-height:0}.library-nav-search{display:none}
 .library-nav{position:fixed;top:auto;bottom:calc(5.5rem + env(safe-area-inset-bottom));left:12px;right:12px;width:auto;max-height:68dvh;overflow:auto;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 35px #0004;z-index:1800}
 .library-nav:not(.is-open){display:none}.library-nav.is-open{display:block}.library-nav>ul{display:block}.library-nav>ul>li>a{white-space:normal;padding:12px;min-height:44px}
 .mobile-bottom-nav{position:fixed;bottom:max(8px,env(safe-area-inset-bottom));left:10px;right:10px;z-index:2000;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:6px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 5px 25px #13283c40}
 .mobile-bottom-nav a,.mobile-bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;min-height:3.625rem;padding:5px 2px;border:0;border-radius:18px;background:transparent;color:var(--ink-soft);font:600 .6875rem/1.3 system-ui,sans-serif;text-decoration:none}
 .mobile-bottom-nav [aria-current="page"],.mobile-bottom-nav [aria-expanded="true"]{background:#17324d;color:#fff}.mobile-bottom-nav svg{flex:none}.mobile-bottom-nav :focus-visible{outline:3px solid var(--green);outline-offset:1px}
 .arm-to-top{bottom:calc(100px + env(safe-area-inset-bottom))}
 .arm-page-hero h1,.home-hero h1{font-size:clamp(24px,6.5vw,38px);overflow-wrap:anywhere}.arm-page-hero p,.arm-breadcrumb{overflow-wrap:anywhere}
 .arm-catalog-grid,.discovery-search__filters,.reader-profile-layout,.reader-dashboard-grid{min-width:0;max-width:100%}.discovery-search input,.discovery-search select{min-width:0;max-width:100%}
 .home-statistics__value{font-size:clamp(22px,6vw,32px)}.home-statistics__grid{gap:10px}.home-statistics__card{padding:18px 8px;min-width:0}
 .arm-video-card__frame iframe{max-width:100%;width:100%}.home-shortcuts__grid>a{min-width:0;padding:12px;gap:8px}.home-shortcuts strong{overflow-wrap:anywhere}
}
@media(max-width:420px){.home-statistics__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.arm-catalog-grid{grid-template-columns:1fr}.library-brandbar__actions{margin-left:auto}.interface-toolbar .interface-tools{gap:4px}.reader-account-nav{flex-wrap:wrap}.mobile-bottom-nav a,.mobile-bottom-nav button{font-size:.6875rem}}
@media print{.mobile-bottom-nav{display:none!important}}

@media(max-width:1020px){.mobile-bottom-nav span{max-width:100%;overflow-wrap:anywhere}.mobile-bottom-nav button{cursor:pointer}}
@media(max-width:600px){.armf-list article{flex-wrap:wrap}.armf-list article>div,.armf-dl dd{min-width:0;overflow-wrap:anywhere}.armf-list .armf-pill,.armf-list time{max-width:100%;white-space:normal;overflow-wrap:anywhere}}
