.pet-gallery-controls{display:none}
@media(min-width:721px){
 .tips-page :is(#templates,#works) .pet-template-grid{width:100%;min-width:0;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(150px,12vw,180px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:4px 0 14px;scrollbar-width:thin;scrollbar-color:#83c9ee #edf6ff;cursor:grab;user-select:none}
 .tips-page :is(#templates,#works) .pet-template-card{scroll-snap-align:start}
 .tips-page :is(#templates,#works) .pet-template-grid img{-webkit-user-drag:none}
 .tips-page :is(#templates,#works) .pet-template-grid.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
 .tips-page :is(#templates,#works) .pet-template-grid.is-dragging *{cursor:grabbing}
 .tips-page :is(#templates,#works) .pet-template-grid:focus-visible{outline:2px solid #049ce8;outline-offset:4px;border-radius:16px}
 .tips-page .pet-gallery-controls{display:flex;flex-shrink:0;align-self:center;gap:8px}
 .tips-page .pet-gallery-controls[hidden]{display:none}
 .tips-page .pet-gallery-controls button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #c6dfef;border-radius:12px;background:#fff;color:#10234a;cursor:pointer;box-shadow:0 3px 10px #233e670d}
 .tips-page .pet-gallery-controls button:hover:not(:disabled){border-color:#049ce8;background:#edfaff}
 .tips-page .pet-gallery-controls button:focus-visible{outline:2px solid #049ce8;outline-offset:3px}
 .tips-page .pet-gallery-controls button:disabled{opacity:.35;cursor:default}
 .tips-page .pet-gallery-controls svg{width:20px;height:20px}
}
