/* 7KS home sign-up guide: the lobby art becomes a dark stage where a phone acts out
   registration. Player, phone and controls come from topup-guide.css; this file adds
   the card, the home hero layout and the five registration scenes. */

/* ---------- Hero layout with the guide ---------- */
.lobby-hero--guide { align-items: start; }

/* ---------- Card ---------- */
.rg-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px 16px 10px;
  border: 1px solid rgba(185, 146, 90, .42);
  border-radius: var(--radius-lg, 22px);
  color: #f4f0e7;
  background: #080e22;
  box-shadow: 0 28px 60px rgba(8, 14, 34, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
}
/* The old hero picture stays as the room the phone stands in. */
.rg-card__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 70%;
  opacity: .8;
}
.rg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 22% 52%, rgba(240, 220, 174, .16), transparent 70%),
    linear-gradient(180deg, #080e22 0%, rgba(8, 14, 34, .9) 30%, rgba(8, 14, 34, .25) 48%, rgba(8, 14, 34, .3) 78%, #080e22 100%);
}
.rg-card__head { grid-area: head; display: grid; gap: 4px; }
.rg-card__eyebrow { color: #e5cf9f; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
html:lang(bn) .rg-card__eyebrow, html:lang(th) .rg-card__eyebrow { letter-spacing: .02em; }
.rg-card__title { margin: 0; color: #fff; font: 600 22px/1.25 var(--serif, Georgia, serif); letter-spacing: -.01em; text-wrap: balance; }
html:lang(bn) .rg-card__title, html:lang(th) .rg-card__title, html[lang^="zh"] .rg-card__title { font-family: var(--sans); font-weight: 700; font-size: 20px; line-height: 1.4; }

.rg-player { grid-template-areas: "head" "caption" "stage" "nav"; gap: 10px; }
.rg-player .tg-stage { grid-area: stage; height: 356px; }
/* A shorter phone than the deposit guide's: the sign-up form fills it. */
.rg-player .tg-phone { height: 430px; }
.rg-player .tg-screen { height: 414px; }
.rg-player .tg-stage::before { opacity: .8; }
.rg-player .tg-phone { box-shadow: inset 0 0 0 1px rgba(217, 194, 152, .55), inset 0 0 0 3px #05081a, 0 30px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(240, 220, 174, .14); }
.rg-caption { grid-area: caption; min-height: 0; }
/* Phones: room for the longest step so the phone and controls never jump. */
.rg-player .tg-steps { display: grid; }
.rg-player .tg-step { grid-area: 1 / 1; align-content: start; gap: 6px; }
/* Hold step 1 visible before autoplay: the shared scene fade would freeze at opacity 0. */
.rg-player .tg-scene.is-on { animation: none; }
.rg-player .tg-step:not(.is-active) { display: grid; visibility: hidden; }
.rg-player .tg-nav { grid-area: nav; }
.rg-player .tg-step__title { display: flex; align-items: baseline; gap: 10px; font-size: 17px; }
.rg-player .tg-step__body { color: rgba(244, 240, 231, .92); font-size: 14.5px; }
.rg-num {
  flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; translate: 0 -1px;
  border-radius: 50%; color: #080e22; background: #e5cf9f; font: 800 12.5px/1 var(--sans);
}
.rg-player .tg-stage__tag { background: rgba(8, 14, 34, .72); }
/* Slide only: a fading title read as low contrast mid-change. */
.rg-player .tg-step.is-active { animation-name: rg-caption-in; }
@keyframes rg-caption-in { from { translate: 0 6px; } }

/* Wide card: phone on the left, the whole list of steps on the right. */
@media (min-width: 600px) {
  .rg-card { padding: 22px 22px 14px; }
  .rg-player .tg-stage { height: 440px; overflow: visible; }
  .rg-player {
    grid-template-columns: 236px minmax(0, 1fr);
    grid-template-areas: "stage head" "stage caption" "stage nav";
    grid-template-rows: auto 1fr auto;
    column-gap: 26px; row-gap: 12px;
  }
  .rg-caption { align-self: start; }
  /* Darken behind the caption column (starts ~284px in), keep the phone side lit. */
  .rg-card::before {
    background:
      radial-gradient(42% 70% at 20% 50%, rgba(240, 220, 174, .16), transparent 70%),
      linear-gradient(90deg, rgba(8, 14, 34, .2) 0, rgba(8, 14, 34, .3) 200px, rgba(8, 14, 34, .88) 272px, rgba(8, 14, 34, .92) 100%);
  }
}
/* The full list needs a wide card; narrower cards keep the fixed-height single step. */
@media (min-width: 1400px) {
  .rg-player .tg-steps { display: block; }
  .rg-player .tg-stage { height: 460px; }
  .rg-player .tg-step { grid-area: auto; }
  .rg-player .tg-step:not(.is-active) { visibility: visible; }
  .rg-card::before {
    background:
      radial-gradient(42% 70% at 20% 50%, rgba(240, 220, 174, .18), transparent 70%),
      linear-gradient(90deg, rgba(8, 14, 34, 0), rgba(8, 14, 34, .2) 30%, rgba(8, 14, 34, .86) 48%, rgba(8, 14, 34, .92) 100%);
  }
  .rg-card__art { object-position: 30% 60%; opacity: .95; }
  .rg-caption { align-self: start; }
  .rg-player .tg-step:not(.is-active) { display: grid; cursor: pointer; }
  .rg-player .tg-step { padding: 8px 0; border-top: 1px solid rgba(244, 240, 231, .12); }
  .rg-player .tg-step:first-child { border-top: 0; }
  .rg-player .tg-step:not(.is-active) .tg-step__title { color: rgba(244, 240, 231, .8); font-size: 15px; font-weight: 600; }
  .rg-player .tg-step:not(.is-active) .rg-num { color: #e5cf9f; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(229, 207, 159, .55); }
  .rg-player .tg-step:not(.is-active) .tg-step__body { display: none; }
  .rg-player .tg-step.is-active .tg-step__body { padding-left: 34px; }
}
@media (min-width: 1400px) and (hover: hover) {
  .rg-player .tg-step:not(.is-active):hover .tg-step__title { color: #fff; }
}

@media (min-width: 721px) and (max-width: 1179px) {
  .lobby-hero--guide { grid-template-columns: minmax(0, 1fr); }
  .lobby-hero--guide .lobby-hero__copy > p { max-width: 60ch; }
}
@media (min-width: 1180px) {
  .lobby-hero--guide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5vw; }
  .lobby-hero--guide .lobby-hero__copy { padding-top: 28px; }
}

/* ---------- Phone screens ---------- */
.rg-pills { display: flex; gap: 4px; }
.rg-pills i { padding: 3px 7px; border: 1px solid #ba2438; border-radius: 999px; color: #ba2438; font-size: 9.5px; font-style: normal; font-weight: 800; white-space: nowrap; }
.rg-pills .rg-pills__ruby { color: #fff; background: #ba2438; }
.rg-hero { display: grid; gap: 4px; margin: 4px 0 2px; }
.rg-hero__art { display: block; width: 100%; height: 130px; margin-bottom: 6px; border-radius: 14px; object-fit: cover; object-position: 70% 60%; }
.rg-form { gap: 7px; }
.rg-form .tg-label { font-size: 13px; color: #3d4256; }
.rg-form .tg-input { height: 42px; }
.rg-agree--idle { opacity: .55; }
.rg-btn-idle { margin-top: 2px; color: #fff; background: #d9a3ab; }
.rg-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.rg-tiles img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-position: 50% 30%; border-radius: 12px; object-fit: cover; }
.rg-form__eyebrow { margin-top: 4px; color: #ba2438; font-size: 10.5px; font-weight: 800; }
.rg-form__title { margin-bottom: 4px; color: #080e22; font: 600 17px/1.25 var(--serif, Georgia, serif); }
html:lang(bn) .rg-form__title, html:lang(th) .rg-form__title, html[lang^="zh"] .rg-form__title { font-family: var(--sans); font-weight: 700; font-size: 15px; }
.rg-select { justify-content: space-between; font-size: 13px; }
.rg-select::after { content: ''; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid #5c6172; border-bottom: 2px solid #5c6172; rotate: 45deg; }
.rg-form .tg-input { font-variant-numeric: tabular-nums; }
.rg-done-field { color: #5c6172; font-size: 13px; }
.rg-note { align-self: start; padding: 3px 8px; border-radius: 999px; color: #1f6b45; background: #e3f2ea; font-size: 10.5px; font-weight: 800; opacity: 0; }
.rg-dots { display: flex; gap: 6px; }
.rg-dots i { width: 8px; height: 8px; border-radius: 50%; background: #080e22; opacity: 0; }
.rg-match { display: flex; align-items: center; gap: 6px; color: #1f6b45; font-size: 11px; font-weight: 800; opacity: 0; }
.rg-match i, .rg-welcome i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: #2e7d52; }
.rg-match svg { width: 12px; height: 12px; stroke-width: 2.8; }
.rg-captcha {
  position: relative; display: flex; justify-content: center; gap: 12px; height: 46px; align-items: center; overflow: hidden;
  border-radius: 11px; color: #3b2a12;
  background: repeating-linear-gradient(115deg, rgba(186, 36, 56, .14) 0 2px, transparent 2px 9px), linear-gradient(90deg, #f6e7c8, #efd9ae);
  font: 800 25px/1 Georgia, serif;
}
.rg-captcha b:nth-child(1) { rotate: -12deg; translate: 0 2px; }
.rg-captcha b:nth-child(2) { rotate: 9deg; translate: 0 -3px; color: #7a1c2b; }
.rg-captcha b:nth-child(3) { rotate: -5deg; translate: 0 3px; }
.rg-captcha b:nth-child(4) { rotate: 14deg; color: #1a2148; }
.rg-captcha i { position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: rgba(26, 33, 72, .45); rotate: -4deg; }
.rg-agree { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 2px; color: #232945; font-size: 10.5px; line-height: 1.4; }
.rg-agree__box { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid #8b8f9c; border-radius: 5px; color: transparent; background: #fff; }
.rg-agree__box svg { width: 13px; height: 13px; stroke-width: 3; }
.rg-agree > span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rg-s4__submit { position: relative; overflow: hidden; }
.rg-s4__submit > span { display: flex; align-items: center; gap: 7px; }
.rg-s4__busy { position: absolute; inset: 0; justify-content: center; opacity: 0; }
.rg-spin { width: 14px; height: 14px; border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.rg-welcome { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: #080e22; font-size: 14px; }
.rg-welcome svg { width: 12px; height: 12px; stroke-width: 2.8; }
.tg-ledger .rg-gift { background: linear-gradient(135deg, #e5cf9f, #b9925a); color: #3b2a12; }
.rg-s5__deposit { margin-top: 4px; }

/* ---------- Choreography (each scene's timeline spans its own --d) ---------- */

/* Scene 1: tap Create free account, the form slides up */
.rg-s1.is-on .rg-s1__tap { animation-name: rg-s1-tap; }
.rg-s1.is-on .rg-s1__tap::after { animation-name: rg-ripple-1; animation-timing-function: ease-out; }
.rg-s1.is-on .rg-s1__cta { animation-name: rg-s1-press; animation-timing-function: ease-out; }
.rg-s1.is-on .rg-s1__a { animation-name: rg-s1-a; }
.rg-s1.is-on .rg-s1__b { animation-name: rg-s1-b; }
.rg-s1__b { opacity: 0; }
@keyframes rg-s1-tap {
  0% { opacity: 0; translate: 170px 420px; scale: 1; }
  10% { opacity: 1; translate: 170px 420px; }
  30% { translate: var(--t1x) var(--t1y); scale: 1; }
  33% { scale: .78; } 37% { scale: 1; opacity: 1; }
  48%, 100% { opacity: 0; translate: var(--t1x) var(--t1y); }
}
@keyframes rg-ripple-1 { 0%, 32% { opacity: 0; scale: .5; } 33% { opacity: .9; scale: .6; } 43%, 100% { opacity: 0; scale: 2.3; } }
@keyframes rg-s1-press { 0%, 32% { scale: 1; filter: none; } 34% { scale: .95; filter: brightness(1.2); } 40%, 100% { scale: 1; filter: none; } }
@keyframes rg-s1-a { 0%, 42% { opacity: 1; translate: 0 0; } 54%, 100% { opacity: 0; translate: 0 -10px; } }
@keyframes rg-s1-b { 0%, 44% { opacity: 0; translate: 0 100%; } 56%, 100% { opacity: 1; translate: 0 0; } }

/* Scene 2: Bangladesh stays, then the number is typed */
.rg-s2.is-on .rg-s2__tap { animation-name: rg-s2-tap; }
.rg-s2.is-on .rg-s2__tap::after { animation-name: rg-ripple-2; animation-timing-function: ease-out; }
.rg-s2.is-on .rg-s2__country { animation-name: rg-s2-country; }
.rg-s2.is-on .rg-s2__field { animation-name: rg-focus-36; }
.rg-s2.is-on .rg-s2__type { animation-name: rg-s2-type; animation-timing-function: linear; }
.rg-s2.is-on .rg-s2__caret { animation-name: rg-s2-caret; animation-timing-function: steps(1, end); }
.rg-s2.is-on .rg-s2__note { animation-name: rg-s2-note; animation-timing-function: cubic-bezier(.3, 1.4, .5, 1); }
@keyframes rg-s2-tap {
  0% { opacity: 0; translate: 170px 420px; scale: 1; }
  6% { opacity: 1; translate: 170px 420px; }
  16% { translate: var(--t1x) var(--t1y); scale: 1; }
  18% { scale: .8; } 21% { scale: 1; }
  32% { translate: var(--t2x) var(--t2y); scale: 1; }
  34% { scale: .78; } 37% { scale: 1; opacity: 1; }
  46%, 100% { opacity: 0; translate: var(--t2x) var(--t2y); }
}
@keyframes rg-ripple-2 {
  0%, 17% { opacity: 0; scale: .5; } 18% { opacity: .9; scale: .6; } 26% { opacity: 0; scale: 2.3; }
  33% { opacity: 0; scale: .5; } 34% { opacity: .9; scale: .6; } 42%, 100% { opacity: 0; scale: 2.3; }
}
@keyframes rg-s2-country { 0%, 17% { box-shadow: 0 0 0 0 rgba(217, 166, 65, 0); } 20%, 28% { box-shadow: 0 0 0 3px #d9a641; } 32%, 100% { box-shadow: 0 0 0 0 rgba(217, 166, 65, 0); } }
@keyframes rg-focus-36 { 0%, 34% { border-color: rgba(8, 14, 34, .2); box-shadow: none; } 36%, 100% { border-color: #ba2438; box-shadow: 0 0 0 3px rgba(186, 36, 56, .16); } }
@keyframes rg-s2-type { 0%, 38% { max-width: 0; animation-timing-function: steps(11, end); } 72%, 100% { max-width: 11.2ch; } }
@keyframes rg-s2-caret { 0%, 35% { opacity: 0; } 36%, 80% { opacity: 1; } 84% { opacity: 0; } 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes rg-s2-note { 0%, 76% { opacity: 0; scale: .7; } 82%, 100% { opacity: 1; scale: 1; } }

/* Scene 3: the password twice, then a green match */
.rg-s3.is-on .rg-s3__tap { animation-name: rg-s3-tap; }
.rg-s3.is-on .rg-s3__tap::after { animation-name: rg-ripple-3; animation-timing-function: ease-out; }
.rg-s3.is-on .rg-s3__pw1 { animation-name: rg-focus-12; }
.rg-s3.is-on .rg-s3__pw2 { animation-name: rg-focus-50; }
.rg-s3.is-on .rg-s3__pw1 .rg-dots i { animation-name: rg-dot-1; animation-timing-function: steps(1, end); }
.rg-s3.is-on .rg-s3__pw2 .rg-dots i { animation-name: rg-dot-2; animation-timing-function: steps(1, end); }
.rg-s3.is-on .rg-dots i:nth-child(2) { animation-delay: calc(var(--d) * .03); }
.rg-s3.is-on .rg-dots i:nth-child(3) { animation-delay: calc(var(--d) * .06); }
.rg-s3.is-on .rg-dots i:nth-child(4) { animation-delay: calc(var(--d) * .09); }
.rg-s3.is-on .rg-dots i:nth-child(5) { animation-delay: calc(var(--d) * .12); }
.rg-s3.is-on .rg-dots i:nth-child(6) { animation-delay: calc(var(--d) * .15); }
.rg-s3.is-on .rg-dots i:nth-child(7) { animation-delay: calc(var(--d) * .18); }
.rg-s3.is-on .rg-dots i:nth-child(8) { animation-delay: calc(var(--d) * .21); }
.rg-s3.is-on .rg-s3__match { animation-name: rg-s3-match; animation-timing-function: cubic-bezier(.3, 1.4, .5, 1); }
@keyframes rg-s3-tap {
  0% { opacity: 0; translate: 170px 420px; scale: 1; }
  4% { opacity: 1; translate: 170px 420px; }
  10% { translate: var(--t1x) var(--t1y); scale: 1; }
  12% { scale: .78; } 15% { scale: 1; }
  44% { translate: var(--t1x) var(--t1y); }
  48% { translate: var(--t2x) var(--t2y); scale: 1; }
  50% { scale: .78; } 53% { scale: 1; opacity: 1; }
  60%, 100% { opacity: 0; translate: var(--t2x) var(--t2y); }
}
@keyframes rg-ripple-3 {
  0%, 11% { opacity: 0; scale: .5; } 12% { opacity: .9; scale: .6; } 20% { opacity: 0; scale: 2.3; }
  49% { opacity: 0; scale: .5; } 50% { opacity: .9; scale: .6; } 58%, 100% { opacity: 0; scale: 2.3; }
}
@keyframes rg-focus-12 { 0%, 11% { border-color: rgba(8, 14, 34, .2); box-shadow: none; } 13%, 46% { border-color: #ba2438; box-shadow: 0 0 0 3px rgba(186, 36, 56, .16); } 48%, 100% { border-color: rgba(8, 14, 34, .2); box-shadow: none; } }
@keyframes rg-focus-50 { 0%, 49% { border-color: rgba(8, 14, 34, .2); box-shadow: none; } 51%, 100% { border-color: #ba2438; box-shadow: 0 0 0 3px rgba(186, 36, 56, .16); } }
@keyframes rg-dot-1 { 0%, 15% { opacity: 0; } 16%, 100% { opacity: 1; } }
@keyframes rg-dot-2 { 0%, 53% { opacity: 0; } 54%, 100% { opacity: 1; } }
@keyframes rg-s3-match { 0%, 80% { opacity: 0; translate: 0 6px; } 86%, 100% { opacity: 1; translate: 0 0; } }

/* Scene 4: picture code, the 18+ box, Create account */
.rg-s4.is-on .rg-s4__tap { animation-name: rg-s4-tap; }
.rg-s4.is-on .rg-s4__tap::after { animation-name: rg-ripple-4; animation-timing-function: ease-out; }
.rg-s4.is-on .rg-s4__field { animation-name: rg-focus-10; }
.rg-s4.is-on .rg-s4__type { animation-name: rg-s4-type; animation-timing-function: linear; }
.rg-s4.is-on .rg-s4__caret { animation-name: rg-s4-caret; animation-timing-function: steps(1, end); }
.rg-s4.is-on .rg-agree__box { animation-name: rg-s4-agree; animation-timing-function: steps(1, end); }
.rg-s4.is-on .rg-s4__submit { animation-name: rg-s4-press; animation-timing-function: ease-out; }
.rg-s4.is-on .rg-s4__label { animation-name: rg-s4-label; }
.rg-s4.is-on .rg-s4__busy { animation-name: rg-s4-busy; }
.rg-s4.is-on .rg-spin { animation: tg-spin .8s linear infinite; }
@keyframes rg-s4-tap {
  0% { opacity: 0; translate: 170px 420px; scale: 1; }
  4% { opacity: 1; translate: 170px 420px; }
  10% { translate: var(--t1x) var(--t1y); scale: 1; }
  12% { scale: .78; } 15% { scale: 1; }
  38% { translate: var(--t1x) var(--t1y); }
  44% { translate: var(--t2x) var(--t2y); scale: 1; }
  46% { scale: .78; } 49% { scale: 1; }
  58% { translate: var(--t2x) var(--t2y); }
  64% { translate: var(--t3x) var(--t3y); scale: 1; }
  66% { scale: .78; } 69% { scale: 1; opacity: 1; }
  78%, 100% { opacity: 0; translate: var(--t3x) var(--t3y); }
}
@keyframes rg-ripple-4 {
  0%, 11% { opacity: 0; scale: .5; } 12% { opacity: .9; scale: .6; } 20% { opacity: 0; scale: 2.3; }
  45% { opacity: 0; scale: .5; } 46% { opacity: .9; scale: .6; } 54% { opacity: 0; scale: 2.3; }
  65% { opacity: 0; scale: .5; } 66% { opacity: .9; scale: .6; } 74%, 100% { opacity: 0; scale: 2.3; }
}
@keyframes rg-focus-10 { 0%, 11% { border-color: rgba(8, 14, 34, .2); box-shadow: none; } 13%, 40% { border-color: #ba2438; box-shadow: 0 0 0 3px rgba(186, 36, 56, .16); } 42%, 100% { border-color: #2e7d52; box-shadow: none; } }
@keyframes rg-s4-type { 0%, 15% { max-width: 0; animation-timing-function: steps(4, end); } 34%, 100% { max-width: 4.2ch; } }
@keyframes rg-s4-caret { 0%, 12% { opacity: 0; } 13%, 38% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes rg-s4-agree { 0%, 46% { color: transparent; background: #fff; border-color: #8b8f9c; } 47%, 100% { color: #fff; background: #ba2438; border-color: #ba2438; } }
@keyframes rg-s4-press { 0%, 65% { scale: 1; filter: none; } 67% { scale: .95; filter: brightness(1.2); } 72%, 100% { scale: 1; filter: none; } }
@keyframes rg-s4-label { 0%, 69% { opacity: 1; } 71%, 100% { opacity: 0; } }
@keyframes rg-s4-busy { 0%, 69% { opacity: 0; } 71%, 100% { opacity: 1; } }

/* Scene 5: signed in; the welcome check pops, then tg-s5 rolls the balance */
.rg-s5.is-on .rg-welcome i { animation-name: rg-s5-check; animation-timing-function: cubic-bezier(.3, 1.5, .5, 1); }
.rg-s5.is-on .rg-s5__deposit { animation-name: rg-s5-deposit; }
@keyframes rg-s5-check { 0%, 4% { scale: 0; } 12% { scale: 1.2; } 16%, 100% { scale: 1; } }
@keyframes rg-s5-deposit { 0%, 70% { box-shadow: 0 6px 14px rgba(186, 36, 56, .28); } 78% { box-shadow: 0 0 0 6px rgba(186, 36, 56, .22); } 86%, 100% { box-shadow: 0 6px 14px rgba(186, 36, 56, .28); } }

/* Reduced motion: the finished frame of each scene, like the top-up guide. */
/* Step 1 still: the home screen with the button, not the form that slides in after the tap. */
.tg-player.is-static .rg-s1__a { opacity: 1 !important; translate: none !important; }
.tg-player.is-static .rg-s1__b { opacity: 0 !important; }
.tg-player.is-static .rg-s4__label { opacity: 1 !important; }
.tg-player.is-static .rg-s4__busy { opacity: 0 !important; }

/* The shorter screen must clip its last ghost rows, never squash the demonstrated controls. */
.rg-player .tg-part > * { flex-shrink: 0; }
.rg-s5 .tg-purse { margin-top: 2px; padding: 14px 16px 16px; }
.rg-s5 .tg-ledger { padding: 8px 10px; }
.rg-s5 .tg-ledger b { white-space: nowrap; }
.rg-s5 .tg-ledger small { line-height: 1.3; }
.rg-s5 .rg-tiles img { aspect-ratio: 16 / 10; }
.rg-s4 .rg-captcha { height: 72px; margin-bottom: 4px; font-size: 32px; gap: 16px; }
.rg-s4 .rg-agree { font-size: 11px; }

/* One status bar for the whole screen, so two never show while a screen slides in. */
.rg-player .tg-part > .tg-status { visibility: hidden; }
.rg-statusbar { color: #080e22; z-index: 6; }
