/* Bubble Shooter Ultra: balls of glossy candy on dark chocolate. The picture (drawn by the game) is the dark field with, in the
   strip under its dashed line, the shooter in the middle and the next candy and the misses left of it. Right of the
   shooter stand the score and the two buttons. There is no panel beside the field: what is left of the frame is
   left open, so the page the game stands on shows through. In a small picture (a phone) the score and the buttons
   stand in a bar under it. The result of a game comes as a card in the middle of the field. */
:root {
  box-sizing: border-box;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  --cream: #ffecc8;        /* the letters */
  --cream-soft: #cdb39b;   /* the small letters */
  --line: rgba(255, 226, 190, 0.3);   /* dashes, like the line on the field */
  --focus: #ffd98a;
  --backdrop: rgba(9, 5, 4, 0.62);    /* the field under the result */
  --font: "Fredoka", "BSU Letters", "Nunito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  /* the score: cream running into gold */
  --gold: linear-gradient(180deg, #fff8e2 8%, #ffe29a 55%, #ffc24a 100%);
}
/* Fredoka has no Polish a and e with an ogonek, no c n s z with an acute and no z with a dot. It has no Romanian a
   with a breve and no s and t with a comma below either. A browser took those letters from another font, in the
   middle of a word. "BSU Letters" holds these twenty letters (small and capital), put together from Fredoka's own
   letters and marks: a small font of its own, inside this file, in the three weights the game uses. A browser only
   unpacks it when a text needs one of them. Fredoka's licence goes with it: assets/fonts/OFL.txt. */
@font-face { font-family: "BSU Letters"; font-weight: 500; font-display: swap; unicode-range: U+0102-0107, U+0118-0119, U+0143-0144, U+015A-015B, U+0179-017C, U+0218-021B; src: url(data:font/woff2;base64,d09GMgABAAAAAApgAAwAAAAAE3gAAAoOAAIAQgAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgWQRCAqYAJJeATYCJAOBLAtYAAQgBYc4ByAMBxuuDyMR9oOy0qH4iwQ72PzhAlxyYhAMNo1UGTFQ/t5NsKOnOj+PTngw3w906r+7pLj40kuDu0BX0enA/AFIN6ebWw+KqrnC2A7s8gXx/MfR79z7F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GtlQ3kfPuSWW11d9UmjJJJacmVHWbq5gCLVzeqFiAJfqK0YHExINjt6EcNIoSB1bEZBOvzH/sqsLUGJThmAv5CTYu9jeQAAAA==) format("woff2"); }
@font-face { font-family: "BSU Letters"; font-weight: 600; font-display: swap; unicode-range: U+0102-0107, U+0118-0119, U+0143-0144, U+015A-015B, U+0179-017C, U+0218-021B; src: url(data:font/woff2;base64,d09GMgABAAAAAApEAAwAAAAAE2wAAAnyAAIAQgAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgWQRCAqXaJJYATYCJAOBLAtYAAQgBYdEByAMBxu0D6OihnJSYBR/dWAHw2cbBhihVQNGaPVU2yZEIPBrWMPCzw9BQDj3OxU9raHi1sThO4qHYr//nd17/31fMbP2fkUT0SxpiDRSYghJJWtmaCqNYYdwWweYgDDciJ6wEUYEUwx4s2kxMfIjuxqQAEAgFG5jYxYAQ7FmNDJS/PrXZZjV/IcFGFzTks0ltmW3J3BsNBC6t9XTRzRKSgS5eyf//9Zavdkb3JruI1+ol7DM65S092dP/v1dNA2i1u5I3gKvmzYRyVCalULJ9Eii8b5X9+ilre4sgoQicouOT3VFbc7NYs7kNRQP7F1IHBEcvsbsY/Z/5YrZAg6Afgqbc+UCmvf+AcLHwf/kHsAiTkg0mIYiUIyTF7RC9HKdPkKKTPlKGZhYNGnTE64xO5KjLPqksP4jDsqLadT6TcgxK4goje7k1f96WC1NRVkJFHFGp+Ab8xXWmmAWAREJrEzEScZFIcf4exdDScl4wcipKHlTI4kDTbS3rmWHLXNLm00L20fENMDNDlKq3GAveWCNBSHqNbTNbuNXYVqxTA6FKeiBUyFC5CmDGLwVaJazR3tizHn0ArtLD58vF28+exLP3ydRM/hdrWHOIu4nj3Ebh84YA/XvjWDsivss4g9JLimMTDwCKSKzNQPsjY0pxbwixUT8vOwKhc9zZfbQUQNuquFKIQKE86iEH3BstJ6iFDinGNy1oeTj/prFOnUQza300x70eWtnmfSI95u6FitVrkQqmFIKqjp1bv/VavI4UzjdOOK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64QaZlihpgnuq409zqitVeGiDrgR/mpnRdxQx2JR/Dv7BNsaCUITh24t7GxqtEEFCxQk/IT5NLNIrRaEZoWsYyBZtmxSy5BJ156kXVvCJrazFUplJ9s4qInRAgSwscsc4nYjf6Zk2yBADQMrNgrQTkwX4Cf9ZAnGW6hp5CmAGD1LXBsL5kK7Tbt6xYQWwfwFasCIUbmQP+3X8ZPHooGdRpN6Zo/pUbFZyJO98KmoL6HxoFWGnWi6ejtyxCRRbUA2gVIjdNQSib+ofT1ASk0a0sRIRhcoEoKvbtJmiAUstuH5MDQPN5nsRZK2LXhneWjF1BkseOkyrEeu/21QqkS1E6bZXzQlLGQ6ParM4lD42E/V2zBfv6GyIFiIx29yd1dJ0qAjkf32uyIxOh80kAj3yiQ5hMawaNdjqZ8qW5kefHQkbE3Uakj+US9+mwBZtPTKcoqx0NIKBn8kB8T/oTcWAAAA) format("woff2"); }
@font-face { font-family: "BSU Letters"; font-weight: 700; font-display: swap; unicode-range: U+0102-0107, U+0118-0119, U+0143-0144, U+015A-015B, U+0179-017C, U+0218-021B; src: url(data:font/woff2;base64,d09GMgABAAAAAAowAAwAAAAAEzwAAAnfAAIAQgAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgWQRCAqXVJJZATYCJAOBLAtYAAQgBYcmByAMBxuXD6OihnJSACR/ecAdFl+cIVpBKcaID4pW+TQ+tsqNI4RdcaH6kCICp7lvpjejvBsKHC6t4BH04l/SHtjrp7CCk+DN4gYow/82/48V4BX0IK4wahO0V6kuE1euSpfMvQpvVPky66ujAQUIAKIKlxXsQHwj5jb1jHhohMR10jaahULID/6f8RTpf4B62INra6tbBW8vYiW7VUr+jNsJ+MkOMftr7s3uTv5nlaKmjK9wlahwfI1K3zY7eX0l3gKCIhSmRqCsIj6WrBjcKXtGn3fH2/6nDdSECXZ5GQueyt/kDnA1ux4mADpdWwE0tbcjHXilGCZmguc04Dt24jFql9W5ajLAecFfQADka4eBXAgBBRwgHQIEdCHXqQDl8QWprVpIs06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JAwew7k0ry8rQ8Y3VnZ4szDszF58oVrq1O6KxY1LP8VsNE1b8tsn/c8JSxp77R7Ww77WRYIy2Y/Gh/m2Xs5iDEKT2ESo7R67W810rgC9v6Vp/dx7YWecpZD76w7KP/E7D6l9ChRCFuli/Aedb92m30ECKDUud92zV571b6FHeclwO3mj+8DPG3Qr4ldSrr8lLMCCKIACPw8zdNzBM//jjUQTGtRzYkXPjBcHQLVtqy6lGyaA4WOxdMWUC2OSn7IrBlRaQWytQSoXMCTLUQ1NyhQHMBogDhQEUCuWIF10oEfAEBwBQyBQikAKAcAIG2ZKimgoSUxwM6KEsanM8E4pGNXROiPet0IX5/hG0IGrjOUMEcNhzI8Y7jk4k8jwEbJZATJISeNhOSS548mSTkH6opLSFoybdKUFRRe3HgIQtEZ5ePlYUs2jtHLZ8VivHVg3Ixxo0ltlVatKIxjuKzJzmbuMBGZWIQLF5OmSX1XjWAY1VHnuZgSM4ELOE77S7mKldO0qLHjHFTp0AV6o/HAFeNYRcW5hA4vDO7Gs4rJ0p4qJYfezYQzl9pldyuabnAxVYQoGXCChJy91BwLJeRA6kPFTeLaFCTR0uhTSTqpgCBSPIGq5KKREoqiQ+CquBU+7MJwxVtFbFTxENW05Z2QWvCZWz6hOLFWsikSztnyjxk0WE6x6mePFRWjCIbyOo22apGgT2Jf3MjCnFNLyTziQ7xe05eWDbXFrIn5OLeVQmRxLxIQRGlVqc0vW1Gk5GtnbdWy0RcbExqXNS3zESMwTlLWvUVYY5oiwKRp9soA/xT7iU2aMwsAAA==) format("woff2"); }
*, *::before, *::after { box-sizing: inherit; }
html, body { height: 100%; overflow: hidden; }                 /* the page never scrolls, also not with the space bar */
/* The page has no background of its own: around the picture the page the game stands on (in an iframe) shows through.
   Opened on its own there is nothing behind it but the browser's own white.
   There is no color-scheme either, so to a browser the game is an ordinary light page, like the pages it stands on. A
   browser gives an iframe a solid background as soon as the page in it and the page around it differ in that. */
html { background: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--cream-soft); font-family: var(--font); font-weight: 500;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
}
#app { height: 100%; }
#wrap { position: relative; display: flex; flex-direction: column; height: 100%; }
/* the game picture in the middle of the frame. Where the frame is taller than the game, the rest is left open too */
#stage { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; align-items: center; }
#ground { flex: 1 1 0; min-height: 0; }
#field { position: relative; flex: none; }
#pic { position: relative; margin: 0 auto; }   /* (in a very small frame the bar under the picture is the wider of the two) */
#game { display: block; touch-action: none; cursor: default; outline: none; }   /* the normal arrow, no crosshair */
#game:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
button { font: inherit; color: inherit; }
button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ----- the bar: the score and the buttons ----- */
/* In the strip of the picture, right of the shooter: of the picture's 592 x 600 from 339 to 581 across and from 541 to
   587 down, on one line with the next candy and the misses. That line lies 5 px under the middle of the shooter
   (BAR_DOWN in js/game.js). Everything in it grows with the picture (--fk, set in layout() in js/game.js).
   A click on the score goes through to the field under it, so it shoots like a click anywhere else in the strip.
   Only the buttons (with the room between them and just left of them) take a click themselves. */
.hud {
  position: absolute; left: 57.2635%; top: 90.1666%; width: 40.8784%; height: 7.6667%; z-index: 2;
  display: flex; align-items: stretch; pointer-events: none;
}
/* The score lies in a hollow of the bar, like the next candy and the misses: dark, with shade under its top edge.
   In the strip that hollow is part of the picture (painted by js/game.js, see barPlaces), so the arrow of a flat
   shot lies on it and the number on top of both. Under the picture (a phone) the hollow is made here. */
.pill { flex: 1 1 0; min-width: 0; display: flex; align-items: center; border-radius: 999px; padding: 0 calc(9px * var(--fk, 1)); }
.score {
  flex: 1 1 0; min-width: 0; overflow: hidden; text-align: center; white-space: nowrap;
  font-size: calc(25px * var(--fk, 1)); font-weight: 600; line-height: 1.15; color: #ffe29a;
  background-image: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tools { flex: none; display: flex; gap: calc(5px * var(--fk, 1)); padding-left: calc(6px * var(--fk, 1)); pointer-events: auto; }
/* The buttons: squares of milk chocolate with a cream picture. A switch that is off is dark chocolate. */
.btn {
  position: relative; flex: none; width: calc(40px * var(--fk, 1)); height: 100%; padding: 0; border: 0; border-radius: 30%; overflow: hidden;
  display: grid; place-items: center; cursor: pointer; color: #fff0d6;
  background: linear-gradient(180deg, #99603f 0%, #76452c 52%, #5c3320 100%);
  box-shadow: inset 0 -3px 0 rgba(36, 14, 6, 0.42), inset 0 0 0 1.5px rgba(40, 17, 8, 0.7);
}
.btn::after {                                                  /* the shine on top */
  content: ""; position: absolute; left: 12%; right: 12%; top: 6%; height: 38%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(rgba(255, 236, 210, 0.42), rgba(255, 236, 210, 0.03));
}
.btn svg { position: relative; z-index: 1; display: block; width: 60%; height: 60%; filter: drop-shadow(0 1px 0.6px rgba(36, 14, 6, 0.7)); }
.btn:hover { filter: brightness(1.12); }
.btn[aria-pressed="false"] { color: #a58d7c; background: linear-gradient(180deg, #4a2f24 0%, #3a231a 55%, #2e1b13 100%); }
.btn[aria-pressed="false"]::after { opacity: 0.45; }

/* A small picture (a phone): the score and the buttons stand in a bar under it, at a size to tap */
#wrap.below .hud { position: static; width: auto; height: 58px; padding: 7px 8px; }
#wrap.below .pill {
  padding: 0 8px;
  background: linear-gradient(180deg, #0d0705 0%, #170d0a 100%);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.6), inset 0 -1px 0 rgba(255, 226, 190, 0.2);
}
#wrap.below .score { font-size: 27px; }
#wrap.below .tools { gap: 7px; padding-left: 8px; }
#wrap.below .btn { width: 50px; }

/* The version number is not here: the game paints it on the bottom of the field, just above the dashed line, on the
   right (js/game.js: makeFieldLayer). The page only keeps the number, in #version, which is not shown. */

/* GameBoss splash: white with the logo, over everything (nothing underneath can be clicked) */
#splash {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100;   /* (written out: browsers from before 2021 do not know the short form "inset") */
  display: grid; place-items: center;
  background: #fff;
  transition: opacity 0.3s ease-in, visibility 0s linear 0.3s;
}
#splash.out { opacity: 0; visibility: hidden; }
/* the logo grows with the screen: about 340 px in an 800 x 600 iframe, 70 % of the width on upright phones,
   about a third of the width on a big full screen, never wider than 640 px */
#splash img { display: block; width: clamp(240px, max(56vmin, min(70vw, 45vh)), 640px); max-width: 90vw; height: auto; animation: logoIn 0.45s ease-out both; }
@keyframes logoIn { from { opacity: 0; transform: scale(0.94); } }
@keyframes logoFade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #splash img { animation-name: logoFade; } }
/* the loader (see index.html): a bar under the logo when the game has not started after 2.6 seconds, in the two
   colours of the logo */
#splash .sp-load {
  position: absolute; left: 50%; bottom: 26px; bottom: max(26px, 8vh); width: 72vw; max-width: 340px; transform: translateX(-50%);
  text-align: center; color: #3e3c3c; font-family: var(--font); opacity: 0; transition: opacity 0.4s ease;
}
#splash .sp-load.on { opacity: 1; }
#splash .sp-track { height: 12px; border-radius: 6px; background: rgba(62, 60, 60, 0.16); overflow: hidden; }
#splash .sp-fill { height: 100%; width: 0; border-radius: 6px; background: #f82d98; transition: width 0.3s linear; }
#splash .sp-pct { margin-top: 8px; font-weight: 700; font-size: 16px; letter-spacing: 1px; }
#splash .sp-msg { margin-top: 2px; font-size: 15px; line-height: 1.3; min-height: 1.3em; }
#splash .sp-err { font-size: 16px; line-height: 1.4; }
#splash .sp-err small { font-size: 14px; }

/* ----- the result: a card in the middle of the field ----- */
/* #overlay lies over the field above its dashed line (of the picture's 592 x 600: from 7 to 585 across, from 5 to 530
   down), with the round top corners of the field: the field is dimmed, the bar under the line is not. The card is
   drawn for the field of an 800 x 600 frame. The script makes it grow with the field. In a field that is too small
   for it the script makes it fit (--ck: see fitCard in js/game.js). */
/* (touch-action: two quick taps by someone who is still shooting when the result comes must not zoom the page) */
#overlay {
  position: absolute; left: 1.1824%; top: 0.8333%; width: 97.6351%; height: 87.5%; overflow: hidden; z-index: 1;
  border-radius: calc(18px * var(--fk, 1)) calc(18px * var(--fk, 1)) 0 0;
  touch-action: manipulation;
}
/* The dimming of the field is a layer of its own inside #overlay. It is that layer that fades in (with the card, see
   .card). Up to v1.12 #overlay itself was dimmed and faded in. A new game that came while it still faded (the button
   for a new game, within 0.2 s after the result came up) hid it in the middle of that fade. In Firefox (seen in 155,
   with no mouse over the page) it could then stay undisplayed when the next game ended: no result. The changelog of
   v1.13 has the details. Nothing that is hidden and shown itself may have an animation of its own. */
#overlay::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--backdrop); animation: veilIn 0.2s ease-out; }
#overlay[hidden] { display: none; }
/* the card: a slab of chocolate with a soft light along its top edge */
.card {
  position: absolute; left: 50%; top: 50%; width: 340px; padding: 34px 28px 26px; border-radius: 26px;
  transform: translate(-50%, -50%) scale(var(--ck, 1));
  background: linear-gradient(180deg, #4d3126 0%, #3a231a 100%); color: var(--cream-soft); text-align: center;
  box-shadow: inset 0 1.5px 0 rgba(255, 226, 190, 0.26), inset 0 0 0 1px rgba(255, 226, 190, 0.07), 0 3px 6px rgba(0, 0, 0, 0.4), 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: cardIn 0.3s ease-out, veilIn 0.2s ease-out;
}
@keyframes veilIn { from { opacity: 0; } }
@keyframes cardIn { from { translate: 0 12px; } }       /* (a browser that does not know "translate" only fades) */
@media (prefers-reduced-motion: reduce) { #overlay::before, .card { animation: none; } }
/* a little row of candies on top of the card: the game's own pictures, each with a glow of its colour under it */
.candies { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; pointer-events: none; }
.candies canvas {                                              /* (drawn by dressCard in js/game.js) */
  display: block; width: 28px; height: 28px; border-radius: 50%; --b: #ff3355;
  box-shadow: 0 5px 9px -3px rgba(0, 0, 0, 0.7), 2px 5px 10px -4px var(--b);
}
.candies canvas:nth-child(2) { --b: #ffc81a; margin-top: 5px; }
.candies canvas:nth-child(3) { --b: #44c41c; }
.candies canvas:nth-child(4) { --b: #14bfe0; margin-top: 5px; }
.candies canvas:nth-child(5) { --b: #3560ff; }
.candies canvas:nth-child(6) { --b: #d24ae8; margin-top: 5px; }
/* the title: cream for game over, the six candy colours for a cleared field (the title is as wide as its words, so
   the colours run from its first letter to its last) */
.card h2 { width: -moz-fit-content; width: fit-content; max-width: 100%; margin: 0 auto; overflow: hidden; font-size: 32px; font-weight: 700; line-height: 38px; letter-spacing: -0.01em; white-space: nowrap; color: var(--cream); }
.card.won h2 {
  color: #ffc81a;
  background-image: linear-gradient(90deg, #ff5a76 4%, #ffd23e 24%, #62d83a 44%, #3fd2ee 62%, #7f9cff 80%, #e274f2 97%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* under a dashed line like the one on the field: the score, large, in cream and gold as in the bar. A cleared field
   shows the score and the bonus that doubles it first. Then comes the total. */
.tally { margin: 16px 0 0; padding-top: 18px; background: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 8px, transparent 8px, transparent 15px) top / 100% 2px no-repeat; }
.tally dt, .tally dd { margin: 0; }
.tally .row { display: none; justify-content: space-between; align-items: baseline; font-size: 20px; line-height: 30px; }
.tally .row dd { font-weight: 600; color: var(--cream); }
.card.won .row { display: flex; }
.card.won .sum { margin-top: 12px; }
.sum dt { font-size: 14px; font-weight: 600; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.sum dd {
  overflow: hidden; height: 62px; font-size: 56px; font-weight: 600; line-height: 62px; white-space: nowrap; color: #ffe29a;
  background-image: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* "New best score!": only after a new best score */
#resBest { display: none; margin: 6px 0 0; font-size: 17px; font-weight: 600; line-height: 22px; color: #ffd98a; }
#resBest.record { display: block; }
/* the three best scores in a row, each behind a little candy with its place on it: lemon for the first, silver for
   the second and caramel for the third. The place this game took is lit up. */
.tops { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.1; color: var(--cream-soft); white-space: nowrap; }
.tops li { display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: 999px; }
.tops li.now { color: var(--cream); background: rgba(255, 226, 190, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 226, 190, 0.2); }
.medal {
  flex: none; display: grid; place-items: center; width: 1.95em; height: 1.95em; border-radius: 50%;
  font-size: 0.64em; font-style: normal; font-weight: 700; line-height: 1; color: var(--i);
  background:
    radial-gradient(ellipse 60% 32% at 45% 19%, rgba(255, 255, 255, 0.9) 0 40%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 56% 88%, var(--l) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, var(--d) 0%, var(--b) 62%);
  box-shadow: inset 0 0 0 1.2px var(--e);
}
.m1 { --b: #ffd02a; --l: #fff3b0; --d: #e99b00; --e: rgba(120, 60, 0, 0.8); --i: #7a3e00; }
.m2 { --b: #d5dae4; --l: #ffffff; --d: #a2aabb; --e: rgba(70, 78, 98, 0.85); --i: #414a5e; }
.m3 { --b: #f7a454; --l: #ffdcb4; --d: #d06c20; --e: rgba(110, 44, 4, 0.8); --i: #662700; }
/* the button to play again: cherry candy with a shine on top. It comes up pale and gets its colour in 0.7 s: that
   long it does not work yet, so a press that was meant as a shot does not start a new game before the result has
   been seen (AGAIN_MS in js/game.js). */
.again {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; margin: 20px 0 0; padding: 0 14px;
  border: 0; border-radius: 999px; color: #fff; font-size: 19px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, #ff5a76 0%, #e62a4e 55%, #c2103a 100%);
  box-shadow: inset 0 -3px 0 rgba(110, 0, 26, 0.35), inset 0 0 0 1.5px rgba(120, 0, 30, 0.55), 0 6px 16px -4px rgba(0, 0, 0, 0.6), 0 4px 18px -4px rgba(255, 51, 85, 0.45);
  text-shadow: 0 1px 1px rgba(110, 0, 26, 0.5);
  animation: againIn 0.7s ease-in;
}
.again::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 3px; height: 42%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.04));
}
.again span { position: relative; z-index: 1; }
.again:hover { filter: brightness(1.07) saturate(1.05); }
@keyframes againIn { from { opacity: 0.35; } }
