/* Scene "fx" · Lowest FX rates (Figma Homepage 14572:11820 "visual", group "Money exchange - hero" 14572:11824;
   light account cards, lime FX pill, white glass move-funds button). Figma sizes at 1×; the layout (positions) is
   set inline per mode by scenes/fx.js, and the whole group is scaled about the artboard centre by .fx-stage. */

[data-scene="fx"] .fx-stage { position: absolute; inset: 0; transform-origin: 399px 427px; }
/* (payhawk.com) the wallet cards' layer: same coordinates as the stage, so the cut below the wallet clips only them */
[data-scene="fx"] .fx-cut { position: absolute; inset: 0; }

/* account card: white, radius 17.016, padding 14.585 (DKK/PLN/GBP 249.567×151.524, EUR 259.291×151.813) */
[data-scene="fx"] .fx-acct { position: absolute; width: 249.567px; height: 151.524px; background: #fff;
  border-radius: 17.016px; overflow: hidden; color: #3c4f6d; font-feature-settings: "salt" 1, "calt" 0;
  will-change: transform, opacity; }
[data-scene="fx"] .fx-acct--eur { width: 259.291px; height: 151.813px; }
[data-scene="fx"] .fx-acct--usd { height: 151.813px; }
[data-scene="fx"] .fx-acct__head { position: absolute; left: 14.585px; right: 14.585px; top: 14.585px; height: 23.093px;   /* the flag sits at the same inset on every card (EUR is wider) */
  display: flex; align-items: center; justify-content: space-between; }
[data-scene="fx"] .fx-acct__ccy { font-size: 16.206px; font-weight: 500; line-height: 1; letter-spacing: -.081px;
  font-feature-settings: "salt" 1; }
[data-scene="fx"] .fx-flag { position: relative; width: 20.257px; height: 20.257px; flex: none; }
[data-scene="fx"] .fx-flag img { position: absolute; left: 0; top: 0; width: 20.257px; height: 20.257px; }
/* the EUR "Currency Icon" svg overflows its 20.257 slot by 2.94% each side */
[data-scene="fx"] .fx-flag--eu img { left: -.596px; top: -.596px; width: 21.4487px; height: 21.4487px; }
[data-scene="fx"] .fx-acct__amt { position: absolute; left: 14.585px; top: 52.263px; height: 54.289px; margin: 0;
  font-size: 54.289px; font-weight: 600; line-height: 1; letter-spacing: -2.7144px; white-space: nowrap; }
[data-scene="fx"] .fx-acct__iban { position: absolute; left: 14.585px; top: 121.137px; display: flex; align-items: center;
  gap: 8.103px; font-size: 9.723px; line-height: normal; color: #607da3; white-space: nowrap; }
[data-scene="fx"] .fx-acct__chip { display: flex; padding: 3.55px; border-radius: 4.051px; background: #cadffe; }
[data-scene="fx"] .fx-acct__chip img { width: 8.99px; height: 8.99px; }

/* slot-machine digits (Figma "slot-*" frames: each slot clips one 54.289 line; digit strips hold 0–9 three times) */
[data-scene="fx"] .fx-odo { position: absolute; left: 14.585px; top: 52.205px; height: 54.289px; overflow: hidden; }
[data-scene="fx"] .fx-slot { position: absolute; top: 0; height: 54.289px; overflow: hidden; }
[data-scene="fx"] .fx-slot > span, [data-scene="fx"] .fx-strip { position: absolute; left: 0; top: 0;
  font-size: 54.289px; font-weight: 600; line-height: 1; letter-spacing: -2.7144px; white-space: nowrap; }
[data-scene="fx"] .fx-strip span { display: block; height: 54.289px; }

/* FX markup pill (Figma "FX rate"): lime 300 with a lime 400 hairline */
[data-scene="fx"] .fx-rate { position: absolute; box-sizing: border-box; min-width: 82.571px; padding: 0 11px; height: 58.941px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.084px; background: #a1ed86; border: .542px solid #a1ed86;
  border-radius: 22.772px; color: #072928; line-height: 1; white-space: nowrap; font-feature-settings: "salt" 1; }
[data-scene="fx"] .fx-rate b { font-weight: 400; font-size: 22.772px; letter-spacing: -.6832px; }
[data-scene="fx"] .fx-rate small { font-size: 10.844px; letter-spacing: -.0542px; }

/* Move funds button: white glass, lightneutral 100 hairline (82.571×56.46 across, or 56.46×82.571 standing up) */
[data-scene="fx"] .fx-swap { position: absolute; display: flex; align-items: center; justify-content: center;
  background: #353331; border: .685px solid #353331; border-radius: 22.772px; }
[data-scene="fx"] .fx-swap img { width: 34.5442px; height: 34.5442px; filter: brightness(0) invert(1); transform: rotate(90deg); }   /* arrows up/down */   /* stone 900 button, white arrows */

/* full mode (v1): no container, so the light cards and the glass button get a soft lift off the pale page background */
.ls-art[data-mode="full"] [data-scene="fx"] .fx-acct { box-shadow: 0 12px 40px rgba(60, 79, 109, .10), 0 2px 6px rgba(60, 79, 109, .05); }
.ls-art[data-mode="full"] [data-scene="fx"] .fx-swap { box-shadow: 0 8px 28px rgba(60, 79, 109, .10); }

/* box default (Figma 14572:11820): the source cards are a column inside the group's mask, scrolled like a ticker */
[data-scene="fx"] .fx-clip { position: absolute; overflow: hidden; }
[data-scene="fx"] .fx-col { position: absolute; inset: 0; will-change: transform; }

/* the wallet (Figma 14659:12353, 576×612): the grey back under the stage, the frosted pocket over it (the pocket's
   shape is cut to the wallet's outline inline, so no mask image has to be fetched) */
[data-scene="fx"] .fx-wal { position: absolute; width: 576px; height: 611.976px; transform-origin: 0 0; }   /* scaled inline (WAL.s) */
[data-scene="fx"] .fx-wal__in { position: absolute; inset: 0; }
[data-scene="fx"] .fx-wal__img { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-scene="fx"] .fx-pocket { position: absolute; left: -52.95px; top: 325.9px; width: 681.993px; height: 308.451px;
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  clip-path: path('M498.483 26.0846C494.817 26.0846 491.127 26.0846 487.461 26.1086C484.37 26.1325 481.279 26.1565 478.188 26.2523C471.454 26.444 464.649 26.8274 457.988 28.0255C451.231 29.2475 444.929 31.2363 438.795 34.3513C438.004 34.7586 421.112 42.4263 405.92 66.0523C394.395 83.9994 371.967 103.025 340.553 103.025C309.164 103.025 286.736 83.9994 275.187 66.0523C259.204 41.1563 240.97 33.6804 242.287 34.3513C236.153 31.2124 229.852 29.2236 223.094 28.0255C216.433 26.8274 209.628 26.42 202.895 26.2523C199.804 26.1804 196.713 26.1325 193.622 26.1086C189.956 26.0846 186.266 26.0846 182.6 26.0846H52.950V206.380C52.950 209.423 52.950 212.467 52.974 215.510C52.998 218.074 53.022 220.637 53.094 223.201C53.238 228.784 53.573 234.415 54.555 239.926C55.562 245.533 57.215 250.757 59.803 255.837C62.367 260.821 65.674 265.397 69.651 269.375C73.605 273.353 78.181 276.683 83.189 279.223C88.293 281.811 93.493 283.464 99.100 284.471C104.611 285.453 110.242 285.788 115.825 285.932C118.389 286.004 120.953 286.028 123.516 286.052C126.559 286.076 129.603 286.076 132.646 286.076L167.605 286.052L135.066 286.076L546.834 286.076L514.295 286.052L549.254 286.076C552.297 286.076 555.341 286.076 558.384 286.052C560.948 286.028 563.511 286.004 566.075 285.932C571.658 285.788 577.289 285.453 582.800 284.471C588.407 283.464 593.631 281.811 598.711 279.223C603.695 276.659 608.271 273.353 612.249 269.375C616.227 265.421 619.557 260.845 622.097 255.837C624.685 250.757 626.338 245.533 627.345 239.926C628.327 234.415 628.662 228.784 628.806 223.201C628.878 220.637 628.902 218.074 628.926 215.510C628.950 212.467 628.950 209.423 628.950 206.380L628.950 200.031V26.0846H498.483Z'); }
[data-scene="fx"] .fx-pocket img { position: absolute; inset: 0; width: 100%; height: 100%; }
