/* Landing reviews wall (landing-reviews-wall, D-0601): the 12 bank reviews as a moving masonry wall. 3 columns desktop,
   2 tablet, 1 phone. Each column loops vertically (the middle one the other way), pauses on hover, touch, focus or an
   open card, and fades in and out at the top and bottom. Static (?mode=static) and reduced motion: a still wall, every
   card once. Tokens are the app's (trading-assistant src/styles/tw-tokens.css); fallbacks match them. */
.rw { --rw-gap: 16px; --rw-fade: 72px; position: relative; margin-top: 8px; }
.rw-view { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--rw-fade), #000 calc(100% - var(--rw-fade)), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 var(--rw-fade), #000 calc(100% - var(--rw-fade)), transparent 100%); }
.rw-cols { display: grid; grid-template-columns: repeat(var(--rw-n, 3), minmax(0, 1fr)); gap: var(--rw-gap); align-items: start; }
.rw-col { min-width: 0; }
.rw-track { will-change: transform; }
.rw-set { display: flex; flex-direction: column; gap: var(--rw-gap); padding-bottom: var(--rw-gap); }

.rw-card { margin: 0; position: relative; border-radius: 22px; padding: 22px 22px 18px; min-width: 0;
  background: var(--tw-glass-strong, rgba(24,24,34,.72)); border: 1px solid var(--tw-hairline, rgba(255,255,255,.08));
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.8); transition: border-color .3s; }
.rw-card:hover, .rw-card:focus-within { border-color: rgba(var(--tw-accent-rgb, 139,123,255), .38); }
.rw-card blockquote { margin: 0; }
.rw-card .q { margin: 0; color: var(--tw-ink-2, rgba(242,240,234,.66)); font-size: 15px; line-height: 1.6; }
.rw-card mark.key { background: rgba(var(--tw-accent-rgb, 139,123,255), .2); color: var(--tw-ink, #f2f0ea); font-weight: 600; padding: 0 1px;
  border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* long cards: clamped to six lines until opened */
.rw-card.clamp:not(.open) .q { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.rw-more { margin: 8px 0 0; padding: 2px 0; background: none; border: 0; color: var(--tw-accent, #8b7bff); font: 600 13px/1.4 var(--tw-font, inherit); cursor: pointer; }
.rw-more:focus-visible, .rw-toggle:focus-visible { outline: 2px solid var(--tw-accent, #8b7bff); outline-offset: 3px; border-radius: 6px; }
.rw-more[hidden] { display: none; }
.rw-by { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--tw-hairline, rgba(255,255,255,.08)); }
.rw-mark { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
  color: var(--tw-ink, #f2f0ea); background: var(--tw-glass-strong, rgba(24,24,34,.72)); border: 1px solid var(--tw-hairline-strong, rgba(255,255,255,.14)); }
/* the byline's first name (D-0619) over the label; whole-pixel line heights so a card's height stays a whole number and
   the loop seam (copy exactly one set height below) stays exact */
.rw-who { display: flex; flex-direction: column; min-width: 0; }
.rw-name { font-size: 14px; line-height: 18px; font-weight: 700; color: var(--tw-ink, #f2f0ea); letter-spacing: -.005em; }
.rw-name + .rw-from { font-size: 12px; line-height: 16px; font-weight: 500; }
.rw-from { font-size: 12.5px; font-weight: 600; color: var(--tw-ink-3, rgba(242,240,234,.55)); }
/* stars: not drawn (STARS = 0 in reviews-wall.js, no ratings in the bank); kept so one line restores them */
.rw-stars { margin-left: auto; display: inline-flex; gap: 2px; }
.rw-stars svg { width: 14px; height: 14px; fill: var(--tw-accent, #8b7bff); }

.rw-toggle { position: absolute; right: 0; bottom: -40px; padding: 6px 12px; border-radius: 999px; background: var(--tw-glass, rgba(20,20,28,.52));
  border: 1px solid var(--tw-hairline-strong, rgba(255,255,255,.14)); color: var(--tw-ink-2, rgba(242,240,234,.66)); font: 600 12px/1 var(--tw-font, inherit); cursor: pointer; }
.rw.moving { margin-bottom: 40px; }

/* still wall: static mode and reduced motion */
.rw.still .rw-view { -webkit-mask-image: none; mask-image: none; height: auto !important; overflow: visible; }
.rw.still .rw-track { transform: none !important; will-change: auto; }
.rw.still .rw-set { padding-bottom: 0; }
.rw.still .rw-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .rw-track { transform: none !important; } .rw-card { transition: none; } }
@media (max-width: 640px) { .rw { --rw-gap: 12px; --rw-fade: 56px; } .rw-card { padding: 20px 18px 16px; } }

/* trader screenshot cards (shots-data.js; D-0619, D-0621): the image, then its caption; no names, no stars */
.rw-shot { --rw-shot-h: 440px; padding: 14px 14px 16px; } /* tall payout lists scale down to this height, never cropped */
.rw-shot .rw-img { margin: 0 auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--tw-hairline, rgba(255,255,255,.08)); background: var(--tw-ground, #0b0b10); }
.rw-shot .rw-img img { display: block; width: 100%; height: 100%; }
.rw-shot .rw-cap { margin: 10px 2px 0; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--tw-ink-3, rgba(242,240,234,.55)); }
.rw-shot .rw-cap + .rw-img { margin-top: 16px; }
.rw-note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--tw-ink-3, rgba(242,240,234,.55)); }
.rw.moving + .rw-note { margin-top: -26px; } /* sits beside the Pause button (right), not below it */
@media (max-width: 640px) { .rw-shot { --rw-shot-h: 360px; padding: 12px 12px 14px; } }
