/* « Aucun serveur central » (owner, 26.11.2026): its own band, right after « Rien entre vous et votre
   argent » (home.css), so that the money and the data read as two subjects. Whatever just
   got paid (the till, the client's laptop on the payment page, the online shop and its server) rises
   from the band's bottom edge, lifts a small record, encrypts it, seals it and sends it to the Nostr
   relays drawn on an arc above. The visitor can remove relays or add their own, as in the app.
   Driven by relays.js; without it, the band shows the till paid and its record encrypted. */
.relays { padding-top: 120px; }
.rl { --rl-dh: 290px; }
.rl__head { max-width: 46em; margin: 0 auto; text-align: center; }
.rl .lead { margin: 20px auto 0; max-width: 37em; color: var(--text-2); }

/* The relays, as in « Réglages › Réseau › Relais Nostr » */
.rl__editor { max-width: 940px; margin: 40px auto 0; text-align: center; }
.rl__editor-t { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.rl__relays { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rl__relay { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; animation: rl-in 320ms cubic-bezier(0.16, 1, 0.3, 1); }
.rl__relay--own { box-shadow: inset 0 0 0 1px rgba(247, 147, 26, 0.5); color: #ffc27a; }
/* The Nostr icon before each name; its outline lights up when the record reaches that relay. */
.rl__nostr { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; outline: 2px solid transparent; outline-offset: 1px; }
.rl__nostr svg { width: 13px; height: 13px; }
.rl__x { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }
.rl__x:hover { background: var(--surface-2); color: #fff; }
.rl__x:disabled { opacity: 0.3; cursor: not-allowed; background: transparent; }
.rl__x svg { width: 14px; height: 14px; }
@keyframes rl-in { from { opacity: 0; transform: scale(0.92); } }
.rl__add { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 1.5px dashed rgba(247, 147, 26, 0.6); border-radius: 999px; background: transparent; color: #ffc27a; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color 140ms linear; }
.rl__add:hover { background: rgba(247, 147, 26, 0.1); }
.rl__add:disabled { opacity: 0.35; cursor: not-allowed; background: transparent; }
.rl__add svg { width: 16px; height: 16px; }
.rl__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 12px; font-size: 14px; color: var(--text-3); }
.rl__reset { padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rl__reset[hidden] { display: none; }

/* What is being paid: three cases, played in turn, or chosen */
.rl__scenes { display: flex; justify-content: center; margin-top: 36px; }
.rl__seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.rl__seg button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; }
.rl__seg button:hover { color: #fff; }
.rl__seg button[aria-pressed="true"] { background: var(--surface-2); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.rl__seg svg { flex: none; width: 18px; height: 18px; }
.rl__bar { position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left center; opacity: 0; }
.rl__seg button[aria-pressed="true"] .rl__bar { opacity: 1; }

/* The sky */
.rl__sky { position: relative; height: 620px; margin-top: 8px; overflow: hidden; }
.rl__sky::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 900px; height: 620px; max-width: 100vw; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(247, 147, 26, 0.13), rgba(247, 147, 26, 0.04) 55%, transparent); pointer-events: none; }
.rl__svg { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rl__svg text { font-family: inherit; }
.rl__dock { position: absolute; left: 50%; bottom: 0; width: 2px; height: var(--rl-dh); visibility: hidden; }

/* Devices: each rises from the band's bottom edge when its turn comes */
.rl__dev { position: absolute; z-index: 1; left: 50%; bottom: 0; height: var(--rl-dh); transform: translateY(calc(100% + 30px)); transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1); }
.rl__dev.is-up { transform: translateY(0); transition-delay: 220ms; }
.rl__sky.is-still .rl__dev { transition: none; }
.rl__layer { transition: opacity 380ms cubic-bezier(0.16, 1, 0.3, 1); }
.rl__dev .is-wait { opacity: 1; }
.rl__dev .is-done { opacity: 0; }
.rl__dev.is-paid .is-wait { opacity: 0; }
.rl__dev.is-paid .is-done { opacity: 1; }
.rl__wait { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: #6e675e; }
.rl__wait i { width: 7px; height: 7px; border-radius: 50%; background: #f7931a; animation: rl-pulse 1600ms ease-in-out infinite; }
@keyframes rl-pulse { 50% { opacity: 0.25; } }
.rl__disc { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #dcede2; color: #1f6b45; transform: scale(0.6); transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1); }
.rl__dev.is-paid .rl__disc { transform: scale(1); }
.rl__disc svg { width: 28px; height: 28px; }
.rl__qr { padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 26, 51, 0.06); }
.rl__qr svg { display: block; width: 92px; height: 92px; }

/* The till: the site's drawn phone, cropped by the band's edge */
.rl__phone { width: 236px; margin-left: -118px; padding: 9px 9px 0; border-radius: 40px 40px 0 0; background: #17191d; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); }
.rl__screen { position: relative; height: 100%; padding: 11px 13px 0; border-radius: 32px 32px 0 0; background: #faf6ee; color: #0b1a33; overflow: hidden; }
.rl__status { display: flex; align-items: center; justify-content: space-between; height: 22px; padding: 0 9px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rl__status i { width: 66px; height: 20px; border-radius: 12px; background: #0d0e10; }
.rl__status s { width: 24px; height: 10px; border-radius: 3px; background: #0b1a33; opacity: 0.8; text-decoration: none; }
.rl__title { margin: 4px 0 0; text-align: center; font-size: 14px; font-weight: 700; }
.rl__phone .rl__layer { position: absolute; left: 0; right: 0; top: 66px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rl__due-amt { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rl__paid-amt { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rl__meta { font-size: 13px; font-weight: 500; color: #6e675e; }

/* The client's laptop (the site's generic laptop) on the app's payment page, app.sattle.me/pay */
.rl__lap { width: 430px; margin-left: -215px; padding: 14px 12px 0; border-radius: 16px 16px 0 0; background: #17191d; box-shadow: 0 0 0 2px #c9cdd3, 0 0 0 3px #aeb3ba; }
.rl__cam { position: absolute; left: 50%; top: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #34373e; }
.rl__lap-screen { height: 100%; border-radius: 3px 3px 0 0; overflow: hidden; background: #faf6ee; color: #0b1a33; }
.rl__bar-win { position: relative; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; background: #eef0f3; border-bottom: 1px solid #e3e6eb; }
.rl__bar-win > i { width: 8px; height: 8px; border-radius: 50%; background: #cfd4dc; }
.rl__url { position: absolute; left: 50%; top: 5px; display: inline-flex; align-items: center; gap: 5px; height: 18px; padding: 0 12px; transform: translateX(-50%); border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px #e3e6eb; font-family: "Plus Jakarta Sans", sans-serif; font-size: 11px; font-weight: 600; line-height: 18px; color: #6e675e; white-space: nowrap; }
.rl__url svg { width: 9px; height: 9px; }
.rl__pay { display: grid; grid-template-columns: minmax(0, 1fr) 142px; gap: 12px; align-items: start; padding: 14px 16px 0; }
.rl__pay-logo { display: block; width: auto; height: 13px; margin-bottom: 9px; }
.rl__pay-amt { font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rl__pay-amt small { margin-left: 5px; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #6e675e; }
.rl__pay-label { display: inline-flex; align-items: center; gap: 6px; height: 24px; margin-top: 9px; padding: 0 10px; border-radius: 999px; background: #efe8da; font-size: 11.5px; font-weight: 600; color: #6e675e; white-space: nowrap; }
.rl__pay-label svg { width: 11px; height: 11px; }
.rl__pay-items { margin-top: 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 26, 51, 0.06); font-size: 11.5px; }
.rl__pay-item { padding: 7px 10px; line-height: 1.35; }
.rl__pay-item > span { display: block; }
.rl__pay-item p { display: flex; justify-content: space-between; gap: 10px; margin: 1px 0 0; color: #6e675e; }
.rl__pay-item b { color: #0b1a33; font-variant-numeric: tabular-nums; }
.rl__pay-due { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 11px; color: #6e675e; }
.rl__pay-due svg { flex: none; width: 12px; height: 12px; }
.rl__pay-st { position: relative; height: 20px; margin-top: 7px; }
.rl__pay-st > * { position: absolute; left: 0; top: 0; white-space: nowrap; }
.rl__ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #1f6b45; }
.rl__ok svg { width: 14px; height: 14px; }
.rl__pay-side { position: relative; height: 182px; }
.rl__pay-side > .rl__layer { position: absolute; inset: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.rl__pay-side .rl__qr { box-shadow: 0 0 0 1px rgba(11, 26, 51, 0.06), 0 6px 16px -10px rgba(11, 26, 51, 0.3); }
.rl__pay-side .rl__qr svg { width: 112px; height: 112px; }
.rl__btn { display: grid; place-items: center; width: 100%; height: 30px; padding: 0 8px; border-radius: 999px; background: #f7931a; box-shadow: inset 0 0 0 1px rgba(143, 83, 0, 0.35); color: #fff; text-shadow: 0 1px 0 rgba(143, 83, 0, 0.55); font-size: 11px; font-weight: 700; white-space: nowrap; }
.rl__notice { max-width: 140px; margin: 0; text-align: center; font-size: 11.5px; font-weight: 600; line-height: 1.4; color: #1f6b45; }

/* The online shop: the home page's « Café des Halles » checkout, on top of the server it runs on */
.rl__srv { display: flex; flex-direction: column; gap: 8px; width: 344px; margin-left: -172px; padding-top: 16px; }
.rl__shop { flex: none; height: 186px; border-radius: 12px; overflow: hidden; background: #fff; color: #1f1a17; font-family: "Source Sans 3", "Plus Jakarta Sans", sans-serif; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.rl__shop .rl__bar-win { height: 26px; }
.rl__shop .rl__url { top: 4px; }
.rl__shop-body { padding: 10px 14px 0; }
.rl__shop-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rl__brand { margin: 0; font-family: "Young Serif", Georgia, serif; font-size: 17px; letter-spacing: -0.01em; }
.rl__step { margin: 0; font-size: 11.5px; color: #6f6862; white-space: nowrap; }
.rl__step b { color: #1f1a17; }
.rl__shop-items { margin-top: 8px; }
.rl__shop-item { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid #eee7df; font-size: 12.5px; line-height: 1.3; }
.rl__shop-item small { color: #6f6862; }
.rl__shop-total { display: flex; justify-content: space-between; margin: 0; padding-top: 6px; font-size: 13px; font-weight: 700; }
.rl__shop-st { position: relative; height: 20px; margin-top: 8px; }
.rl__shop-st > * { position: absolute; left: 0; top: 0; white-space: nowrap; }
.rl__shop .rl__wait { font-family: "Plus Jakarta Sans", sans-serif; }
.rl__shop .rl__ok { font-size: 12.5px; font-weight: 400; }
.rl__rack { flex: 1; min-height: 0; padding: 10px 12px 0; border-radius: 12px 12px 0 0; background: #17191d; box-shadow: 0 0 0 2px #c9cdd3, 0 0 0 3px #aeb3ba; }
.rl__plate { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; color: #e6e9ef; white-space: nowrap; }
.rl__plate img { flex: none; width: 18px; height: 18px; }
.rl__tag { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: rgba(247, 147, 26, 0.16); color: #ffc27a; font-size: 11px; }
.rl__bays { display: grid; gap: 6px; margin-top: 10px; }
.rl__bay { display: flex; align-items: center; gap: 10px; height: 20px; padding: 0 10px; border-radius: 6px; background: #22252b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.rl__bay i { width: 6px; height: 6px; border-radius: 50%; background: #2e9c64; }
.rl__bay span { flex: 1; height: 3px; border-radius: 2px; background: #34383f; }

/* The record: a few details of the payment, encrypted and sealed before it leaves */
.rl__rec { position: absolute; z-index: 3; left: 50%; bottom: calc(var(--rl-dh) + 46px); width: 264px; margin-left: -132px; padding: 13px 16px 11px; border-radius: 16px; background: #fff; color: #0b1a33; box-shadow: 0 0 0 1px rgba(11, 26, 51, 0.06), 0 22px 44px -18px rgba(0, 0, 0, 0.55); transform-origin: 50% 100%; transition: background-color 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1), color 520ms linear; }
.rl__rec-t { display: flex; align-items: center; gap: 8px; height: 22px; margin: 0; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.rl__rec-t svg { flex: none; width: 16px; height: 16px; color: #6e675e; transition: color 400ms linear; }
.rl__rec-rows { margin-top: 8px; }
.rl__rec-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 27px; border-top: 1px solid #efe8da; transition: border-color 520ms linear; }
.rl__rec-row span, .rl__rec-row b { overflow: hidden; white-space: nowrap; }
.rl__rec-row span { flex: none; font-size: 12.5px; color: #6e675e; }
.rl__rec-row b { min-width: 0; text-align: right; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rl__rec.is-enc { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 22px 44px -18px rgba(0, 0, 0, 0.7); }
.rl__rec.is-enc .rl__rec-t svg { color: #f7931a; }
.rl__rec.is-enc .rl__rec-row { border-top-color: rgba(255, 255, 255, 0.08); }
.rl__rec .rl__cy { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 400; letter-spacing: 0.01em; color: var(--text-3); font-variant-ligatures: none; }
.rl__rec .rl__cy.is-set { color: var(--text-2); }

/* The two facts beside the device */
.rl__fact { position: absolute; z-index: 3; bottom: 64px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; width: 270px; text-align: left; }
.rl__fact--l { left: 0; }
.rl__fact--r { right: 0; }
.rl__fact-art { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); }
.rl__fact-art svg { width: 36px; height: 36px; }
.rl__fact p { margin: 0; }
.rl__fact b { display: block; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.rl__fact p span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.rl__facts-m { display: none; }

/* Narrower screens (1280 px and wider stay as drawn). */
@media (max-width: 1279px) {
  .rl__lap { width: 400px; margin-left: -200px; }
  .rl__pay { grid-template-columns: minmax(0, 1fr) 134px; }
  .rl__pay-side .rl__qr svg { width: 104px; height: 104px; }
  .rl__fact { width: 230px; }
}
@media (max-width: 1023px) {
  .relays { padding-top: 96px; }
  .rl__sky .rl__fact { display: none; }
  .rl__facts-m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; max-width: 720px; margin: 36px auto 0; }
  .rl__facts-m .rl__fact { position: static; width: auto; }
}
@media (max-width: 767px) {
  .relays { padding-top: 72px; }
  .rl { --rl-dh: 236px; }
  .rl .lead { font-size: 18px; }
  .rl__editor { margin-top: 28px; }
  .rl__relays { gap: 6px; }
  .rl__relay { height: 36px; gap: 6px; padding-left: 8px; font-size: 13.5px; }
  .rl__nostr { width: 18px; height: 18px; }
  .rl__nostr svg { width: 12px; height: 12px; }
  .rl__x { width: 26px; height: 26px; }
  .rl__add { height: 36px; font-size: 14px; }
  .rl__facts-m { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .rl__scenes { margin-top: 28px; }
  .rl__seg { gap: 2px; }
  .rl__seg button { gap: 6px; padding: 10px 11px; font-size: 13.5px; }
  .rl__seg svg { display: none; }
  .rl__bar { left: 11px; right: 11px; }
  .rl__sky { height: 520px; }
  .rl__phone { width: 204px; margin-left: -102px; border-radius: 36px 36px 0 0; }
  .rl__screen { border-radius: 28px 28px 0 0; }
  .rl__phone .rl__layer { top: 62px; gap: 6px; }
  .rl__phone .rl__qr svg { width: 80px; height: 80px; }
  .rl__disc { width: 52px; height: 52px; }
  .rl__paid-amt { font-size: 26px; }
  .rl__lap { width: min(336px, 100%); margin-left: max(-168px, -50%); }
  .rl__pay { grid-template-columns: minmax(0, 1fr) 108px; gap: 10px; padding: 11px 12px 0; }
  .rl__pay-logo { display: none; }
  .rl__pay-amt { font-size: 22px; }
  .rl__pay-amt small { font-size: 11.5px; }
  .rl__pay-label { height: 22px; margin-top: 7px; font-size: 11px; }
  .rl__pay-items { margin-top: 7px; font-size: 11px; }
  .rl__pay-item { padding: 6px 8px; }
  .rl__pay-due { margin-top: 7px; font-size: 10.5px; }
  .rl__pay-st { margin-top: 5px; }
  .rl__pay-side .rl__qr { padding: 6px; }
  .rl__pay-side .rl__qr svg { width: 92px; height: 92px; }
  .rl__btn { display: none; }
  .rl__notice { font-size: 11px; }
  .rl__srv { width: min(304px, 100%); margin-left: max(-152px, -50%); }
  .rl__shop { height: 168px; }
  .rl__shop-body { padding: 8px 12px 0; }
  .rl__brand { font-size: 15.5px; }
  .rl__shop-items { margin-top: 5px; }
  .rl__shop-item { padding: 3px 0; font-size: 12px; }
  .rl__shop-item small { display: none; }
  .rl__shop-st { margin-top: 5px; }
  .rl__rec { width: 244px; margin-left: -122px; bottom: calc(var(--rl-dh) + 40px); }
}
@media (max-width: 374px) {
  /* The three buttons share the width; a label may take two lines. */
  .rl__seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 22px; }
  .rl__seg button { justify-content: center; padding: 8px 6px; border-radius: 18px; font-size: 12.5px; line-height: 1.2; text-align: center; white-space: normal; }
  .rl__bar { left: 14px; right: 14px; bottom: 3px; }
  /* The server's plate keeps its words: the WooCommerce mark is on the shop above it. */
  .rl__plate { gap: 6px; font-size: 11px; }
  .rl__plate img { display: none; }
  .rl__tag { padding: 2px 6px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rl__relay { animation: none; }
  .rl__wait i { animation: none; }
  .rl__rec, .rl__rec *, .rl__layer, .rl__dev, .rl__disc { transition: none !important; }
  .rl__bar { display: none; }
}
