/* t1892u: Add Layer cards — two equal columns that can't be pushed wider than the panel by a long name or a wide still,
   so every card in Looks and Effects sits inside the panel with the same gutter left and right; long names wrap. */
html:not(#_) #addMenu .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
html.phone.land:not(#_) #addMenu .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
html:not(#_) #addMenu .am-tile, html:not(#_) #addMenu button.am-tile { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
html:not(#_) #addMenu .am-still { min-width: 0 !important; max-width: 100% !important; overflow: hidden !important; }
html:not(#_) #addMenu .am-still canvas { display: block; width: 100% !important; height: 100% !important; max-width: 100%; object-fit: cover; }
html:not(#_) #addMenu .am-nm, html:not(#_) #addMenu .am-desc { min-width: 0 !important; white-space: normal !important; overflow-wrap: anywhere; text-overflow: clip !important; }
