/* Dorax Finance — when something fails, the owner's, in the v6 look (v430; the canvas "Error-V6", "Error-sesion-V6", "Error-guardar-V6";
   features/phone/r6-fail.js): the gate with no connection, the card when the session ended, the notice when a save did not go through.
   The lime flat (v415); the card on the cards' #121414 with its edge of light (the values of --r6-face and --r6-rim, written out: the gate
   and the card can show before the summary's look is on the page). */

/* ---------- no connection when opening ---------- */
.r6gate { position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column; box-sizing: border-box; overflow-y: auto; background: #070808; color: #EFF1F6; -webkit-font-smoothing: antialiased; }
.r6g-in { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; padding: calc(120px + var(--safe-t, 0px)) 24px 24px; text-align: center; }
.r6g-pic { display: block; width: 100%; max-width: 310px; height: auto; overflow: visible; }
.r6g-pic g { transition: opacity .3s ease; }
.r6g-try { opacity: 0; }
.r6gate.trying .r6g-off { opacity: 0; }
.r6gate.trying .r6g-try { opacity: 1; }
.r6g-flow { animation: r6g-flow .7s linear infinite; }
@keyframes r6g-flow { to { stroke-dashoffset: -20; } }
.r6gate.trying .r6-o { transform-origin: 32px 32px; transform-box: view-box; animation: r6g-turn 1.6s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes r6g-turn { 0% { transform: rotate(0); } 68%, 100% { transform: rotate(360deg); } }
.r6g-gap.shake { animation: r6g-shake .46s cubic-bezier(.36, .07, .19, .97) .2s both; }
@keyframes r6g-shake { 0%, 100% { transform: none; } 18% { transform: translateX(-9px); } 36% { transform: translateX(8px); } 54% { transform: translateX(-5px); } 72% { transform: translateX(3px); } }
.r6g-say { display: flex; flex-direction: column; align-items: center; }
.r6g-say h1 { margin: 40px 0 0; color: #EFF1F6; font-size: 24px; font-weight: 500; letter-spacing: -.02em; outline: none; }
.r6g-say p { max-width: 310px; margin: 10px 0 0; color: rgba(239, 241, 246, .68); font-size: 15.5px; line-height: 1.45; }
.r6g-still { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: #F7D27A; font-size: 14px; font-weight: 500; animation: r6g-rise .32s cubic-bezier(.2, .9, .25, 1) both; }
@keyframes r6g-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.r6g-still svg, .r6g-safe svg { flex: none; stroke-width: 2.2; }
.r6g-safe { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: rgba(239, 241, 246, .5); font-size: 13.5px; }
.r6g-status { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; padding: 0 12px; border-radius: 999px; color: rgba(239, 241, 246, .75); font-size: 14px; font-weight: 500; text-decoration: none; }
.r6g-status svg { stroke-width: 2.4; }
.r6g-foot { flex: none; position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 12px 20px calc(24px + var(--safe-b, 0px)); background: linear-gradient(180deg, rgba(7, 8, 8, 0), #070808 30%); }
.r6g-go { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; height: 54px; padding: 0 20px; border-radius: 999px; background: #9FD182; color: #101212; font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .34s cubic-bezier(.2, .9, .3, 1.25); }
.r6g-go:active { transform: scale(.965); }
.r6g-go[aria-disabled="true"] { pointer-events: none; }
.r6g-go svg { stroke-width: 2.3; }
.r6g-spin, .r6sv-spin { flex: none; display: block; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 2.6px solid rgba(16, 18, 18, .22); border-top-color: #101212; animation: r6g-spin .8s linear infinite; }
@keyframes r6g-spin { to { transform: rotate(360deg); } }
.r6g-out { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 44px; color: rgba(239, 241, 246, .6); font-size: 14.5px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
.r6gate :is(a, button):focus-visible { outline: 2px solid #9FD182; outline-offset: 3px; }

/* ---------- the session ended: the page dimmed and blurred, the card at the foot ---------- */
#r6-ended-root { position: fixed; inset: 0; z-index: 95; }
.r6e-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: r6e-fade .3s ease both; }
@keyframes r6e-fade { from { opacity: 0; } }
.r6e-card { position: absolute; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b, 0px)); display: flex; flex-direction: column; padding: 26px 22px 20px; border: 1px solid transparent; border-radius: 34px; color: #EFF1F6; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .8);
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 55%) padding-box, linear-gradient(#121414, #121414) padding-box, linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .025) 70%, rgba(255, 255, 255, .06)) border-box;
  animation: r6e-up .52s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes r6e-up { from { transform: translateY(105%); } to { transform: none; } }
.r6e-shut { animation: r6e-shut .5s cubic-bezier(.34, 1.56, .64, 1) .45s both; }
@keyframes r6e-shut { from { transform: translateY(-7px); } to { transform: none; } }
.r6e-card h2 { margin: 18px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -.02em; outline: none; }
.r6e-card p { margin: 8px 0 0; color: rgba(239, 241, 246, .68); font-size: 15.5px; line-height: 1.45; }
.r6e-go { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 54px; margin-top: 26px; padding: 0 20px; border-radius: 999px; background: #9FD182; color: #101212; font-size: 15px; font-weight: 500; -webkit-tap-highlight-color: transparent; transition: transform .34s cubic-bezier(.2, .9, .3, 1.25); }
.r6e-go:active { transform: scale(.965); }
.r6e-go:focus-visible { outline: 2px solid #9FD182; outline-offset: 3px; }

/* ---------- a save that did not go through: the notice at the thumb ---------- */
#r6-save-root.r6sv { --r6sv-rim: rgba(255, 138, 128, .38); position: fixed; left: 16px; right: 16px; bottom: var(--r6sv-b, calc(102px + var(--tab-b, 16px))); z-index: 89; display: flex; align-items: center; gap: 12px; min-height: 60px; box-sizing: border-box; padding: 6px 6px 6px 12px; border-radius: 24px; overflow: hidden;
  background: rgba(30, 33, 33, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--r6sv-rim), 0 18px 40px -14px rgba(0, 0, 0, .85); color: #EFF1F6; transition: box-shadow .25s ease; animation: r6sv-in .3s cubic-bezier(.2, .9, .25, 1) both; }
#r6-save-root.r6sv.try { --r6sv-rim: rgba(239, 241, 246, .14); animation: none; }
#r6-save-root.r6sv.ok { --r6sv-rim: rgba(159, 209, 130, .3); animation: none; }
#r6-save-root.out { animation: r6sv-out .2s ease both; pointer-events: none; }
@keyframes r6sv-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes r6sv-out { to { opacity: 0; transform: translateY(10px); } }
.r6sv-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 138, 128, .16); color: #FF8A80; }
.r6sv-ic svg { stroke-width: 2.2; }
.r6sv.try .r6sv-ic { background: rgba(239, 241, 246, .08); }
.r6sv.ok .r6sv-ic { background: rgba(159, 209, 130, .16); color: #9FD182; }
.r6sv .r6sv-spin { width: 17px; height: 17px; border-color: rgba(239, 241, 246, .2); border-top-color: #EFF1F6; }
.r6sv-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 7px 4px 7px 0; }
.r6sv-t b { font-size: 14.5px; font-weight: 500; }
.r6sv-t small { color: rgba(239, 241, 246, .6); font-size: 13px; line-height: 1.35; }
.r6sv-go { all: unset; box-sizing: border-box; cursor: pointer; flex: none; display: grid; place-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: #9FD182; font-size: 14.5px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
.r6sv-go:focus-visible { outline: 2px solid #9FD182; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .r6g-flow, .r6gate.trying .r6-o, .r6g-gap.shake, .r6g-still, .r6g-spin, .r6e-dim, .r6e-card, .r6e-shut, #r6-save-root.r6sv, #r6-save-root.out, .r6sv-spin { animation: none; }
  .r6g-pic g, .r6g-go, .r6e-go { transition: none; }
}
