/* Layout only. Preserve each theme's color, font family, and search handlers. */
@layer msf-search-actions {
html body #searchPage .search-input-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;width:100%!important}
html body #searchPage .search-main-row{display:contents!important}
html body #searchPage .search-main-row>.input-wrap{grid-column:1/-1!important;width:100%!important;min-width:0!important;margin:0!important}
html body #searchPage :is(#searchBtn,#offenseBtn){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:52px!important;height:100%!important;margin:0!important;padding:12px 16px!important;line-height:1.35!important;font-size:1rem!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;align-self:stretch!important;justify-self:stretch!important}
html body #searchPage #searchBtn{grid-row:2!important;grid-column:1!important}
html body #searchPage #offenseBtn{grid-row:2!important;grid-column:2!important}
html body.arena-mode #searchPage #searchBtn{grid-column:1/-1!important}
html body.arena-mode #searchPage .search-wrap{padding-bottom:0!important}
}
@layer msf-search-actions {
html body #searchPage .search-main-row>.input-wrap{grid-row:1!important}
html[data-msf-theme="google"] body #searchPage .msf-search-mode-wrap{grid-column:1/-1!important;grid-row:1!important;position:static!important;justify-self:start!important}
html[data-msf-theme="google"] body #searchPage .search-main-row>.input-wrap{grid-row:2!important}
html[data-msf-theme="google"] body #searchPage :is(#searchBtn,#offenseBtn){grid-row:3!important}
html[data-msf-theme="google"] body #searchPage #searchBtn .msf-search-go-icon{display:none!important}
}
@layer msf-search-actions {
html[data-msf-theme="google"] body #searchPage #searchInput{border:1px solid #dadce0!important;border-radius:28px!important;min-height:52px!important}
html[data-msf-theme="google"] body #searchPage .msf-search-mode-wrap{border-right:0!important;padding-right:0!important}
html[data-msf-theme="google"] body #searchPage #searchBtn{border:1px solid #dadce0!important;border-radius:14px!important;background:#f8fafd!important;color:#a42137!important;box-shadow:none!important}
html[data-msf-theme="google"] body #searchPage #searchBtn::after{display:none!important}
}
