/* Redex phone screens mapped onto avec's phone-demo video (see phone.js). 393x852 design pixels. */
.rxp { position: absolute; pointer-events: none; overflow: hidden; z-index: 1; }
.rxp-screen {
  position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform-origin: 0 0;
  border-radius: 54px; overflow: hidden; background: #dddddd; color: #111;
  font-family: var(--font-inter-face, "Inter"), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: -.01em; backface-visibility: hidden;
}
.rxp-screen::before { /* dynamic island */
  content: ""; position: absolute; z-index: 9; left: 134px; top: 11px; width: 125px; height: 36px; border-radius: 20px; background: #000;
}
.rxp-i { display: inline-flex; width: 16px; height: 16px; flex: none; }
.rxp-i svg, .rxp-circ svg, .rxp-tabs svg { width: 100%; height: 100%; }
.rxp-i svg:not([fill]), .rxp-circ svg:not([fill]), .rxp-tabs svg:not([fill]) { fill: currentColor; }
.rxp-dim { color: #8d8d8d; }

/* status bar + header */
.rxp-status { position: absolute; inset: 0 0 auto; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 2px 30px 0 38px; z-index: 8; }
.rxp-time { font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.rxp-sicons { display: flex; align-items: center; gap: 6px; }
.rxp-sicons svg { height: 12px; width: auto; fill: #000; }
.rxp-sicons svg:last-child { height: 13px; }
.rxp-head { position: absolute; left: 15px; right: 15px; top: 54px; height: 25px; display: flex; align-items: center; gap: 7px; }
.rxp-head b { font-weight: 600; font-size: 20px; letter-spacing: -.03em; }
.rxp-count { font-size: 16px; color: #8d8d8d; margin-top: 2px; }
.rxp-segc { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: #9a9a9a; }
.rxp-segc span { padding: 5px 9px; border-radius: 13px; }
.rxp-segc .on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0,0,0,.06); }

/* stack */
.rxp-stack { position: absolute; left: 12px; top: 98px; width: 369px; height: 568px; }
.rxp-back { position: absolute; left: 9px; right: 9px; top: -6px; height: 40px; border-radius: 18px; background: #f3f1ed; }
.rxp-card { position: absolute; inset: 0; border-radius: 18px; background: #fefcf8; box-shadow: 0 1px 2px rgba(0,0,0,.05); overflow: hidden; }
.rxp-mail { padding: 18px 14px 0; }
.rxp-mail h4 { margin: 0 0 13px; font-size: 15.5px; font-weight: 500; letter-spacing: -.02em; }
.rxp-from { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.rxp-from img { width: 32px; height: 32px; border-radius: 50%; }
.rxp-from b { display: block; font-size: 12px; font-weight: 500; }
.rxp-from small { display: block; font-size: 10.5px; color: #8d8d8d; margin-top: 2px; }
.rxp-mail p { margin: 0 0 22px; font-size: 13.4px; line-height: 22px; letter-spacing: -.012em; color: #1b1b1b; }
.rxp-btn { position: absolute; left: 10px; right: 10px; top: 478px; height: 78px; border-radius: 13px; background: #1f77f5; color: #fff; }
.rxp-btn-a, .rxp-btn-b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.rxp-btn span { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; }
.rxp-btn small { font-size: 10.5px; opacity: .92; }
.rxp-btn .rxp-i { width: 15px; height: 15px; }
.rxp-wave { display: inline-flex; align-items: center; gap: 2px; height: 12px; margin-right: 4px; }
.rxp-wave b { width: 2px; height: 12px; border-radius: 1px; background: #fff; }

/* low-signal group */
.rxp-low { padding: 0 15px; }
.rxp-grouped { display: block; text-align: center; font-size: 11px; color: #9a9a9a; margin-top: 30px; }
.rxp-low h5 { margin: 4px 0 0; text-align: center; font-size: 17.5px; font-weight: 500; letter-spacing: -.025em; }
.rxp-grp { display: flex; align-items: center; gap: 8px; height: 20px; margin: 26px 0 10px; font-size: 13.5px; }
.rxp-low h5 + .rxp-grp { margin-top: 20px; }
.rxp-grp b { font-weight: 500; }
.rxp-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.rxp-mute { margin-left: auto; color: #1f6fd8; font-weight: 500; }
.rxp-more { width: 15px; height: 15px; color: #9a9a9a; margin-left: 6px; }
.rxp-msg { height: 53px; margin-bottom: 10px; padding: 8px 9px 0; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #eceae6; }
.rxp-msg div { display: flex; justify-content: space-between; align-items: baseline; }
.rxp-msg b { font-size: 12.5px; font-weight: 500; }
.rxp-msg time { font-size: 10px; color: #a3a3a3; }
.rxp-msg small { display: block; margin-top: 5px; font-size: 10.5px; color: #a3a3a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rxp-tint { position: absolute; inset: 0; background: rgba(35,175,77,.14); opacity: 0; }

/* done card */
.rxp-done { position: absolute; inset: 0; border-radius: 18px; background: #23af4d; color: #fff; padding: 28px 24px; transform-origin: 50% 100%; opacity: 0; }
.rxp-done .rxp-i { width: 30px; height: 30px; display: block; }
.rxp-done b { display: block; margin-top: 8px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }

/* inbox zero */
.rxp-empty { position: absolute; left: 77px; right: 82px; top: 300px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; opacity: 0; }
.rxp-empty p { margin: 0 0 6px; text-align: center; font-size: 12.5px; color: #333; }
.rxp-grass { height: 56px; border-radius: 28px; display: grid; place-items: center; color: #fff; font-size: 14.5px; font-weight: 500; background: linear-gradient(180deg, #45a9ff, #1f8bfe); box-shadow: 0 6px 14px rgba(31,139,254,.25); }
.rxp-laterbtn { height: 56px; border-radius: 28px; display: flex; align-items: center; justify-content: center; gap: 9px; background: #fff; font-size: 13.5px; font-weight: 500; }
.rxp-laterbtn .rxp-i { width: 18px; height: 18px; }

/* bottom controls */
.rxp-actions { position: absolute; left: 11px; right: 10px; top: 689px; height: 57px; }
.rxp-circ { position: absolute; top: 0; width: 43px; height: 43px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 11px; color: #333; }
.rxp-circ:first-child { left: 0; }
.rxp-circ:last-child { right: 0; }
.rxp-pill { position: absolute; top: 9px; width: 131px; height: 48px; border-radius: 24px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: #222; }
.rxp-pill:nth-child(2) { left: 51px; }
.rxp-pill:nth-child(3) { left: 189px; }
.rxp-ok, .rxp-ok .rxp-i { color: #1d9a45; }
.rxp-tabs { position: absolute; left: 26px; width: 341px; top: 767px; height: 57px; border-radius: 29px; background: #e8e8e5; display: flex; align-items: center; justify-content: space-between; padding: 0 7px; color: #555; }
.rxp-tabs > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 12px; }
.rxp-tabs > span.on { background: #fbf9f5; color: #111; }
.rxp-avs { position: relative; padding: 0 !important; }
.rxp-avs img { position: absolute; width: 15px; height: 15px; border-radius: 50%; box-shadow: 0 0 0 1.5px #e8e8e5; }
.rxp-avs img:nth-child(1) { left: 13px; top: 11px; }
.rxp-avs img:nth-child(2) { left: 21px; top: 17px; }
.rxp-avs img:nth-child(3) { left: 12px; top: 20px; }

/* update-token sheet */
.rxp-sheet { position: absolute; left: 0; right: 0; top: 0; height: 852px; background: #fff; border-radius: 16px 16px 0 0; z-index: 7; box-shadow: 0 -2px 12px rgba(0,0,0,.06); visibility: hidden; }
.rxp-sheet-h { display: flex; align-items: center; height: 40px; margin: 29px 22px 0 22px; }
.rxp-sheet-h b { font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.rxp-clip { margin-left: auto; width: 20px; height: 20px; color: #8a8a8a; }
.rxp-send { width: 40px; height: 40px; border-radius: 50%; background: #1f92fe; color: #fff; display: grid; place-items: center; padding: 10px; margin-left: 18px; }
.rxp-send svg { width: 100%; height: 100%; fill: #fff; }
.rxp-row { display: flex; align-items: center; gap: 8px; height: 48px; margin: 0 22px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.rxp-sheet-h + .rxp-row { margin-top: 8px; }
.rxp-row img { width: 21px; height: 21px; border-radius: 50%; }
.rxp-lbl { width: 46px; }
.rxp-ud { margin-left: auto; width: 15px; height: 15px; color: #b0b0b0; }
.rxp-body { margin: 16px 22px 0; font-size: 14.5px; line-height: 24px; letter-spacing: -.015em; }
.rxp-body p { margin: 0; }
.rxp-body p.rxp-gap { height: 14px; }
.rxp-body b { font-weight: 600; }
.rxp-media { position: relative; height: 104px; margin-bottom: 18px; }
.rxp-banner { position: absolute; inset: 0 0 18px 0; border-radius: 12px; background: radial-gradient(120% 140% at 85% 0%, #3d7bff 0%, #0050ff 45%, #001f7a 100%); }
.rxp-banner::after { content: ""; position: absolute; right: 18px; top: 13px; width: 44px; height: 53px; background: rgba(255,255,255,.9); -webkit-mask: url(/redex/redex-mark.png) center / contain no-repeat; mask: url(/redex/redex-mark.png) center / contain no-repeat; }
.rxp-logo { position: absolute; left: 14px; bottom: 0; width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; background: radial-gradient(circle at 30% 25%, #3a3a3a, #0b0b0b); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; letter-spacing: -.04em; }
.rxp-logo::before { content: "F"; }
