/* JSV mobile content fit.
 * Load after the page-specific styles. The shared frame owns outside gutters.
 * Only named content/forms are adjusted here: no Activity, map/chat internals,
 * drawer state, activation overlays, or desktop rules are changed.
 */
@media (max-width:900px) {
  /* Directory has a 270px tool column and two 260px cards until 820px.
   * Release the result minimums through 900px without changing the existing
   * tool rail or its drawer/open-state behavior.
   */
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market :is(.jsf-dir-market-body,.jsf-dir-market-main,.jsf-dir-market-hero-center,.jsf-dir-market-search,.jsf-dir-main-filters,.jsf-dir-main-filter-form,.jsf-dir-market-grid,.jsf-dir-empty-state) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market .jsf-dir-market-grid,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market .jsf-dir-market-grid.list {
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    column-gap:12px!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market .jsf-dir-market-grid>.jsf-dir-market-card {
    min-width:0!important;
    max-width:100%!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market .jsf-dir-market-grid.list .jsf-dir-market-card {
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market .jsf-dir-market-search form,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market .jsf-dir-main-filter-form {
    grid-template-columns:minmax(0,1fr)!important;
    min-width:0!important;
    max-width:100%!important;
    column-gap:10px!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market :is(.jsf-dir-market-search,.jsf-dir-main-filter-form) :is(label,input,select) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market :is(.jsf-dir-market-search,.jsf-dir-main-filter-form) :is(input,select) {
    width:100%!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market .jsf-dir-market-search label>input {
    flex:1 1 0%!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) #jsf-directory-market :is(.jsf-dir-resultbar,.jsf-dir-resultbar>div,.jsf-dir-empty-cta,.jsf-dir-quote-cta) {
    min-width:0!important;
    max-width:100%!important;
    flex-wrap:wrap!important;
    gap:10px!important;
  }

  /* Bound the Groups discovery sections, leaving their swipe cards and
   * horizontal category rows at their existing sizes.
   */
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsgl-page :is(.jsgl-layout,.jsgl-maincol,.jsgl-sidebar,.jsgl-section,.jsgl-side-card,.jsgl-paper,.jsgl-my-grid,.jsgl-feature-grid,.jsgl-local-grid,.jsgl-new-grid,.jsgl-discussions,.jsgl-category-grid,.jsgl-event-grid) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsgl-page .jsgl-section-head {
    min-width:0!important;
    flex-wrap:wrap!important;
    gap:8px 12px!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsgl-page .jsgl-section-head>div {
    min-width:0!important;
    max-width:100%!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsgl-page .jsgl-hero-search :is(label,input,select),
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsf-gm-member-tools :is(label,input,select),
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsf-gm-media-tools :is(label,input,select),
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsf-gm-event-tools :is(label,input,select),
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsf-gm-discussion-filters :is(label,input) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsgl-page .jsgl-hero-search label>input,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) :is(.jsf-gm-member-tools,.jsf-gm-media-tools,.jsf-gm-event-tools,.jsf-gm-discussion-filters) label>input {
    flex:1 1 0%!important;
    width:100%!important;
  }

  /* These workspaces already use horizontal navigation below 760px.
   * Apply that content layout through 900px. Grid tracks change without
   * forcing display on a hidden root or changing activation/lock state.
   */
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell {
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell>.jsw-sidebar {
    position:static!important;
    top:auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding:15px!important;
    gap:13px!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-sidebar nav:not([hidden]) {
    display:flex;
    min-width:0!important;
    max-width:100%!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    padding:2px 0 6px!important;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-sidebar nav>a {
    flex:0 0 auto!important;
    white-space:nowrap!important;
    padding:9px 12px!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-main {
    min-width:0!important;
    max-width:100%!important;
    padding:20px 0!important;
    box-sizing:border-box!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-main>.jsw-grid,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-main>.jsw-card>.jsw-grid,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-centre-tool>.jsw-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell :is(.jsw-toolbar,.jsw-between,.jsw-contact-row,.jsw-thread-row) {
    min-width:0!important;
    max-width:100%!important;
    flex-wrap:wrap!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-toolbar {
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-search>input,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-search>label {
    min-width:0!important;
    max-width:100%!important;
    flex:1 1 100%!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-thread-row>span:nth-child(2) {
    min-width:0!important;
    flex-basis:100%!important;
    order:3!important;
  }

  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) main.jsw-centre-layout {
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-centre-layout>.jsw-centre-sidebar {
    position:static!important;
    top:auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding:10px 0 4px!important;
    margin-bottom:12px!important;
    background:transparent!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-centre-sidebar nav:not([hidden]) {
    display:flex;
    min-width:0!important;
    max-width:100%!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    gap:7px!important;
    padding:2px 0 8px!important;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-centre-sidebar nav>a {
    flex:0 0 auto!important;
    white-space:nowrap!important;
    min-height:42px!important;
    padding:9px 11px!important;
    gap:7px!important;
    font-size:12px!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-centre-sidebar nav .jsw-centre-icon {
    width:18px!important;
    height:18px!important;
    flex-basis:18px!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-centre-sidebar-extra {
    min-width:0!important;
    max-width:100%!important;
    flex-wrap:wrap!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) :is(.jsw-centre-body,.jsw-centre-main,.jsw-centre-right,.jsw-centre-content,.jsw-centre-card,.jsw-centre-pair) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) :is(.jsw-centre-content,.jsw-centre-pair,.jsw-centre-right) {
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) :is(.jsw-centre-row,.jsw-centre-tool-title,.jsw-centre-actions) {
    min-width:0!important;
    max-width:100%!important;
    flex-wrap:wrap!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-centre-identity>div {
    min-width:0!important;
    max-width:100%!important;
    flex:1 1 150px!important;
  }
  html body.jsw-profile-centre:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-centre-identity>.jsw-centre-button {
    margin-left:0!important;
  }

  /* Ordinary account/business/event forms only. No composer, game controls,
   * drawer forms, hidden-input display, checkbox/radio/range sizes are reset.
   */
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) :is(.jsf-account-shell,.jsf-business-owner-main,.business-owner-main,.jsf-market-create-form,.jsf-directory-edit,.jsf-event-editor-form,.jsf-global-auth,.jsf-editorial-business,.group-wizard,.jsf-group-manage-wizard,.quote-form-card,.service-builder,.jsw-form) :is(.form-grid,.jsf-form-grid,.jsf-auth-grid,.field,fieldset) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) :is(.jsf-account-shell,.jsf-business-owner-main,.business-owner-main,.jsf-market-create-form,.jsf-directory-edit,.jsf-event-editor-form,.group-wizard,.jsf-group-manage-wizard,.quote-form-card) .form-grid {
    grid-template-columns:minmax(0,1fr)!important;
    column-gap:10px!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) :is(.jsf-account-shell,.jsf-business-owner-main,.business-owner-main,.jsf-market-create-form,.jsf-directory-edit,.jsf-event-editor-form,.jsf-global-auth,.jsf-editorial-business,.group-wizard,.jsf-group-manage-wizard,.quote-form-card,.service-builder,.jsw-form) :is(.form-grid,.jsf-form-grid,.jsf-auth-grid)>* {
    min-width:0!important;
    max-width:100%!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) :is(.jsf-account-shell,.jsf-business-owner-main,.business-owner-main,.jsf-market-create-form,.jsf-directory-edit,.jsf-event-editor-form,.jsf-global-auth,.jsf-editorial-business,.group-wizard,.jsf-group-manage-wizard,.quote-form-card,.service-builder,.jsw-form) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=image]):not([type=button]):not([type=submit]):not([type=reset]),select,textarea) {
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    box-sizing:border-box!important;
  }

  /* Keep large comparison tables scrollable inside their own card. */
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .quote-compare-card,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .quote-compare-card .quote-compare-scroll,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsf-event-attendee-manager .jsf-attendee-table,
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsf-seller-listing-table {
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .quote-compare-card .quote-compare-scroll {
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .quote-compare-card>.section-title {
    min-width:0!important;
    flex-wrap:wrap!important;
    gap:12px!important;
  }
}

@media (max-width:600px) {
  /* The old 115px side illustration left about 119px for copy at 320px. */
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-hero {
    grid-template-columns:minmax(0,1fr)!important;
    min-width:0!important;
    max-width:100%!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-hero>div {
    min-width:0!important;
    padding:22px 18px!important;
  }
  html body:not(.jsf-activity-page):not(.jsf-activity-stage):not(#jsf-activity-page):not(:has(#jsf-activity-page,.jsf-activity-stage)):not(.jsf-group-chat-mobile-mode):not(.jsf-gameplay-atlas-page):not(.jsf-coin-rain-page):not(:has(.jsg-chat-centered-home,.jsf-gm-chat-layout,.jsf-ng-game-v2)) .jsw-shell .jsw-hero>img {
    width:100%!important;
    height:clamp(140px,42vw,220px)!important;
    max-height:220px!important;
    object-fit:cover!important;
  }
}
