/* Battlefield V1.0.42 — mobile native-app feel, zero frameworks.
   Desktop intentionally stays unchanged. */
.bfv-app-nav{display:none}
.bfv142-single-picture{display:block;line-height:0}
.bfv142-single-picture>img{display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:760px){
  :root{--bfv142-tab-h:64px}
  html{scroll-padding-top:72px;scroll-behavior:auto}
  body.bfv-theme{padding-bottom:calc(var(--bfv142-tab-h) + env(safe-area-inset-bottom,0px));background:#090b10}
  body.bfv-theme .bfv-header{background:#0b0e13!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;z-index:9000!important}
  .bfv-header__inner{min-height:57px!important}
  .bfv-header .bfv-brand__name{font-size:13px!important}
  .bfv-header .bfv-brand__name small{display:none!important}
  /* Functional header controls are driven by the fixed app tabs. */
  .bfv-header .bfv-menu-toggle,.bfv-header .bfv-search-toggle{display:none!important}
  .bfv-app-nav{position:fixed;left:0;right:0;bottom:0;z-index:9050;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;min-height:var(--bfv142-tab-h);padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left));background:rgba(10,12,17,.98);border-top:1px solid rgba(255,132,37,.27);box-shadow:0 -8px 30px rgba(0,0,0,.38)}
  .bfv-app-nav__item{appearance:none;min-width:0;min-height:52px;border:0!important;box-shadow:none!important;border-radius:10px!important;background:transparent!important;color:#b9b7bc!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-family:inherit;font-size:10px;letter-spacing:0;font-weight:720;text-decoration:none!important;line-height:1.15;padding:5px 0;cursor:pointer;transform:none!important}
  .bfv-app-nav__item svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
  .bfv-app-nav__item.is-active,.bfv-app-nav__item[aria-expanded="true"],body.bfv-mobile-menu-open .bfv-app-nav__item--more{color:#ff953e!important;background:rgba(255,134,37,.09)!important}
  .bfv-app-nav__item:focus-visible{outline:2px solid #ff953e;outline-offset:-2px}
  .bfv-footer{padding-bottom:18px!important;margin-bottom:0!important}
  body.single-wallpaper .bfv-footer{padding-bottom:18px!important}
  .bfv-footer__top{padding-block:18px!important}
  .bfv-footer__top h2{font-size:clamp(22px,6vw,30px)}
  /* The modal is never accessible on phone-sized viewports, even when a
     desktop HTML response was served from a full-page cache. */
  #bfats-launch,#bfats-modal,.bfats-launch,.bfats-modal{display:none!important;visibility:hidden!important}
  body.single-wallpaper .re-mobile-actions{bottom:calc(var(--bfv142-tab-h) + env(safe-area-inset-bottom,0px));padding:7px 10px;background:#0c0e14;box-shadow:0 -5px 15px rgba(0,0,0,.3);z-index:88}
  body.single-wallpaper .re-mobile-actions a{min-height:43px;font-size:12px;border-radius:10px!important}
  body.single-wallpaper .re-single{padding-bottom:10px!important}
  body.single-wallpaper .re-single__workspace{gap:10px}
  body.single-wallpaper .re-single__intro{padding:9px 12px!important}
  body.single-wallpaper .re-single__heading h1{font-size:clamp(20px,6vw,28px)!important}
  body.single-wallpaper .re-canvas{overflow:hidden;border-radius:13px}
  body.single-wallpaper .re-canvas__top{height:27px!important}
  body.single-wallpaper .re-canvas__bottom{padding:5px 8px}
  body.single-wallpaper .re-canvas__controls button{font-size:10px;min-height:35px}
  body.single-wallpaper .re-console{display:none!important} /* sticky original / export replaces duplicate console */
  body.single-wallpaper .re-single__actionbar{margin-top:7px}
  body.single-wallpaper .re-single__buttons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.single-wallpaper .share-copy-action{display:none!important} /* mobile share sheet handles sharing */
  body.single-wallpaper .re-single__buttons button{min-height:42px!important;font-size:10px!important}
  body.single-wallpaper .re-single__details{border-radius:12px;padding:13px!important;margin-top:13px!important;background:#11151c}
  body.single-wallpaper .re-single__details h2{font-size:21px!important}
  body.single-wallpaper .re-single__details>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.6}
  body.single-wallpaper .re-single__export{padding-top:24px!important}
  body.single-wallpaper .re-single__related{padding-top:25px!important}
  /* App cards: let the artwork carry the message, not tiny metrics and overlays. */
  .bfv-wall-grid,.re-category__grid,.re-editorial,.re-featured__strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .bfv-card,.bfv-card__link{border-radius:12px!important}
  .bfv-card__link{aspect-ratio:1.35!important;min-height:0!important}
  .bfv-card__body small,.bfv-card__arrow,.bfv-card__like{display:none!important}
  .bfv-card__favorite{min-width:32px;min-height:32px;top:7px;right:7px}
  .bfv-card__image{object-fit:cover!important;filter:none!important}
  .bfv-card__shade{background:linear-gradient(to top,rgba(0,0,0,.22),transparent 45%)!important}
  .re-featured__strip>.re-featured__item:nth-child(n+7),.re-editorial>.re-editorial__item:nth-child(n+7){display:none!important}
  .re-editorial__item--0{grid-column:auto!important;grid-row:auto!important}
  .re-editorial__item .bfv-card__link{aspect-ratio:1.35!important}
  /* Don't animate expansive backgrounds on slow mobile GPUs. */
  .bfv19-fx,.re-stage__scroll,.re-stage__coordinates{display:none!important}
  .re-stage__art img,.bfv-card__image{transform:none!important;animation:none!important}
  .re-single__export,.re-single__related,.bfv-footer{content-visibility:auto;contain-intrinsic-size:auto 450px}
}
@media(max-width:355px){
  .bfv-app-nav__item{font-size:9px}
  .bfv-app-nav__item svg{width:19px;height:19px}
  .re-single__buttons button{font-size:9px!important}
}
@media(prefers-reduced-motion:reduce){.bfv-app-nav__item{transition:none!important}}
