/* ============================================================
   SkinSignal / css / recruits
   YOUR RECRUITS, the referral tracker (js/app.js renderRecruits),
   on the free page and a member's alike, so it is not scoped to
   .dash--climb: every rule is under .rct, a class only this section has.

   The same building as the locker and the holdings terminal: open on
   the page's own stage (no panel), the locker's rack frame round the
   wall, engraved steel insets for the creator's readouts, tight 4px
   corners, hairlines, mono figures. One accent per thing: a recruit's
   tag edge in their tier's blade finish, a medal's ribbon in its reward
   card's rarity finish (the shared finish materials, --fx / --fxs, set
   by js/app.js materialVars), gold only on what a creator earned this
   month.

   Measured art (tools/make-recruit.py RECRUIT_ART):
     tag    0.4751:1, face [0.0694, 0.286, 0.8612, 0.5821], hangs from
            [0.4972, 0] (where its chain leaves the top)
     medal  0.5855:1, disc centre [0.4988, 0.6903], radius 0.4982 of the
            width, face radius 0.3304; the ribbon alone as a mask,
            assets/recruit/recruit-medal-ribbon.webp
   ============================================================ */

.rct.mod { padding: clamp(28px, 3vw, 44px) 0 clamp(30px, 3vw, 46px); border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.rct.mod::before, .rct.mod::after { content: none; }
.rct .container { max-width: none; padding: 0; }
@media (max-width: 1023.98px) { .rct .container { padding-inline: 16px; } }

/* ---------- The header: the count, the link, Share ---------- */
.rct__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin: 0 0 18px; }
.rct__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.2vw, 34px); line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; color: #f1f3f6; }
.rct__title b { font-weight: 800; color: #e4ae39; }
.rct__count { margin: 8px 0 0; font-size: 12px; letter-spacing: 0.08em; color: #8a92a0; }
.rct__count b { font-size: 15px; font-weight: 500; color: #f1f3f6; }
.rct__count span { margin-left: 10px; color: #6f7888; }
.rct__share { position: relative; display: flex; align-items: center; gap: 6px; }
.rct__link { display: inline-flex; align-items: center; height: 34px; max-width: min(46vw, 340px); padding: 0 12px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.75); border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(180deg, #07090c, #0c0f14); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.06); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; color: #dfe4ec; }
.rct__btn { height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.12); border-bottom-color: rgba(0, 0, 0, 0.6); border-radius: 4px; background: linear-gradient(180deg, #262a33, #171a20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); font: inherit; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #dfe4ec; cursor: pointer; }
.rct__btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.rct__btn--share { border-color: rgba(110, 160, 255, 0.45); background: linear-gradient(180deg, #1f2a3e, #141b28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -2px 0 #3d7fff; }
.rct__btn:focus-visible { outline: 2px solid rgba(118, 166, 255, 0.85); outline-offset: 2px; }
.rct__said { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; font-size: 11px; white-space: nowrap; color: #8a92a0; }

/* ---------- The floor: the wall, then the track and the terminal ---------- */
.rct__floor { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2vw, 30px); align-items: start; }
.rct__floor--term { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }

/* THE WALL: the locker's rack frame, a dark steel board, a rail per row. */
.rct__wall {
  --k: 0.22;
  position: relative;
  padding: calc(111px * var(--k) + 18px) calc(91px * var(--k) + 14px) calc(94px * var(--k) + 16px) calc(86px * var(--k) + 14px);
  border: 1px solid transparent;
  border-image-source: image-set(url('/assets/locker/locker-rack.webp') 1x, url('/assets/locker/locker-rack@2x.webp') 2x);
  border-image-slice: 18.72% 4.29% 15.85% 30% fill;
  border-image-width: calc(111px * var(--k)) calc(91px * var(--k)) calc(94px * var(--k)) calc(636px * var(--k));
  border-image-repeat: stretch;
}
.rct__walltab { position: absolute; left: calc(169px * var(--k)); top: calc(26px * var(--k)); display: flex; align-items: center; justify-content: center; width: calc(447px * var(--k)); height: calc(57px * var(--k)); font-size: 8.5px; letter-spacing: 0.24em; text-transform: uppercase; color: #9aa2b1; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9); }
.rct__tags { --tw: 76px; display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(var(--tw) + 14px), 1fr)); row-gap: 14px; margin: 0; padding: 0; list-style: none; }
.rct__tags > li { position: relative; min-width: 0; padding-top: 14px; }
/* The rail: each slot carries its stretch of it, so a row is one bar. */
.rct__tags > li::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 6px; border-radius: 1px; background: linear-gradient(180deg, #4a4f58 0%, #22262d 45%, #0e1014 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 3px rgba(0, 0, 0, 0.8); }
.rct__tags > li::after { content: ""; position: absolute; left: 50%; top: 2px; width: 6px; height: 10px; margin-left: -3px; border-radius: 2px 2px 3px 3px; background: linear-gradient(180deg, #8a909a, #3a3e46); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.9); }
/* A tag: hung from where its chain leaves the picture. */
.rct__tagswing { position: relative; display: block; width: var(--tw); margin: 0 auto; aspect-ratio: 0.4751; transform-origin: 49.72% 0; }
.rct__tagimg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.75)); }
.rct__face { position: absolute; left: 6.94%; top: 28.6%; width: 86.12%; height: 58.21%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 9px 4px 7px; overflow: hidden; border-radius: 10% / 5%; }
/* The face's thin edge in the recruit's tier finish. */
.rct__faceedge { position: absolute; inset: 3px; padding: 1.5px; border-radius: inherit; background: var(--fx, none) 0 0 / 64px 64px, rgb(var(--fxs, 138, 146, 160)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0.85; }
/* The engraving: cut into the steel (dark, a light catch under it). */
.rct__n { position: relative; font-size: 7px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: #15181d; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28); }
.rct__emb { position: relative; display: block; width: 58%; aspect-ratio: 1; object-fit: contain; filter: grayscale(0.25) contrast(1.05) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.16)); }
.rct__emb--none { border: 1px dashed rgba(0, 0, 0, 0.5); border-radius: 50%; }
.rct__tier { position: relative; max-width: 100%; padding: 0 3px; overflow: hidden; font-size: 7.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: rgb(var(--fxs, 40, 44, 52)); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.18); }
/* The engraving's glint: a band of the tier finish crossing the face. */
.rct__glint { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 62%), var(--fx, none) 0 0 / 64px 64px; -webkit-mask-image: linear-gradient(110deg, transparent 36%, #000 50%, transparent 64%); mask-image: linear-gradient(110deg, transparent 36%, #000 50%, transparent 64%); mix-blend-mode: screen; opacity: 0.55; transform: translateX(-120%); pointer-events: none; }
/* Empty: the hooks, waiting. */
.rct__tags--empty { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rct__tags--empty > li { height: 46px; }
/* An empty hook: a short length of bare chain, nothing on it. */
.rct__hook > i { position: absolute; left: 50%; top: 12px; width: 2px; height: 26px; margin-left: -1px; background: repeating-linear-gradient(180deg, rgba(200, 206, 216, 0.5) 0 3px, rgba(200, 206, 216, 0) 3px 5px); opacity: 0.55; }
.rct__first { margin: 26px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 16px; text-align: center; color: #c9cfda; }
.rct__more { margin: 14px 0 0; font-size: 11px; letter-spacing: 0.12em; color: #8a92a0; }

/* ---------- THE MEDAL TRACK ---------- */
.rct__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 clamp(18px, 2vw, 28px); padding: 0 0 4px; list-style: none; }
/* The ribbon they hang from: one steel bar, end to end. */
.rct__track::before { content: ""; position: absolute; left: 4%; right: 4%; top: 2px; height: 4px; border-radius: 1px; background: linear-gradient(180deg, #4a4f58, #1b1e24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 3px rgba(0, 0, 0, 0.8); }
.rct__medal { position: relative; min-width: 0; }
.rct__medalbtn { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: default; }
.rct__medalbtn:focus-visible { outline: 2px solid rgba(118, 166, 255, 0.85); outline-offset: 3px; border-radius: 4px; }
.rct__medalart { position: relative; display: block; width: min(100%, 96px); aspect-ratio: 0.5855; }
.rct__medalimg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; filter: brightness(0.42) saturate(0.4) drop-shadow(0 6px 8px rgba(0, 0, 0, 0.8)); }
/* Its ribbon in its reward card's rarity finish: the finish, through the
   ribbon's own mask (its cloth shading kept). */
.rct__ribbon { position: absolute; inset: 0; background: linear-gradient(rgba(var(--fxs, 196, 204, 216), 0.35), rgba(var(--fxs, 196, 204, 216), 0.35)), var(--fx, none) 0 0 / 56px 56px, rgb(var(--fxs, 196, 204, 216)); -webkit-mask: url('/assets/recruit/recruit-medal-ribbon.webp') 0 0 / 100% 100% no-repeat; mask: url('/assets/recruit/recruit-medal-ribbon.webp') 0 0 / 100% 100% no-repeat; mix-blend-mode: overlay; opacity: 0.45; }
.rct__medalnum { position: absolute; left: 49.88%; top: 69.03%; display: grid; place-items: center; width: 66.08%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: 800; font-size: clamp(16px, 1.7vw, 24px); line-height: 1; color: #2b2f36; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 -1px 0 rgba(0, 0, 0, 0.6); }
.rct__medalk { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a92a0; }
.rct__medalsub { min-height: 1.3em; font-size: 10.5px; color: #6f7888; }
.rct__medalsub b { font-weight: 500; color: #f1f3f6; }
/* Earned: lit, the ribbon at full, a glow of its finish behind the disc. */
.rct__medal.is-earned .rct__medalimg { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.8)); }
.rct__medal.is-earned .rct__ribbon { opacity: 0.85; }
.rct__medal.is-earned .rct__medalart::before { content: ""; position: absolute; left: -20%; right: -20%; top: 38%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--fxs), 0.35), rgba(var(--fxs), 0)); }
.rct__medal.is-earned .rct__medalnum { color: #f1f3f6; text-shadow: 0 0 10px rgba(var(--fxs), 0.7), 0 1px 0 rgba(0, 0, 0, 0.8); }
.rct__medal.is-earned .rct__medalk { color: #dfe4ec; }
.rct__medal.is-earned .rct__medalsub { color: rgb(var(--fxs)); }
.rct__medal.is-next .rct__ribbon { opacity: 0.6; }
.rct__medal.is-next .rct__medalimg { filter: brightness(0.62) saturate(0.6) drop-shadow(0 6px 8px rgba(0, 0, 0, 0.8)); }
/* The next one's real progress, in its reward card's finish. */
.rct__bar { position: relative; display: block; width: 78%; height: 4px; overflow: hidden; border-radius: 1px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.7); }
.rct__bar > i { position: absolute; inset: 0; display: block; background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%), var(--fx, none) 0 50% / 160px auto, rgb(var(--fxs)); clip-path: inset(0 calc((1 - var(--f, 0)) * 100%) 0 0); }
/* Its reward card, on hover or focus. */
.rct__reward { position: absolute; left: 50%; bottom: calc(100% - 20px); z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 250px; padding: 10px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px; background: #0b0d11; box-shadow: 0 16px 30px -10px #000; opacity: 0; transform: translateX(-50%); pointer-events: none; }
.rct__medal:hover .rct__reward, .rct__medalbtn:focus-visible + .rct__reward { opacity: 1; }
.rct__rewardname { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #f1f3f6; }
.rct__rewardrar { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(var(--fxs)); }

/* A card preview: true 3:1, the whole art, a thin rim in its rarity's
   finish (or the frame alone while its art is still to be made). */
.rct__card { position: relative; display: block; width: 100%; aspect-ratio: 3 / 1; overflow: hidden; border-radius: 3px; background: #06080c; }
.rct__card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.rct__cardrim { position: absolute; inset: 0; z-index: 1; padding: 1.5px; border-radius: inherit; background: var(--fx, none) 0 0 / 64px 64px, rgb(var(--fxs, 196, 204, 216)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.rct__cardnone { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(60% 120% at 30% 50%, rgba(var(--fxs, 196, 204, 216), 0.22), rgba(var(--fxs, 196, 204, 216), 0) 70%); }
.rct__cardpack { display: block; height: 82%; width: auto; transform: rotate(-6deg); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.8)); }
.rct__cardsoon { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(var(--fxs, 196, 204, 216)); }

/* ---------- THE CREATOR TERMINAL (creators only) ---------- */
.rct__term { min-width: 0; }
.rct__termhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin: 0 0 10px; }
.rct__termk { margin: 0; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: #6f7888; }
.rct__termk b { margin-left: 6px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: #f1f3f6; }
.rct__termk span { color: #ef5a61; }
.rct__termlink { margin: 0; font-size: 11px; color: #8a92a0; }
.rct__ros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rct__ro { min-width: 0; padding: 9px 11px 10px; border: 1px solid rgba(0, 0, 0, 0.75); border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(180deg, #07090c, #0c0f14); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 1px 0 rgba(255, 255, 255, 0.06); }
.rct__rok { margin: 0; overflow: hidden; font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: #6f7888; }
.rct__rov { margin: 5px 0 0; overflow: hidden; font-size: clamp(15px, 1.3vw, 19px); font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; text-overflow: ellipsis; color: #eef1f5; }
.rct__ro--gold { grid-column: 1 / -1; }
.rct__ro--gold .rct__rov { font-size: clamp(22px, 2vw, 28px); color: #f0c462; text-shadow: 0 0 12px rgba(228, 174, 57, 0.25); }
.rct__paid { margin: 8px 0 0; font-size: 10.5px; letter-spacing: 0.14em; color: #6f7888; }
.rct__audience { margin-top: 14px; }
.rct__audk { margin: 0 0 8px; font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: #6f7888; }
.rct__audart { display: flex; align-items: center; gap: 12px; }
.rct__card--audience { flex: 1 1 auto; min-width: 0; max-width: 330px; }
.rct__audemb { display: block; flex: none; width: 56px; height: 56px; object-fit: contain; }
.rct__audemb[hidden] { display: none; }
.rct__audname { margin: 6px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: #dfe4ec; }
.rct__audname span { margin-left: 6px; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(var(--fxs, 196, 204, 216)); }

/* ---------- Narrower ---------- */
@media (max-width: 1279.98px) {
  .rct__floor { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rct__head { flex-direction: column; align-items: stretch; }
  .rct__share { flex-wrap: wrap; }
  .rct__link { flex: 1 1 100%; max-width: none; }
  .rct__btn { flex: 1 1 0; }
  .rct__said { position: static; flex: 1 1 100%; }
  .rct__wall { --k: 0.17; }
  .rct__tags { --tw: 64px; }
  .rct__ros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rct__medalk { font-size: 9px; letter-spacing: 0.06em; white-space: nowrap; }
  .rct__reward { width: 200px; }
}

/* ---------- Motion: mechanical, slow, transform and opacity only ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* The tags sway a degree or so from their chains, out of step, and a
     glint crosses each one's engraving now and then. */
  .rct.is-in .rct__tagswing { animation: rctSway calc(5.2s + var(--sw, 0) * 0.23s) ease-in-out calc(var(--sw, 0) * -0.6s) infinite alternate; }
  .rct.is-in .rct__glint { animation: rctGlint 9s ease-in-out calc(1.5s + var(--k, 0) * 0.45s) infinite; }
  /* The rail's finish drifts on the bars it lights: the next medal's
     progress fills once as it scrolls in. */
  .rct.is-armed:not(.is-in) .rct__bar > i { clip-path: inset(0 100% 0 0); }
  .rct.is-in .rct__bar > i { transition: clip-path 1100ms cubic-bezier(0.33, 1, 0.68, 1) 300ms; }
  .rct__reward { transition: opacity 180ms ease; }
  /* A recruit new since the last visit drops onto its hook and clinks. */
  .rct.is-in .rct__tag.is-new .rct__tagswing { animation: rctDrop 900ms cubic-bezier(0.5, 0, 0.75, 0) both, rctClink 700ms ease-out 900ms both, rctSway 5.4s ease-in-out 1.6s infinite alternate; }
  .rct.is-in .rct__tag.is-new::after { animation: rctHookFlash 600ms ease-out 900ms both; }
  .rct--asleep *, .rct--asleep *::before, .rct--asleep *::after { animation-play-state: paused !important; }
}
@keyframes rctSway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
@keyframes rctGlint { 0% { transform: translateX(-120%); } 18%, 100% { transform: translateX(120%); } }
@keyframes rctDrop { from { opacity: 0; transform: translateY(-90px); } 60% { opacity: 1; } to { transform: translateY(0); } }
@keyframes rctClink { 0% { transform: rotate(0deg); } 25% { transform: rotate(-5deg); } 55% { transform: rotate(3deg); } 80% { transform: rotate(-1.4deg); } 100% { transform: rotate(-1.4deg); } }
@keyframes rctHookFlash { 0% { opacity: 1; } 30% { opacity: 0.4; } 60% { opacity: 1; } }

/* ============================================================
   THE RECRUIT STATION (js/app.js staPlateMarkup, staTicksMarkup,
   staAffiliateMarkup). Free and member alike, so nothing here is scoped
   under .dash--climb. Steel in the locker's rack frame (.rct__wall), the
   hall's nameplate, split-flap tiles like the climb's lockup. Motion is
   transform and opacity; reduced motion shows the final values.
   ============================================================ */
.rct > .container > #recruitsBody > .rct__wall + .rct__track,
.sta__console + .rct__track { margin-top: clamp(18px, 2vw, 28px); }
.sta__console { margin: 0 0 6px; }
.sta__consolegrid { display: grid; grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.2fr); gap: clamp(18px, 2.4vw, 40px); align-items: start; }
.sta__k { margin: 0 0 8px; font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: #6f7888; }

/* The plate: the hall's nameplate, the code in tiles on its measured face. */
.sta__plate { position: relative; width: 100%; aspect-ratio: var(--npa); container-type: inline-size; }
.sta__plateimg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.75)); }
.sta__face { position: absolute; display: flex; align-items: center; justify-content: center; font-family: var(--font-display, 'Saira', sans-serif); font-weight: 700;
  font-size: min(calc(100cqw / 4.4591 * 0.5064 * 0.74), calc(100cqw * 0.7737 / (var(--n, 7) * 0.76))); line-height: 1; }

/* SPLIT-FLAP TILES (the climb lockup's, unscoped for a member's page). */
.sta__flaps { display: inline-flex; align-items: stretch; gap: 0.06em; }
.sta__flap { position: relative; display: inline-grid; place-items: center; width: 0.7em; height: 1.08em; border-radius: 0.07em; background: linear-gradient(180deg, #1d2129 0%, #14171d 49.5%, #0b0d11 50.5%, #11141a 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 0.05em 0.12em rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.55); perspective: 3em; }
.sta__flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -0.5px; background: rgba(0, 0, 0, 0.9); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); pointer-events: none; }
.sta__flapf { display: block; line-height: 1; color: #eef1f5; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8); transform-origin: 50% 50%; backface-visibility: hidden; }
.sta__flapfix { display: inline-flex; align-items: center; justify-content: center; min-width: 0.24em; height: 1.08em; padding: 0 0.04em; line-height: 1; color: #c9cfda; }

/* The link row and the quick shares. */
.sta__linkrow { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; }
.sta__link { flex: 1 1 auto; display: inline-flex; align-items: center; min-width: 0; height: 34px; padding: 0 12px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.75); border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(180deg, #07090c, #0c0f14); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.06); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; color: #dfe4ec; }
.sta__copy { display: inline-flex; align-items: center; gap: 6px; }
.sta__tick { display: none; width: 12px; height: 12px; }
.sta__tick svg { width: 100%; height: 100%; fill: none; stroke: #4bd68a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sta__copy.is-done .sta__tick { display: inline-block; }
.sta__copy.is-done { color: #dfe4ec; }
.sta__quick { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; }
.sta__q { padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: #8a92a0; text-decoration: underline; text-decoration-color: rgba(138, 146, 160, 0.4); text-underline-offset: 3px; cursor: pointer; }
.sta__q:hover { color: #f1f3f6; }
.sta__q:focus-visible { outline: 2px solid rgba(118, 166, 255, 0.85); outline-offset: 2px; }
.sta__plateblock .rct__said { position: static; min-height: 1em; margin: 8px 0 0; font-size: 11px; color: #8a92a0; }

/* Customise: a member's form; for anybody else, the lock. */
.sta__custrow { margin: 14px 0 0; }
.sta__cust { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border: 1px solid rgba(228, 174, 57, 0.45); border-radius: 4px; background: linear-gradient(180deg, #23262d, #14161a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #f1f3f6; cursor: pointer; }
.sta__cust:disabled { opacity: 0.55; cursor: default; }
.sta__cust:focus-visible, .sta__claim:focus-visible, .sta__cancel:focus-visible, .sta__unlock:focus-visible, .sta__applybtn:focus-visible { outline: 2px solid rgba(118, 166, 255, 0.9); outline-offset: 2px; }
.sta__cust--locked { color: #c9cfda; border-color: rgba(255, 255, 255, 0.12); }
.sta__custnote { display: inline-block; margin: 0 0 0 10px; font-size: 10.5px; color: #6f7888; }
.sta__lockico { display: inline-grid; place-items: center; color: #e4ae39; }
.sta__lockico svg { width: 10px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.sta__lock { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; margin: 10px 0 0; padding: 9px 10px; border: 1px solid rgba(0, 0, 0, 0.8); border-radius: 4px; background: linear-gradient(180deg, #16191f, #0d0f13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.sta__lock > .sta__lockico { width: 26px; height: 26px; border-radius: 50%; background: #111317; box-shadow: inset 0 0 0 1px rgba(228, 174, 57, 0.45); }
.sta__lockline { margin: 0; font-size: 13px; font-weight: 500; color: #dfe4ec; }
.sta__lockline b { color: #fff; }
.sta__unlock { display: inline-grid; place-items: center; height: 30px; padding: 0 16px; border: 1px solid #f6cf6e; border-radius: 3px; background: linear-gradient(180deg, #f3c860 0%, #e4ae39 55%, #c98f1d 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); color: #1b1305; font-family: var(--font-display, 'Saira', sans-serif); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.sta__risk { grid-column: 2 / -1; margin: 0; font-size: 10px; letter-spacing: 0.05em; color: #6f7888; }
.sta__form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; margin: 12px 0 0; }
.sta__form[hidden], .sta__apply[hidden] { display: none; }
.sta__formk { grid-column: 1 / -1; font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: #8a92a0; }
.sta__field { display: flex; align-items: center; height: 36px; border: 1px solid rgba(0, 0, 0, 0.8); border-radius: 4px; background: linear-gradient(180deg, #07090c, #0d1015); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.06); }
.sta__field:focus-within { box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85), 0 0 0 2px rgba(118, 166, 255, 0.6); }
.sta__prefix { padding: 0 0 0 12px; font-size: 13px; color: #6f7888; }
.sta__field input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 12px 0 2px; border: 0; background: none; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: #f1f3f6; outline: 0; }
.sta__claim, .sta__applybtn { height: 36px; padding: 0 18px; border: 1px solid #f6cf6e; border-radius: 3px; background: linear-gradient(180deg, #f3c860 0%, #e4ae39 55%, #c98f1d 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); color: #1b1305; font-family: var(--font-display, 'Saira', sans-serif); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.sta__claim:disabled { opacity: 0.6; }
.sta__cancel { height: 36px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: 12px; color: #8a92a0; cursor: pointer; }
.sta__formnote { grid-column: 1 / -1; margin: 0; font-size: 11.5px; color: #8a92a0; }
.sta__err { grid-column: 1 / -1; min-height: 1em; margin: 0; font-size: 12px; color: #ef8a8f; }

/* THE TICK BOARD: engraved counters. */
.sta__tickrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sta__tickrow--five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sta__tickrow--five > .sta__tickc { grid-column: span 2; }
.sta__tickrow--five > .sta__tickc:nth-child(n + 4) { grid-column: span 3; }
.sta__tickc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 12px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.8); border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(180deg, #0b0d11, #12151a); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 1px 0 rgba(255, 255, 255, 0.06); }
.sta__tickv { font-family: var(--font-display, 'Saira', sans-serif); font-weight: 700; font-size: clamp(24px, 2.3vw, 36px); line-height: 1; }
.sta__tickk { font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: #8a92a0; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.05); }
.sta__tickc--gold .sta__flapf, .sta__tickc--gold .sta__flapfix { color: #f0c462; text-shadow: 0 0 10px rgba(228, 174, 57, 0.35); }
.sta__tickc--gold .sta__tickk { color: #b99a52; }
.sta__tickc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 0 18px rgba(255, 255, 255, 0.12); opacity: 0; pointer-events: none; }
.sta__tickc--gold::after { background: radial-gradient(closest-side, rgba(240, 196, 98, 0.28), rgba(240, 196, 98, 0)); }
.sta__upd { margin: 8px 0 0; font-size: 10.5px; letter-spacing: 0.08em; text-align: right; color: #6f7888; }
.sta__upd time { color: #c9cfda; }

/* THE AFFILIATE PANEL, in the same rack frame. */
.sta__aff { margin: clamp(18px, 2vw, 28px) 0 0; }
.sta__affgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(18px, 2.4vw, 40px); align-items: start; }
.sta__afftitle { margin: 0 0 12px; font-family: var(--font-display, 'Saira', sans-serif); font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #f1f3f6; }
.sta__afftitle b { color: #e4ae39; }
.sta__perks { display: grid; gap: 9px; margin: 0 0 14px; padding: 0; list-style: none; }
.sta__perks li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.45; color: #a7aeba; }
.sta__perks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 1px; background: #e4ae39; transform: rotate(45deg); }
.sta__perks b { color: #f1f3f6; }
.sta__appline { margin: 0 0 12px; font-size: 13px; color: #c9cfda; }
.sta__applybtn--ghost { border-color: rgba(228, 174, 57, 0.5); background: linear-gradient(180deg, #23262d, #14161a); color: #f1f3f6; }
.sta__status { display: inline-block; margin: 0 0 12px; padding: 4px 10px 3px; border-radius: 3px; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.sta__status--applied { background: rgba(61, 127, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(61, 127, 255, 0.5); color: #9dbcff; }
.sta__status--approved { background: rgba(75, 214, 138, 0.12); box-shadow: inset 0 0 0 1px rgba(75, 214, 138, 0.45); color: #8fe3b3; }
.sta__status--rejected { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); color: #a7aeba; }
.sta__example { margin: 0; }
.sta__exk { margin: 0 0 10px; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #e4ae39; }
.sta__exart { display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); align-items: center; gap: 14px; }
.sta__exemb { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.8)); }
.sta__excard { position: relative; display: block; aspect-ratio: 3 / 1; overflow: hidden; border-radius: 4px; background: #06080c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 14px 26px -12px #000; }
.sta__excard img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.sta__audart { display: flex; align-items: center; gap: 14px; }
.sta__audart > .sta__card { flex: 1 1 auto; min-width: 0; max-width: 420px; }
.sta__embrim { flex: none; }
.sta__embrim { display: grid; place-items: center; width: clamp(84px, 8vw, 120px); aspect-ratio: 1; padding: 3px; border-radius: 50%; background: var(--fx, none) 0 0 / 64px 64px, rgb(var(--fxs, 196, 204, 216)); box-shadow: 0 10px 20px -8px #000; }
.sta__emb { display: block; width: 100%; height: 100%; border-radius: 50%; background: #0a0c10; object-fit: contain; }
.sta__emb[hidden] { display: none; }
.sta__card { width: 100%; }
.sta__apply { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.sta__afgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.sta__af { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sta__af--wide { grid-column: 1 / -1; }
.sta__afk { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #8a92a0; }
.sta__af input, .sta__af select, .sta__af textarea { width: 100%; min-height: 36px; padding: 8px 10px; border: 1px solid rgba(0, 0, 0, 0.8); border-radius: 4px; background: linear-gradient(180deg, #07090c, #0d1015); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.06); font: inherit; font-size: 13.5px; color: #f1f3f6; }
.sta__af select { color-scheme: dark; }
.sta__af input:focus, .sta__af select:focus, .sta__af textarea:focus { outline: 2px solid rgba(118, 166, 255, 0.7); outline-offset: 1px; }
.sta__af textarea { resize: vertical; }
.sta__aacts { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.sta__apply .sta__err { margin: 8px 0 0; }

@media (max-width: 1023.98px) {
  .sta__consolegrid, .sta__affgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sta__tickrow, .sta__tickrow--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sta__tickrow--five > .sta__tickc, .sta__tickrow--five > .sta__tickc:nth-child(n + 4) { grid-column: auto; }
  .sta__tickrow > .sta__tickc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sta__form { grid-template-columns: minmax(0, 1fr) auto; }
  .sta__cancel { grid-column: 1 / -1; justify-self: start; padding: 0; }
  .sta__lock { grid-template-columns: auto minmax(0, 1fr); }
  .sta__unlock { grid-column: 1 / -1; }
  .sta__risk { grid-column: 1 / -1; text-align: center; }
  .sta__afgrid { grid-template-columns: minmax(0, 1fr); }
  .sta__exart { grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .sta__flap.is-flip .sta__flapf { animation: staFlap 55ms linear both; }
  .sta__flap.is-land .sta__flapf { animation: staFlapLand 300ms cubic-bezier(0.3, 1.4, 0.5, 1) both; }
  .sta__tickc.is-flash::after { animation: staFlash 1100ms ease-out both; }
}
@keyframes staFlap { from { transform: rotateX(-82deg); opacity: 0.55; } to { transform: none; opacity: 1; } }
@keyframes staFlapLand { 0% { transform: rotateX(-70deg); } 70% { transform: rotateX(10deg); } 100% { transform: none; } }
@keyframes staFlash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

/* The Apply button steps aside while its form is open. */
.sta__aff:has(.sta__apply:not([hidden])) [data-sta-applyopen] { display: none; }
.sta__terms { margin: 14px 0 0; font-size: 12.5px; color: #c9cfda; }

/* ============================================================
   STATION FINISHES (the shared system, js/app.js materialVars): the
   reader's TIER finish on the plate's rim, each counter's top edge and
   the frames' LED groove; each reward's RARITY finish on its medal (a
   locked one only on hover) and on the next reward's rim. Thin edges
   only. Every drift moves an oversized tile inside a masked edge with a
   transform, so nothing repaints; off screen it sleeps (.rct--asleep),
   and under reduced motion it holds still.
   ============================================================ */
.sta__rim { position: absolute; z-index: 1; padding: 2px; overflow: hidden; border-radius: 4px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0.85; }
.sta__rim > i { position: absolute; top: -50%; bottom: -50%; left: -50%; width: 200%; background: var(--fx, none) 0 0 / 96px 96px, rgb(var(--fxs, 138, 146, 160)); }
.sta__face { z-index: 2; }

.sta__edge { position: absolute; left: 0; right: 0; top: 0; height: 3px; overflow: visible; background: var(--fx, none) 0 0 / 64px 64px, rgb(var(--fxs, 138, 146, 160)); opacity: 0.85; }
.sta__edge > i { position: absolute; top: 0; bottom: 0; left: 0; width: 34%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 50%, rgba(255, 255, 255, 0)); box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.75), 0 6px 16px 2px rgba(var(--fxs, 255, 255, 255), 0.55); opacity: 0; transform: translateX(-110%); }

.sta__led { position: absolute; z-index: 1; left: calc(86px * var(--k) + 22px); right: calc(91px * var(--k) + 22px); top: calc(111px * var(--k) + 5px); height: 2px; overflow: hidden; border-radius: 1px; opacity: 0.7; box-shadow: 0 0 6px rgba(var(--fxs, 138, 146, 160), 0.6); pointer-events: none; }
.sta__led > i { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; background: var(--fx, none) 0 0 / 120px 120px, rgb(var(--fxs, 138, 146, 160)); }
.sta__console > .sta__consolegrid, .sta__wallframe > .rct__tags, .sta__wallframe > .rct__first, .sta__aff > .sta__affgrid { position: relative; z-index: 2; }

/* A locked medal: on hover, a faint shimmer of its reward's finish,
   inside the medal's own outline. */
.rct__medalshim { position: absolute; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity 260ms ease;
  -webkit-mask: url('/assets/recruit/recruit-medal.webp') center / 100% 100% no-repeat; mask: url('/assets/recruit/recruit-medal.webp') center / 100% 100% no-repeat; mix-blend-mode: screen; }
.rct__medalshim > i { position: absolute; top: -20%; bottom: -20%; left: -60%; width: 60%; background: var(--fx, none) 0 0 / 64px 64px, rgb(var(--fxs, 196, 204, 216)); -webkit-mask: linear-gradient(100deg, transparent, #000 50%, transparent); mask: linear-gradient(100deg, transparent, #000 50%, transparent); transform: translateX(0); }
.rct__medal:not(.is-earned):hover .rct__medalshim,
.rct__medalbtn:focus-visible .rct__medalshim { opacity: 0.32; }

/* THE RIGHT COLUMN: the tick board, then the next reward. */
.sta__right { display: grid; gap: clamp(16px, 1.6vw, 24px); align-content: start; }
.sta__next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); grid-template-areas: 'k k' 'frame prev' 'name prev' 'away prev' 'bar prev'; gap: 6px 18px; align-items: start; }
.sta__next > .sta__k { grid-area: k; margin: 0; }
.sta__nextframe { grid-area: frame; position: relative; display: grid; place-items: center; aspect-ratio: 3 / 1; overflow: hidden; border-radius: 5px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 40%), #05070a; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9), 0 0 26px -6px rgba(var(--fxs), 0.55), 0 16px 30px -14px #000; }
.sta__nextglow { position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(var(--fxs), 0.28), rgba(var(--fxs), 0)); pointer-events: none; }
.sta__nextart { position: absolute; inset: 3px; display: block; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; border-radius: 3px; }
.sta__next.is-sealed .sta__nextart { filter: brightness(0.58) saturate(0.75); }
.sta__nextnone { position: relative; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: #6f7888; }
.sta__nextrim { position: absolute; inset: 0; padding: 2px; overflow: hidden; border-radius: inherit; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.sta__nextrim > i { position: absolute; top: -50%; bottom: -50%; left: -50%; width: 200%; background: var(--fx, none) 0 0 / 80px 80px, rgb(var(--fxs)); }
.sta__nextseal { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(10, 12, 16, 0.92); box-shadow: inset 0 0 0 1px rgba(var(--fxs), 0.7), 0 4px 12px #000; color: rgb(var(--fxs)); }
.sta__nextseal svg { width: 12px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.sta__nextname { grid-area: name; margin: 4px 0 0; font-family: var(--font-display, 'Saira', sans-serif); font-size: 15px; font-weight: 700; color: #f1f3f6; }
.sta__nextname span { margin-left: 6px; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(var(--fxs)); }
.sta__nextaway { grid-area: away; margin: 0; font-size: 12px; color: #8a92a0; }
.sta__nextaway b { font-size: 15px; font-weight: 500; color: #f1f3f6; }
.sta__nextbar { grid-area: bar; position: relative; display: block; height: 4px; overflow: hidden; border-radius: 1px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.7); }
.sta__nextbar > i { position: absolute; inset: 0; display: block; background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%), var(--fx, none) 0 50% / 160px auto, rgb(var(--fxs)); clip-path: inset(0 calc((1 - var(--f, 0)) * 100%) 0 0); }
.sta__preview { grid-area: prev; margin: 0; }
.sta__preview .sta__k { margin: 0 0 6px; }
.sta__previewframe { display: block; aspect-ratio: 1200 / 630; overflow: hidden; border-radius: 4px; background: #05070a; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 22px -12px #000; }
.sta__previewimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.sta__previewimg[hidden] { display: none; }
@media (max-width: 640px) {
  .sta__next { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'k' 'frame' 'name' 'away' 'bar' 'prev'; }
}

@media (prefers-reduced-motion: no-preference) {
  .rct.is-in .sta__rim > i { animation: staDrift 22s ease-in-out infinite alternate; }
  .rct.is-in .sta__led > i { animation: staLed 46s linear infinite; }
  .rct.is-in .sta__nextrim > i { animation: staDrift 26s ease-in-out infinite alternate; }
  .sta__tickc.is-flash .sta__edge > i { animation: staEdgeRun 900ms cubic-bezier(0.3, 0, 0.3, 1) both; }
  .rct__medal:not(.is-earned):hover .rct__medalshim > i,
  .rct__medalbtn:focus-visible .rct__medalshim > i { animation: staShim 1.8s ease-in-out infinite; }
}
@keyframes staDrift { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@keyframes staLed { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes staEdgeRun { 0% { opacity: 0; transform: translateX(-110%); } 12% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateX(320%); } }
@keyframes staShim { from { transform: translateX(0); } to { transform: translateX(380%); } }
