.is-login .input-shell.renewal-pin-shell {
  position: relative;
  display: block;
}

.is-login .renewal-pin-shell > .field-icon {
  display: none;
}

.is-login .renewal-pin-shell > #phone-pin {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: text;
}

.renewal-pin-display {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 12px);
  pointer-events: none;
}

.renewal-pin-display > span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid #557798;
  border-radius: 12px;
  background: linear-gradient(145deg, #24425f, #0b1728);
  box-shadow: inset 0 1px 0 #ffffff21;
  color: #e2f8ff;
  font-size: 16px;
}

.renewal-pin-shell:focus-within .renewal-pin-display {
  outline: 2px solid var(--cyan, #70d7ef);
  outline-offset: 3px;
  border-radius: 12px;
}

.renewal-pin-shell:focus-within .renewal-pin-display > .is-next {
  border-color: var(--cyan, #70d7ef);
  background: linear-gradient(145deg, #2a5778, #10243a);
}

.renewal-auth {
  box-sizing: border-box;
  width: min(420px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid #5598da;
  border-radius: 26px;
  color: #f0f7ff;
  background: radial-gradient(ellipse at top, #204d80, transparent 70%), #0a1528;
  box-shadow: 0 24px 90px #00142e, inset 0 1px #c8eaff55;
  text-align: center;
}
.renewal-auth::backdrop { background: #030a18d9; backdrop-filter: blur(8px); }
.renewal-auth-card { padding: clamp(22px, 7vw, 38px); }
.renewal-auth-card img { object-fit: contain; margin-bottom: 10px; }
.renewal-auth-card h2 { margin: 0; font-size: clamp(23px, 6vw, 30px); }
.renewal-auth-status { margin: 0; color: #c1d9f7; font-size: 14px; }
.renewal-auth-stage { position: relative; display: grid; place-items: center; height: 164px; }
.renewal-auth-orbit { display: none; position: absolute; inset: 0; }
.renewal-auth[data-state="orbit"] .renewal-auth-orbit {
  display: block;
  animation: renewal-auth-turn 2.6s cubic-bezier(.65, .05, .35, 1) both;
}
.renewal-auth-orbit span, .renewal-auth-indicator {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #80caff;
  border-radius: 12px;
  background: linear-gradient(145deg, #275484, #0b1931);
  box-shadow: 0 0 18px #33aaff55, inset 0 1px #ffffff38;
  color: #f4faff;
  font-size: 23px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.renewal-auth-orbit span {
  position: absolute;
  inset: 0;
  margin: auto;
  animation: renewal-auth-gather 2.6s ease-in-out both;
}
.renewal-auth-orbit span:nth-child(1) { --start: -72px; --x: -46px; --y: 0px; }
.renewal-auth-orbit span:nth-child(2) { --start: -24px; --x: 0px; --y: -46px; }
.renewal-auth-orbit span:nth-child(3) { --start: 24px; --x: 0px; --y: 46px; }
.renewal-auth-orbit span:nth-child(4) { --start: 72px; --x: 46px; --y: 0px; }
@keyframes renewal-auth-turn { 0%, 25% { transform: rotate(0); } 87%, 100% { transform: rotate(360deg); } }
@keyframes renewal-auth-gather {
  0%, 16% { transform: translateX(var(--start)); }
  25%, 87% { transform: translate(var(--x), var(--y)); }
  100% { transform: scale(.7); opacity: 0; }
}
.renewal-auth-indicator { width: 56px; height: 56px; }
.renewal-auth[data-state="orbit"] .renewal-auth-indicator { visibility: hidden; }
.renewal-auth[data-state="checking"] .renewal-auth-indicator {
  width: 35px;
  height: 35px;
  border: 2px solid #82caff44;
  border-top-color: #a9eaff;
  border-radius: 50%;
  background: none;
  animation: renewal-auth-spin .8s linear infinite;
}
@keyframes renewal-auth-spin { to { transform: rotate(360deg); } }
.renewal-auth[data-state="confirmed"] .renewal-auth-indicator {
  background: #1464aa;
  box-shadow: 0 0 36px #43bfff9c;
  font-size: 30px;
}
@media (prefers-reduced-motion: reduce) {
  .renewal-auth[data-state="checking"] .renewal-auth-indicator {
    animation: none;
  }
}
.renewal-auth:not([open]) { display: none; }
.renewal-auth.auth-fallback {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  z-index: 9999;
  box-shadow: 0 0 0 100vmax #030a18d9;
}
.renewal-auth[data-state="orbit"] .renewal-auth-logo,
.renewal-auth[data-state="checking"] .renewal-auth-logo {
  animation: cliente-logo-turn 1.3s linear infinite;
}
@keyframes cliente-logo-turn {
  from { transform: perspective(400px) rotateY(0deg); }
  to { transform: perspective(400px) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .renewal-auth[data-state] .renewal-auth-logo,
  .renewal-auth[data-state="orbit"] .renewal-auth-orbit,
  .renewal-auth-orbit span { animation: none; }
  .renewal-auth-orbit { visibility: hidden; }
}
