/* ==========================================================================
   Gamarium · screens in Arcade Bright: Cards (collection, sheet, reveal), Vault (+ wallet, pay), Quests (+ X),
   Ranks, Farm Race, Friends (+ Ambassador), Arena (+ deck, battle)
   ========================================================================== */

.r-common { --rhue: 150, 165, 200; --rc: #7D8BAE; }
.r-rare { --rhue: 56, 160, 255; --rc: #1C86E0; }
.r-epic { --rhue: 140, 100, 255; --rc: #6A3CF5; }
.r-legendary { --rhue: 255, 186, 60; --rc: #E58A0C; }
.r-rookie { --rhue: 46, 212, 122; --rc: #16A85A; }

/* ==================================================================== CARDS */
.ph-count { flex: none; display: flex; align-items: baseline; gap: 4px; height: 40px; padding: 0 12px; border-radius: 14px; background: #fff; border: var(--bw) solid var(--ink); box-shadow: 0 3px 0 var(--ink); align-items: center; }
.ph-count b { font-size: 22px; line-height: 1; color: var(--violet-d); }
.ph-count span { font: 900 12px/1 var(--f-ui); color: var(--ink-2); }
.cpw { display: flex; align-items: center; gap: 12px; padding: 12px; }
.cpw-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; border: var(--bw) solid var(--ink); background: var(--g-gold); box-shadow: 0 3px 0 var(--ink); }
.cpw-ic svg { width: 24px; height: 24px; color: #fff; filter: drop-shadow(1.3px 1.3px 0 var(--ink)) drop-shadow(-1.3px -1.3px 0 var(--ink)) drop-shadow(1.3px -1.3px 0 var(--ink)) drop-shadow(-1.3px 1.3px 0 var(--ink)); }
.cpw-main { flex: 1; min-width: 0; }
.cpw-main > b { display: block; font-size: 21px; line-height: 1; }
.cpw-main > span { display: block; margin: 4px 0 7px; font: 800 11.5px/1.2 var(--f-ui); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpw-main .bar { height: 12px; }
.cpw-btn { flex-direction: column; gap: 2px; height: 50px; padding: 0 12px; min-width: 84px; }
.cpw-btn .cpw-l { font-size: 12px; -webkit-text-stroke-width: 2.5px; }
.cpw-btn b { font: 400 17px/1 var(--f-d); }
.fchips { display: flex; gap: 8px; margin: 18px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 6px; border-radius: 13px; background: #fff; border: var(--bw) solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  font: 900 13px/1 var(--f-ui); color: var(--ink); }
.fchip:first-child { padding-left: 12px; }
.fchip img { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--ink); object-fit: cover; }
.fchip em { font-style: normal; height: 20px; padding: 0 6px; border-radius: 7px; background: var(--lilac); font: 900 11px/20px var(--f-ui); }
.fchip.is-on { background: var(--gold); }
.fchip.is-on em { background: #fff; }
.fchip:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.set { margin-top: 22px; }
.set-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.set-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; overflow: hidden; border: var(--bw) solid var(--ink); box-shadow: 0 3px 0 var(--ink); background: #fff; }
.set-ic img { width: 100%; height: 100%; object-fit: cover; }
.set-ic--g { background: radial-gradient(circle at 50% 35%, #B9A2FF, #5A2EE0); display: grid; place-items: center; }
.set-ic--g img { width: 34px; height: 34px; object-fit: contain; }
.set-meta { flex: 1; min-width: 0; }
.set-meta h3 { display: flex; align-items: baseline; gap: 7px; font-size: 21px; line-height: 1; margin-bottom: 7px; }
.set-meta h3 span { font: 900 13px/1 var(--f-ui); color: var(--ink-2); }
.set-meta .bar { height: 12px; }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.cgrid .kc { margin-bottom: 4px; }
.set-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 2px dashed #CFC2EA; font: 800 12px/1.35 var(--f-ui); color: var(--ink-2); }
.set-note svg { flex: none; width: 15px; height: 15px; color: var(--violet); margin-top: 1px; }
.set-note b { color: var(--ink); }
.soon-sets { display: flex; flex-direction: column; gap: 12px; }
.soon-set { padding: 12px; }
.soon-set-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.soon-set-head b { flex: 1; font-size: 17px; line-height: 1; }
.soon-set-head > span:last-child { font: 900 11.5px/1 var(--f-ui); color: var(--ink-2); }
.soon-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
/* an announced Coming soon set (MineCrown before launch): its real cards, locked, the launch and the way into its race */
.set--soon .bar--soon { opacity: .55; }
.set--soon .set-head .t svg { width: 12px; height: 12px; stroke-width: 2.8; }
.set-soon { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 10px 10px 12px; text-align: left; }
.set-soon-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--gold); border: 2px solid var(--ink); color: var(--ink); }
.set-soon-ic svg { width: 19px; height: 19px; stroke-width: 2.6; }
.set-soon-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.set-soon-t b { font-size: 16px; line-height: 1; }
.set-soon-t span { font: 800 11.5px/1.3 var(--f-ui); color: var(--ink-2); }
.set-soon .cb { flex: none; height: 38px; padding: 0 13px 0 11px; font-size: 15px; border-radius: 13px; }
.set-soon .cb svg { width: 15px; height: 15px; }
/* the next game's teaser (SPEC 27): a dark eclipse tile for its lock, Notify me */
.set-soon--tease .set-soon-ic { background: radial-gradient(circle at 50% 50%, #120c08 52%, #ffc470 60%, #3a2410 72%); color: #ffd98a; }
.set-soon--tease .cb { flex: none; }
.fchip em.em--soon { background: #DDF2FF; color: var(--sky-d); }
.fchip.is-on em.em--soon { background: #fff; }

/* ---------- card sheet ------------------------------------------------------------- */
.sheet--card .sheet-body { padding-top: 0; }
.cdx { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 6px; }
.cd-stage { position: relative; width: calc(100% + 32px); margin: -24px -16px 0; padding: 30px 0 22px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 46%, rgba(var(--rhue), .55), rgba(var(--rhue), .12) 55%, transparent 75%); border-radius: 26px 26px 0 0; }
.cd-rays { position: absolute; left: 50%; top: 46%; width: 470px; height: 470px; margin: -235px 0 0 -235px; border-radius: 50%; pointer-events: none; background: var(--corona-w); animation: cr-breathe 6s ease-in-out infinite; }
.cd-card { position: relative; width: min(64vw, 250px); }
.cd-name { margin-top: 14px; font-size: 30px; line-height: 1; letter-spacing: .01em; }
.cd-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.cd-tags .t { height: 24px; padding: 0 9px; font-size: 11.5px; }
.cd-yields { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; width: 100%; margin-top: 16px; }
.cd-y { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; border-radius: 15px; background: #fff; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.cd-y em { display: inline-flex; align-items: center; gap: 3px; font: 900 10.5px/1 var(--f-ui); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.cd-y em svg { width: 11px; height: 11px; color: var(--green-d); stroke-width: 3.4; }
.cd-y b { font-size: 21px; line-height: 1; }
.cd-y span { font: 900 10.5px/1 var(--f-ui); color: var(--ink-2); }
.cd-y.is-now { background: var(--g-gold); }
.cd-y.is-now em, .cd-y.is-now span { color: var(--ink); }
.cd-y.is-done { background: #E9FBF0; }
.cd-vb { width: 100%; margin-top: 12px; padding: 12px; text-align: left; background: linear-gradient(180deg, #FFF6D8, #FFFFFF); }
.cd-vb-top { display: flex; align-items: center; gap: 10px; }
.cd-vb-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--g-gold); border: var(--bw) solid var(--ink); }
.cd-vb-ic svg { width: 21px; height: 21px; color: #fff; stroke-width: 2.6; filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--ink)) drop-shadow(1px -1px 0 var(--ink)) drop-shadow(-1px 1px 0 var(--ink)); }
.cd-vb-top b { display: block; font-size: 18px; line-height: 1; }
.cd-vb-top > div > span { display: block; margin-top: 3px; font: 800 11.5px/1.3 var(--f-ui); color: var(--ink-2); }
.cd-vb-lv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.cd-vb-lv span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 7px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); }
.cd-vb-lv em { font: 900 10px/1 var(--f-ui); font-style: normal; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.cd-vb-lv b { font-size: 20px; line-height: 1; color: var(--orange); }
.cd-vb-lv .is-now { background: var(--g-gold); }
.cd-vb-lv .is-now em { color: var(--ink); }
.cd-vb-lv .is-now b { color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.cd-vb-lv .is-done { background: #FFF1D0; }
.cd-prog { width: 100%; margin-top: 12px; padding: 13px 13px 14px; text-align: left; }
.cd-prog-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cd-prog-top b { font-size: 19px; line-height: 1; }
.cd-req { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 7px; font: 900 13px/1.25 var(--f-ui); color: var(--ink); }
.cd-req em { flex: none; font-style: normal; color: var(--ink-2); }
.cd-req--also { margin-top: 12px; }
.cd-req--also span { display: inline-flex; align-items: center; gap: 4px; }
.cd-req--also svg { width: 14px; height: 14px; color: var(--sky-d); stroke-width: 3.2; }
.cd-max { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px; text-align: left; font: 800 13px/1.35 var(--f-ui); color: var(--ink-2); }
.cd-max b { color: var(--ink); }
.cd-prog--soon .cd-req em { display: inline-flex; align-items: center; gap: 4px; color: var(--sky-d); }
.cd-prog--soon .cd-req em svg { width: 13px; height: 13px; stroke-width: 2.8; }
.cd-soon-note { margin-top: 4px; font: 800 12px/1.35 var(--f-ui); color: var(--ink-2); }
.cd-max-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--g-gold); border: var(--bw) solid var(--ink); }
.cd-max-ic svg { width: 21px; height: 21px; color: #fff; filter: drop-shadow(1px 1px 0 var(--ink)) drop-shadow(-1px -1px 0 var(--ink)); }
.cd-actions { width: 100%; margin-top: 16px; }
.cd-set { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font: 800 12px/1.3 var(--f-ui); color: var(--ink-2); }
.cd-set svg { width: 15px; height: 15px; color: var(--violet); flex: none; }

/* ---------- reveal (cards, level ups, purchases, holder, ambassador) ---------------------- */
.reveal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; color: #fff; }
.rv-dim { position: absolute; inset: 0; animation: rv-fade .3s ease-out both;
  background: radial-gradient(56% 38% at 50% 42%, rgba(var(--rhue, 140, 100, 255), .42), transparent 72%),
    radial-gradient(circle, rgba(255, 255, 255, .8) 0 1.1px, transparent 1.7px) 9px 13px / 53px 47px, radial-gradient(circle, rgba(255, 255, 255, .45) 0 1px, transparent 1.6px) 31px 2px / 71px 67px,
    linear-gradient(180deg, #2C1772, #140A38 72%); }
/* SPEC 23, an eclipse ending (no sunburst): a dark disc with a lit rim covers the object, light breaks round its edge,
   the disc slides away as the object rises from behind it, the corona stays and breathes, then a shine sweeps the card */
.rv-rays { position: absolute; left: 50%; top: 42%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 47%, rgba(255, 255, 255, .95) 51%, rgba(var(--rhue, 140, 100, 255), .7) 55%,
    rgba(var(--rhue, 140, 100, 255), .26) 66%, rgba(var(--rhue, 140, 100, 255), .08) 80%, rgba(var(--rhue, 140, 100, 255), 0) 100%);
  animation: rv-corona .9s cubic-bezier(.2, .8, .2, 1) .42s both, rv-breathe 5s ease-in-out 1.4s infinite; }
.rv-ring { position: absolute; z-index: 2; left: 50%; top: 42%; width: 290px; height: 290px; margin: -145px 0 0 -145px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 44% 38%, #2E1B66, #120830 70%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 18px 4px rgba(255, 255, 255, .55), 0 0 46px 14px rgba(var(--rhue, 140, 100, 255), .55);
  animation: rv-moon 1.05s cubic-bezier(.5, 0, .3, 1) both; }
.rv-ring::after { content: ""; position: absolute; left: 86%; top: 12%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 0 18%, rgba(255, 255, 255, .7) 38%, rgba(255, 255, 255, 0) 100%); animation: rv-bead .9s ease-out .2s both; }
.rv-flash { position: absolute; z-index: 2; left: 50%; top: 42%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .95) 80%, rgba(var(--rhue, 140, 100, 255), .5) 88%, rgba(var(--rhue, 140, 100, 255), 0) 100%);
  animation: rv-flash .8s cubic-bezier(.2, .7, .3, 1) .44s both; }
.rv-parts { position: absolute; z-index: 0; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; }
.rv-parts i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 3px rgba(var(--rhue, 140, 100, 255), .9);
  animation: rv-part 2.2s cubic-bezier(.12, .7, .3, 1) calc(.55s + var(--dl, 0s)) both; }
.rv-parts i.c1 { box-shadow: 0 0 8px 3px rgba(255, 214, 110, .9); } .rv-parts i.c2 { width: 4px; height: 4px; } .rv-parts i.c3 { box-shadow: 0 0 8px 3px rgba(255, 255, 255, .8); }
.rv-parts i.s { width: 13px; height: 13px; left: -6.5px; top: -6.5px; border-radius: 0; box-shadow: none; background: #FFF6C8;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.rv-stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; padding: 0 24px; margin-top: -2vh; }
.rv-kicker { animation: rv-up .45s cubic-bezier(.2, .8, .2, 1.2) .62s both; }
.rv-rib { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 14px; font-size: 21px; letter-spacing: .03em; color: #fff;
  background: linear-gradient(180deg, #FFA65A, #FF6A1F); border: var(--bw) solid var(--ink); box-shadow: 0 4px 0 var(--ink); transform: rotate(-2deg); }
.rv-rib svg { width: 20px; height: 20px; filter: drop-shadow(1.2px 1.2px 0 var(--ink)) drop-shadow(-1.2px -1.2px 0 var(--ink)) drop-shadow(1.2px -1.2px 0 var(--ink)) drop-shadow(-1.2px 1.2px 0 var(--ink)); }
.r-legendary .rv-rib { background: var(--g-gold); }
.r-epic .rv-rib { background: var(--g-violet); }
.r-rare .rv-rib { background: var(--g-sky); }
.r-common .rv-rib { background: var(--g-green); }
.rv-flip { position: relative; width: min(64vw, 262px); aspect-ratio: 5 / 7; margin-top: 18px; perspective: 1000px; }
.rv-glint { position: absolute; inset: 0; z-index: 2; border-radius: 22px; overflow: hidden; pointer-events: none; }
.rv-glint::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 46%; transform: translateX(-130%) skewX(-16deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0)); animation: rv-sweep .7s cubic-bezier(.4, 0, .2, 1) 1.02s both; }
.rv-card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: rv-rise .9s cubic-bezier(.2, .8, .25, 1.05) .3s both; }
.rv-card > * { position: absolute !important; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rv-card .kc, .rv-card .kcback { transform: none; }
.rv-card .kcback { transform: rotateY(180deg); }
.rv-name { margin-top: 22px; font-size: 34px; line-height: 1; color: #fff; letter-spacing: .01em; text-shadow: 0 4px 0 var(--ink); animation: rv-up .45s cubic-bezier(.2, .8, .2, 1) .72s both; }
.rv-sub { margin-top: 10px; font: 800 14px/1.35 var(--f-ui); color: rgba(255, 255, 255, .85); animation: rv-up .45s cubic-bezier(.2, .8, .2, 1) .78s both; }
.rv-sub b { color: #FFE27A; font-weight: 900; }
.rv-bonus { margin-top: 16px; height: 50px; padding: 0 18px 0 8px; border-radius: 18px; display: inline-flex; align-items: center; gap: 9px; color: var(--ink);
  background: var(--g-gold); border: var(--bw) solid var(--ink); box-shadow: 0 4px 0 var(--ink); animation: rv-pop .5s cubic-bezier(.2, .9, .3, 1.4) .9s both; }
.rv-bonus > span { font-size: 23px; line-height: 1; color: #fff; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; font-variant-numeric: tabular-nums; }
.rv-bonus small { font: 900 12.5px/1 var(--f-ui); color: var(--ink); }
.rv-hint { margin-top: 22px; font: 800 13px/1 var(--f-ui); color: rgba(255, 255, 255, .6); animation: rv-fade .4s ease-out 1.3s both; }
.rv-count { position: absolute; top: calc(var(--safe-top) + var(--ca-top) + 14px); left: 50%; transform: translateX(-50%); height: 26px; padding: 0 11px; border-radius: 13px; background: #fff; border: 2px solid var(--ink);
  font: 400 14px/22px var(--f-d); color: var(--ink); animation: rv-fade .3s both; }
.rv-token { width: min(52vw, 210px); margin-top: 18px; filter: drop-shadow(0 8px 0 rgba(10, 4, 30, .4)); animation: rv-rise .95s cubic-bezier(.2, .8, .25, 1.05) .22s both; }
.rv-amount { margin-top: 18px; font: 400 38px/1 var(--f-d); color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); animation: rv-up .45s cubic-bezier(.2, .8, .2, 1) .72s both; }
.rv-value { margin-top: 8px; font: 900 14px/1 var(--f-ui); color: #FFE27A; animation: rv-up .45s cubic-bezier(.2, .8, .2, 1) .76s both; }
.reveal.is-out { animation: rv-out .28s ease-in both; }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-out { to { opacity: 0; transform: scale(1.02); } }
@keyframes rv-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes rv-spin { to { rotate: 360deg; } }
@keyframes rv-corona { 0% { opacity: 0; transform: scale(.62); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes rv-breathe { 50% { transform: scale(1.035); opacity: .85; } }
@keyframes rv-moon { 0% { opacity: 0; transform: scale(.9); } 15% { opacity: 1; transform: none; } 42% { opacity: 1; transform: none; } 86% { opacity: 1; transform: translate(-16px, 36px) scale(.2); } 100% { opacity: 0; transform: translate(-20px, 44px) scale(.1); } }
@keyframes rv-bead { 0% { opacity: 0; transform: scale(.3); } 40% { opacity: 1; transform: scale(1.25); } 100% { opacity: 0; transform: scale(.6); } }
@keyframes rv-flash { 0% { transform: scale(.82); opacity: 0; } 22% { opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes rv-part { 0% { transform: translate(calc(var(--x) * .55), calc(var(--y) * .55)) scale(.3); opacity: 0; } 18% { opacity: 1; }
  100% { transform: translate(calc(var(--x) * 1.05), calc(var(--y) * 1.05)) scale(.8); opacity: 0; } }
@keyframes rv-rise { 0% { transform: translateY(46px) scale(.66); opacity: 0; } 22% { opacity: 1; } 68% { transform: translateY(-6px) scale(1.03); } 100% { transform: none; opacity: 1; } }
@keyframes rv-sweep { from { transform: translateX(-130%) skewX(-16deg); } to { transform: translateX(260%) skewX(-16deg); } }
@keyframes rv-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rv-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes rv-glint { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: .9; } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes rv-flipin {
  0% { transform: translateY(80px) rotateY(-540deg) scale(.5); opacity: 0; }
  15% { opacity: 1; }
  62% { transform: translateY(-8px) rotateY(0deg) scale(1.07); }
  100% { transform: none; }
}
