/* Recording-led RPS card tracks, launcher and Auto hand plans. */
.rps-body{--rps-win:#00ed16;--rps-draw:#ffbd00;--rps-loss:#ed004d}
.rps-body .rps-game-panel{position:relative;height:auto;padding:0;border:0;overflow:hidden;background:#0f212e;box-shadow:none;border-radius:0 8px 0 0}
.rps-body #manualChoicePicker{display:none!important}
.rps-stage-surface{--card-width:clamp(44px,9.8cqw,88px);--card-height:calc(var(--card-width)*1.136);--card-pitch:calc(var(--card-width)*1.18);container-type:inline-size;position:relative;height:630px;width:100%;overflow:hidden;isolation:isolate;background:#0f212e}
.rps-hand-art{--hand-base:#ffd10b;--hand-light:#ffe535;--hand-shade:#ffb000;--hand-shadow:#f48907;display:block;width:100%;height:100%;overflow:visible}
.generated .rps-hand-art,.rps-plan-result .rps-hand-art,.rps-choice-action .rps-hand-art,.opponent .rps-hand-art{--hand-base:#e5edf2;--hand-light:#fff;--hand-shade:#b6c4ce;--hand-shadow:#8295a2}
.rps-card-back{display:block;width:100%;height:100%}
.rps-matchup,.rps-recent-results{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.rps-round-history{position:absolute;inset:13.2% 0 auto;height:43%;margin:0;padding:0;width:100%}
.rps-round-slot{position:absolute;left:calc(50% + var(--slot-offset)*var(--card-pitch) - var(--card-width)/2);top:0;display:grid;grid-template-rows:var(--card-height) 16px var(--card-height);row-gap:clamp(14px,2.7cqw,24px);width:var(--card-width);color:#fff}
.rps-history-card{display:grid;place-items:center;width:100%;height:var(--card-height);border-radius:8px;background:#2f4553;box-sizing:border-box}
.rps-history-card.face>.rps-hand-art,.rps-history-card.chosen>.rps-hand-art{width:62%;height:75%}
.rps-history-card.back{background:transparent}.rps-history-card.chosen{border:3px solid transparent}
.rps-history-card.chosen:not(.filled){background:#192d3a}
.rps-round-slot:not(.current) .chosen.filled,.rps-round-slot:not(.current) .generated.face{opacity:.38}
.rps-round-slot.empty .generated,.rps-round-slot.empty .chosen{background:#192d3a;opacity:.82}
.rps-round-slot.empty .generated>*{display:none}
.rps-round-slot.win .chosen{border-color:var(--rps-win)}.rps-round-slot.draw .chosen{border-color:var(--rps-draw)}.rps-round-slot.loss .chosen{border-color:var(--rps-loss)}
.rps-round-slot.current .chosen{position:relative;z-index:2;outline:5px solid #9db0bb;outline-offset:3px;box-shadow:0 9px 0 8px #506b7c;background:#0f212e;border-radius:10px}
.rps-track-multiplier{display:block;justify-self:center;width:72%;height:16px;overflow:hidden;border-radius:20px;font-size:clamp(7px,1.25cqw,12px);line-height:16px;font-weight:800;text-align:center;color:#b1c5d2;background:#182e3a;opacity:.35;white-space:nowrap;font-variant-numeric:tabular-nums}
.rps-round-slot.current .rps-track-multiplier{background:#fff;color:#081921;opacity:1}
.rps-round-slot.current .rps-track-multiplier.has-wins{background:var(--rps-win)}
.rps-round-slot.current.win .rps-track-multiplier{background:var(--rps-win)}.rps-round-slot.current.draw .rps-track-multiplier{background:var(--rps-draw)}.rps-round-slot.current.loss .rps-track-multiplier{background:var(--rps-loss);color:#fff}
.rps-round-slot.empty .rps-track-multiplier{opacity:.15}
.rps-stage-choices{position:absolute;left:50%;bottom:13.3%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,4cqw,36px);width:clamp(214px,37cqw,334px)}
.rps-choice-action{position:relative;display:grid;place-items:center;height:clamp(57px,8cqw,74px);padding:0 5px 12px;border:5px solid #9db3bf;border-radius:5px;background:#263e4d;box-shadow:0 13px 0 #506c7e;cursor:pointer}
.rps-choice-top{position:relative;display:grid;place-items:center;width:100%;height:100%;margin-top:-16px;border:5px solid var(--rps-win);border-bottom-width:12px;border-radius:23px 23px 4px 4px;background:#2e4857;box-shadow:0 3px 0 #038a10}
.rps-choice-top .rps-hand-art{width:80%;height:90%}
.rps-choice-action:hover:not(:disabled) .rps-choice-top{background:#415f71;transform:translateY(-3px)}
.rps-choice-action:active:not(:disabled) .rps-choice-top,.rps-choice-action.picked .rps-choice-top{transform:translateY(5px);border-color:#ffe53f}
.rps-choice-action.picked .rps-hand-art{--hand-base:#ffd10b;--hand-light:#ffe535;--hand-shade:#ffb000;--hand-shadow:#f48907}
.rps-choice-action:disabled{cursor:default}.rps-choice-action:disabled:not(.picked){filter:saturate(.7)}
.rps-choice-action:focus-visible{outline:3px solid #bceaff;outline-offset:7px}
.rps-choice-feed{position:absolute;pointer-events:none;inset:-51% 12% auto;height:55%;border:8px solid #304955;border-bottom:0;border-radius:30px 30px 0 0}
.rps-choice-feed::after{content:"";position:absolute;left:calc(50% - 4px);width:8px;top:0;bottom:0;background:#304955}
.rps-choice-feed i{position:absolute;z-index:1;width:49%;height:24px;left:25.5%;top:-30px;background:#607f92;border-radius:5px;box-shadow:0 6px 0 #253d4c,0 11px 0 #91a9b6,0 21px 0 #4b6879}
.rps-choice-feed i::after{content:"";position:absolute;left:47%;top:7px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:6px solid #233e4d}
.rps-status{position:absolute;bottom:13px;left:16px;right:16px;display:flex;justify-content:center;gap:8px;color:#a7bccb;font-size:12px;line-height:1.4;text-align:center}
.rps-status>strong{display:none}.rps-status>span{max-width:100%;overflow-wrap:anywhere}
.rps-body .crash-result-grid{display:none}
.rps-sidebar-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.rps-sidebar-choice{display:flex;align-items:center;justify-content:center;gap:3px;min-height:40px;min-width:0;padding:7px 3px;border:0;border-radius:4px;background:#3b5668;color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.rps-sidebar-choice svg{width:18px;height:21px;flex-shrink:0}.rps-sidebar-choice:disabled{opacity:.5;cursor:default}.rps-sidebar-choice:hover:not(:disabled){background:#4e6e82}
.rps-body #manualRandomPickBtn,.rps-body #randomPickBtn{background:#3c5667;box-shadow:none}
.rps-body #manualRandomPickBtn:hover:not(:disabled),.rps-body #randomPickBtn:hover:not(:disabled){background:#4f6b7d}
.rps-body .profit-card{display:grid;gap:8px;padding:0;background:none;font-size:13px;color:#b1c3d1}
.rps-body .profit-card>span{display:block;color:#b1c3d1}
.rps-body .profit-card>strong{padding:10px 12px;min-height:42px;border:1px solid #486171;border-radius:5px;background:#213743;color:#fff;font-size:14px;font-variant-numeric:tabular-nums}
.rps-body .profit-card>span>strong{font-size:inherit}
.rps-body .custom-switch-row{position:relative}
.rps-body .custom-switch-row input{position:absolute;right:0;left:auto;top:50%;transform:translateY(-50%);width:44px;height:28px;margin:0;opacity:0;pointer-events:auto;z-index:2;cursor:pointer}
.rps-body .custom-switch-row input:focus-visible+.switch-control{outline:3px solid #9dd9ff;outline-offset:3px}.rps-body .custom-switch-row .switch-control{pointer-events:none}
.rps-body .auto-pacing{display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:end;gap:12px}.rps-body .auto-pacing .switch-row{margin:0 0 10px}
.rps-auto-mode .rps-round-history,.rps-auto-mode .rps-stage-choices{display:none}
.rps-auto-mode .rps-status{bottom:128px;font-size:11px}
.rps-auto-plan-board{--plan-columns:3;position:absolute;top:15%;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(calc(var(--plan-columns)*2),minmax(0,1fr));grid-auto-rows:1fr;gap:40px 0;width:56%;max-width:540px}
.rps-plan-choice{--plan-border:#334b59;position:relative;display:block;width:80%;aspect-ratio:135/153;justify-self:center;padding:0;border:0;border-radius:14px;background:transparent;cursor:pointer}
.rps-plan-code{position:absolute;inset:0;display:grid;place-items:center;background:#304653;border-radius:14px;border:5px solid transparent}
.rps-plan-code>.rps-hand-art{width:75%;height:75%}
.rps-plan-choice:hover:not(:disabled) .rps-plan-code{background:#40596a}
.rps-plan-choice:focus-visible{outline:3px solid #9dd9ff;outline-offset:6px}
.rps-plan-choice.revealed{--plan-border:var(--rps-win)}.rps-plan-choice.revealed.draw{--plan-border:var(--rps-draw)}.rps-plan-choice.revealed.loss{--plan-border:var(--rps-loss)}
.rps-plan-choice.revealed .rps-plan-code{inset:31% -5% -5% 31%;border-color:var(--plan-border);z-index:2}
.rps-plan-result{display:grid;place-items:center;position:absolute;inset:-5% 26% 26% -5%;border:6px solid var(--plan-border);background:#192f3c;border-radius:17px}
.rps-plan-result>.rps-hand-art{width:73%;height:77%}
.rps-plan-badge{position:absolute;top:-30px;right:-2%;min-width:36px;height:20px;padding:1px 9px;border-radius:30px;font-size:13px;line-height:18px;background:#304b59;color:#fff;font-weight:800}
.rps-plan-choice.revealed .rps-plan-badge{background:var(--plan-border);color:#082515}.rps-plan-choice.loss .rps-plan-badge{color:#fff}.rps-plan-choice.after-loss{opacity:.4}
.rps-auto-plan-board[data-count="1"]{width:19%}.rps-auto-plan-board[data-count="2"]{width:38%}.rps-auto-plan-board[data-count="3"]{top:29%}
.rps-auto-plan-board:is([data-count="7"],[data-count="8"],[data-count="9"],[data-count="10"],[data-count="11"],[data-count="12"]){width:65%;max-width:480px;top:13%;gap:35px 0}
.rps-auto-plan-board:is([data-count="13"],[data-count="14"],[data-count="15"],[data-count="16"],[data-count="17"],[data-count="18"],[data-count="19"],[data-count="20"]){width:68%;max-width:460px;top:10%;gap:25px 0}
.rps-auto-plan-board:is([data-count="13"],[data-count="14"],[data-count="15"],[data-count="16"],[data-count="17"],[data-count="18"],[data-count="19"],[data-count="20"]) .rps-plan-badge{top:-20px;height:15px;font-size:10px;line-height:13px;min-width:27px}
.auto-plan-summary{position:absolute;left:16px;right:16px;bottom:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;border-radius:7px;background:#213743}
.auto-plan-summary>div{display:grid;gap:6px;min-width:0}.auto-plan-summary .label{font-size:13px;text-transform:none;letter-spacing:0;color:#afc6d7}
.auto-plan-summary>div>strong{display:block;min-width:0;padding:10px 12px;border:1px solid #486171;border-radius:5px;color:#e6f0f7;font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rps-win{position:absolute;z-index:8;left:50%;top:40%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:10px;width:max-content;min-width:150px;max-width:calc(100% - 28px);padding:18px 20px;border:4px solid var(--rps-win);border-radius:10px;background:#0f212e;box-shadow:0 12px 32px #0004;color:var(--rps-win);text-align:center;pointer-events:none}
.rps-win.draw{border-color:var(--rps-draw);color:var(--rps-draw)}
.rps-win>strong{font-size:var(--rps-mult-font,30px);line-height:1.2;max-width:100%;white-space:nowrap}.rps-win>span{padding-top:10px;width:100%;border-top:2px solid #2b4555;font-size:18px;overflow-wrap:anywhere}.rps-win>small{color:#b4c8d5;font-size:10px}
.rps-history-card.launching>.rps-hand-art{animation:rps-launch .35s ease-out both}.rps-stage-surface[data-phase="reveal"] .rps-round-slot.current .generated{animation:rps-reveal .22s ease-out both}.rps-shifting .rps-round-slot{animation:rps-shift .2s ease-out both}
@keyframes rps-launch{from{transform:translateY(150px) scale(.65);opacity:0}to{transform:none;opacity:1}}
@keyframes rps-reveal{from{transform:scaleX(.05)}to{transform:scaleX(1)}}
@keyframes rps-shift{from{translate:var(--card-pitch) 0}to{translate:0 0}}
@media(min-width:761px) and (max-width:1100px){
.rps-stage-surface{height:540px}.rps-auto-plan-board{width:50%;max-width:450px}
.rps-auto-plan-board:is([data-count="7"],[data-count="8"],[data-count="9"],[data-count="10"],[data-count="11"],[data-count="12"]){max-width:370px}
.rps-auto-plan-board:is([data-count="13"],[data-count="14"],[data-count="15"],[data-count="16"],[data-count="17"],[data-count="18"],[data-count="19"],[data-count="20"]){max-width:350px}
}
@media(max-width:760px){
.rps-body .originals-topbar h1{font-size:18px}.rps-body .rps-game-panel{border-radius:8px}.rps-stage-surface{height:440px;--card-width:clamp(44px,9.8cqw,60px)}.rps-round-history{top:14%}.rps-stage-choices{bottom:17%}.rps-status{bottom:16px;font-size:11px}
.rps-round-slot.current .chosen{outline-width:3px;outline-offset:2px;box-shadow:0 6px 0 5px #506b7c;border-radius:6px}.rps-history-card{border-radius:5px}.rps-track-multiplier{width:92%;font-size:8px}
.rps-auto-plan-board{width:85%;max-width:370px;top:13%;gap:36px 0}.rps-plan-code,.rps-plan-result{border-width:4px;border-radius:11px}.rps-plan-badge{top:-24px;font-size:10px;min-width:28px;height:16px;line-height:14px}
.rps-auto-plan-board[data-count="1"]{width:28%}.rps-auto-plan-board[data-count="2"]{width:56%}
.rps-auto-plan-board:is([data-count="7"],[data-count="8"],[data-count="9"],[data-count="10"],[data-count="11"],[data-count="12"]){width:87%;max-width:320px;top:10%;gap:29px 0}
.rps-auto-plan-board:is([data-count="13"],[data-count="14"],[data-count="15"],[data-count="16"],[data-count="17"],[data-count="18"],[data-count="19"],[data-count="20"]){width:96%;max-width:300px;top:8%;gap:22px 0}
.auto-plan-summary{left:10px;right:10px;bottom:10px;padding:10px;gap:8px}.auto-plan-summary .label{font-size:10px}.auto-plan-summary>div>strong{padding:8px;font-size:11px}.rps-auto-mode .rps-status{bottom:104px;font-size:10px}
.rps-win{top:35%;padding:14px 16px}.rps-win>strong{font-size:min(var(--rps-mult-font,30px),25px)}
}
@media(prefers-reduced-motion:reduce){.rps-stage-surface *,.rps-stage-surface *::before,.rps-stage-surface *::after{animation:none!important;transition:none!important}}
