/* User-supplied icons, scoped to homepage slots. */
body main.wrap img.home-uploaded-icon {
  display:inline-block!important;
  width:22px!important;height:22px!important;
  min-width:22px!important;max-width:22px!important;
  min-height:22px!important;max-height:22px!important;
  flex:0 0 22px!important;
  object-fit:contain!important;
  object-position:center!important;
  vertical-align:middle!important;
  padding:0!important;margin:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;filter:none!important;transform:none!important;
}
body main.wrap .pg-feature-pills > span,
body main.wrap .home-toplist-label {display:inline-flex!important;align-items:center!important;gap:7px!important;}
body main.wrap .home-shield-pair {display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;font-style:normal;}
body main.wrap .pg-feature-pills img.home-uploaded-icon {width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;flex-basis:20px!important;}
body main.wrap .home-toplist-label img.home-uploaded-icon {width:26px!important;height:26px!important;min-width:26px!important;max-width:26px!important;min-height:26px!important;max-height:26px!important;flex-basis:26px!important;}
body main.wrap .pg-filter-panel-premium .pg-filter-icon {display:grid!important;place-items:center!important;}
body main.wrap .pg-server-card-premium .pg-card-copy p .pg-game-swords.home-game-icon {
  display:inline-flex!important;align-items:center!important;
  width:20px!important;height:20px!important;
  background:none!important;vertical-align:middle!important;
}
body main.wrap .pg-server-card-premium .pg-card-copy p .home-game-icon::before,
body main.wrap .pg-server-card-premium .pg-card-copy p .home-game-icon::after {content:none!important;display:none!important;}
body main.wrap .home-game-icon img.home-uploaded-icon {width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;flex-basis:20px!important;}
body main.wrap .pg-card-stats img.home-uploaded-icon {width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;flex-basis:18px!important;}
/* The supplied eye has a white background; blend it into the light stat slot. */
body main.wrap .pg-stat-views img.home-uploaded-icon {mix-blend-mode:multiply!important;}

/* Keep the supplied check mark clear inside the status and approval slots. */
body main.wrap .pg-status-open .pg-filter-icon {
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body main.wrap .pg-card-copy h3 .home-verified-mark {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:22px!important;height:22px!important;min-width:22px!important;
  flex:0 0 22px!important;padding:3px!important;box-sizing:border-box!important;
  border-radius:50%!important;background:#dcfce7!important;
  vertical-align:middle!important;
}
body main.wrap .home-verified-mark img.home-uploaded-icon {
  width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;
  min-height:16px!important;max-height:16px!important;flex-basis:16px!important;
}

/* One stable mobile grid replaces the conflicting legacy filter layouts. */
@media (max-width:700px) {
  body main.wrap .pg-filter-panel-premium {min-width:0!important;box-sizing:border-box!important;}
  body main.wrap .pg-filter-panel-premium .pg-filter-heading {align-items:flex-start!important;gap:10px!important;}
  body main.wrap .pg-filter-panel-premium .pg-filter-heading-icon {flex:0 0 38px!important;width:38px!important;height:38px!important;}
  body main.wrap .pg-filter-panel-premium .pg-filter-heading > div {min-width:0!important;}
  body main.wrap .pg-filter-panel-premium .pg-filter-heading b {display:block!important;font-size:16px!important;line-height:1.35!important;}
  body main.wrap .pg-filter-panel-premium .pg-filter-heading small {display:block!important;line-height:1.45!important;}
  body main.wrap .pg-filter-panel-premium .pg-filter-buttons-premium {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;width:100%!important;max-width:100%!important;
    overflow:visible!important;box-sizing:border-box!important;padding:0!important;
  }
  body main.wrap .pg-filter-panel-premium .pg-filter-buttons-premium .pg-filter-pill {
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    grid-column:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;
    height:auto!important;min-height:46px!important;padding:8px!important;gap:6px!important;
    box-sizing:border-box!important;white-space:normal!important;
  }
  body main.wrap .pg-filter-panel-premium .pg-filter-buttons-premium .pg-filter-pill.pg-status-filter {
    grid-column:1 / -1!important;min-height:46px!important;padding:9px 12px!important;
  }
  body main.wrap .pg-filter-panel-premium .pg-filter-buttons-premium .pg-filter-pill strong {
    flex:1 1 auto!important;min-width:0!important;white-space:normal!important;
    overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;
    font-size:12px!important;line-height:1.35!important;
  }
  body main.wrap .pg-filter-panel-premium .pg-filter-buttons-premium .pg-status-filter strong {font-size:13px!important;}
  body main.wrap .pg-filter-panel-premium .pg-filter-buttons-premium .pg-filter-icon {
    flex:0 0 24px!important;width:24px!important;min-width:24px!important;max-width:24px!important;
    height:24px!important;box-sizing:border-box!important;
  }
  body main.wrap .pg-filter-panel-premium .pg-filter-buttons-premium .pg-filter-pill em {
    flex:0 0 auto!important;min-width:22px!important;height:22px!important;padding:0 5px!important;
    margin:0!important;box-sizing:border-box!important;font-size:11px!important;
  }
}
