/* Dorax Finance — the owner's way in, in the v6 look (v429; features/phone/r6-lock.js; the canvas "Carga-V6", "Bloqueo-V6", "Crear-PIN-V6",
   "Cambio-empresa-V6"). The wait on the page's black with the logo's o turning; the closed screen and the making of the PIN on the lock's ground
   (the green of the summary's cover as light through fog, taken to black, a fine grain over it), round keys of 64 px; the change of sides in
   dark glass. Lime flat (v415). Nothing moves for someone who asked for less motion. */

/* ---------- the wait ---------- */
.r6gate { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #070808; color: #EFF1F6; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', Inter, 'Helvetica Neue', Arial, sans-serif; }
.r6gate .r6g-o { display: block; width: 76px; height: 76px; animation: r6g-breathe 3.2s ease-in-out infinite; }
.r6gate .r6g-o svg { display: block; overflow: visible; }
.r6gate .r6g-turn { transform-origin: 30px 30px; transform-box: view-box; animation: r6g-turn 1.6s cubic-bezier(.65, 0, .35, 1) infinite; }
.r6gate .r6g-say { color: rgba(239, 241, 246, .55); font-size: 14px; animation: r6g-late .5s ease .6s both; }      /* only if the wait lasts */
@keyframes r6g-turn { 0% { transform: rotate(0); } 68%, 100% { transform: rotate(360deg); } }
@keyframes r6g-breathe { 0%, 100% { transform: scale(.96); } 50% { transform: none; } }
@keyframes r6g-late { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- the closed screen and the making of the PIN: one screen ---------- */
.r6lk { position: fixed; inset: 0; z-index: 400; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; padding: calc(104px + var(--safe-t, 0px)) 16px calc(90px + var(--safe-b, 0px)); background: #070808; color: #EFF1F6;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', Inter, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; text-align: center; }
.r6lk > * { position: relative; z-index: 1; }
.r6lk::before { content: ""; position: absolute; inset: -90px; z-index: 0; filter: blur(42px); pointer-events: none;
  background: radial-gradient(58% 24% at 20% 10%, #56897F, rgba(86, 137, 127, 0)), radial-gradient(90% 11% at 50% 33%, #040A09, rgba(4, 10, 9, 0)), radial-gradient(46% 24% at 100% 60%, #3F7A70, rgba(63, 122, 112, 0)), radial-gradient(56% 20% at 4% 95%, #2B5951, rgba(43, 89, 81, 0)), radial-gradient(48% 16% at 58% 80%, #030707, rgba(3, 7, 7, 0)), linear-gradient(180deg, #0E2B26 0%, #070808 38%, #081A17 68%, #03362D 100%); }
.r6lk::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-size: 160px 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.r6lk .r6gate { position: absolute; z-index: 2; }
.r6lk .r6lk-tile { flex: none; display: block; width: 72px; height: 72px; overflow: hidden; border-radius: 20px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.r6lk .r6lk-tile svg { display: block; }
.r6lk h1 { margin: 26px 0 0; color: #EFF1F6; font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; outline: none; }
.r6lk .r6lk-say { margin: 8px 0 0; min-height: 21px; max-width: 320px; color: rgba(239, 241, 246, .6); font-size: 15px; line-height: 1.4; text-wrap: balance; transition: color .2s ease; }
.r6lk .r6lk-say.bad { color: #FF8A80; }
.r6lk .r6lk-say.ok { color: #9FD182; animation: r6lk-rise .3s cubic-bezier(.2, .9, .25, 1) both; }
.r6lk .r6lk-dots { display: flex; align-items: center; justify-content: center; height: 64px; margin-top: 24px; }
.r6lk .lock-dots { display: flex; gap: 20px; padding: 0; }
.r6lk .lock-dots i { display: block; width: 14px; height: 14px; box-sizing: border-box; border: 0; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1.5px rgba(239, 241, 246, .4); transition: background-color .15s ease, box-shadow .15s ease, transform .28s cubic-bezier(.34, 1.56, .64, 1); }
.r6lk .lock-dots i.on { background: #EFF1F6; box-shadow: none; }
.r6lk .lock-dots.bad i { box-shadow: inset 0 0 0 1.5px #FF8A80; }
.r6lk .lock-dots.no, .r6lk .shA, .r6lk .shB { animation: r6lk-sh .46s cubic-bezier(.36, .07, .19, .97) both; }
.r6lk .shB { animation-name: r6lk-sh2; }
.r6lk .r6pin-sh { display: block; }
.r6lk .nxA, .r6lk .nxB { animation: r6lk-nx .42s cubic-bezier(.2, .9, .25, 1) both; }
.r6lk .nxB { animation-name: r6lk-nx2; }
.r6lk .r6lk-face { display: grid; place-items: center; width: 64px; height: 64px; color: #EFF1F6; animation: r6lk-pulse 1.3s ease-in-out infinite; }
.r6lk .r6lk-face svg { stroke-width: 1.5; }
/* the keys: round, 64 px, a quick dip when pressed */
.r6lk .r6lk-pad { display: grid; grid-template-columns: repeat(3, 64px); gap: 18px 30px; justify-content: center; margin-top: 34px; }
.r6lk .r6lk-key { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(239, 241, 246, .08); color: #EFF1F6; font-size: 28px; font-weight: 400; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, transform .22s cubic-bezier(.2, .9, .3, 1.25); }
.r6lk .r6lk-key:hover { background: rgba(239, 241, 246, .12); }
.r6lk .r6lk-key:active { background: rgba(239, 241, 246, .2); transform: scale(.93); }
.r6lk .r6lk-key.aux { background: transparent; color: rgba(239, 241, 246, .85); }
.r6lk .r6lk-key.aux:active { background: rgba(239, 241, 246, .1); }
.r6lk .r6lk-key:disabled { opacity: .35; cursor: default; }
.r6lk .r6lk-key svg { width: 26px; height: 26px; stroke-width: 1.8; }
.r6lk :is(button, a):focus-visible { outline: 2px solid #9FD182; outline-offset: 3px; }
/* the way out at the foot */
.r6lk .r6lk-forgot { all: unset; position: absolute; left: 50%; bottom: calc(30px + var(--safe-b, 0px)); transform: translateX(-50%); display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: rgba(239, 241, 246, .6); font-size: 14.5px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.r6lk .r6lk-note { margin: 12px 0 0; max-width: 320px; color: rgba(239, 241, 246, .62); font-size: 15px; line-height: 1.5; text-wrap: balance; }
.r6lk .r6lk-acts { display: flex; flex-direction: column; gap: 10px; width: min(320px, 100%); margin-top: 28px; }
.r6lk :is(.r6lk-go, .r6lk-back) { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.r6lk .r6lk-go { background: #9FD182; color: #101212; }
.r6lk .r6lk-back { background: rgba(239, 241, 246, .08); box-shadow: inset 0 0 0 1px rgba(239, 241, 246, .14); color: #EFF1F6; }
/* the right PIN, or both the same: the dots lime, the tile's beat */
.r6lk.open .lock-dots i { background: #9FD182; box-shadow: none; transform: scale(1.12); }
.r6lk.open .r6lk-tile { animation: r6lk-beat .5s cubic-bezier(.34, 1.56, .64, 1) both; }
#unlock-fx.r6 { background: none; }
#unlock-fx.r6 > .r6lk { position: absolute; }
/* making the PIN: × at the top, a mark for each round, where it is kept at the foot */
.r6lk.r6pin { z-index: 72; }
.r6lk .r6pin-x { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; top: calc(14px + var(--safe-t, 0px)); right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(239, 241, 246, .08); box-shadow: inset 0 0 0 1px rgba(239, 241, 246, .14); color: #EFF1F6; }
.r6lk .r6pin-x svg { stroke-width: 2.2; }
.r6lk .r6pin-rounds { display: flex; gap: 6px; margin-top: 18px; }
.r6lk .r6pin-rounds i { display: block; width: 8px; height: 4px; border-radius: 2px; background: rgba(239, 241, 246, .25); transition: width .3s ease, background-color .3s ease; }
.r6lk .r6pin-rounds i.on { width: 22px; background: #EFF1F6; }
.r6lk .r6pin-rounds i.done { background: #9FD182; }
.r6lk.r6pin .r6lk-dots { margin-top: 6px; }
.r6lk .r6pin-foot { position: absolute; left: 0; right: 0; bottom: calc(40px + var(--safe-b, 0px)); color: rgba(239, 241, 246, .5); font-size: 13.5px; }
#overlay.in .r6lk.r6pin { animation: r6lk-in .3s cubic-bezier(.2, .9, .25, 1) both; }
#overlay.out .r6lk.r6pin { animation: r6lk-out .2s ease-in both; }
@media (max-height: 700px) { .r6lk { padding-top: calc(56px + var(--safe-t, 0px)); } .r6lk .r6lk-pad { gap: 12px 26px; margin-top: 22px; } .r6lk h1 { margin-top: 18px; } .r6lk .r6lk-dots { margin-top: 12px; } }
@keyframes r6lk-sh { 0%, 100% { transform: none; } 18% { transform: translateX(-12px); } 36% { transform: translateX(10px); } 54% { transform: translateX(-7px); } 72% { transform: translateX(5px); } 88% { transform: translateX(-2px); } }
@keyframes r6lk-sh2 { 0%, 100% { transform: none; } 18% { transform: translateX(-12px); } 36% { transform: translateX(10px); } 54% { transform: translateX(-7px); } 72% { transform: translateX(5px); } 88% { transform: translateX(-2px); } }
@keyframes r6lk-nx { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
@keyframes r6lk-nx2 { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
@keyframes r6lk-beat { 45% { transform: scale(1.1); } 100% { transform: none; } }
@keyframes r6lk-pulse { 0%, 100% { opacity: .5; transform: scale(.92); } 50% { opacity: 1; transform: none; } }
@keyframes r6lk-rise { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes r6lk-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes r6lk-out { to { opacity: 0; transform: translateY(14px); } }

/* ---------- changing sides: dark glass, the ring's quarter in the side's colour (the company white, the household lime) ---------- */
#side-shift.r6 { background: rgba(7, 8, 8, .74); -webkit-backdrop-filter: blur(22px) saturate(120%); backdrop-filter: blur(22px) saturate(120%); color: #EFF1F6; }
#side-shift.r6.co { --shift-ac: #EFF1F6; } #side-shift.r6.home { --shift-ac: #9FD182; }
#side-shift.r6 .shift-in { gap: 22px; }
#side-shift.r6 .shift-loader { width: 64px; height: 64px; }
#side-shift.r6 .shift-loader circle { stroke: rgba(226, 246, 213, .16); }
#side-shift.r6 .shift-loader path { animation: shift-spin 1.1s cubic-bezier(.45, .05, .55, .95) infinite; }
#side-shift.r6 .shift-say { gap: 5px; }
#side-shift.r6 .shift-say b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
#side-shift.r6 .shift-say small { color: rgba(239, 241, 246, .55); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .r6gate :is(.r6g-o, .r6g-turn, .r6g-say), .r6lk :is(.lock-dots, .shA, .shB, .nxA, .nxB, .r6lk-face, .r6lk-tile, .r6lk-say), .r6lk.r6pin { animation: none !important; }
  .r6lk :is(.r6lk-key, .lock-dots i, .r6pin-rounds i) { transition: none; }
}
