/* RJBET77 official shell. Near-black violet ground, chrome wordmark, gold kept for money.
   Static stylesheet: the build does NOT regenerate this file. */

:root {
  --bg: #0d0718;
  --panel: #17102b;
  --panel2: #1f1738;
  --raise: #271d44;
  --line: #312650;
  --tx: #efecf8;
  --mut: #a79fc4;
  --vio: #8b3df0;
  --vio-d: #5b21b6;
  --vio-l: #b47cff;
  --gold: #e8b22e;
  --gold-d: #b9871a;
  --ok: #34d399;
  --chrome: linear-gradient(135deg, #f4f2ff 0%, #b9b4cf 45%, #75708c 100%);
  --r: 14px;
  --r-s: 9px;
  --bar: 58px;
  --w: 1200px;
}

* { box-sizing: border-box; }

html {
  /* body-only overflow-x:hidden fools Chromium but not iOS; clip on html is the one that holds. */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 16px/1.68 "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  /* the fixed bar and the sticky CTA only exist below 861px, so only reserve room for them there */
  padding-bottom: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--vio-l); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.26; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4.4vw, 42px); }
h2 { font-size: clamp(21px, 2.9vw, 30px); }
h3 { font-size: clamp(17px, 2.1vw, 21px); }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin: 0 0 .45em; }
:focus-visible { outline: 3px solid var(--vio-l); outline-offset: 2px; border-radius: 4px; }

/* ---------------------------------------------------------------- buttons */
.rj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: filter .15s, transform .15s;
}
.rj-btn:hover { text-decoration: none; filter: brightness(1.1); }
.rj-btn:active { transform: translateY(1px); }
.rj-btn.p {
  background: linear-gradient(135deg, var(--vio-l), var(--vio) 55%, var(--vio-d));
  color: #fff;
  box-shadow: 0 6px 20px rgba(139, 61, 240, .34);
}
.rj-btn.g {
  background: linear-gradient(135deg, #f6d169, var(--gold) 52%, var(--gold-d));
  color: #241703;
  box-shadow: 0 6px 20px rgba(232, 178, 46, .26);
}
.rj-btn.o { background: transparent; border-color: var(--vio); color: var(--vio-l); }
.rj-btn.lg { min-height: 50px; padding: 13px 26px; font-size: 16px; }

/* ---------------------------------------------------------------- header */
.rj-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 7, 24, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(9px);
}
.rj-head .bar {
  max-width: var(--w);
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.rj-burger {
  display: none;
  background: var(--panel2);
  color: var(--tx);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 19px;
  cursor: pointer;
  flex: 0 0 auto;
}
.rj-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  flex: 0 1 auto;
}
.rj-logo:hover { text-decoration: none; }
.rj-logo svg { width: 40px; height: 40px; flex: 0 0 auto; min-width: 0; }
.rj-logo .wm { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.rj-logo .wm b {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .06em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.rj-logo .wm small {
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--mut);
  white-space: nowrap;
}
.rj-acct { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.rj-lang { display: flex; gap: 2px; background: var(--panel2); border-radius: 999px; padding: 3px; }
.rj-lang a {
  display: block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mut);
  white-space: nowrap;
}
.rj-lang a:hover { text-decoration: none; color: var(--tx); }
.rj-lang a.on { background: var(--vio); color: #fff; }
.rj-acct .rj-btn { min-height: 38px; padding: 8px 15px; font-size: 13.5px; }

.rj-menu {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 16px 9px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rj-menu::-webkit-scrollbar { display: none; }
.rj-menu a {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--mut);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.rj-menu a:hover { text-decoration: none; color: var(--tx); border-color: var(--vio); }

.rj-tick {
  background: linear-gradient(90deg, var(--vio-d), #2a1152 60%, var(--vio-d));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.rj-tick p {
  margin: 0;
  padding: 6px 16px;
  font-size: 12.5px;
  color: #e6dcff;
  white-space: nowrap;
  animation: rjtick 34s linear infinite;
}
@keyframes rjtick { from { transform: translateX(16px); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .rj-tick p { animation: none; white-space: normal; }
}

/* ---------------------------------------------------------------- hero */
.rj-hero {
  max-width: var(--w);
  margin: 22px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}
.rj-hero .tx { min-width: 0; }
.rj-hero > img {
  min-width: 0;
  border-radius: var(--r);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.eb {
  display: inline-block;
  margin-bottom: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(139, 61, 240, .17);
  border: 1px solid rgba(139, 61, 240, .46);
  color: var(--vio-l);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lead { color: #d6d0e8; font-size: clamp(15px, 1.8vw, 17.5px); }
.act { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.act.utl { margin: 14px 0 22px; }

.rj-trust {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  padding: 12px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
}
.rj-trust span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mut);
  line-height: 1.3;
}
.rj-trust i { font-style: normal; font-size: 19px; color: var(--gold); }

/* ---------------------------------------------------------------- six category tiles */
.rj-cats {
  max-width: var(--w);
  margin: 30px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.rj-cats .tile {
  position: relative;
  display: block;
  min-width: 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  color: inherit;
}
.rj-cats .tile:hover { text-decoration: none; border-color: var(--vio); }
.rj-cats .tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; min-width: 0; }
.rj-cats .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 13px 12px;
  background: linear-gradient(180deg, rgba(13, 7, 24, 0), rgba(13, 7, 24, .93) 62%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.rj-cats .cap b { font-size: 16px; font-weight: 800; }
.rj-cats .cap em {
  font-style: normal;
  font-size: 12px;
  color: var(--mut);
  line-height: 1.38;
}

/* ---------------------------------------------------------------- check-in strip */
.rj-checkin {
  max-width: var(--w);
  margin: 30px auto 0;
  padding: 20px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.rj-checkin .hd { max-width: 760px; }
.rj-checkin .hd h2 { margin-bottom: .3em; }
.rj-checkin .hd p { color: var(--mut); font-size: 14.5px; margin-bottom: 0; }
.rj-checkin .days {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.rj-checkin .days li {
  margin: 0;
  min-width: 0;
  padding: 11px 6px;
  border-radius: var(--r-s);
  background: var(--panel2);
  border: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rj-checkin .days li span { font-size: 10.5px; color: var(--mut); letter-spacing: .04em; }
.rj-checkin .days li b { font-size: 14px; font-weight: 800; }
.rj-checkin .days li.on { border-color: var(--ok); }
.rj-checkin .days li.on b { color: var(--ok); }
.rj-checkin .days li.top {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(232, 178, 46, .16), var(--panel2));
}
.rj-checkin .days li.top b { color: var(--gold); }

/* ---------------------------------------------------------------- pool */
.rj-pool {
  max-width: var(--w);
  margin: 30px auto 0;
  padding: 26px 16px;
  text-align: center;
  background: radial-gradient(90% 150% at 50% 0%, rgba(139, 61, 240, .28), transparent 70%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.rj-pool .jp {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}
.rj-pool .jp span { font-size: 15px; font-weight: 800; color: var(--mut); letter-spacing: .14em; }
.rj-pool .jp b {
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.rj-pool p { max-width: 640px; margin: 12px auto 16px; color: var(--mut); font-size: 14.5px; }

/* ---------------------------------------------------------------- H5 chips */
.rj-h5 { max-width: var(--w); margin: 30px auto 0; padding: 0 16px; }
.rj-h5 p { color: var(--mut); max-width: 760px; font-size: 14.5px; }
.rj-h5 .chips { display: flex; flex-wrap: wrap; gap: 9px; }
.rj-h5 .chip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 9px 15px;
  border-radius: var(--r-s);
  background: var(--panel2);
  border: 1px solid var(--line);
}
.rj-h5 .chip b { font-size: 14px; font-weight: 800; white-space: nowrap; }
.rj-h5 .chip em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .07em;
  color: var(--ok);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- game grid */
.rj-games {
  max-width: var(--w);
  margin: 26px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.rj-content .rj-games { padding: 0; margin: 20px 0 26px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rj-games .gc {
  position: relative;
  display: block;
  min-width: 0;
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  color: inherit;
}
.rj-games .gc:hover { text-decoration: none; border-color: var(--vio); }
.rj-games .gc img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; min-width: 0; }
.rj-games .bd {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(13, 7, 24, .82);
  border: 1px solid var(--vio);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--vio-l);
}
.rj-games .mt {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 8px 10px 10px;
}
.rj-games .mt b {
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rj-games .mt em { font-style: normal; font-size: 10.5px; color: var(--mut); }

/* ---------------------------------------------------------------- provider wall */
.rj-wall { max-width: var(--w); margin: 30px auto 0; padding: 0 16px; }
.rj-wall .logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 10px;
}
.rj-wall .logos span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 62px;
  padding: 10px 12px;
  border-radius: var(--r-s);
  background: var(--panel);
  border: 1px solid var(--line);
}
.rj-wall .logos span.dark { background: #ece9f5; border-color: #ece9f5; }
.rj-wall .logos img { max-height: 30px; width: auto; min-width: 0; flex: 0 1 auto; object-fit: contain; }

/* ---------------------------------------------------------------- cashier boards */
.rj-boards {
  max-width: var(--w);
  margin: 30px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.rj-boards .bd {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.rj-boards .bh { display: flex; align-items: center; gap: 9px; padding: 13px 15px; min-width: 0; }
.rj-boards .bh h3 { margin: 0; font-size: 15px; min-width: 0; }
.rj-boards .live {
  flex: 0 0 auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .15);
  border: 1px solid var(--ok);
  color: var(--ok);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}
.rj-boards table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.rj-boards th {
  text-align: left;
  padding: 7px 15px;
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mut);
  background: var(--panel2);
  font-weight: 700;
}
.rj-boards td {
  padding: 8px 15px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rj-boards td.amt { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- commission */
.rj-comm {
  max-width: var(--w);
  margin: 30px auto 0;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(139, 61, 240, .2), rgba(13, 7, 24, 0) 62%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.rj-comm .tx { min-width: 0; }
.rj-comm .tx p { color: #d6d0e8; font-size: 14.8px; }
.rj-comm .tiers { display: grid; gap: 12px; min-width: 0; }
.rj-comm .tier {
  min-width: 0;
  padding: 15px 17px;
  border-radius: var(--r-s);
  background: var(--panel2);
  border: 1px solid var(--line);
}
.rj-comm .tier b { display: block; font-size: 14px; }
.rj-comm .tier .pc {
  display: block;
  margin: 2px 0 6px;
  font-size: 30px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.rj-comm .tier p { margin: 0; font-size: 13px; color: var(--mut); }

/* ---------------------------------------------------------------- apk block */
.rj-apk {
  max-width: var(--w);
  margin: 30px auto 0;
  padding: 22px 16px;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.rj-apk img {
  min-width: 0;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.rj-apk .tx { min-width: 0; }
.rj-apk .tx p { color: var(--mut); font-size: 14.5px; }
.rj-apk .meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.rj-apk .meta span {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--panel2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mut);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- written content */
.rj-content {
  max-width: 940px;
  margin: 34px auto 0;
  padding: 0 16px;
}
.rj-content.utl { max-width: 820px; }
.rj-content h2 { margin-top: 1.5em; }
.rj-content h3 { margin-top: 1.3em; }
.rj-content > :first-child { margin-top: 0; }

.rj-ph {
  max-width: var(--w);
  margin: 22px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
}
.rj-ph > img {
  min-width: 0;
  border-radius: var(--r);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.rj-ph .tx { min-width: 0; }

.rj-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  gap: 11px;
  margin: 22px 0;
}
.rj-kpis div {
  min-width: 0;
  padding: 14px 15px;
  border-radius: var(--r-s);
  background: var(--panel);
  border: 1px solid var(--line);
}
.rj-kpis b { display: block; font-size: 23px; font-weight: 900; color: var(--gold); line-height: 1.15; }
.rj-kpis span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--mut); }

.rj-steps {
  counter-reset: rjs;
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  gap: 11px;
}
.rj-steps li {
  counter-increment: rjs;
  position: relative;
  margin: 0;
  min-width: 0;
  padding: 13px 16px 13px 54px;
  border-radius: var(--r-s);
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 14.8px;
}
.rj-steps li::before {
  content: counter(rjs);
  position: absolute;
  left: 15px;
  top: 12px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vio-l), var(--vio-d));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.rj-tw { overflow-x: auto; margin: 20px 0 26px; border-radius: var(--r-s); border: 1px solid var(--line); }
.rj-tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.rj-tbl th {
  text-align: left;
  padding: 11px 14px;
  background: var(--panel2);
  font-size: 11.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mut);
}
.rj-tbl td { padding: 10px 14px; border-top: 1px solid var(--line); }
.rj-tbl tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .025); }

.rj-faq { display: grid; gap: 9px; margin: 18px 0 26px; }
.rj-faq details {
  padding: 13px 16px;
  border-radius: var(--r-s);
  background: var(--panel);
  border: 1px solid var(--line);
}
.rj-faq summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.rj-faq summary::-webkit-details-marker { display: none; }
.rj-faq details[open] summary { color: var(--vio-l); margin-bottom: .5em; }
.rj-faq p { margin: 0; color: var(--mut); font-size: 14.5px; }

.rj-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 26px 0 8px;
  padding: 19px 22px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--vio-d), #2a1152 70%);
  border: 1px solid var(--vio);
}
.rj-band b { font-size: 17px; font-weight: 800; min-width: 0; }

/* ---------------------------------------------------------------- footer */
.rj-foot {
  margin-top: 46px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.rj-foot .w { max-width: var(--w); margin: 0 auto; padding: 32px 16px 24px; }
.rj-foot .cols {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.rj-foot .cols > div { min-width: 0; }
.rj-foot .ab p { color: var(--mut); font-size: 13.5px; margin: 12px 0; }
.rj-foot h4 {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: .9em;
}
.rj-foot .cols a { display: block; margin-bottom: .6em; color: #cfc8e4; font-size: 13.5px; }
.rj-foot .cols a.cta { color: var(--gold); font-weight: 700; }
.rj-foot .soc { display: flex; gap: 9px; }
.rj-foot .soc a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  background: var(--panel2);
  border: 1px solid var(--line);
}
.rj-foot .soc svg { width: 17px; height: 17px; fill: var(--mut); }
.rj-foot .pay, .rj-foot .trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.rj-foot .trust { margin-top: 14px; padding-top: 14px; }
.rj-foot .pay span, .rj-foot .trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 40px;
  padding: 7px 12px;
  border-radius: var(--r-s);
  background: var(--panel2);
  border: 1px solid var(--line);
}
.rj-foot .pay span.dark, .rj-foot .trust span.dark { background: #ece9f5; border-color: #ece9f5; }
.rj-foot .pay img, .rj-foot .trust img {
  max-height: 22px;
  width: auto;
  min-width: 0;
  flex: 0 1 auto;
  object-fit: contain;
}
.rj-foot .trust span { height: 36px; }
.rj-foot .trust img { max-height: 19px; }
.rj-foot .rg { margin: 22px 0 6px; font-size: 12.5px; color: var(--mut); }
.rj-foot .cr { margin: 0; font-size: 12.5px; color: var(--mut); }

/* ---------------------------------------------------------------- bottom app bar */
.rj-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-top: 15px;
  background: var(--panel2);
  border-top: 1px solid var(--line);
}
.rj-bar a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 44px;
  padding: 3px 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mut);
}
.rj-bar a:hover { text-decoration: none; color: var(--tx); }
.rj-bar .i { font-size: 16px; line-height: 1; }
.rj-bar .coin .i {
  position: absolute;
  top: -22px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6d169, var(--gold) 52%, var(--gold-d));
  border: 4px solid var(--panel2);
  color: #241703;
  font-size: 18px;
}
.rj-bar .coin { color: var(--gold); padding-top: 26px; }

/* sticky CTA sits ABOVE the fixed bar, never under it */
.rj-scta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--bar);
  z-index: 44;
  display: none;
  padding: 8px 14px;
  background: rgba(13, 7, 24, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.rj-scta .rj-btn { width: 100%; }

/* ---------------------------------------------------------------- entry modal */
.rj-pop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(6, 3, 12, .76);
  backdrop-filter: blur(3px);
}
.rj-pop.on { display: flex; }
.rj-pop .bx {
  position: relative;
  width: min(430px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--vio);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}
/* the card is overflow:auto for its rounded corners, so the close control lives INSIDE it */
.rj-pop .x {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--tx);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.rj-pop .hd {
  padding: 15px 56px 13px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  font-size: 15px;
  background: linear-gradient(135deg, var(--vio-d), #2a1152);
}
.rj-pop .panes { padding: 22px 20px 6px; }
/* a hide utility must beat every rule it has to switch off */
.rj-pop .pane.rj-off { display: none !important; }
.rj-pop .pane { display: block; text-align: center; }
.rj-pop .pane .big {
  display: block;
  margin: 9px 0 10px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}
.rj-pop .pane p { color: var(--mut); font-size: 14px; }
.rj-pop .pane .rj-btn { width: 100%; }
.rj-pop .pg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 18px;
}
.rj-pop .pg button.pv, .rj-pop .pg button.nx {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--tx);
  font-size: 19px;
  cursor: pointer;
}
.rj-pop .pg button[disabled] { opacity: .35; cursor: default; }
.rj-pop .dots { display: flex; gap: 7px; margin: 0 auto; }
.rj-pop .dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.rj-pop .dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--line);
}
.rj-pop .dot.on::after { background: var(--gold); }
.rj-pop .ct { font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .rj-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rj-games, .rj-content .rj-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rj-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  body { padding-bottom: calc(var(--bar) + 62px); }
  .rj-burger { display: block; }
  .rj-head .bar { gap: 9px; }
  .rj-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 4px 16px 12px;
    overflow: visible;
  }
  .rj-open .rj-menu { display: flex; }
  .rj-menu a { width: 100%; }
  .rj-hero, .rj-ph, .rj-comm, .rj-apk { grid-template-columns: minmax(0, 1fr); }
  .rj-hero > img, .rj-ph > img { order: -1; }
  .rj-apk img { max-width: 240px; }
  .rj-boards { grid-template-columns: minmax(0, 1fr); }
  .rj-bar { display: grid; }
  .rj-scta { display: block; }
}

@media (max-width: 620px) {
  body { padding-bottom: calc(var(--bar) + 68px); }
  /* burger + mark + wordmark + 3 language chips + 2 buttons does not fit a 375px bar, and the
     overflow pushes Register off the right edge. Drop the wordmark text and the Login button:
     the mark still links home, and Register is the one that has to stay reachable. */
  .rj-logo .wm { display: none; }
  .rj-acct { gap: 6px; }
  .rj-acct .rj-btn.o { display: none; }
  .rj-acct .rj-btn { padding: 8px 13px; }
  .rj-lang { padding: 2px; }
  .rj-lang a { padding: 5px 7px; font-size: 11.5px; }
  .rj-games, .rj-content .rj-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rj-checkin .days {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(84px, 1fr);
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .rj-checkin .days::-webkit-scrollbar { display: none; }
  .rj-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rj-band { flex-direction: column; align-items: flex-start; }
  .rj-band .rj-btn { width: 100%; }
}

@media (max-width: 430px) {
  .rj-cats { grid-template-columns: minmax(0, 1fr); }
  .rj-games, .rj-content .rj-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rj-foot .cols { grid-template-columns: minmax(0, 1fr); }
  .rj-logo .wm small { display: none; }
  .act .rj-btn { width: 100%; }
}
