@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/static/rbx/fonts/source-sans-3-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.rbx-header .rbx-navbar-header { max-width: none; }

.rbx-header .rbx-navbar li { width: auto; }

.jegg-brand,
.jegg-brand:link,
.jegg-brand:visited,
.jegg-brand:hover,
.jegg-brand:focus {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  line-height: 30px;
  text-decoration: none;
  white-space: nowrap;
}
.jegg-brand span { font-weight: 300; opacity: .75; }

.rbx-header .rbx-navbar-right-nav li.login-action { position: relative; }
.rbx-header .login-dropdown { position: absolute; right: 0; top: 100%; }
.login-dropdown .roblox-popover-container.login-dropdown-container { right: -9px; top: 6px; }
.login-dropdown .arrow { left: auto; right: 36px; }
.login-dropdown .login-form-container form { margin: 0; }
.login-dropdown .forgot-credentials-link { display: block; font-size: 14px; text-align: center; }

@media (max-width: 767px) {
  .login-dropdown .login-container { width: 250px; }
  .login-dropdown .arrow { right: 26px; }
}

.jegg-announcement {
  background-color: #F7A046;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  color: #191919;
  left: 0;
  position: fixed;
  right: 0;
  top: 80px;
  z-index: 1020;
}
.jegg-announcement-inner {
  font-size: 14px;
  font-weight: 600;
  margin: 0 auto;
  max-width: 1338px;
  padding: 8px 18px;
  text-align: center;
}

.jegg-announcement-inner a {
  color: #0074BD;
  text-decoration: underline;
}
.jegg-announcement-inner a:hover,
.jegg-announcement-inner a:focus {
  color: #005a94;
}
@media (min-width: 992px) {
  .jegg-announcement { top: 40px; }
}
body.has-announcement .container-main { margin-top: 118px; }
@media (min-width: 992px) {
  body.has-announcement .container-main { margin-top: 78px; }
}

.wrap.no-gutter-ads .content { margin-left: auto; margin-right: auto; max-width: 1338px; }
.wrap.no-gutter-ads.logged-in .content { margin-left: auto; }

.jegg-alerts { margin-bottom: 12px; }
.jegg-alerts .alert { margin-bottom: 6px; }

.jegg-beta-notice {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1040;
}
.jegg-beta-notice-backdrop {
  background: #000;
  bottom: 0;
  left: 0;
  opacity: .65;
  position: absolute;
  right: 0;
  top: 0;
}
.jegg-beta-notice-dialog {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: calc(100% - 24px);
}
.jegg-beta-notice-dialog .Message {
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 12px;
}
.jegg-beta-notice-dialog .GenericModalButtonContainer { margin-top: 6px; }

.jegg-lead { margin: 0 0 12px; }

.section-header h1 { float: left; margin: 0 0 6px; width: calc(100% - 180px); }
@media (max-width: 991px) {
  .section-header h1 { float: none; width: 100%; }
  .section-header .btn-more { position: static; width: auto; }
}

.section-content p:last-child,
.section-content ul:last-child { margin-bottom: 0; }

.section-content pre {
  background-color: #F2F4F5;
  border: 1px solid #E3E3E3;
  border-radius: 3px;
  color: #191919;
  font-size: 13px;
  padding: 10px 12px;
  white-space: pre-wrap;
  word-break: break-all;
}
.section-content code {
  background-color: #F2F4F5;
  border-radius: 3px;
  color: #191919;
  font-size: 13px;
  padding: 1px 5px;
}

.jegg-form { max-width: 360px; }
.jegg-form .input-field { display: block; width: 100%; }
.jegg-form .form-group label { display: block; font-weight: 400; margin-bottom: 3px; }

.jegg-greeting { align-items: center; display: flex; gap: 18px; }
.jegg-greeting h1 { margin: 0 0 3px; }
.jegg-greeting p { margin: 0; }

.jegg-avatar {
  background-color: #E3E3E3;
  flex: 0 0 auto;
  overflow: hidden;
}
.jegg-avatar svg,
.jegg-avatar img,
.jegg-avatar-render { display: block; height: 100%; width: 100%; }
.jegg-avatar-render { border: 0; }

.jegg-avatar svg { box-sizing: border-box; padding: 6px; }

@media (max-width: 767px) {
  .jegg-greeting { flex-direction: column; text-align: center; }
}

.jegg-popular { list-style: none; margin: 0; padding: 0; }
.jegg-popular .game-card-link,
.jegg-popular .game-card-link:hover,
.jegg-popular .game-card-link:focus,
.jegg-popular .game-card-link:visited { color: #191919; text-decoration: none; }
.jegg-popular .game-card-name-secondary { color: #757575; }
.jegg-popular .container-empty { float: none; width: 100%; }

.jegg-popular .game-card { height: auto; }
.jegg-popular .game-card-container { height: auto; padding-bottom: 6px; }

.jegg-popular .game-card-thumb-container { aspect-ratio: 1 / 1; overflow: hidden; }
.jegg-popular .game-card-thumb { height: 100%; object-fit: cover; width: 100%; }

.jegg-popular .game-card-name {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  height: 2.4em;
  line-height: 1.2em;
  overflow: hidden;
}

.jegg-skins { list-style: none; margin: 0; padding: 0; }
.jegg-skins .game-card { width: 161px; height: auto; }
.jegg-skins .game-card-container { padding-bottom: 9px; }

.jegg-skin-thumb {
  border-bottom: 1px solid #E3E3E3;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  display: block;
  height: 150px;
  position: relative;
  width: 100%;
}
.jegg-skin-thumb svg { box-sizing: border-box; display: block; height: 100%; padding: 9px; width: 100%; }
.jegg-skin-flag {
  background-color: #02b757;
  color: #fff;
  font-size: 11px;
  left: 0;
  padding: 2px 6px;
  position: absolute;
  top: 6px;
}
.jegg-skin-price { color: #757575; }
.jegg-skins .game-card-container.equipped { box-shadow: 0 0 0 2px #02b757; }
.jegg-skins .game-card-name { font-weight: 600; }
.jegg-skins .jegg-skin-btn { margin: 6px 6px 0; }
.jegg-skins .jegg-skin-btn button { width: 100%; }

.jegg-client-bar { align-items: center; display: flex; gap: 18px; }
.jegg-client-bar .jegg-client-text { flex: 1 1 auto; }
.jegg-client-bar .jegg-client-text span { display: block; }
.jegg-client-bar .btn-primary-md { flex: 0 0 auto; }

@media (max-width: 767px) {
  .jegg-client-bar { display: block; }
  .jegg-client-bar .btn-primary-md { display: block; margin-top: 12px; text-align: center; }
}

.jegg-table { width: 100%; }
.jegg-table th,
.jegg-table td {
  border-bottom: 1px solid #E3E3E3;
  padding: 9px 6px;
  text-align: left;
  vertical-align: middle;
}
.jegg-table th { color: #757575; font-weight: 400; font-size: 14px; }
.jegg-table tr:last-child td { border-bottom: none; }
.jegg-table .jegg-actions { text-align: right; white-space: nowrap; }
.jegg-table .jegg-actions form { display: inline-block; margin-left: 3px; }

.status-running { color: #02b757; }
.status-stopped { color: #757575; }
.status-error { color: #D86868; }

.jegg-place-back { margin: 0 0 12px; }

.jegg-place-main { display: flex; gap: 18px; }
.jegg-place-thumb {
  align-items: center;
  background-color: #E3E3E3;
  border-radius: 3px;
  display: flex;
  flex: 0 0 480px;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.jegg-place-thumb::before { content: ""; display: block; padding-top: 56.25%; }
.jegg-place-thumb img {
  height: 100%; left: 0; object-fit: cover; position: absolute; top: 0; width: 100%;
}
.jegg-place-thumb-empty { color: #757575; font-size: 14px; }

.jegg-place-info { flex: 1 1 auto; min-width: 0; }
.jegg-place-title { margin: 0 0 3px; word-break: break-word; }
.jegg-place-creator { margin: 0 0 18px; }

.jegg-place-play { margin-bottom: 18px; max-width: 280px; }

.jegg-play-btn {
  background-color: #02b757;
  border-radius: 3px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 0;
  text-decoration: none;
  width: 100%;
}
.jegg-play-btn:hover, .jegg-play-btn:focus { background-color: #01a44e; color: #fff; text-decoration: none; }
.jegg-play-btn svg { fill: #fff; height: 32px; width: 32px; }
.jegg-play-btn-off { background-color: #C3C3C3; cursor: default; }
.jegg-play-btn-off:hover { background-color: #C3C3C3; }

.jegg-place-owner-actions { margin-top: 18px; }
.jegg-place-owner-actions form { display: inline-block; margin-left: 3px; }

.jegg-place-tabs { border-bottom: 1px solid #E3E3E3; margin: 0 18px; }
.jegg-place-tab {
  border-bottom: 3px solid #02b757;
  color: #191919;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 9px 12px;
}

.jegg-place-desc { margin: 0; white-space: pre-wrap; word-break: break-word; }

.jegg-place-stats {
  border-top: 1px solid #E3E3E3;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 12px 18px;
}
.jegg-place-stats li { flex: 1 1 120px; padding: 6px 12px 6px 0; }
.jegg-place-stats .jegg-stat-value { display: block; font-size: 16px; font-weight: 600; word-break: break-all; }
.jegg-place-stats .jegg-stat-label { color: #757575; font-size: 12px; }

.jegg-textarea { height: auto; padding: 6px 9px; resize: vertical; }
.jegg-edit-preview { border-radius: 3px; display: block; margin-bottom: 6px; max-width: 320px; width: 100%; }
.jegg-checkbox { display: block; margin-bottom: 6px; }

@media (max-width: 767px) {
  .jegg-place-main { display: block; }
  .jegg-place-thumb { flex: none; margin-bottom: 12px; }
}

.jegg-robux { white-space: nowrap; }
.jegg-robux-icon {
  font-weight: 700;
  color: #02b757;   
  margin-right: 3px;
}
.jegg-ledger { width: 100%; border-collapse: collapse; }
.jegg-ledger td { padding: 6px 10px 6px 0; border-bottom: 1px solid #e3e3e3; }
.jegg-ledger td:first-child { font-weight: 700; width: 60px; }
.jegg-spend { color: #e2231a; }
.jegg-grant { color: #02b757; }

.jegg-mod-table th {
  border-bottom: 1px solid #e3e3e3;
  color: #757575;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px 6px 0;
  text-align: left;
}
.jegg-mod-table td:first-child { font-weight: 400; width: auto; }
.jegg-mod-table td { vertical-align: middle; }

.jegg-mod-tag {
  background-color: #e3e3e3;
  border-radius: 3px;
  color: #393b3d;
  font-size: 11px;
  margin-left: 6px;
  padding: 1px 6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.jegg-mod-tag-admin { background-color: #02b757; color: #fff; }

.jegg-badge-icon { margin-left: 6px; }

.jegg-navbar-username .jegg-badge-icon { margin-top: -8px; margin-bottom: -8px; }
.jegg-badge-select { display: inline-block; height: 28px; padding: 2px 6px; width: auto; }

.jegg-mod-search { display: flex; gap: 6px; margin-bottom: 12px; max-width: 420px; }
.jegg-mod-search .input-field { flex: 1 1 auto; }
.jegg-mod-create { max-width: 640px; }
.jegg-mod-new-account {
  background: #e5fbe5;
  border: 1px solid #02b757;
  border-radius: 3px;
  margin: 0 0 12px;
  padding: 10px 12px;
}
.jegg-mod-new-account code { font-size: 16px; user-select: all; }

.jegg-ban-form { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 0; }
.jegg-ban-form .input-field { height: 28px; padding: 2px 6px; }
.jegg-ban-reason { flex: 1 1 140px; min-width: 120px; }
.jegg-ban-amount { width: 64px; }
.jegg-ban-unit { width: 92px; }

.jegg-mod-inline { display: inline-block; margin-left: 6px; }
.jegg-mod-staff { list-style: none; margin: 0; padding: 0; }
.jegg-mod-staff li { padding: 4px 0; }

.jegg-mod-activity-note { margin-bottom: 16px; }
.jegg-mod-activity h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.jegg-mod-activity-table { font-size: 13px; }
.jegg-mod-activity-table td,
.jegg-mod-activity-table th { padding-right: 8px; white-space: nowrap; }
.jegg-mod-activity-table td:nth-child(2) { white-space: normal; }
@media (max-width: 991px) {
  .jegg-mod-activity .col-md-6 + .col-md-6 { margin-top: 20px; }
}

.jegg-ban-body {
  background-color: #f2f4f5;
  color: #191919;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 24px 12px;
}
.jegg-ban-page {
  background-color: #fff;
  border: 1px solid #e3e3e3;
  margin: 0 auto;
  max-width: 660px;
  padding: 24px 28px 28px;
}
.jegg-ban-title {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 16px;
}
.jegg-ban-page p { margin: 0 0 12px; word-break: break-word; }
.jegg-ban-page a { color: #3b93d9; }
.jegg-ban-box {
  border: 1px solid #191919;
  margin: 18px 0;
  padding: 12px 16px;
}
.jegg-ban-box p:last-child { margin-bottom: 0; }
.jegg-ban-actions { margin-top: 22px; text-align: center; }
.jegg-ban-logout {
  background-color: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 3px;
  color: #191919;
  display: inline-block;
  min-width: 96px;
  padding: 6px 24px;
  text-align: center;
  text-decoration: none;
}
.jegg-ban-logout:hover, .jegg-ban-logout:focus {
  background-color: #f2f4f5;
  color: #191919;
  text-decoration: none;
}

.jegg-error-body {
  background-color: #fff;
  color: #393939;
  margin: 0;
}
.jegg-error-page {
  margin: 0 auto;
  max-width: 560px;
  padding: 72px 20px 40px;
  text-align: center;
}
.jegg-error-art {
  display: block;
  height: auto;
  margin: 0 auto 8px;
  width: 280px;
}
.jegg-error-page h1 {
  color: #393939;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin: 16px 0 10px;
}
.jegg-error-lead {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}
.jegg-error-note {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}
.jegg-error-reason {
  background-color: #fdf3e0;
  border: 1px solid #f0dca0;
  border-radius: 4px;
  color: #6b5219;
  font-size: 14px;
  margin: 16px 0 0;
  padding: 10px 14px;
  text-align: left;
}
.jegg-error-screenshot {
  border: 1px solid #e3e3e3;
  display: block;
  height: auto;
  margin: 24px auto 0;
  max-width: 100%;
}

.jegg-editor-cols { display: flex; gap: 18px; }
.jegg-editor-side { flex: 0 0 300px; }
.jegg-editor-main { flex: 1 1 auto; min-width: 0; }

.jegg-editor-preview {
  background-color: #E3E3E3;
  height: 300px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}
.jegg-editor-preview .jegg-avatar-render { border: 0; display: block; height: 100%; width: 100%; }
.jegg-editor-preview svg { box-sizing: border-box; display: block; height: 100%; padding: 12px; width: 100%; }

.jegg-editor-type {
  background-color: #D86868;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  left: 0;
  padding: 3px 9px;
  position: absolute;
  top: 0;
  z-index: 1;
}

.jegg-editor-facts { border-top: 1px solid #E3E3E3; }
.jegg-editor-fact {
  border-bottom: 1px solid #E3E3E3;
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}
.jegg-editor-note { margin: 9px 0 0; }
.jegg-editor-actions { margin: 12px 0 0; }
.jegg-price-edit {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.jegg-price-edit .input-field { width: 110px; }

.jegg-editor-fact-type { align-items: center; }
.jegg-type-toggle { display: flex; }
.jegg-type-toggle form { margin: 0; }
.jegg-type-toggle button {
  background-color: #fff;
  border: 1px solid #C3C3C3;
  color: #757575;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
}
.jegg-type-toggle form:first-child button { border-radius: 3px 0 0 3px; }
.jegg-type-toggle form:last-child button { border-left: none; border-radius: 0 3px 3px 0; }
.jegg-type-toggle button.active {
  background-color: #191919;
  border-color: #191919;
  color: #fff;
  cursor: default;
}

.jegg-editor-tabs { align-items: baseline; display: flex; justify-content: space-between; }
.jegg-editor-tabs .menu-option { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.jegg-editor-tabs .menu-option li a { color: #757575; text-decoration: none; }
.jegg-editor-tabs .menu-option li.active a { border-bottom: 2px solid #02b757; color: #191919; font-weight: 600; }

.jegg-editor-crumbs { margin: 0 0 12px; }
.jegg-editor-empty { color: #757575; font-size: 18px; padding: 60px 0; text-align: center; }

@media (max-width: 767px) {
  .jegg-editor-cols { display: block; }
  .jegg-editor-side { margin-bottom: 18px; }
}

.jegg-404-body {
  align-items: center;
  background-color: #f2f4f5;
  color: #191919;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  padding: 24px 12px;
}
.jegg-404-page {
  background-color: #fff;
  border: 1px solid #e3e3e3;
  margin: 0 auto;
  max-width: 560px;
  padding: 40px 28px 32px;
  text-align: center;
}
.jegg-404-title {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 14px;
}
.jegg-404-code {
  color: #757575;
  font-size: 14px;
  margin: 0 0 22px;
}
.jegg-404-code span {
  font-weight: 700;
}
.jegg-404-code i {
  color: #c9c9c9;
  font-style: normal;
  margin: 0 8px;
}
.jegg-404-art {
  display: block;
  height: auto;
  margin: 0 auto 6px;
  width: 190px;
}
.jegg-404-actions {
  margin-top: 28px;
}
.jegg-404-btn {
  display: inline-block;
  margin: 6px;
  min-width: 120px;
}
.jegg-404-btn {
  border-radius: 4px;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 34px;
  margin: 6px;
  min-width: 120px;
  padding: 0 18px;
  text-align: center;
  text-decoration: none;
}
.jegg-404-btn:hover,
.jegg-404-btn:focus {
  text-decoration: none;
}
.jegg-404-btn-back {
  background: #fff;
  border: 1px solid #b8b8b8;
  color: #393939;
}
.jegg-404-btn-back:hover {
  background: #f2f2f2;
  color: #393939;
}
.jegg-404-btn-home {
  background: #565b5e;
  border: 1px solid #565b5e;
  color: #fff !important;
}
.jegg-404-btn-home:hover {
  background: #43484a;
  color: #fff !important;
}

.jegg-launch-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1000;
}
.jegg-launch-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
  width: 340px;
  max-width: 90vw;
  padding: 28px 32px 24px;
  text-align: center;
}
.jegg-launch-close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 20px;
  line-height: 1;
  color: #b8b8b8;
  text-decoration: none;
}
.jegg-launch-close:hover { color: #666; }
.jegg-launch-logo {
  width: 44px;
  height: 44px;
  
  filter: invert(1);
  margin-bottom: 14px;
}
.jegg-launch-title {
  font-size: 16px;
  font-weight: 600;
  color: #191919;
  margin: 0 0 18px;
}
.jegg-launch-spinner { width: 32px; height: 32px; }

.jegg-friends {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  padding: 0 0 6px;
}
.jegg-friend {
  flex: 0 0 auto;
  text-align: center;
  width: 104px;
}
.jegg-friend-link,
.jegg-friend-link:hover,
.jegg-friend-link:focus,
.jegg-friend-link:visited { color: #191919; text-decoration: none; }
.jegg-friend-avatar {
  background: #f2f4f5;
  border-radius: 50%;
  display: block;
  height: 88px;
  margin: 0 auto 4px;
  overflow: hidden;
  width: 88px;
}

.jegg-friend-avatar.is-online { box-shadow: 0 0 0 2px #02b757; }
.jegg-friend-avatar .jegg-avatar-render,
.jegg-friend-avatar img { display: block; height: 100%; width: 100%; }
.jegg-friend-name {
  display: block;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jegg-friend-place {
  color: #757575;
  display: block;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jegg-friend-join { display: inline-block; margin-top: 4px; }
.jegg-friends .container-empty { float: none; width: 100%; }

.jegg-friend-row-actions { display: flex; gap: 6px; }
.jegg-friend-row-actions form { margin: 0; }

.jegg-profile-head { align-items: flex-start; display: flex; gap: 18px; }
.jegg-profile-main { flex: 1 1 auto; }
.jegg-profile-head h1 { margin: 0 0 3px; }
.jegg-profile-status { margin: 0 0 9px; }
.jegg-profile-ban { color: #e2231a; margin: 0 0 9px; }
.jegg-profile-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.jegg-profile-actions form { margin: 0; }
.jegg-profile-desc { margin: 0; white-space: pre-wrap; word-wrap: break-word; }
.jegg-profile-desc-input { display: block; width: 100%; }

@media (max-width: 543px) {
  .jegg-profile-head { flex-direction: column; text-align: center; }
  .jegg-profile-actions { justify-content: center; }
}

.rbx-header .rbx-navbar-search { float: left; margin-bottom: 0; }
.rbx-header .rbx-navbar-search .dropdown-menu { margin-top: 2px; }
.rbx-header .rbx-navbar-search .rbx-navbar-search-anchor { display: block; }
.rbx-header .rbx-navbar-search .input-addon-btn { padding: 0 4px; }
.jegg-search-tabs { margin-bottom: 12px; }
.jegg-search-tabs .rbx-tab.active .rbx-tab-heading { box-shadow: 0 -3px 0 0 #00A2FF inset; }

.jegg-tshirt-thumb {
  box-sizing: border-box;
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 9px;
  width: 100%;
}
.jegg-item-texture {
  background-color: #f2f2f2;
  border: 1px solid #E3E3E3;
  border-radius: 3px;
  margin-top: 12px;
  padding: 9px;
}
.jegg-item-texture img { display: block; margin: 0 auto; max-width: 100%; }
.jegg-catalog-tabs { margin-bottom: 12px; }

.jegg-catalog { display: flex; align-items: flex-start; gap: 18px; }
.jegg-catalog-main { flex: 1; min-width: 0; }
.jegg-catalog-hint { margin: 0 0 12px; }

.jegg-filters {
  border-right: 1px solid #e3e3e3;
  flex: 0 0 168px;
  padding-right: 14px;
}
.jegg-filters-title { color: #191919; font-size: 22px; font-weight: 300; margin: 0 0 10px; }
.jegg-filter-group { margin-bottom: 14px; }
.jegg-filter-head { color: #757575; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.jegg-filter-list { list-style: none; margin: 0; padding: 0; }
.jegg-filter-list li { line-height: 20px; }
.jegg-filter-list a { color: #191919; font-size: 13px; text-decoration: none; }
.jegg-filter-list li.active a { color: #02b757; font-weight: 700; }
.jegg-radio { display: block; font-size: 13px; line-height: 20px; }
.jegg-radio input { margin-right: 5px; vertical-align: middle; }

.jegg-filter-range { margin: 3px 0 3px 18px; }
.jegg-filter-range .input-field {
  display: block; font-size: 12px; height: 22px;
  margin-bottom: 3px; padding: 2px 6px; width: 96px;
}
.jegg-filter-go { display: block; }

.jegg-catalog-grid { display: flex; flex-wrap: wrap; gap: 4px 6px; }

.jegg-card-sales {
  color: #757575; display: flex; font-size: 12px;
  justify-content: space-between; padding: 0 6px;
}
.jegg-card-sales-n { color: #e2231a; font-weight: 700; }
.jegg-flag-off { background: #757575; }

.jegg-pager { margin: 14px 0 4px; text-align: center; }
.jegg-pager-btn {
  border: 1px solid #b8b8b8; border-radius: 3px; color: #191919;
  display: inline-block; font-size: 14px; line-height: 22px;
  min-width: 24px; text-align: center; text-decoration: none;
}
.jegg-pager-btn.disabled { color: #b8b8b8; }
.jegg-pager-pos { color: #757575; font-size: 13px; margin: 0 10px; }

@media (max-width: 767px) {
  .jegg-catalog { display: block; }
  .jegg-filters { border-right: 0; margin-bottom: 12px; padding-right: 0; }
}

/* ===================================================================
   Mobile optimization
   =================================================================== */

/* Гамбургер-меню: кнопка в шапке, видимая только на xs (<768px). */
.jegg-nav-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  display: none;
  float: right;
  height: 30px;
  margin: 12px 8px 0;
  padding: 0;
  width: 36px;
}
.jegg-nav-toggle .jegg-nav-bar {
  background: #fff;
  display: block;
  height: 3px;
  margin: 4px 0;
  transition: transform 200ms ease, opacity 200ms ease;
  width: 100%;
}
.jegg-nav-toggle.jegg-nav-toggle-open .jegg-nav-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.jegg-nav-toggle.jegg-nav-toggle-open .jegg-nav-bar:nth-child(2) { opacity: 0; }
.jegg-nav-toggle.jegg-nav-toggle-open .jegg-nav-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 767px) {
  .jegg-nav-toggle { display: block; }
}

/* Выпадающая панель навигации под шапкой. */
.jegg-nav-panel {
  background: #fff;
  border-bottom: 3px solid #02b757;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
  display: none;
  left: 0;
  padding: 6px 0 12px;
  position: fixed;
  right: 0;
  top: 80px;
  z-index: 1010;
}
.jegg-nav-panel:not([hidden]) { display: block; }
@media (min-width: 768px) {
  .jegg-nav-panel,
  .jegg-nav-panel:not([hidden]) { display: none !important; }
}
.jegg-nav-panel-user {
  align-items: center;
  border-bottom: 1px solid #e3e3e3;
  color: #191919 !important;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  gap: 6px;
  padding: 8px 18px;
  text-decoration: none;
}
.jegg-nav-panel-user:hover,
.jegg-nav-panel-user:focus { background: #f2f4f5; text-decoration: none; }
.jegg-nav-panel-robux { margin-right: 4px; }
.jegg-nav-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jegg-nav-panel-list li { border-bottom: 1px solid #f2f4f5; }
.jegg-nav-panel-list li:last-child { border-bottom: 0; }
.jegg-nav-panel-list a {
  color: #191919;
  display: block;
  font-size: 16px;
  padding: 10px 18px;
  text-decoration: none;
}
.jegg-nav-panel-list a:hover,
.jegg-nav-panel-list a:focus {
  background: #f2f4f5;
  text-decoration: none;
}

@media (max-width: 767px) {
  /* Главная проблема: .no-gutter-ads.logged-in .content имеет margin-left:175px
     на всех размерах экрана. На телефоне это съедает половину экрана.
     Роблокс 2018 скрывал левую колонку на xs, делаем так же. */
  .no-gutter-ads.logged-in .content { margin-left: auto; margin-right: auto; }

  /* Шапка 80px на мобильных; панель навигации прикреплена к top:80px. */
  .jegg-nav-panel { top: 80px; }
  body.has-announcement .jegg-nav-panel { top: 118px; }

  /* Уменьшаем размер логотипа на маленьких экранах, чтобы помещался поиск. */
  .jegg-brand { font-size: 22px; }

  /* Поиск в шапке: делаем шире, чтобы не обрезался. */
  .rbx-header .rbx-navbar-search { float: right; width: calc(100% - 130px); }
  .rbx-header .rbx-navbar-search .input-field { font-size: 16px; }

  /* Кнопки и интерактивные элементы — минимум 44px для тапа (Apple HIG). */
  .rbx-navbar-right-nav li .nav-menu-title { padding: 10px 12px; }
  .btn-primary-xs,
  .btn-control-xs,
  .btn-alert-xs,
  .btn-secondary-xs { padding: 7px 10px; font-size: 14px; min-height: 36px; }

  /* Контейнер-лист: убираем боковые padding, контент на весь экран. */
  .container-list { padding: 0 8px; }
  .section .container-header,
  .section-header { padding: 0 8px; }
  .section-content { padding: 10px 8px; }

  /* Карточки плейсов: 2 в ряд на телефоне вместо горизонтального скролла. */
  .container-list .game-cards,
  .game-grid .game-cards {
    overflow: visible;
    white-space: normal;
  }
  .jegg-popular,
  .jegg-popular .game-card,
  .games.game-cards-grid,
  .games.game-cards-grid .game-card {
    white-space: normal;
  }
  .jegg-popular .game-card,
  .games.game-cards-grid .game-card {
    display: inline-block;
    float: none;
    margin: 0;
    padding: 0 4px 8px;
    vertical-align: top;
    width: 50%;
  }
  .jegg-popular .game-card-container,
  .games.game-cards-grid .game-card .game-card-container {
    width: 100%;
  }
  .jegg-popular .game-card-thumb-container,
  .games.game-cards-grid .game-card-thumb-container {
    height: auto;
    width: 100%;
  }

  /* Карточки скинов/каталога: 2 в ряд. */
  .jegg-skins .game-card { width: calc(50% - 4px); }
  .jegg-skins .jegg-skin-thumb { height: 120px; }

  /* Сетка каталога: 2 в ряд. */
  .jegg-catalog-grid { gap: 6px; }
  .jegg-catalog-grid .game-card { width: calc(50% - 3px); }
  .jegg-catalog-grid .jegg-skin-thumb { height: 120px; }

  /* Таблица плейсов: превращаем в вертикальный список карточек. */
  .jegg-table thead { display: none; }
  .jegg-table,
  .jegg-table tbody,
  .jegg-table tr,
  .jegg-table td { display: block; width: 100%; }
  .jegg-table tr {
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 8px;
    padding: 8px 0;
  }
  .jegg-table td {
    border: 0;
    padding: 3px 0;
    text-align: left;
  }
  .jegg-table td.jegg-actions {
    text-align: left;
    padding-top: 6px;
  }
  .jegg-table .jegg-actions form { margin-left: 0; margin-right: 3px; }

  /* Таблицы ledger/mod: горизонтальный скролл как запасной вариант. */
  .jegg-ledger,
  .jegg-mod-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  /* Модерация: таблицы активности — горизонтальный скролл. */
  .jegg-mod-activity-table { font-size: 12px; }
  .jegg-mod-activity-table th,
  .jegg-mod-activity-table td { padding-right: 6px; }

  /* Модерация: столбцы активности идут вертикально на узком экране. */
  .jegg-mod-activity .col-md-6 + .col-md-6 { margin-top: 20px; }

  /* Форма бана: поля переносятся. */
  .jegg-ban-form { flex-direction: column; align-items: stretch; gap: 6px; }
  .jegg-ban-reason,
  .jegg-ban-amount,
  .jegg-ban-unit { width: 100%; }
  .jegg-ban-form .btn-primary-xs { margin-top: 4px; }

  /* Поиск модерации и создание аккаунта — вертикально. */
  .jegg-mod-search { flex-direction: column; max-width: 100%; }
  .jegg-mod-search .input-field,
  .jegg-mod-search .btn-secondary-md { width: 100%; }

  /* Кнопки в строке действий: переносятся. */
  .jegg-profile-actions { flex-direction: column; }
  .jegg-profile-actions form,
  .jegg-profile-actions a { text-align: center; }

  /* Страница плейса: превью на всю ширину, без бокового блока. */
  .jegg-place-thumb { flex: none; margin-bottom: 12px; }
  .jegg-place-play { max-width: 100%; }
  .jegg-place-stats { padding: 8px; }
  .jegg-place-stats li { flex: 1 1 50%; padding: 4px 8px; }

  /* Приветствие на главной: аватар сверху, текст снизу. */
  .jegg-greeting { gap: 12px; }
  .jegg-greeting .jegg-avatar { max-width: 120px; }

  /* Друзья: карточки меньше, чтобы помещались. */
  .jegg-friend { width: 80px; }
  .jegg-friend-avatar { height: 64px; width: 64px; }
  .jegg-friend-name { font-size: 11px; }

  /* Редактор скинов: колонки вертикально. */
  .jegg-editor-cols { display: block; }
  .jegg-editor-side { margin-bottom: 18px; }
  .jegg-editor-preview { height: 220px; }
  .jegg-editor-tabs { flex-direction: column; align-items: flex-start; gap: 6px; }
  .jegg-editor-tabs .menu-option { gap: 12px; }

  /* Каталог: фильтры сворачиваются поверх, без border-right. */
  .jegg-filters { border-right: 0; padding-right: 0; }

  /* Пейджер: кнопки крупнее для тапа. */
  .jegg-pager-btn { line-height: 28px; min-width: 32px; }
  .jegg-pager-pos { display: block; margin: 6px 0; }

  /* Клиент-бар: текст и кнопка вертикально. */
  .jegg-client-bar { display: block; }
  .jegg-client-bar .btn-primary-md {
    display: block;
    margin-top: 10px;
    text-align: center;
  }

  /* Окно запуска: меньше, с учётом safe-area. */
  .jegg-launch-modal {
    padding: 20px 18px 18px;
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  /* Бета-уведомление: на весь экран с отступами. */
  .jegg-beta-notice-dialog { width: 100%; max-width: calc(100vw - 24px); }

  /* Футер: компактнее. */
  .footer .footer-links { flex-wrap: wrap; }
  .footer .footer-link { margin-bottom: 4px; }

  /* Формы: поля крупнее для тапа (16px — против iOS auto-zoom). */
  .jegg-form .input-field { font-size: 16px; min-height: 44px; }
  .jegg-form textarea.input-field { min-height: 80px; }
  .form-control { font-size: 16px; }

  /* Бан-страница: меньше отступы. */
  .jegg-ban-page { padding: 18px 14px 20px; }
  .jegg-ban-title { font-size: 26px; }

  /* 404 страница: компактнее. */
  .jegg-404-page { padding: 32px 14px 24px; }
  .jegg-404-title { font-size: 24px; }

  /* Редактор цен: поля вертикально. */
  .jegg-price-edit { flex-direction: column; align-items: stretch; }
  .jegg-price-edit .input-field { width: 100%; }
}

/* Очень узкие экраны (телефоны в портрете <400px): 1 карточка в ряд. */
@media (max-width: 399px) {
  .jegg-popular .game-card,
  .games.game-cards-grid .game-card { width: 100%; }
  .jegg-skins .game-card,
  .jegg-catalog-grid .game-card { width: 100%; }
}

/* Альбомная ориентация на телефоне: чуть больше пространства. */
@media (max-width: 991px) and (orientation: landscape) {
  .jegg-launch-modal { max-width: 400px; }
}

/* Убираём тап-задержку на современных мобильных. */
@media (hover: none) and (pointer: coarse) {
  .rbx-navbar-right-nav li .nav-menu-title:hover,
  .rbx-navbar-right-nav li .nav-menu-title:focus {
    background-color: transparent;
  }
}

/* Предотвращаем случайный зум при двойном тапе на кнопках. */
button,
.btn-primary-xs,
.btn-control-xs,
.btn-alert-xs,
.btn-secondary-xs,
.btn-primary-md,
.btn-secondary-md,
.btn-control-md,
.btn-alert-md {
  touch-action: manipulation;
}

/* Изображения никогда не вылезают за экран. */
img { max-width: 100%; height: auto; }
