/* V115: text-only shadows. No font, spacing, sizing, image or layout overrides.
   Phone scope is enforced both here and on the stylesheet link. */
@media (max-width: 700px), (max-width: 1000px) and (max-height: 600px) and (pointer: coarse) {
  html.pragmaV113Phone {
    --pragma115TextShadow:0 1px 1.5px rgba(31,15,45,.30),0 2px 3px rgba(31,15,45,.12);
  }
  html.pragmaV113Phone :is(#track,#pragmaContactBar,#pragmaV67Menu,#pragmaBimDialog,#pragmaServiceDialog,#pragmaCrewDialog,#pragmaV60GalleryLightbox,.pragmaMapFs),
  html.pragmaV113Phone :is(#track,#pragmaContactBar,#pragmaV67Menu,#pragmaBimDialog,#pragmaServiceDialog,#pragmaCrewDialog,#pragmaV60GalleryLightbox,.pragmaMapFs) :is(h1,h2,h3,h4,h5,h6,p,div,span,small,b,strong,em,i,label,button,a,address,li,dt,dd,figcaption,summary,output,input,select,textarea) {
    text-shadow:var(--pragma115TextShadow)!important;
  }
  /* Brighter text over photos, video and dark panels gets a firmer dark edge. */
  html.pragmaV113Phone :is(.panel.hero,.panel.marcela,.project-copy,.thumbLabel,.pragmaCrewBody,.pragmaCrewPhoto,.ppm-card,.pragmaWhatsApp,#pragmaV60GalleryLightbox) {
    --pragma115TextShadow:0 1px 2px rgba(8,4,15,.72),0 2px 6px rgba(8,4,15,.40);
  }
  /* Existing explicit 'none' declarations need targeted text-only overrides. */
  html.pragmaV113Phone.pragmaV110 #track.track .panel.portfolio .thumbGrid .thumb .thumbLabel,
  html.pragmaV113Phone #pragmaV67Menu.pragmaV71Open button,
  html.pragmaV113Phone #pragmaV67Menu.pragmaV71Open button:not([aria-current="page"]),
  html.pragmaV113Phone.pragmaV112 #pragmaBimDialog.pragmaV112BimDialog #layerRows .layer-name {
    text-shadow:var(--pragma115TextShadow)!important;
  }
}
