/* Камень-ножницы: the series multiplier, the ladder, two raised discs, three raised choice tiles */
.g-rps .g-stage { position: relative; padding: 46px 12px 12px; }
.rps-head { position: absolute; left: 12px; top: 10px; height: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border-radius: 14px; background: #232536; color: var(--fg); font-size: 12px; font-weight: 800; white-space: nowrap; }
.rps-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 6px rgba(212,255,58,.6); }
.g-rps .history { left: 128px; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0px, rgba(0,0,0,1) 22px); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0px, rgba(0,0,0,1) 22px); }
.g-rps.rps-lost { box-shadow: inset 0 0 0 2px rgba(255,93,99,.55); }
.rps-wrap { position: relative; display: grid; gap: 10px; }

/* the series multiplier and its line */
.rps-mult { display: grid; justify-items: center; gap: 3px; }
.rps-mult > b { font-size: 54px; line-height: 1; font-weight: 900; letter-spacing: -1.5px; color: var(--fg); display: inline-block; }
.rps-mult > b.rps-w { color: var(--win); text-shadow: 0 0 24px rgba(212,255,58,.35); }
.rps-mult > b.rps-l { color: var(--loss); }
.rps-mult span { font-size: 13px; font-weight: 800; color: var(--fg2); height: 16px; }
.rps-mult span.rps-mw { color: var(--win); }
.rps-mult span.rps-ml { color: var(--loss); }
.rps-mult span.rps-md { color: var(--fg); }

/* the ladder: reached steps lime, the next one outlined */
.rps-ladder { overflow: hidden; margin: 0 -12px; padding: 0 12px; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(90deg, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%); }
.rps-track { display: flex; gap: 6px; width: max-content; will-change: transform; }
.rps-step { flex: none; min-width: 74px; height: 30px; padding: 0 10px; border-radius: 15px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--fg2); background: var(--tile-edge); white-space: nowrap; }
.rps-step.on { background: rgba(212,255,58,.16); color: var(--win); }
.rps-step.on.top { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 16px rgba(212,255,58,.3); }
.rps-step.next { color: var(--fg); box-shadow: inset 0 0 0 2px var(--tile-hi); }

/* the two discs */
.rps-arena { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; padding: 6px 0 2px; }
.rps-side { display: grid; justify-items: center; gap: 10px; }
.rps-side > b { font-size: 14px; font-weight: 800; color: var(--fg); }
.rps-disc { width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #3d4160 0%, #2f3248 62%, #262839 100%); box-shadow: 0 7px 0 var(--tile-edge), 0 16px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 3px #3d4160; will-change: transform; }
.rps-me { box-shadow: 0 7px 0 var(--tile-edge), 0 16px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 3px rgba(139,123,255,.75); }
.rps-sg { width: 70px; height: 70px; display: block; }
.rps-sg svg { width: 100%; height: 100%; display: block; }
.rps-disc.rps-win { background: radial-gradient(circle at 50% 38%, #4a5a2a 0%, #2f3a1c 70%, #23291a 100%); box-shadow: 0 7px 0 #6d8a0e, 0 0 34px rgba(212,255,58,.45), inset 0 0 0 4px var(--win); }
.rps-disc.rps-win.rps-house { background: radial-gradient(circle at 50% 38%, #5a2a33 0%, #3a1c22 70%, #2a1519 100%); box-shadow: 0 7px 0 #7a1620, 0 0 34px rgba(255,93,99,.45), inset 0 0 0 4px var(--loss); }
.rps-disc.rps-lose .rps-sg { opacity: .45; }
.rps-disc.rps-draw { box-shadow: 0 7px 0 var(--tile-edge), 0 0 26px rgba(255,255,255,.18), inset 0 0 0 4px #c9cde0; }
.rps-vs { width: 44px; height: 44px; margin: 0 6px 26px; border-radius: 22px; display: grid; place-items: center; background: #232536; color: var(--fg2); font-size: 14px; font-weight: 900; font-style: italic; }
.rps-vs.rps-eq { background: #c9cde0; color: var(--on-accent); font-size: 24px; font-style: normal; }
.rps-vs.rps-cnt { background: var(--fg); color: var(--on-accent); font-size: 22px; font-style: normal; }

/* the three choice tiles */
.rps-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rps-pick.kt { height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--fg); background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 60%) var(--tile); box-shadow: 0 5px 0 var(--tile-edge), inset 0 1px 0 rgba(255,255,255,.1); }
.rps-pick.kt.rps-live { background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 60%) var(--tile-hi); }
.rps-pick.kt.rps-sel { background: var(--pick); box-shadow: 0 5px 0 #4b3fb8, 0 0 20px rgba(139,123,255,.35); }
.rps-pick b { font-size: 14px; font-weight: 800; }
.rps-pi { width: 40px; height: 40px; display: block; pointer-events: none; }
.rps-pi svg { width: 100%; height: 100%; display: block; }
.g-rps .result .big img { width: 24px; height: 24px; vertical-align: -3px; margin-left: 4px; }
