/* Ticket stability release: make the full editor usable on touch screens. */
.rg-dashboard-body .rf-dash-layout,
.rg-dashboard-body .rf-dash-main,
.rg-dashboard-body .settings-page,
.rg-dashboard-body .settings-page .module-page-grid,
.rg-dashboard-body .settings-page .module-form-v4,
.rg-dashboard-body .settings-page .module-fields-v4,
.rg-dashboard-body .module-live-preview-v10,
.rg-dashboard-body .discord-stage-v10{min-width:0!important;max-width:100%;box-sizing:border-box}
.rg-dashboard-body .rf-dash-main{width:auto!important;min-width:0!important}
.rg-dashboard-body .settings-page .module-fields-v4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.rg-dashboard-body .settings-page .module-fields-v4>.wide{grid-column:1/-1}
.rg-dashboard-body .field-v4 input,.rg-dashboard-body .field-v4 select,.rg-dashboard-body .field-v4 textarea,
.rg-dashboard-body .rt-preview-selector,.rg-dashboard-body .rt-preview-options,
.rg-dashboard-body .rt-preview-embed{max-width:100%!important;min-width:0!important}
.rg-dashboard-body .rt-preview-selector{isolation:isolate}
.rg-dashboard-body .rt-preview-options{max-height:220px;overscroll-behavior:contain}
.rg-dashboard-body .module-page-identity{min-width:0}
.rg-dashboard-body .module-page-identity h1{overflow-wrap:anywhere}
.rg-dashboard-body .rf-overview-title h1,.rg-dashboard-body .rf-server-identity strong{overflow-wrap:anywhere}
.rg-dashboard-body .discord-stage-message-body-v10{min-width:0}
.rg-dashboard-body .rt-preview-title,.rg-dashboard-body .rt-preview-description{overflow-wrap:anywhere}
@media(max-width:920px){
  .rg-dashboard-body .rf-dash-sidebar{z-index:210!important}
  .rg-dashboard-body .rf-dash-scrim{z-index:200!important}
  .rg-dashboard-body .rf-dash-topbar{z-index:100!important}
}
@media(max-width:760px){
  .rg-dashboard-body .rf-dash-main{margin-left:0!important;width:100%!important;padding:14px!important}
  .rg-dashboard-body .settings-page .module-page-header{flex-wrap:wrap!important;align-items:flex-start!important}
  .rg-dashboard-body .settings-page .module-page-identity h1{font-size:clamp(28px,8vw,38px)!important}
  .rg-dashboard-body .settings-page .module-page-identity{gap:10px!important}
  .rg-dashboard-body .settings-page .module-page-icon{flex:0 0 44px!important;width:44px!important;height:44px!important}
  .rg-dashboard-body .settings-page .module-page-grid,
  .rg-dashboard-body .settings-page .module-fields-v4,
  .rg-dashboard-body .settings-page .module-context-v4{grid-template-columns:minmax(0,1fr)!important}
  .rg-dashboard-body .settings-page .module-form-v4,
  .rg-dashboard-body .module-live-preview-v10{padding:14px!important}
  .rg-dashboard-body .settings-page .field-v4,.rg-dashboard-body .settings-page .toggle-field-v4{padding:13px!important}
  .rg-dashboard-body .discord-stage-message-v10{padding:11px!important;gap:8px!important}
  .rg-dashboard-body .discord-stage-message-v10>img{width:30px!important;height:30px!important}
  .rg-dashboard-body .rt-preview-embed{padding:12px!important}
  .rg-dashboard-body .rt-preview-title{font-size:17px!important}
  .rg-dashboard-body .rt-preview-description{font-size:12px!important}
  .rg-dashboard-body .preview-stage-title-v10{flex-direction:column!important;align-items:flex-start!important}
  .rg-dashboard-body .preview-send-set-v20{width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  .rg-dashboard-body .preview-send-set-v20 button{flex:1 1 150px}
  .rg-dashboard-body .rt-ticket-actions{width:100%;max-width:100%!important}
  .rg-dashboard-body .rt-preview-select-trigger{width:100%}
  .rg-dashboard-body .rt-preview-multi{max-width:100%}
  .rg-dashboard-body .rt-preview-multi button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .rg-dashboard-body .rf-dash-topmeta span:nth-child(2){display:none}
  .rg-dashboard-body .rf-server-directory-hero,
  .rg-dashboard-body .rf-overview-hero{display:block!important}
  .rg-dashboard-body .rf-hero-badges,.rg-dashboard-body .rf-overview-hero-actions{margin-top:18px}
  .rg-dashboard-body .rf-server-card-grid{grid-template-columns:1fr!important}
  .rg-dashboard-body .rf-server-card-head{flex-wrap:wrap}
  .rg-dashboard-body .rf-server-identity{min-width:0;flex:1 1 210px}
  .rg-dashboard-body .rf-module-card-grid,.rg-dashboard-body .rf-overview-stats,.rg-dashboard-body .rf-overview-grid{grid-template-columns:1fr!important}
}
@media(max-width:420px){
  .rg-dashboard-body .settings-page .module-page-header .dash-secondary-action{width:100%;justify-content:center}
  .rg-dashboard-body .rf-dash-main{padding:11px!important}
  .rg-dashboard-body .discord-stage-top-v10{font-size:10px!important}
  .rg-dashboard-body .discord-stage-message-body-v10>b{flex-wrap:wrap}
  .rg-dashboard-body .rt-preview-footer{overflow-wrap:anywhere}
}
/* The dashboard's legacy navigation CSS must not conceal the mobile toolbar. */
@media(max-width:760px){
  body.rg-dashboard-body .rf-dash-topbar{display:flex!important;position:relative!important;top:auto!important;z-index:100!important;width:100%!important;margin-left:0!important;min-height:66px!important;padding:10px 14px!important;background:#0c1a2b!important;border-bottom:1px solid #29465f!important;align-items:center!important}
  body.rg-dashboard-body .rf-dash-burger{display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;background:#123050!important;border:1px solid #3b6589!important;color:#fff!important}
  body.rg-dashboard-body .rf-dash-topcopy{display:block!important;min-width:0!important;flex:1!important}
  body.rg-dashboard-body .rf-dash-topcopy strong{display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.rg-dashboard-body .rf-dash-topmeta{display:none!important}
}
