body {
  margin: 0;
  /* color/background come from legacy/bestanden/style.css (IG) */
}

.auth-body {
  min-height: 100vh;
  background-color: #0b0d14;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(80, 20, 30, 0.35), transparent 55%),
    url(/legacy/images/background.png);
  background-repeat: no-repeat, repeat;
  background-size: 100% 420px, auto;
}

/* Login / register: solid black like IG so banner edges blend (no blue damask) */
html:has(body.auth-page),
body.auth-page {
  margin: 0;
  min-height: 100vh;
  color: #c0c0c0;
  background-color: #000000 !important;
  background-image: none !important;
  text-align: center;
}

body.auth-page .auth-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 40px;
  box-sizing: border-box;
  text-align: center;
}

body.auth-page .auth-hero {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border: 0;
}

body.auth-page .auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px 0;
}

body.auth-page .auth-panel .tblout {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

body.auth-page .validation,
body.auth-page .validation-summary-errors {
  text-align: center;
}

body.auth-page .validation ul,
body.auth-page .validation-summary-errors ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

body.auth-page .auth-footer-links {
  margin-top: 16px;
  text-align: center;
}

body.auth-page .auth-footer-links a {
  color: #6699cc;
  margin: 0 8px;
  text-decoration: none;
}

body.auth-page .auth-footer-links a:hover {
  color: #99ccff;
  text-decoration: underline;
}

.auth-shell {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 12px 40px;
  box-sizing: border-box;
}

.auth-banner-frame {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  border: 1px solid #6f7b9a;
  box-shadow:
    0 0 0 1px #1a1a22,
    0 12px 40px rgba(0, 0, 0, 0.65);
  background: #000;
}

.auth-banner {
  display: block;
  width: 720px;
  max-width: 100%;
  height: auto;
}

.auth-panel {
  display: inline-block;
}

.auth-links a {
  color: #c9c9c9;
  text-decoration: none;
  margin: 0 4px;
}

.auth-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.auth-link-sep {
  color: #666666;
  font: 10px verdana;
}

a {
  /* Match IG style.css (Silver links); do not force 10px — menu uses td 11px + unnamed5 */
  color: Silver;
  text-decoration: none;
}

a:hover {
  color: #8A96B3;
  text-decoration: none;
}

a:visited {
  color: Silver;
}

/* Match IG live layout: left 17% / center 66% / right WIDTH:0% (shrink-wrap), cellSpacing 15 */
.game-layout {
  width: 100%;
  border-collapse: separate;
  border-spacing: 15px;
}

.game-col-left {
  vertical-align: top;
  width: 17%;
}

.game-col-center {
  vertical-align: top;
  width: 66%;
}

.game-col-right {
  vertical-align: top;
  width: 0%;
}

/* Menu / playerstats: no extra compression — IG relies on style.css + crimes.css only */

.textbox {
  background-color: #ffffff;
  color: #404040;
  border: 1px solid #ffffff;
  font-size: 10px;
  font-weight: bold;
  font-family: verdana;
  padding-left: 3px;
  padding-right: 3px;
}

.button {
  background-color: #303030;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid #ffffff;
  font-size: 10px;
  font-weight: bold;
  font-family: verdana;
}

.tblin {
  font-size: 11px;
  padding: 1px;
  border-style: solid;
  border-color: #000000;
  border-width: 0;
  background-color: #400000;
  color: #ffffff;
}

.tblout {
  border: 1px solid #aaaaaa;
}

.tblhdr {
  font: 10px verdana;
  color: #ffffff;
  background-color: #400000;
  padding-left: 3px;
  padding-right: 3px;
  font-weight: bold;
}

.btext {
  font: 10px verdana;
  color: #ffffff;
  background-color: #303030;
  border: 1px solid #000000;
  padding-left: 3px;
  padding-right: 3px;
}

.btextc {
  font: 10px verdana;
  color: #ffffff;
  background-color: #303030;
  border: 1px solid #000000;
  padding-left: 3px;
  padding-right: 3px;
  text-align: center;
}

.validation {
  font: 10px verdana;
  color: #ff6666;
  margin: 0 0 10px;
}

.faq {
  font: 10px verdana, tahoma, arial, sans-serif;
  color: #cccccc;
  text-align: left;
}

.faq-header {
  text-align: center;
  margin-bottom: 16px;
}

.faq-header h1 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #aaaaaa;
}

.faq-intro {
  margin: 0 0 20px;
  line-height: 1.5;
}

.faq-alert {
  border: 1px solid #7885a7;
  background-color: #2d2d34;
  padding: 12px;
  margin: 0 0 20px;
  line-height: 1.5;
}

.faq-alert-title {
  text-align: center;
  color: #ff6666;
  font-weight: bold;
  margin-bottom: 8px;
}

.faq-quote {
  border-left: 2px solid #4466aa;
  padding-left: 10px;
  margin: 10px 0;
  color: #bbbbbb;
}

.faq-rules-list {
  margin: 12px 0 0;
  padding-left: 18px;
  line-height: 1.6;
}

.faq-section {
  margin: 24px 0;
}

.faq-section > h2 {
  margin: 0 0 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #6f7b9a;
  font-size: 13px;
  color: #ffffff;
  text-align: center;
}

.faq-entry {
  margin: 0 0 16px;
}

.faq-entry h3 {
  margin: 0 0 6px;
  font-size: 11px;
  color: #ffffff;
}

.faq-entry img {
  vertical-align: middle;
}

.faq-entry p,
.faq-entry ul,
.faq-entry ol {
  margin: 0 0 8px;
  line-height: 1.5;
}

.faq-entry ul,
.faq-entry ol {
  padding-left: 18px;
}

.faq-toc {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.faq-toc td {
  vertical-align: top;
  width: 50%;
  padding: 4px 8px 12px 0;
}

.faq-toc h3 {
  margin: 0 0 6px;
  font-size: 11px;
  color: #999999;
}

.faq-toc ul {
  margin: 0;
  padding-left: 16px;
  line-height: 1.6;
}

.faq-toc a {
  color: #ffffff;
}

.faq table.sample {
  width: 100%;
  margin: 8px 0;
}

/* Forum list styling (from original inline page styles) */
table.sample {
  width: 80%;
  margin: 0 auto;
  padding: 2px;
  border-collapse: collapse;
  border: 0;
}

table.sample td {
  border: 1px solid #3d4456;
  padding: 1px 4px;
  background-color: #000033;
  color: #999999;
  font-size: 10px;
  font-family: verdana, tahoma, arial, sans-serif;
  vertical-align: middle;
}

table.sample td.header {
  background-color: transparent;
  background-image: url(/legacy/images/tablebg.gif);
  background-repeat: repeat-x;
  color: #ffffff;
  font-size: 13px;
  font-family: verdana, tahoma, arial, sans-serif;
  height: 20px;
  border-color: #6f7b9a;
}

table.sample td:last-child {
  width: 36px;
  text-align: right;
  white-space: nowrap;
}

table.sample a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

table.sample a:hover {
  text-decoration: underline;
}

div.s1,
a.s1 {
  color: #999999;
  display: inline;
}

/* Opt-in mobile shell. Desktop remains the default, including on phones. */
.mobile-only {
  display: none;
}

@media screen and (max-width: 768px) {
  html:has(body.mobile-layout-enabled) {
    max-width: 100%;
    overflow-x: clip;
  }

  body.mobile-layout-enabled {
    max-width: 100%;
    padding: 0 0 calc(52px + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  body.mobile-layout-enabled.mobile-no-scroll {
    overflow: hidden;
  }

  body.mobile-layout-enabled .mobile-only {
    display: block;
  }

  body.mobile-layout-enabled .mobile-top-bar {
    position: sticky;
    z-index: 60;
    top: 0;
    display: grid;
    grid-template-columns: minmax(72px, 1fr) minmax(0, 2fr) minmax(72px, 1fr);
    align-items: stretch;
    padding-top: env(safe-area-inset-top);
    color: #fff;
    background: #000033;
    border-bottom: 1px solid #6f7b9a;
  }

  body.mobile-layout-enabled .mobile-top-trigger {
    min-height: 38px;
    padding: 7px 9px;
    color: #aeb9d5;
    font: bold 11px verdana, tahoma, sans-serif;
    text-align: left;
    background: #202027;
    border: 0;
    cursor: pointer;
  }

  body.mobile-layout-enabled .mobile-top-trigger-stats {
    text-align: right;
  }

  body.mobile-layout-enabled .mobile-page-title {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 6px;
    font: bold 11px verdana, tahoma, sans-serif;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  body.mobile-layout-enabled .game-shell,
  body.mobile-layout-enabled .game-shell > table,
  body.mobile-layout-enabled .game-shell > table > tbody,
  body.mobile-layout-enabled .game-shell > table > tbody > tr,
  body.mobile-layout-enabled .game-shell > table > tbody > tr > td,
  body.mobile-layout-enabled table.game-layout,
  body.mobile-layout-enabled table.game-layout > tbody,
  body.mobile-layout-enabled table.game-layout > tbody > tr {
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  body.mobile-layout-enabled table.game-layout {
    border-spacing: 0;
  }

  body.mobile-layout-enabled td.game-col-center {
    display: block;
    width: 100% !important;
    min-width: 0;
    padding: 4px !important;
    box-sizing: border-box;
  }

  body.mobile-layout-enabled td.game-col-left,
  body.mobile-layout-enabled td.game-col-right {
    position: fixed;
    z-index: 72;
    top: env(safe-area-inset-top);
    bottom: calc(52px + env(safe-area-inset-bottom));
    display: block;
    visibility: hidden;
    width: min(84vw, 280px) !important;
    max-width: 280px;
    padding: 0 !important;
    background: #15151c;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  body.mobile-layout-enabled td.game-col-left {
    left: 0;
    transform: translateX(-105%);
  }

  body.mobile-layout-enabled td.game-col-right {
    right: 0;
    transform: translateX(105%);
  }

  body.mobile-layout-enabled td.game-col-left.open,
  body.mobile-layout-enabled td.game-col-right.open {
    visibility: visible;
    transform: translateX(0);
  }

  body.mobile-layout-enabled .mobile-drawer-head {
    position: sticky;
    z-index: 2;
    top: 0;
    min-height: 34px;
    padding: 5px 7px;
    box-sizing: border-box;
    color: #fff;
    font: 11px verdana, tahoma, sans-serif;
    text-align: left;
    background: #000033;
    border-bottom: 1px solid #6f7b9a;
  }

  body.mobile-layout-enabled .mobile-drawer-head button {
    float: right;
    color: #fff;
    font: 10px verdana, tahoma, sans-serif;
    background: #303038;
    border: 1px solid #626262;
  }

  body.mobile-layout-enabled .mobile-drawer > .spacer {
    width: 100%;
    margin: 0;
  }

  body.mobile-layout-enabled .mobile-drawer .menumain > div > table {
    width: 92%;
  }

  body.mobile-layout-enabled .mobile-overlay {
    position: fixed;
    z-index: 65;
    inset: 0 0 calc(52px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
  }

  body.mobile-layout-enabled .mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-layout-enabled .mobile-bottom-nav {
    position: fixed;
    z-index: 75;
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
    background: #000033;
    border-top: 1px solid #6f7b9a;
  }

  body.mobile-layout-enabled .mobile-bottom-nav.mobile-only {
    display: grid;
  }

  body.mobile-layout-enabled .mobile-bottom-nav button {
    min-width: 0;
    min-height: 51px;
    padding: 8px 2px;
    color: #aeb9d5;
    font: 10px verdana, tahoma, sans-serif;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: #202027;
    border: 0;
    border-right: 1px solid #3d4456;
    overflow: hidden;
  }

  body.mobile-layout-enabled .mobile-bottom-nav button.active {
    color: #fff;
    background: #400000;
  }

  body.mobile-layout-enabled .mobile-bottom-submenu {
    position: fixed;
    z-index: 73;
    right: 0;
    bottom: calc(52px + env(safe-area-inset-bottom));
    left: 0;
    max-height: 55vh;
    display: none;
    background: #15151c;
    border: 1px solid #6f7b9a;
    overflow-y: auto;
  }

  body.mobile-layout-enabled .mobile-bottom-submenu.open {
    display: block;
  }

  body.mobile-layout-enabled .mobile-submenu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mobile-layout-enabled .mobile-submenu-links a {
    min-height: 42px;
    padding: 12px 10px;
    box-sizing: border-box;
    color: silver;
    font: 11px verdana, tahoma, sans-serif;
    text-align: left;
    background: #2d2d34;
    border: 1px solid #15151c;
  }

  body.mobile-layout-enabled .game-col-center .captionleft,
  body.mobile-layout-enabled .game-col-center .captionend,
  body.mobile-layout-enabled .game-col-center .captionmain,
  body.mobile-layout-enabled .game-col-center .captionright,
  body.mobile-layout-enabled .game-col-center .bodyleft,
  body.mobile-layout-enabled .game-col-center .bodyright,
  body.mobile-layout-enabled .game-col-center .bottomleft,
  body.mobile-layout-enabled .game-col-center .bottomright {
    display: none;
  }

  body.mobile-layout-enabled .game-col-center .captionbar,
  body.mobile-layout-enabled .game-col-center .bodymain,
  body.mobile-layout-enabled .game-col-center .bodymainn,
  body.mobile-layout-enabled .game-col-center .bottommain {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }

  body.mobile-layout-enabled .mobile-page-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.mobile-layout-enabled .mobile-page-content img {
    max-width: 100%;
    height: auto;
  }

  body.mobile-layout-enabled .mobile-page-content input,
  body.mobile-layout-enabled .mobile-page-content select,
  body.mobile-layout-enabled .mobile-page-content textarea {
    max-width: 100%;
    box-sizing: border-box;
  }

  body.mobile-layout-enabled .mobile-page-content textarea {
    width: min(100%, 560px);
  }
}

div.s2 {
  color: #777777;
  display: inline;
}

.bodymain .tbox {
  background-color: #414141;
  border: 1px solid #626262;
  border-top-color: #040404;
  border-left-color: #040404;
  color: silver;
  font-family: verdana, tahoma, arial, sans-serif;
  font-size: 10px;
}

.bodymain form {
  margin-top: 10px;
  font-size: 10px;
  color: #999999;
}

.crime-row {
  margin: 2px 0;
  line-height: 1.6;
}

.bj-card {
  height: 96px;
  width: 71px;
  vertical-align: top;
  border-radius: 4px;
  margin: 0 4px 4px 0;
}

.bj-action {
  display: block;
  margin: 13px auto 0;
  min-width: 130px;
  padding: 7px 15px;
  font-size: 14px;
}

.roulette-square {
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  font-size: 28px;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  margin-bottom: 8px;
}

.crime-outcomes {
  color: #ffffff;
  text-align: center;
}

.crime-outcome {
  margin: 0 0 10px;
}

.crime-success-image {
  max-width: min(560px, 100%);
  width: 100%;
  height: auto;
  border: 0;
}

.crime-hint {
  color: #777777;
  font-size: 9px;
}

.crime-counter {
  color: #999999;
  margin: 0 6px;
}

.inbox-empty {
  color: #999999;
  padding: 12px;
}

img.autosize {
  /* Match IG: crime banners (~655px) and car photos (~580px) display large */
  max-width: min(580px, 100%);
  height: auto;
  border: 0;
}

img.autosize.crime-success-image {
  display: block;
  margin: 0 auto;
  width: min(655px, 100%);
  max-width: min(655px, 100%);
  height: auto;
  aspect-ratio: 655 / 239;
  object-fit: cover;
  background: #121010;
  border: 0;
}

img.gta-car-image {
  max-width: min(580px, 100%);
  height: auto;
  border: 0;
}

/* Jail / GTA / similar data tables: readable IG-style sizing */
table.ig-data-table {
  width: 75%;
  min-width: 420px;
  max-width: 640px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 2px;
}

table.ig-data-table td {
  font-size: 12px;
  font-family: verdana, tahoma, arial, sans-serif;
  padding: 4px 8px;
  vertical-align: middle;
}

table.ig-data-table td.header,
table.ig-data-table .header {
  font-size: 13px;
}

table.ig-data-table .unnamed1 {
  font-size: 12px;
  font-family: verdana, tahoma, arial, sans-serif;
  color: #999999;
}

table.ig-data-table a,
table.ig-data-table a:visited {
  color: #999999;
  font-size: 12px;
  font-family: verdana, tahoma, arial, sans-serif;
}

table.ig-data-table a:hover {
  color: #c0c0c0;
}

/* Infamous Gangsters-style inbox */
.ig-inbox {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ig-inbox-find {
  margin-bottom: 8px;
}

.ig-inbox-toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin: 0 0 12px auto;
  width: 100%;
  max-width: 140px;
  float: right;
}

.ig-inbox-main {
  width: 100%;
  clear: both;
}

.ig-inbox-empty {
  color: #999999;
  padding: 16px 0 24px;
  font-size: 11px;
}

.ig-inbox-bar {
  width: 100%;
  margin: 0 0 14px;
  text-align: left;
}

.ig-inbox-bar-frame {
  position: relative;
  border: 1px solid #8b93a8;
  border-radius: 2px;
  background: linear-gradient(180deg, #3a3d48 0%, #2b2d35 12%, #24262d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.35);
  padding: 0 10px 8px;
  min-height: 52px;
}

.ig-inbox-bar-top {
  position: relative;
  min-height: 18px;
  margin-bottom: 6px;
}

.ig-inbox-sender-tab {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: stretch;
  height: 18px;
  border: 1px solid #6f7688;
  border-top: none;
  border-left: none;
  background: linear-gradient(180deg, #4a4f5d 0%, #353944 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ig-inbox-sender-name {
  color: #00ff00;
  font-size: 10px;
  font-weight: bold;
  line-height: 18px;
  padding: 0 8px;
  white-space: nowrap;
  text-shadow: 0 0 4px rgba(0, 255, 0, 0.35);
}

.ig-inbox-notch {
  display: inline-block;
  width: 3px;
  margin-top: 2px;
  margin-right: 1px;
  height: 14px;
  background: linear-gradient(90deg, #5f6678 0%, #888fa0 45%, #4d5362 100%);
  border-left: 1px solid #2a2d34;
  border-right: 1px solid #707888;
}

.ig-inbox-check {
  position: absolute;
  top: 2px;
  right: 0;
  margin: 0;
}

.ig-inbox-bar-body {
  color: #ffffff;
  font-size: 11px;
  line-height: 1.45;
  padding: 2px 4px 6px;
}

.ig-inbox-bar-body .ig-inbox-achievement {
  text-align: center;
  color: #dddddd;
}

.ig-inbox-bar-body .ig-inbox-achievement .achievement-badge {
  margin: 4px auto 10px;
}

.ig-inbox-bar-foot {
  padding-top: 2px;
  font-size: 10px;
}

.ig-inbox-link {
  color: #999999;
  margin-right: 10px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.ig-inbox-unread .ig-inbox-sender-name {
  font-weight: bold;
}

.ig-inbox-read {
  opacity: 0.92;
}

.ig-inbox-bottom-actions {
  margin-top: 8px;
}

.ig-inbox-toolbar .tbox,
.ig-inbox-bottom-actions .tbox {
  min-width: 118px;
}

.inbox-message {
  width: 92%;
  max-width: 520px;
  margin: 0 auto 8px;
  border: 1px solid #7885a7;
  background-color: #2d2d34;
  text-align: left;
}

.inbox-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  border-bottom: 1px solid #4a5168;
}

.inbox-sender {
  background-color: #1f5f2a;
  color: #b8f0c0;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: bold;
}

.inbox-message-body {
  padding: 14px 12px;
  color: #cccccc;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.inbox-message-footer {
  padding: 6px 10px 8px;
  font-size: 10px;
}

.inbox-action {
  color: #999999;
  cursor: default;
}

.inbox-action-muted {
  color: #666666;
}

.inbox-action-sep {
  color: #555555;
  margin: 0 6px;
}

.inbox-promotion {
  text-align: left;
  color: #ffffff;
}

.inbox-achievement {
  color: #cccccc;
}

.achievement-badge {
  --badge-accent: #d4af37;
  --badge-number: #f3e6b0;
  --badge-label: #c9a84a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.22) 0%, transparent 28%),
    radial-gradient(circle at 50% 48%, #2a2a33 0%, #121218 58%, #050507 100%);
  border: 3px solid var(--badge-accent);
  box-shadow:
    0 0 0 2px #1a1408,
    0 0 0 4px rgba(212, 175, 55, 0.35),
    inset 0 0 14px rgba(0, 0, 0, 0.75),
    0 4px 14px rgba(0, 0, 0, 0.55);
  font-family: Georgia, "Times New Roman", serif;
}

.achievement-badge::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 220, 120, 0.35);
  pointer-events: none;
}

.achievement-badge-number {
  display: block;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  line-height: 0.95;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  color: var(--badge-number);
  text-shadow:
    0 1px 0 #000,
    0 0 10px rgba(243, 230, 176, 0.4);
}

.achievement-badge-category {
  display: block;
  position: relative;
  z-index: 1;
  margin: 3px 0 0;
  padding: 0;
  line-height: 1;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: var(--badge-label);
  font-weight: 700;
  text-transform: uppercase;
  font-family: Verdana, Geneva, sans-serif;
  text-shadow: 0 1px 0 #000;
}

.achievement-badge-crimes {
  --badge-accent: #c9a227;
  --badge-number: #f0d978;
  --badge-label: #e0c35a;
}

.achievement-badge-gta {
  --badge-accent: #6eb8c9;
  --badge-number: #c7eef7;
  --badge-label: #8fd0de;
}

.achievement-badge-jail {
  --badge-accent: #c45c6a;
  --badge-number: #f3b4bc;
  --badge-label: #e08a95;
}

.achievement-badge-sm {
  width: 28px;
  height: 28px;
  border-width: 2px;
  box-shadow:
    0 0 0 1px #1a1408,
    0 0 0 2px rgba(212, 175, 55, 0.35),
    inset 0 0 6px rgba(0, 0, 0, 0.7);
  vertical-align: middle;
  display: inline-flex;
  margin: 0 2px 0 6px;
}

.achievement-badge-sm::before {
  inset: 2px;
}

.achievement-badge-sm .achievement-badge-number {
  font-size: 10px;
  line-height: 1;
}

.achievement-badge-sm .achievement-badge-category {
  display: none;
}

.profile-badge {
  display: inline-block;
  vertical-align: middle;
}

.helpbox {
  display: none;
  text-align: left;
  color: #999999;
  font: 10px verdana;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid #7885A7;
  background-color: #1a1a2e;
}

.helpbox ul {
  margin: 8px 0;
  padding-left: 20px;
}

table.sample {
  padding: 2px;
  border-bottom: 0 solid #3D4456;
  border-left: 0 solid #7885A7;
  border-right: 0 solid #3D4456;
  border-top: 0 solid #6F7B9A;
}

table.sample td {
  border-width: 1px;
  padding: 1px;
  background-color: #000033;
  color: #999999;
}

div.s1,
a.s1 {
  color: #999999;
  display: inline;
}

