/* ================================================================ Results: hero, tab bar, visitor banner/bar, unlock cinematic · W5
   Loops on the hero: the card sheen and the patch float (opcard.css), both paused off-screen. Nothing here animates
   anything but transform and opacity. */

html.lock-scroll, html.lock-scroll body { overflow: hidden; }

/* Bunk Classic reads as brushed steel on the hero and in the unlock (same value as opcard.css / OpCard.tier) */
.res-hero, .unlock {
  --tier-classic: #A9BAC6;
  --metal-classic: linear-gradient(135deg, #E4EBF1 0%, #7D8A95 28%, #39424A 50%, #7D8A95 72%, #E4EBF1 100%);
}

/* tab targets clear the topbar + tab bar */
#card, #intel-sec, #missions, #refer, #deliver, #story, #coffee { scroll-margin-top: 108px; }

/* ---------------------------------------------------------------- hero */
.res-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: -20px calc(-1 * var(--gutter)) 0;
  padding: 12px var(--gutter) 8px;
}
.viewing + .res-hero { margin-top: 0; padding-top: 6px; }
.res-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.res-bg > * { position: absolute; display: block; }
.res-spot {
  left: -20%;
  width: 140%;
  top: -6%;
  height: 92%;
  background: radial-gradient(closest-side, var(--pc), rgba(0, 0, 0, 0)); /* not var(--glow-pc): that resolves --pc at :root */
  opacity: .28;
}
.res-lines {
  inset: 0;
  background: repeating-linear-gradient(-18deg, rgba(237, 230, 211, .03) 0 2px, rgba(237, 230, 211, 0) 2px 40px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0) 100%);
}
.res-floor { /* tier light pooling under the card */
  left: 50%;
  top: 38%;
  width: 150%;
  height: 50%;
  margin-left: -75%;
  background: radial-gradient(closest-side, var(--tier), rgba(0, 0, 0, 0));
  opacity: .1;
}
.res-ghost {
  left: 50%;
  top: 64px;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 34vw;
  font-size: min(34vw, 300px);
  line-height: .84;
  font-synthesis: none;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: .01em;
  color: rgba(237, 230, 211, .035);
}
@supports (-webkit-text-stroke: 1px #000) {
  .res-ghost { color: transparent; -webkit-text-stroke: 1px rgba(237, 230, 211, .07); }
}

/* strip: FILE · NAME · ORD IN N DAYS ................ PATCH 07/12 */
.res-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
  font: 600 var(--t-label)/1.35 var(--f-hud);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dust);
}
.res-file { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.res-file b { color: var(--bone); font-weight: 700; }
.res-serial { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: .14em; color: var(--dim); }
.res-serial::before { content: ''; width: 6px; height: 6px; background: var(--tier); }
@media (max-width: 419px) { .res-serial { display: none; } }

.res-grid { display: grid; justify-items: center; }
.res-cardcol { display: grid; justify-items: center; width: 100%; }
.res-stage { position: relative; isolation: isolate; display: flex; justify-content: center; width: 100%; padding: 30px 0 36px; }
.res-stage::after { /* display-plinth highlight under the card */
  content: '';
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(340px, 96%);
  height: 1px;
  margin-left: max(-170px, -48%);
  background: linear-gradient(90deg, rgba(237, 230, 211, 0), var(--tier), rgba(237, 230, 211, 0));
  opacity: .5;
  z-index: -1;
}
/* viewfinder corners around the card stage (static, decorative) */
.res-stage::before {
  content: '';
  position: absolute;
  inset: 14px 0 26px;
  z-index: -1;
  pointer-events: none;
  --vf: rgba(237, 230, 211, .22);
  background:
    linear-gradient(var(--vf), var(--vf)) top left / 18px 1px no-repeat,
    linear-gradient(var(--vf), var(--vf)) top left / 1px 18px no-repeat,
    linear-gradient(var(--vf), var(--vf)) top right / 18px 1px no-repeat,
    linear-gradient(var(--vf), var(--vf)) top right / 1px 18px no-repeat,
    linear-gradient(var(--vf), var(--vf)) bottom left / 18px 1px no-repeat,
    linear-gradient(var(--vf), var(--vf)) bottom left / 1px 18px no-repeat,
    linear-gradient(var(--vf), var(--vf)) bottom right / 18px 1px no-repeat,
    linear-gradient(var(--vf), var(--vf)) bottom right / 1px 18px no-repeat;
}
.res-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  font: 600 var(--t-micro)/1 var(--f-hud);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  text-align: center;
  color: var(--dim);
}
.res-hint .h-mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .res-hint .h-mouse { display: inline; }
  .res-hint .h-touch { display: none; }
}
html.lowpower .res-hint .h-tilt { display: none; }
@media (prefers-reduced-motion: reduce) { .res-hint .h-tilt { display: none; } }
.res-hero.is-visitor .op-card[data-size="hero"] { --cw: max(200px, min(280px, 76vw, calc((100vh - 312px) / 1.4))); }
@supports (height: 100svh) {
  .res-hero.is-visitor .op-card[data-size="hero"] { --cw: max(200px, min(280px, 76vw, calc((100svh - 312px) / 1.4))); }
}
@media (min-width: 600px) {
  .res-hero.is-visitor .op-card[data-size="hero"] { --cw: 320px; }
  .res-stage { padding-top: 34px; }
}
@media (min-width: 1100px) and (min-height: 860px) {
  .res-hero.is-visitor .op-card[data-size="hero"] { --cw: 360px; }
}
/* unlock hand-off: the card's own patch stays hidden while the overlay's patch flies into its place */
.res-hero .op-card.oc-catching .oc-patch { visibility: hidden; }

/* action row: one 56px primary slab (Share my card, or Get your card for a visitor) + two 56px icon squares */
.res-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px 56px;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  margin-top: 8px;
}
.res-actions .btn { min-width: 0; min-height: 56px; line-height: 1; }
.res-actions .res-main { gap: 10px; padding: 0 14px; font-size: 16px; letter-spacing: .08em; }
.res-actions .res-main > span { white-space: nowrap; }
.res-actions .res-sq { padding: 0; }
.res-actions .res-sq .ic { width: 22px; height: 22px; }
.res-actions .ic-down { transform: rotate(90deg); }
.res-actions .btn:disabled .ic { opacity: .6; }
@media (max-width: 359px) { .res-actions .res-main { gap: 8px; padding: 0 10px; font-size: 15px; letter-spacing: .04em; } }

/* name block */
.res-txt { width: 100%; margin-top: 28px; text-align: center; }
.res-who {
  margin: 0 0 6px;
  font: 700 15px/1.3 var(--f-hud);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dust);
}
.res-name {
  margin: 0 0 12px;
  font: 400 var(--t-name)/.88 var(--f-display);
  font-synthesis: none;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--bone);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.res-name:focus, .res-name:focus-visible { outline: none; } /* programmatic focus target (tabindex -1), not a control */
.res-tag {
  max-width: 30em;
  margin: 0 auto 18px;
  font: italic 500 18px/1.4 var(--f-body);
  color: var(--dust);
}
/* on a phone the card right above already carries the tagline */
@media (max-width: 599px) { .res-tag { display: none; } .res-name { margin-bottom: 16px; } }
.rarity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 0 0 14px;
}
.rarity .tier-ratio { font-size: var(--t-small); letter-spacing: .1em; }
.rarity .nw { white-space: nowrap; }
.rarity .tr-line { display: block; margin-top: 2px; } /* classic's second line, never an orphaned word */
.en-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 8px 12px;
  background: var(--night);
  border: 1px solid var(--line-2);
  font: 600 13px/1.3 var(--f-hud);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dust);
}
.en-chip b { color: var(--bone); font-weight: 700; text-transform: none; }
.en-chip .en-e { font-size: 16px; line-height: 1; }
.res-vibe { max-width: 30em; margin: 0 auto; font: 400 13px/1.45 var(--f-body); color: var(--dim); }

@media (min-width: 900px) {
  .res-hero {
    margin-left: calc(50% - min(450px, 50vw - var(--gutter)));
    margin-right: calc(50% - min(450px, 50vw - var(--gutter)));
    padding: 16px 28px 12px;
  }
  .res-grid { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: stretch; gap: 56px; }
  .res-cardcol { width: 380px; }
  .res-txt { margin-top: 0; padding-bottom: 40px; text-align: left; }
  .res-name { font-size: min(var(--t-name), 88px); } /* the card leads; the name supports it */
  .res-tag, .res-vibe { margin-left: 0; }
  .rarity { justify-content: flex-start; }
  .res-ghost { left: 70%; top: 34%; }
  .res-actions { max-width: 340px; }
}
@media (min-width: 1100px) and (min-height: 860px) {
  .res-cardcol { width: 400px; }
  .res-actions { max-width: 360px; }
}
/* once the page is wider than the hero box, feather its backdrop so no hard edge shows */
@media (min-width: 600px) {
  .res-bg {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 14%, #000 86%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 14%, #000 86%, rgba(0, 0, 0, 0) 100%);
  }
}

/* reduced motion on a fresh submit: no overlay; hero parts fade in, 60ms apart */
.res-hero.rm-stagger .res-strip { --i: 0; }
.res-hero.rm-stagger .res-stage { --i: 1; }
.res-hero.rm-stagger .res-actions { --i: 2; }
.res-hero.rm-stagger .res-txt > :nth-child(1) { --i: 3; }
.res-hero.rm-stagger .res-txt > :nth-child(2) { --i: 4; }
.res-hero.rm-stagger .res-txt > :nth-child(3) { --i: 5; }
.res-hero.rm-stagger .res-txt > :nth-child(4) { --i: 6; }
.res-hero.rm-stagger .res-txt > :nth-child(5) { --i: 7; }
.res-hero.rm-stagger .res-txt > :nth-child(n+6) { --i: 8; }
.res-hero.rm-stagger .res-strip, .res-hero.rm-stagger .res-stage, .res-hero.rm-stagger .res-actions, .res-hero.rm-stagger .res-txt > * {
  animation: res-rm-in 240ms var(--e-out) calc(var(--i, 0) * 60ms) both;
}
@media (prefers-reduced-motion: reduce) {
  .res-hero.rm-stagger .res-strip, .res-hero.rm-stagger .res-stage, .res-hero.rm-stagger .res-actions, .res-hero.rm-stagger .res-txt > * {
    animation: res-rm-in 240ms ease-out both !important;
    animation-delay: calc(var(--i, 0) * 60ms) !important;
  }
}

/* ---------------------------------------------------------------- visitor banner (shared link, not mine) */
.viewing {
  --bk: var(--signal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 10px;
  padding: 6px 6px 6px 14px;
  background: var(--night);
  border: 1px solid var(--line-2);
}
.viewing-t {
  margin: 0;
  min-width: 0;
  font: 700 13px/1.3 var(--f-hud);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bone);
}
.viewing-t span { display: block; font-weight: 600; font-size: 11px; letter-spacing: .22em; color: var(--intel); }
.viewing .btn { flex: none; min-height: 44px; padding: 0 14px; font-size: 13px; letter-spacing: .1em; }

/* bottom challenge bar */
.visitor-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky-cta);
  padding: 28px var(--gutter) calc(12px + var(--safe-b));
  background: var(--grad-scrim-bottom);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 280ms var(--e-out), visibility 0s linear 280ms;
  pointer-events: none;
}
.visitor-bar.show { visibility: visible; transform: none; transition: transform 280ms var(--e-out); }
.visitor-bar .btn { flex-direction: column; gap: 3px; max-width: 528px; margin: 0 auto; min-height: 56px; padding: 6px 16px; pointer-events: auto; }
.visitor-bar .vb-k { font: 700 11px/1 var(--f-hud); letter-spacing: .22em; opacity: .78; }
.visitor-bar .vb-m { font-size: 18px; line-height: 1.05; }
@media (min-width: 600px) {
  .visitor-bar .btn { flex-direction: row; gap: 10px; }
  .visitor-bar .vb-k { font: inherit; letter-spacing: inherit; opacity: 1; }
}

/* ---------------------------------------------------------------- sticky tab bar */
.res-tabs {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--topbar-h) + var(--safe-t));
  z-index: var(--z-tabbar);
  height: var(--tabbar-h);
  margin: 24px calc(-1 * var(--gutter)) 20px;
  padding: 0 var(--gutter);
  background: rgba(7, 9, 10, .94);
  border-bottom: 1px solid var(--line);
}
.res-tabs-in { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 100%; max-width: 528px; margin: 0 auto; }
.res-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font: 700 var(--t-hud)/1 var(--f-hud);
  letter-spacing: var(--track-hud);
  padding-left: var(--track-hud);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dust);
  transition: color var(--d-micro) var(--e-out);
}
.res-tabs a.on { color: var(--bone); }
@media (hover: hover) { .res-tabs a:hover { color: var(--bone); } }
.res-tabs a:focus-visible { outline-offset: -3px; }
.res-tabs-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 25%;
  height: 2px;
  transform: translateX(0);
  transition: transform 180ms var(--e-out);
  pointer-events: none;
}
.res-tabs-bar::after { content: ''; position: absolute; top: 0; bottom: 0; left: 22%; right: 22%; background: var(--signal); }

/* ---------------------------------------------------------------- desktop rhythm
   The visitor banner, the tab bar (and from 1100px the hero) share the sections' edge, which results-sections.css
   sets as --rs-w: 680px from 900px, min(1000px, 100vw - 160px) from 1100px. Keep these two values in step with it. */
@media (min-width: 900px) {
  .viewing, .res-tabs { --res-w: 680px; }
  .viewing {
    margin-left: calc((100% - var(--res-w)) / 2);
    margin-right: calc((100% - var(--res-w)) / 2);
  }
  .res-tabs {
    margin-left: calc((100% - var(--res-w)) / 2 - var(--gutter));
    margin-right: calc((100% - var(--res-w)) / 2 - var(--gutter));
  }
  .res-tabs-in { max-width: 600px; margin-left: 0; } /* tabs start on the shared left edge */
}
@media (min-width: 1100px) {
  .viewing, .res-tabs { --res-w: min(1000px, calc(100vw - 160px)); }
  .res-hero {
    margin-left: calc(50% - min(500px, 50vw - 80px));
    margin-right: calc(50% - min(500px, 50vw - 80px));
    padding-left: 32px;
    padding-right: 32px;
  }
  .res-grid { gap: 64px; }
}

/* ---------------------------------------------------------------- unlock cinematic (fresh submit only) */
.unlock {
  --ts: 1;
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--bone);
  text-align: center;
}
.unlock > i { position: absolute; display: block; pointer-events: none; }
.unlock.out { opacity: 0; transition: opacity 300ms var(--e-in); }
.unlock.flying { pointer-events: none; } /* results.js flies the patch into the card and fades the rest (WAAPI) */
.unlock.quick { background: var(--void); animation: u-out 300ms var(--e-in) both; }
.u-void { inset: 0; background: var(--void); } /* its own layer, so the hand-off can fade it while the patch stays */
.u-vig { inset: 0; background: radial-gradient(90% 70% at 50% 42%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .7) 100%); }
.u-rays {
  left: 50%;
  top: 40%;
  width: 180vmax;
  height: 180vmax;
  margin: -90vmax 0 0 -90vmax;
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--tier) 0deg 3deg, rgba(0, 0, 0, 0) 3deg 18deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 70%);
  opacity: 0;
}
/* steel is quiet on its own: the classic sunburst carries the archetype's colour instead */
.unlock[data-tier="classic"] .u-rays {
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--pc) 0deg 3deg, rgba(0, 0, 0, 0) 3deg 18deg);
}
.u-beam {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  margin-left: -3px;
  background: var(--tier);
  transform-origin: 50% 100%;
  transform: scaleY(0);
}
.u-beam > i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 90px;
  margin-left: -45px;
  background: radial-gradient(closest-side, var(--tier), rgba(0, 0, 0, 0));
  opacity: .55;
}
.u-flash { inset: 0; background: radial-gradient(70% 60% at 50% 40%, #FFE9A6, var(--tier-rare)); opacity: 0; }
.u-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 760px;
  padding: 0 var(--gutter);
}
.u-kicker {
  margin: 0;
  font: 700 14px/1 var(--f-hud);
  letter-spacing: .24em;
  padding-left: .24em;
  text-transform: uppercase;
  color: var(--intel);
  opacity: 0;
}
.u-art { position: relative; width: 260px; height: 260px; margin: 14px 0 6px; }
.u-art > i { position: absolute; display: block; }
.u-glow { inset: -30%; background: radial-gradient(closest-side, var(--pc), rgba(0, 0, 0, 0)); /* not var(--glow-pc): that resolves --pc at :root */ opacity: 0; }
.u-shock { inset: 6%; border: 3px solid var(--tier); border-radius: 50%; opacity: 0; }
.u-patch { position: relative; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.u-who {
  min-height: 1.3em;
  margin: 0 0 6px;
  font: 700 16px/1.3 var(--f-hud);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dust);
  opacity: 0;
}
.u-name {
  max-width: 100%;
  margin: 0 0 16px;
  font: 400 clamp(48px, 14vw, 96px)/.88 var(--f-display);
  font-synthesis: none;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--bone);
  overflow-wrap: anywhere;
  opacity: 0;
}
.u-tier { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; }
.u-ratio {
  max-width: 26ch;
  font: 600 14px/1.4 var(--f-hud);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--tier);
}
.u-line { display: block; }
.u-skip {
  position: fixed;
  top: calc(12px + var(--safe-t));
  right: 12px;
  z-index: var(--z-skip);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  background: var(--night);
  border: 1px solid var(--line-2);
  color: var(--bone);
  font: 600 13px/1 var(--f-hud);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.u-skip span { color: var(--signal-text); font-size: 16px; }
.u-skip.out { opacity: 0; transition: opacity 300ms var(--e-in); }
@media (min-width: 600px) { .u-art { width: 360px; height: 360px; } }
@media (max-height: 620px) { .u-art { width: 200px; height: 200px; } }

/* timeline (ms at --ts 1; results.js fires the JS beats at the same marks): kicker 0-240 · beam 0-200 up, 200-650
   widen + fade · patch 220-620 · burst + shock 600 · who types from 650 · name 720-1020 (glitch 740) · tier 880-1120
   (chip sweep 1100) · rare flash + chip pulse + gold burst 1150. The full frame then holds until OUT_AT. */
.unlock.play .u-kicker { animation: u-kick calc(240ms * var(--ts)) steps(3, end) 0s both; }
.unlock.play .u-beam {
  animation:
    u-beam-up calc(200ms * var(--ts)) var(--e-inout) 0s both,
    u-beam-out calc(450ms * var(--ts)) var(--e-out) calc(200ms * var(--ts)) forwards;
}
.unlock.play .u-rays { animation: u-rays calc(1400ms * var(--ts)) var(--e-out) calc(220ms * var(--ts)) both; }
.unlock.play .u-glow { animation: u-glow calc(500ms * var(--ts)) var(--e-out) calc(480ms * var(--ts)) both; }
.unlock.play .u-patch { animation: u-impact calc(400ms * var(--ts)) var(--e-impact) calc(220ms * var(--ts)) both; }
.unlock.play .u-shock { animation: u-shock calc(600ms * var(--ts)) var(--e-out) calc(600ms * var(--ts)) both; }
.unlock.play .u-who { animation: u-show 1ms linear calc(650ms * var(--ts)) both; }
.unlock.play .u-name { animation: u-name calc(300ms * var(--ts)) var(--e-out) calc(720ms * var(--ts)) both; }
.unlock.play .u-tier { animation: u-rise calc(240ms * var(--ts)) var(--e-out) calc(880ms * var(--ts)) both; }
.unlock.play[data-tier="rare"] .u-flash { animation: u-flash calc(400ms * var(--ts)) var(--e-out) calc(1150ms * var(--ts)) both; }
.unlock.play[data-tier="rare"] .u-tier .tier-chip { animation: u-pulse calc(400ms * var(--ts)) var(--e-impact) calc(1150ms * var(--ts)) both; }
html.lowpower .unlock.play .u-beam {
  animation:
    u-beam-up calc(200ms * var(--ts)) var(--e-inout) 0s both,
    u-fade-out calc(450ms * var(--ts)) var(--e-out) calc(200ms * var(--ts)) forwards;
}
html.lowpower .unlock .u-rays { display: none; }

@keyframes u-kick {
  0% { opacity: 0; transform: translateX(-6px); }
  34% { opacity: 1; transform: translateX(4px); }
  67% { opacity: .35; transform: translateX(-2px); }
  100% { opacity: 1; transform: none; }
}
@keyframes u-beam-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes u-beam-out { from { transform: scaleY(1) scaleX(1); opacity: 1; } to { transform: scaleY(1) scaleX(40); opacity: 0; } }
@keyframes u-fade-out { from { transform: scaleY(1); opacity: 1; } to { transform: scaleY(1); opacity: 0; } }
@keyframes u-rays { 0% { opacity: 0; transform: rotate(-12deg) scale(.7); } 40% { opacity: .18; } 100% { opacity: .09; transform: none; } }
@keyframes u-glow { from { opacity: 0; } to { opacity: .55; } }
@keyframes u-impact { from { opacity: 0; transform: translateY(-40px) scale(1.6); } to { opacity: 1; transform: none; } }
@keyframes u-shock { from { opacity: 1; transform: scale(.5); } to { opacity: 0; transform: scale(2.2); } }
@keyframes u-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes u-name { from { opacity: 0; transform: translateY(14px) scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes u-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes u-flash { 0% { opacity: 0; } 40% { opacity: .18; } 100% { opacity: 0; } }
@keyframes u-pulse { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes u-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes res-rm-in { from { opacity: 0; } to { opacity: 1; } }
