/* Rockstar account key + OTP modal (premium) */
.rx-acc{
  text-align:left;display:flex;flex-direction:column;gap:.55rem;
}
.rx-acc-row{
  display:flex;align-items:flex-start;gap:.65rem;
  padding:.7rem .8rem;border-radius:12px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
}
.rx-acc-ico{
  width:28px;height:28px;border-radius:9px;flex-shrink:0;
  display:grid;place-items:center;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  color:#fff;font-size:.85rem;
}
.rx-acc-body{min-width:0;flex:1}
.rx-acc-label{
  font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(255,255,255,.45);margin:0 0 .15rem;font-family:'Rajdhani',sans-serif;font-weight:700;
}
.rx-acc-val{
  font-family:'Space Mono',monospace;font-size:.82rem;color:#fff;
  word-break:break-all;line-height:1.35;
}
.rx-acc-actions{display:flex;align-items:center;gap:.55rem;margin-top:.15rem;flex-wrap:wrap}
.rx-acc-get{
  position:relative;overflow:hidden;
  display:inline-flex;align-items:center;gap:.55rem;
  min-height:42px;padding:0 1.15rem 0 .85rem;border-radius:999px;
  border:1px solid rgba(255,255,255,.35);cursor:pointer;
  font-family:'Rajdhani',sans-serif;font-weight:800;font-size:.9rem;letter-spacing:.08em;
  color:#0b0b10;
  background:linear-gradient(135deg,#ffffff 0%,#d7d7e0 45%,#b8b8c4 100%);
  box-shadow:0 10px 28px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.85);
  transition:transform .18s ease, filter .2s, box-shadow .2s;
}
.rx-acc-get::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.55) 48%,transparent 66%);
  transform:translateX(-120%);
}
.rx-acc-get:hover{transform:translateY(-1px);filter:brightness(1.05)}
.rx-acc-get:hover::before{animation:rxAccShine 1.1s ease}
.rx-acc-get-ico{
  width:26px;height:26px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;
  background:rgba(0,0,0,.12);border:1px solid rgba(0,0,0,.08);
}
.rx-acc-get svg{width:14px;height:14px}
@keyframes rxAccShine{to{transform:translateX(120%)}}
.rx-acc-hint{font-size:.72rem;color:rgba(255,255,255,.4)}

/* OTP modal */
#modalRockstarOtp .ix-modal{
  max-width:440px;width:min(94vw,440px);
  border-radius:22px;overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(160deg,rgba(22,22,28,.98),rgba(8,8,12,.96));
  box-shadow:0 30px 80px rgba(0,0,0,.55);
}
#modalRockstarOtp .rx-otp-body{padding:1.45rem 1.35rem 1.3rem;text-align:center;position:relative}
#modalRockstarOtp .rx-otp-title{
  font-family:'Orbitron',monospace;font-weight:900;font-size:1rem;
  letter-spacing:.08em;color:#fff;margin:0 1.5rem .35rem 0;text-align:left;
}
#modalRockstarOtp .rx-otp-sub{
  text-align:left;font-size:.78rem;color:rgba(255,255,255,.45);margin:0 0 1.2rem;
}
#modalRockstarOtp .rx-otp-stage{
  min-height:120px;display:grid;place-items:center;
  border-radius:16px;border:1px solid rgba(255,255,255,.1);
  background:rgba(0,0,0,.28);padding:1.2rem 1rem;margin-bottom:1rem;
}
#modalRockstarOtp .rx-otp-code{
  font-family:'Orbitron',monospace;font-weight:900;
  font-size:clamp(2rem,8vw,2.7rem);letter-spacing:.28em;color:#fff;margin:0;
  text-shadow:0 0 24px rgba(255,255,255,.2);
}
#modalRockstarOtp .rx-otp-empty{
  color:rgba(255,255,255,.45);font-size:.92rem;margin:0;line-height:1.5;
}
#modalRockstarOtp .rx-otp-timer{
  height:4px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.08);margin:0 auto .85rem;max-width:220px;
}
#modalRockstarOtp .rx-otp-timer > i{
  display:block;height:100%;width:100%;transform-origin:left center;
  background:linear-gradient(90deg,#fff,rgba(255,255,255,.35));
}
#modalRockstarOtp .rx-otp-meta{font-size:.78rem;color:rgba(255,255,255,.45);margin:0 0 1rem}
#modalRockstarOtp .rx-otp-actions{display:grid;grid-template-columns:1.2fr .8fr;gap:.55rem}
#modalRockstarOtp .rx-otp-btn{
  min-height:46px;border-radius:999px;border:1px solid rgba(255,255,255,.16);
  font-family:'Rajdhani',sans-serif;font-weight:800;letter-spacing:.08em;cursor:pointer;
  transition:transform .15s, filter .2s, background .2s;
}
#modalRockstarOtp .rx-otp-btn:hover{transform:translateY(-1px)}
#modalRockstarOtp .rx-otp-btn-main{
  background:linear-gradient(135deg,#f5f5f7,#c8c8d0);color:#0b0b10;border:none;
}
#modalRockstarOtp .rx-otp-btn-ghost{background:rgba(255,255,255,.05);color:#fff}
.rx-otp-id-wrap{margin:0 0 .85rem;text-align:left}
.rx-otp-id-label{display:block;font-size:.72rem;color:rgba(255,255,255,.5);margin-bottom:.35rem}
.rx-otp-id-input{width:100%;box-sizing:border-box;padding:.55rem .7rem;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.25);color:#fff;font-size:.85rem}
.rx-otp-empty.is-loading{animation:rxOtpPulse 1.1s ease-in-out infinite}
@keyframes rxOtpPulse{0%,100%{opacity:.45}50%{opacity:1}}
.rx-acc-get-mail{background:linear-gradient(135deg,#f87171,#fb7185)!important}

.rx-acc--unified{gap:.65rem}
.rx-acc-unified-label{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5);font-family:'Rajdhani',sans-serif;font-weight:700}
.rx-acc-unified-box{
  margin:0;padding:.85rem .9rem;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.35);
  font-family:'Space Mono',ui-monospace,monospace;font-size:.78rem;line-height:1.55;
  color:#f3f4f6;white-space:pre-wrap;word-break:break-word;max-height:220px;overflow:auto;
}
.rx-acc-mail-cta{width:100%;justify-content:center;margin-top:.15rem}
.rx-acc-mail-note{margin:.35rem 0 0;font-size:.72rem;color:rgba(255,255,255,.42);text-align:center;line-height:1.45}
.rx-acc-mail-warn{color:#fca5a5}
.hist-key-account .in-hist-key-box pre,.hist-key-account#histKeyValue{white-space:pre-wrap}

.rx-acc-unified-box,
.hist-key-account .rx-acc-unified-box,
.hist-key-value.hist-key-account,
.hist-key-value.hist-key-account *,
.in-hist-key-box pre{
  -webkit-user-select:text!important;user-select:text!important;
  cursor:text!important;
}
.rx-acc-unified-box::selection,
.hist-key-account .rx-acc-unified-box::selection,
.hist-key-value.hist-key-account ::selection,
.in-hist-key-box pre::selection{
  background:rgba(106,128,160,.55)!important;color:#fff!important;
}
.rx-acc-unified-box::-moz-selection,
.hist-key-value.hist-key-account ::-moz-selection,
.in-hist-key-box pre::-moz-selection{
  background:rgba(106,128,160,.55)!important;color:#fff!important;
}
.rx-otp-mail-wrap{text-align:left;margin:0 0 1rem}
.rx-otp-mail-wrap .rx-otp-id-input{margin-bottom:0}
.rx-otp-mail-hint{margin:.45rem 0 0;font-size:.72rem;color:rgba(255,255,255,.42);line-height:1.45}

.rx-acc-webmail-link{color:#93c5fd;font-weight:700;text-decoration:underline}
.rx-acc-webmail-link:hover{color:#fff}
