/* Optional phone composition; shared frame colors and desktop remain unchanged. */
@media(max-width:620px){
 body[data-mobile-gallery=compact] .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px}
 body[data-mobile-gallery=compact] .toolbar .filters{grid-column:1/-1;min-width:0;gap:6px}
 body[data-mobile-gallery=compact] .toolbar .wall-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;gap:6px}
 body[data-mobile-gallery=compact] .toolbar .restore-wall{grid-column:1/-1}
 body[data-mobile-gallery=compact] .toolbar .count{max-width:14ch;font-size:12px;line-height:1.5;text-align:right;overflow-wrap:anywhere}
 body[data-mobile-gallery=compact] .toolbar button{font-size:12px;padding-inline:8px}
 body[data-mobile-gallery=compact].sheet .wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 body[data-mobile-gallery=compact].sheet .art-link img{height:160px;padding:8px}
 body[data-mobile-gallery=compact].sheet .window-label{padding:8px;font-size:10px}
 body[data-mobile-gallery=compact].sheet .window-label span{min-width:0;overflow-wrap:anywhere}
 body[data-mobile-gallery=compact].sheet .window-label b{display:none}
 body[data-mobile-gallery=compact].sheet .caption{padding:12px 10px}
 body[data-mobile-gallery=compact].sheet .caption h2{font-size:16px;line-height:1.35;overflow-wrap:anywhere}
 body[data-mobile-gallery=compact].sheet .caption p{overflow-wrap:anywhere}
 body[data-mobile-gallery=compact] .art-link:focus-visible{outline-offset:-4px}
}
