/* Dorax Finance — a card's invoice opened, in the owner's v6 look (v427; the canvas "Factura-abierta-V6"; features/phone/r6-inv.js). The panel on
   the page's black, as an account opened (look-r6-cardv.css): its name at the top with the way back and the close; the card in its bank's colour;
   its days as a line; the limit in parts; the installments and the purchases as rows; the next invoice; paying it in lime at the thumb. */
@media (max-width: 920px) {
  /* ---------- the panel ---------- */
  :root.land #overlay .drawer:has(.r6inv) {
    --ink: #EFF1F6; --ink-strong: #EFF1F6; --ink-2: rgba(239, 241, 246, .66); --ink-3: rgba(239, 241, 246, .5); --line: rgba(239, 241, 246, .08);
    border: 0; border-radius: 0; background: #070808; color: #EFF1F6;
  }
  :root.land #overlay .drawer:has(.r6inv) > .grab::before { display: none; }
  :root.land #overlay .drawer:has(.r6inv) > header { align-items: center; gap: 10px; padding: 14px 16px 10px; border: 0; background: #070808; }
  :root.land #overlay .drawer:has(.r6inv) > header h2 { flex: 1 1 auto; min-width: 0; overflow: hidden; color: #EFF1F6; font-size: 20px; font-weight: 500; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
  :root.land #overlay .drawer:has(.r6inv) > header :is(.dr-back, [data-a="close"]) {
    all: unset; box-sizing: border-box; cursor: pointer; flex: none; 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; -webkit-tap-highlight-color: transparent; transition: transform .34s cubic-bezier(.2, .9, .3, 1.25);
  }
  :root.land #overlay .drawer:has(.r6inv) > header :is(.dr-back, [data-a="close"]):active { transform: scale(.94); }
  :root.land #overlay .drawer:has(.r6inv) > header :is(.dr-back, [data-a="close"]):focus-visible { outline: 2px solid #9FD182; outline-offset: 2px; }
  :root.land #overlay .drawer:has(.r6inv) > header :is(.dr-back, [data-a="close"]) svg { width: 17px; height: 17px; }
  :root.land #overlay .r6inv { display: flex; flex-direction: column; gap: 0; padding: 6px 16px 40px; background: #070808; color: #EFF1F6; }
  :root.land #overlay .r6inv :is(button, a):focus-visible { outline: 2px solid #9FD182; outline-offset: 2px; }
  :root.land #overlay .r6inv > * { flex: none; }
  :root.land #overlay .r6inv-quiet { margin: 20px 0; color: rgba(239, 241, 246, .6); font-size: 15px; }

  /* ---------- the card, in its bank's colour ---------- */
  :root.land #overlay .r6inv-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; height: 186px; box-sizing: border-box; margin-top: 8px; padding: 20px 22px; border-radius: 26px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 30px rgba(0, 0, 0, .45); color: #FFFFFF; animation: r6inv-up .5s cubic-bezier(.2, .9, .25, 1) both; }
  @keyframes r6inv-up { from { opacity: 0; transform: translateY(10px); } }
  :root.land #overlay .r6inv-sheen { position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
  :root.land #overlay .r6inv-c1 { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  :root.land #overlay .r6inv-lg .inst { display: grid; place-items: center; width: 36px; height: 36px; margin: 0; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); font-size: 12px; font-weight: 600; }
  :root.land #overlay .r6inv-lg .inst img { display: block; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
  :root.land #overlay .r6inv-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #FFFFFF; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
  :root.land #overlay .r6inv-chip.late { background: #FF8A80; color: #2A0B08; }
  :root.land #overlay .r6inv-chip.paid { background: #FFFFFF; }
  :root.land #overlay .r6inv-chip svg { stroke-width: 2.6; }
  :root.land #overlay .r6inv-c2 { position: relative; display: flex; flex-direction: column; gap: 4px; }
  :root.land #overlay .r6inv-c2 small { color: rgba(255, 255, 255, .78); font-size: 13px; }
  :root.land #overlay .r6inv-c2 b { font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
  :root.land #overlay .r6inv-c2 b .cents { opacity: 1; color: rgba(255, 255, 255, .7); font-size: 19px; letter-spacing: -.01em; }

  /* ---------- its days: closed, today, due; the best day to buy ---------- */
  :root.land #overlay .r6inv-days { display: flex; flex-direction: column; margin-top: 24px; }
  :root.land #overlay .r6inv-line { position: relative; height: 46px; margin: 0 10px; }
  :root.land #overlay .r6inv-track, :root.land #overlay .r6inv-gone { position: absolute; top: 7px; height: 2px; border-radius: 1px; }
  :root.land #overlay .r6inv-track { left: 0; right: 0; background: rgba(239, 241, 246, .14); }
  :root.land #overlay .r6inv-gone { background: #EFF1F6; transform-origin: 0 50%; animation: r6inv-grow .9s cubic-bezier(.16, 1, .3, 1) .15s both; }
  @keyframes r6inv-grow { from { transform: scaleX(0); } }
  :root.land #overlay .r6inv-pt { position: absolute; top: 2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #EFF1F6; }
  :root.land #overlay .r6inv-pt.now { top: 0; width: 16px; height: 16px; margin-left: -8px; background: #070808; box-shadow: inset 0 0 0 3px #EFF1F6; }
  :root.land #overlay .r6inv-pt.due { background: #070808; box-shadow: inset 0 0 0 2px rgba(239, 241, 246, .5); }
  :root.land #overlay .r6inv-pt.due.paid { background: #9FD182; box-shadow: none; }
  :root.land #overlay .r6inv-tl { position: absolute; top: 24px; transform: translateX(-50%); color: rgba(239, 241, 246, .55); font-size: 12.5px; white-space: nowrap; }
  :root.land #overlay .r6inv-tl.a { transform: translateX(-8px); }
  :root.land #overlay .r6inv-tl.z { transform: translateX(calc(-100% + 8px)); }
  :root.land #overlay .r6inv-tl.now { color: #EFF1F6; font-weight: 600; }
  :root.land #overlay .r6inv-tl.up { top: -20px; }      /* v530: whichever label is between the other two, near one of them */
  :root.land #overlay .r6inv-line:has(.r6inv-tl.up) { margin-top: 20px; }
  :root.land #overlay .r6inv-best { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 14px 0 0; }
  :root.land #overlay .r6inv-bi { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(106, 175, 162, .16); color: #8FD3C5; }
  :root.land #overlay .r6inv-best > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  :root.land #overlay .r6inv-best b { font-size: 15px; font-weight: 500; }
  :root.land #overlay .r6inv-best small { color: rgba(239, 241, 246, .58); font-size: 13px; }

  /* ---------- the sections: the limit, the installments, the purchases ---------- */
  :root.land #overlay .r6inv-sec { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  :root.land #overlay .r6inv-sec h2 { margin: 0; color: #EFF1F6; font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
  :root.land #overlay .r6inv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  :root.land #overlay .r6inv-h small { flex: none; color: rgba(239, 241, 246, .5); font-size: 13px; }
  :root.land #overlay .r6inv-free { flex: none; color: rgba(239, 241, 246, .6); font-size: 14px; }
  :root.land #overlay .r6inv-free b { color: #9FD182; font-size: 15px; font-weight: 500; }
  :root.land #overlay .r6inv-bar { display: flex; gap: 3px; height: 14px; overflow: hidden; border-radius: 7px; background: rgba(239, 241, 246, .06); transform-origin: 0 50%; animation: r6inv-grow .9s cubic-bezier(.16, 1, .3, 1) .15s both; }
  :root.land #overlay .r6inv-bar > i { display: block; height: 100%; min-width: 3px; }
  :root.land #overlay :is(.r6inv-bar, .r6inv-legend) i.a { background: #EFF1F6; }
  :root.land #overlay :is(.r6inv-bar, .r6inv-legend) i.b { background: rgba(239, 241, 246, .55); }
  :root.land #overlay :is(.r6inv-bar, .r6inv-legend) i.c { background: rgba(239, 241, 246, .26); }
  :root.land #overlay .r6inv-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  :root.land #overlay .r6inv-legend small { display: inline-flex; align-items: center; gap: 6px; color: rgba(239, 241, 246, .6); font-size: 12.5px; }
  :root.land #overlay .r6inv-legend small b { color: #EFF1F6; font-weight: 500; }
  :root.land #overlay .r6inv-legend i { width: 8px; height: 8px; border-radius: 50%; }
  :root.land #overlay .r6inv-list { display: flex; flex-direction: column; margin: 0 -16px; }
  :root.land #overlay .r6inv-row { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 16px; color: #EFF1F6; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease; }
  :root.land #overlay .r6inv-row:active { background: rgba(239, 241, 246, .05); }
  :root.land #overlay .r6inv-row.r6inv-cuo { min-height: 76px; }
  :root.land #overlay .r6inv-row.r6inv-cuo + .r6inv-cuo { border-top: 1px solid rgba(239, 241, 246, .07); }
  :root.land #overlay .r6inv-row.r6inv-buy { animation: r6inv-rise .36s cubic-bezier(.2, .9, .25, 1) var(--d, 0ms) backwards; }
  @keyframes r6inv-rise { from { opacity: 0; transform: translateY(8px); } }
  :root.land #overlay .r6inv-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(239, 241, 246, .08); color: #EFF1F6; }
  :root.land #overlay .r6inv-ic.sm { width: 36px; height: 36px; background: rgba(239, 241, 246, .06); color: rgba(239, 241, 246, .85); }
  :root.land #overlay .r6inv-ic svg { width: 18px; height: 18px; }
  :root.land #overlay .r6inv-ic.sm svg { width: 16px; height: 16px; }
  :root.land #overlay .r6inv-l { font-size: 14px; font-weight: 500; }
  :root.land #overlay .r6inv-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  :root.land #overlay .r6inv-cuo .r6inv-t { gap: 6px; }
  :root.land #overlay .r6inv-cuo .r6inv-t > small { white-space: normal; }
  :root.land #overlay .r6inv-t b { overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
  :root.land #overlay .r6inv-t small { overflow: hidden; color: rgba(239, 241, 246, .5); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
  :root.land #overlay .r6inv-tn { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  :root.land #overlay .r6inv-tn b { font-size: 15.5px; }
  :root.land #overlay .r6inv-tn small { flex: none; color: #D9DCE1; font-weight: 600; }
  :root.land #overlay .r6inv-dots { display: flex; flex-wrap: wrap; gap: 4px; }
  :root.land #overlay .r6inv-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(239, 241, 246, .22); animation: r6inv-dot .3s cubic-bezier(.34, 1.56, .64, 1) both; }
  :root.land #overlay .r6inv-dots i.done { background: rgba(239, 241, 246, .45); box-shadow: none; }
  :root.land #overlay .r6inv-dots i.now { background: #EFF1F6; box-shadow: 0 0 0 2px rgba(239, 241, 246, .18); }
  @keyframes r6inv-dot { from { transform: scale(0); } }
  :root.land #overlay .r6inv-amt { flex: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
  :root.land #overlay .r6inv-more { all: unset; box-sizing: border-box; cursor: pointer; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; color: #D9DCE1; font-size: 14.5px; font-weight: 500; }
  :root.land #overlay .r6inv-more svg { width: 14px; height: 14px; stroke-width: 2.2; }
  /* the next invoice */
  :root.land #overlay .r6inv-next { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 18px -16px 0; padding: 0 16px; border-top: 1px solid rgba(239, 241, 246, .07); color: #EFF1F6; }
  :root.land #overlay .r6inv-next:active { background: rgba(239, 241, 246, .05); }
  :root.land #overlay .r6inv-next .r6inv-amt { color: rgba(239, 241, 246, .8); }
  :root.land #overlay .r6inv-next > svg { flex: none; width: 16px; height: 16px; color: rgba(239, 241, 246, .45); stroke-width: 2.2; }

  /* ---------- at the thumb: paying it ---------- */
  :root.land #overlay .drawer:has(.r6inv) > footer.r6inv-foot { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: -24px; padding: 14px 20px calc(24px + var(--safe-b, 0px)); border: 0;
    background: linear-gradient(180deg, rgba(7, 8, 8, 0), rgba(7, 8, 8, .92) 30%, #070808); }
  :root.land #overlay .r6inv-from { align-self: center; display: inline-flex; align-items: center; gap: 8px; color: rgba(239, 241, 246, .6); font-size: 13px; }
  :root.land #overlay .r6inv-from .inst { display: grid; place-items: center; width: 20px; height: 20px; margin: 0; overflow: hidden; border-radius: 50%; font-size: 8px; font-weight: 600; }
  :root.land #overlay .r6inv-from .inst img { display: block; width: 20px; height: 20px; border-radius: 50%; }
  :root.land #overlay .r6inv-pay { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 20px; border-radius: 999px; background: #9FD182; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); color: #101212; font-size: 15px; font-weight: 500; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: transform .34s cubic-bezier(.2, .9, .3, 1.25); }
  :root.land #overlay .r6inv-pay:active { transform: scale(.965); }
  :root.land #overlay .r6inv-pay:focus-visible { outline: 2px solid #9FD182; outline-offset: 3px; }
  :root.land #overlay .r6inv-done { align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #9FD182; font-size: 15px; font-weight: 500; }
  :root.land #overlay .r6inv-done svg { stroke-width: 2.6; }

  /* the card's own invoice name opens it (look-r6-cardv.css keeps the heading's ink) */
  :root.land #overlay .r6cv .r6cv-open { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
  :root.land #overlay .r6cv .r6cv-open svg { flex: none; color: rgba(239, 241, 246, .45); stroke-width: 2.2; }
  :root.land #overlay .r6cv .r6cv-open:focus-visible { outline: 2px solid #9FD182; outline-offset: 2px; border-radius: 8px; }

  @media (prefers-reduced-motion: reduce) {
    :root.land #overlay :is(.r6inv-card, .r6inv-gone, .r6inv-bar, .r6inv-dots i, .r6inv-row.r6inv-buy) { animation: none; }
    :root.land #overlay :is(.r6inv-row, .r6inv-pay, .drawer:has(.r6inv) > header button) { transition: none; }
  }
}
