/* Native action buttons and their handlers remain in place. */
.sv48-actions{display:contents}
.sv48-controls[hidden],.sv48-auto[hidden],.sv48-arrow[hidden]{display:none!important}
.sv48-site-back{min-width:44px;min-height:44px}
@media(max-width:760px),(max-width:1024px) and (max-height:600px) and (pointer:coarse){
 html body .sv48-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important;gap:8px!important;width:100%!important;flex:0 0 auto!important}
 html body .sv48-actions:has(>.sv48-auto[hidden]){grid-template-columns:minmax(0,1fr)!important}
 html body button.sv48-auto,html body button.sv48-arrow{box-sizing:border-box!important;position:static!important;display:block!important;min-height:48px!important;min-width:44px!important;max-width:100%!important;width:auto!important;margin:0!important;padding:8px 10px!important;border:1px solid #708da5!important;border-radius:24px!important;background:#18334a!important;color:#f5f8fc!important;font:600 14px/1.25 system-ui,sans-serif!important;white-space:normal!important;cursor:pointer!important;flex:none!important;box-shadow:none!important}
 html body button.sv48-auto[aria-pressed=true]{border-color:#dbc68e!important}
 html body button.sv48-arrow{font-size:25px!important}
 html body .sv48-controls{display:flex!important;justify-content:center!important;gap:8px!important;padding:8px 0!important;flex:0 0 auto!important;min-width:0!important}
 html body .sv48-controls[hidden],html body button.sv48-auto[hidden],html body button.sv48-arrow[hidden]{display:none!important}
 html body .sv48-controls>.sv48-auto{min-width:110px!important}
 html body [data-sv48-menu]{scrollbar-width:none;overscroll-behavior-x:contain}
 html body [data-sv48-menu]::-webkit-scrollbar{display:none}
 html body .format-grid[data-sv48-menu]{display:flex!important;flex-flow:row nowrap!important;gap:12px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;min-width:0!important}
 html body .format-grid[data-sv48-menu]>.visual{flex:0 0 calc(100% - 12px)!important;min-width:0!important;max-width:none!important;scroll-snap-align:start!important}
 html body #sw38 .sw38-templates[data-sv48-menu]{display:flex!important;flex-flow:row nowrap!important;gap:12px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;min-width:0!important}
 html body #sw38 .sw38-templates[data-sv48-menu]>button{flex:0 0 calc(100% - 12px)!important;box-sizing:border-box!important;scroll-snap-align:start!important;min-width:0!important}
 html body #sw38 .sw38-head{flex-wrap:wrap}
 html body #sw38 .sv48-site-back{display:inline-block!important;min-height:44px!important;padding:8px 12px!important}
}
@media(prefers-reduced-motion:reduce){[data-sv48-menu]{scroll-behavior:auto!important}}
