/* Film Bros phone layer for the Security Atlas (loads after style.css and city.css). */
@media (max-width:680px){
  /* Info cards become a readable sheet along the bottom instead of a tiny bubble beside the circle. */
  .detail-card,.local-detail{position:fixed!important;left:10px!important;right:10px!important;top:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;width:auto!important;max-height:52dvh!important;padding:18px 20px 16px!important;border-radius:22px!important;z-index:30!important;box-shadow:0 -6px 40px #4c344d33!important;background:#fffffff5!important}
  .detail-card h2,.local-detail h2{font-size:28px!important;line-height:1.1}
  .detail-kicker,#detail-kicker,#local-period{font-size:12px!important;letter-spacing:.06em}
  .region-subtitle{font-size:14px!important}
  .rate-row>strong{font-size:48px!important}
  .rate-row>div,.rate-row>div span{font-size:13px!important}
  #province-comparison,#local-area-context,.local-detail p,.detail-card p{font-size:15px!important;line-height:1.45}
  .detail-stats span{font-size:12px!important}
  .detail-stats strong{font-size:26px!important}
  #coverage-details summary{font-size:14px!important;min-height:44px}
  #coverage-details p{font-size:14px!important}
  .detail-bottom,.local-source-line a,.local-source-line small{font-size:13px!important}
  .detail-bottom button,.local-map-link{min-height:40px;font-size:14px!important}
  .detail-kicker .close-button,.local-detail .close-button{width:44px!important;height:44px!important;min-width:44px!important}
  .city-entry-links a,.city-entry-links button{font-size:15px!important;min-height:44px}
  .local-total strong{font-size:40px!important}
  .local-total span{font-size:14px!important}
  /* Bigger, readable controls and hint. */
  .interaction-hint{opacity:1!important;font-size:13px!important;color:#5d566a!important;max-width:calc(100vw - 40px)}
  .tool-pill{font-size:13px!important;min-height:44px!important}
  .zoom-controls button{width:44px!important;height:44px!important}
  .icon-button{width:44px!important;height:44px!important}
  .colour-key{height:auto!important;min-height:44px}
  .key-heading{font-size:12px!important}
  .key-unit{font-size:11px!important}
  .city-back{font-size:14px!important;min-height:40px!important}
  .city-heat-toggle,.city-layer-controls .local-areas-toggle,.local-areas-toggle{font-size:13px!important;min-height:44px!important}
  .city-data-button{font-size:13px!important}
  .city-status-note{font-size:12px!important}
  .search-results button{font-size:16px}
  .search-results small{font-size:13px!important}
  .panel-note,.local-settings-copy{font-size:13px!important}
  .field-label{font-size:12px!important}
  .segmented button{min-height:42px;font-size:14px}
}
html.fb-cover #map-svg{overflow:hidden}
html.fb-cover .map-stage{overflow:hidden}
