:root {
  color: #ffffff;
  background: #130022;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  overflow: hidden;
  background: #130022;
}
html,
body,
#root {
      width: 100dvw;
    height: 100dvh;
    position: relative;
    padding: 0;
  margin: 0;
  overflow: hidden;
  background: #000;
  font-family: 'MagicWheel', sans-serif;
  
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-color: #32203b #00000000;
    scrollbar-width: thin;
}

* > *, ::after, ::before {
    -webkit-font-smoothing: antialiased;
    box-sizing: inherit;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

@font-face {
  font-family: 'MagicWheel';
  src: url('./magic-wheel-7gtez6CB.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

button {
  font: inherit;
  touch-action: manipulation;
  user-select: none;
}

.game-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.pixi-host {
  position: absolute;
  inset: 0;
}

.pixi-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.ui-balance-panel-container {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    z-index: 5;
    width: 260px;
    gap: 12px;
}

.ui-balance-panel {
    width: 100%;
    display: flex;
    gap: 8px;
    box-sizing: border-box;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgb(50 32 59);
    color: #ffffff;
    flex-direction: row;
    justify-content: space-between;
    font-size: 18px;
  align-items: center;
}

.ui-balance-panel span {
    font-weight: 600;
}

.ui-balance-container {
  background-color: #32203b;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 42px;
  border-radius: 24px;
  font-size: 22px;
  gap: 12px;
}

.ui-balance-container div {
  font-weight: 400;
}

.ui-balance-container span {
  font-weight: 600;
}

.ui-next-hash-container {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgb(50, 32, 59);
  color: #ffffff;
  position: relative;
}

.ui-next-hash-container div {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 400;
  color: rgb(207 207 207);
}

.ui-next-hash-container span {
  display: block;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}

.ui-next-hash-container span::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to left,
    rgb(50 32 59) 10%,
    rgb(50 32 59 / 0) 100%
  );
}

.ui-next-hash-container button {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-5px, 50%);
    z-index: 5;
}

.ui-next-hash-container button div {
  position: relative;
  width: 20px;
    height: 20px;
    color: rgb(109, 111, 120);
    transition: 0.3s ease-in-out;
}

.ui-next-hash-container button div:hover {
  color: rgb(197, 199, 209);
}

.ui-next-hash-container button div svg {
    width: 100%;
    height: 100%;
}

.ui-next-hash-container button div svg [fill] {
    fill: currentcolor;
}

.ui-lastgame-container {
  position: relative;
  width: 100%;
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
}

.ui-lastgame-container > div:nth-child(1) {
  opacity: 1;
    font-size: 12px;
    font-weight: 400;
    padding: 0px 10px;
}

.ui-lastgame-container > div:nth-child(2) {
  opacity: 1;
}

.ui-lastgame-container > div:nth-child(3) {
  opacity: 0.8;
}

.ui-lastgame-container > div:nth-child(4) {
  opacity: 0.6;
}

.ui-lastgame-container > div:nth-child(5) {
  opacity: 0.4;
}

.ui-lastgame-container > div:nth-child(6) {
  opacity: 0.2;
}

.history-row {
  width: 100%;
  background-color: #a919bf;
  padding: 8px 10px;
  border-radius: 12px;
  display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    transition: .3s ease-in-out;
    cursor: pointer;
    font-size: 14px;
}

.history-row:hover {
  opacity: 1 !important;
}

.history-row div {
  font-weight: 400;
}

.history-row span {
  font-weight: 600;
}

.history-row button {
  border: 0;
  background-color: transparent;
  cursor: pointer;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  color: #c9c9c9;
  transition: .3s ease-in-out;
}

.history-row:hover button {
  color: #f3f3f3;
}

.history-row button svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.history-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
  background: rgba(0, 0, 0, 0.75);
}

.history-modal {
  position: relative;
  border-radius: 12px;
  background: rgb(17 11 20);
  color: #ffffff;
}

.history-modal-header {
    padding: 16px;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    border-bottom: 1px solid rgb(39, 41, 42);
}

.history-modal-header h2 {
    margin: 1px 0px 0px;
    color: rgb(250, 250, 250);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: capitalize;
}

.history-modal-header button {
    display: grid;
    position: relative;
    font-style: normal;
    font-weight: bold;
    font-size: 11px;
    line-height: 14px;
    color: rgb(250, 250, 250);
    outline: none;
    cursor: pointer;
    border: none;
    padding: 0px;
    margin: 0px;
    border-radius: 10px;
    background: none;
    height: auto;
}

.history-modal-header button div {
    display: grid;
    place-items: center;
    -webkit-box-align: center;
    width: 30px;
    height: 30px;
    padding: 0;
    min-height: 30px;
    border-radius: 6px;
    z-index: 1;
    transition: 0.3s ease-in-out;
    color: rgb(109, 111, 120);
    background: rgb(50, 32, 59);
}

.history-modal-header button div svg {
  width: 100%;
  height: 100%;
}

.history-modal-header button:hover div {
  color: rgb(197, 199, 209);
}

.history-modal-header button div svg [fill] {
    fill: currentcolor;
}

.history-root {
  overflow: hidden auto;
  max-height: calc(-100px + 100vh);
    padding: 16px 0px;
}

.history-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;

  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.history-info-container {
  padding: 12px;
  margin: 0px 20px;
  background: rgb(50, 32, 59);
  overflow: auto;
  border-radius: 12px;
}

.history-info-header-container {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  margin-top: 6px;
  font-weight: 600;
  font-size: 12px;
  color: rgb(255, 255, 255);
}

.history-info-header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}



.history-info {
  display: flex;
  -webkit-box-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  align-items: center;
  white-space: nowrap;
  flex-direction: row;
  background: rgb(22 16 24);
  border-radius: 10px;
  padding: 8px;
  font-size: 14px;
  font-weight: 400;
}

.history-info > span {
  color: rgb(250, 250, 250);
  margin-left: 5px;
  font-weight: 600;
}

.history-time {
      display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    white-space: nowrap;
    flex-direction: row;
    background: rgb(22 16 24);
    border-radius: 10px;
    padding: 8px;
    font-size: 14px;
    font-weight: 400;
}

.history-time > span {
  color: rgb(250, 250, 250);
  margin-left: 5px;
}

.history-verify-container {
  display: flex;
    flex-direction: column;
    gap: 8px;
}

.verify-container {
  width: 100%;
    background: rgb(8, 8, 9);
    border-radius: 10px;
    display: grid;
    -webkit-box-align: center;
    align-items: center;
    grid-template-columns: 1fr max-content;
}

.verify-input {
  color: white;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 44px;
    background: rgb(17 11 20);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px inset;
    border-radius: 10px;
    padding-inline: 8px;
    border: 2px solid rgb(8, 8, 9);
}

.verify-input span {
    font-weight: 500;
    line-height: 17px;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 40px;
    color: rgb(207 207 207);
    text-transform: capitalize;
    text-wrap-style: initial;
}

.verify-input input {
  font-family: inherit;
    background: none;
    border: none;
    outline: none;
    padding-inline: 8px;
    text-align: left;
    font-weight: 500;
    line-height: 17px;
    width: 100%;
    font-size: 14px;
    color: rgb(255, 255, 255);
}

.verify-input.success {
  border: 2px solid #6aa505;
}

.verify-input.error {
  border: 2px solid rgb(229, 5, 57);
}

.verify-hash {
  position: relative;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    cursor: pointer;
    color: rgb(109, 111, 120);
    transition: .3s ease-in-out;
}

.verify-hash:hover {
  color: rgb(197, 199, 209);
}

.verify-hash.success {
  display: block;
      color: #6aa505;
      cursor: default;
}

.verify-hash.error {
  display: block;
      color: rgb(229, 5, 57);
      cursor: default;
}

.verify-hash svg {
    width: 100%;
    height: 100%;
}

.verify-hash svg [fill] {
    fill: currentcolor;
}

.copy-verify-button {
  border: none;
    outline: none;
    background: none;
    cursor: pointer;
    margin: 0px -4px;
}

.copy-verify-button div {
  position: relative;
  width: 20px;
    height: 20px;
    color: rgb(109, 111, 120);
    transition: 0.3s ease-in-out;
}

.copy-verify-button:hover div {
  color: rgb(197, 199, 209);
}

.copy-verify-button div svg {
    width: 100%;
    height: 100%;
}

.copy-verify-button div svg [fill] {
    fill: currentcolor;
}

.verify-span {
  font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: rgb(207 207 207);
    max-width: 500px;
}

.fairness-check-container {
  padding: 12px;
    margin: 16px;
    background: rgb(50, 32, 59);
    overflow: auto;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr minmax(180px, 220px);
}

.fairness-check-container ::placeholder {
  color: rgb(207 207 207);
}

.fairness-check-header {
  grid-area: 1 / 1 / auto / 3;
    color: rgb(250, 250, 250);
    display: grid;
    grid-template-rows: 32px 1fr;
}

.fairness-check-header div {
  display: flex;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 16px;
}

.fairness-check-header div h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.fairness-check-input {
    color: rgb(255, 255, 255);
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    height: 44px;
    background: rgb(17 11 20);
    border-radius: 10px;
    padding: 0px 10px;
    border: rgb(8, 8, 9);
    font-size: 14px;
    width: 100%;
    outline: none;
    margin-bottom: 12px;
    grid-area: 2/1/auto/3;
}

.fairness-button-container {
  display: grid;
    grid-auto-columns: 1fr;
    grid-template-rows: 1fr;
    height: 42px;
    margin-left: 8px;
    grid-area: 2 / 2 / auto / 2;
    max-width: 220px;
}

.fairness-button {
  display: grid;
    position: relative;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    line-height: 14px;
    color: rgb(250, 250, 250);
    outline: none;
    cursor: pointer;
    border: none;
    padding: 0px;
    margin: 0px;
    border-radius: 10px;
    background: none;
    height: auto;
}

.fairness-button div {
  display: grid;
    place-items: center;
    -webkit-box-align: center;
    width: 100%;
    min-height: 30px;
    border-radius: 8px;
    z-index: 1;
    transition: opacity 0.32s, box-shadow 0.32s, background 0.16s;
    padding: 0px 15px;
    background: rgb(35, 29, 71);
}

.fairness-button-container button div {
      font-size: 14px;
    background: #6aa505;
    height: 42px;
    box-shadow: none;
    border-radius: 10px;
}

.fairness-button::before {
    content: "";
    z-index: 0;
    display: block;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    left: -2px;
    top: -2px;
    position: absolute;
    border-radius: 6px;
    transition: opacity 0.32s;
    background: rgb(8, 8, 9);
}

.fairness-button-container button::before {
    border-radius: 12px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    left: -3px;
    top: -3px;
}

.fairness-button:disabled {
  pointer-events: none;
}

.fairness-button:disabled div {
    opacity: 0.3;
}

.fairness-check-hash-container {
  position: relative;
    grid-area: 3 / 1 / auto / 3;
    margin-bottom: 12px;
}

.fairness-check-hash {
  height: 44px;
    background: rgb(17 11 20);
    border-radius: 10px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding-left: 10px;
    overflow: hidden;
}

.fairness-check-hash span:first-child {
    color: rgb(207 207 207);
}

.fairness-check-hash span:last-child {
    box-sizing: border-box;
    color: rgb(250, 250, 250);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: calc(90% - 25px);
}

.fairness-check-success {
    position: absolute;
    width: 20px;
    height: 20px;
    color: #6aa505;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.fairness-check-success svg {
  width: 100%;
  height: 100%;
}

.fairness-check-success svg [fill] {
    fill: currentcolor;
}

.fair-works-container {
    padding: 8px 0px;
    margin-inline: 16px;
    border-top: 1px solid rgb(39, 41, 42);
}

.fair-works-header {
    display: block;
    margin: 8px 0px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: rgb(255, 255, 255);
}

.fair-works-text {
    list-style-type: disc;
    margin: 0px;
    padding: 0px 0px 0px 14px;
    padding-left: 23px;
}

.fair-works-container li {
    margin-top: 8px!important;
}

.fair-works-text li {
    margin-top: 16px;
    font-size: 12px;
    font-weight: 500;
    color: rgb(207 207 207)!important;
}

::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: auto !important;
}

.fair-works-text li span {
  position: relative;
    left: -2px;
}

.ui-lastgame-toggle {
  display: none;
}

.ui-panel {
position: fixed;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
}

.ui-sub-container {
      display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.ui-button-rules {
    border: 0;
  background-color: #c01fcf;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  cursor: pointer;
  transition: .3s ease;
  scale: 1;
}

.ui-button-rules:active {
  scale: 0.95;
}

.ui-button-rules svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
  padding: 8px;
}

.ui-button-rules svg path {
  fill: currentColor;
}

.ui-sound-button {
  border: 0;
  background-color: #c01fcf;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  cursor: pointer;
  transition: .3s ease;
  scale: 1;
}

.ui-sound-button:active {
  scale: 0.95;
}

.ui-sound-button svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
  padding: 6px;
}

.ui-sound-button svg [stroke] {
  stroke: currentColor;
}

.spin-container {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  transition: .3s ease;
  scale: 1;
}

.spin-container svg {
  width: 100%;
  height: 100%;
  position: relative;
  left: 1px;
}

.spin-container:active {
  scale: 0.95;
}

.spin-container.spin {
  background-color: #9ad536;
}

.spin-container.stop {
  background-color: #d70d1a;
}

.spin-container.spin svg {
  padding: 12px;
}

.spin-container.stop svg {
  padding: 24px;
}

.ui-bet-container {

}

.ui-bet {
  display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.ui-bet-minus {
  width: 58px;
  height: 58px;
  border: 0;
  background-color: #5b18b4;
  border-radius: 999px;
  transition: .3s ease;
  scale: 1;
  cursor: pointer;
}

.ui-bet-minus:active {
  scale: 0.95;
}

.ui-bet-minus svg {
  width: 100%;
  height: 100%;
  padding: 12px;
  color: #ffffff;
}

.ui-bet-minus:disabled svg {
  color: #999999;
}

.ui-bet-minus svg [fill] {
  fill: currentColor;
}

.ui-bet-label {
  display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  padding: 4px 36px;
  border-radius: 12px;
    background: rgb(50 32 59);
    color: #ffffff;
    font-size: 18px;
    min-width: 160px;
}

.ui-bet-label span {
  font-weight: 600;
}

.ui-bet-plus {
  width: 58px;
  height: 58px;
  border: 0;
  background-color: #5b18b4;
  border-radius: 999px;
  transition: .3s ease;
  scale: 1;
  cursor: pointer;
}

.ui-bet-plus:active {
  scale: 0.95;
}



.ui-bet-plus svg {
  width: 100%;
  height: 100%;
  padding: 12px;
  color: #ffffff;
}

.ui-bet-plus:disabled svg {
  color: #999999;
}

.ui-bet-plus svg [fill] {
  fill: currentColor;
}

.ui-panel-container {
  display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.rules-root {
  overflow: hidden auto;
    max-height: calc(-100px + 100vh);
    padding: 16px 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 800px;
}

.rules-title {
  font-size: 18px;
  font-weight: 600;
  padding: 0px 20px;
}

.rules-description {
  padding: 12px;
  margin: 0px 20px;
  background: rgb(50, 32, 59);
  overflow: visible;
  border-radius: 12px;
  font-size: 14px;
}

.rules-description p {
  margin-bottom: 4px;
}

@media (max-width: 1250px) {
  .ui-balance-panel-container {
    left: 0;
    right: 0;
    width: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: flex-start;
    gap: 4px;
    padding: 4px;
  }

  .ui-balance-panel {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 40px;
    font-size: 14px;
  }

  .ui-next-hash-container div {
    white-space: nowrap;
    margin-bottom: 0;
  }

  .ui-next-hash-container {
    min-width: 0;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    height: 40px;
  }

  .ui-next-hash-container button {
    position: relative;
    transform: none;
  }

  .ui-lastgame-container > div:nth-child(2) {
  opacity: 1;
}

.ui-lastgame-container > div:nth-child(3) {
  opacity: 0.6;
}

.ui-lastgame-container > div:nth-child(4) {
  opacity: 0.4;
}

.ui-lastgame-container > div:nth-child(5) {
  opacity: 0;
}

.ui-lastgame-container > div:nth-child(6) {
  opacity: 0;
}

  .ui-lastgame-container {
    --history-row-y-1: 24px;
    --history-row-y-2: 30px;
    --history-row-y-3: 40px;
    --history-row-y-4: 50px;
    --history-row-y-5: 60px;

    min-width: 0;
    width: 200px;
    height: 108px;
    max-width: calc(100dvw - 24px);
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    justify-self: center;
    position: relative;
    display: block;
    justify-content: initial;
    align-items: initial;
    gap: 0;
    transition: height 0.28s ease-in-out;
  }

  .ui-lastgame-container.is-expanded {
    --history-row-y-1: 24px;
    --history-row-y-2: 62px;
    --history-row-y-3: 100px;
    --history-row-y-4: 138px;
    --history-row-y-5: 176px;

    height: 214px;
  }

  .ui-lastgame-header,
  .ui-lastgame-container > div:nth-child(1) {
    position: relative;
    z-index: 30;
    width: 100%;
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
  }

  .ui-lastgame-toggle,
  .ui-lastgame-container > div:nth-child(1) button {
    display: block;
    border: 0;
    background-color: transparent;
    width: 28px;
    height: 22px;
    padding: 0;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.25s ease-in-out;
  }

  .ui-lastgame-toggle svg,
  .ui-lastgame-container > div:nth-child(1) button svg {
    width: 100%;
    height: 100%;
  }

  .ui-lastgame-container.is-expanded .ui-lastgame-toggle,
  .ui-lastgame-container.is-expanded > div:nth-child(1) button {
    transform: rotate(180deg);
  }

  .ui-lastgame-container > .history-row {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transform: translateY(var(--history-row-y, 34px));
    transition:
      transform 0.28s ease-in-out,
      opacity 0.28s ease-in-out,
      filter 0.28s ease-in-out;
  }

  .ui-lastgame-container.is-expanded div {
    opacity: 1;
  }

  .ui-lastgame-container > .history-row:nth-child(2) {
    --history-row-y: var(--history-row-y-1);
    z-index: 25;
    animation: history-row-enter 0.28s ease-out;

  }

  .ui-lastgame-container > .history-row:nth-child(3) {
    --history-row-y: var(--history-row-y-2);
    z-index: 24;

  }

  .ui-lastgame-container > .history-row:nth-child(4) {
    --history-row-y: var(--history-row-y-3);
    z-index: 23;

  }

  .ui-lastgame-container > .history-row:nth-child(5) {
    --history-row-y: var(--history-row-y-4);
    z-index: 22;

  }

  .ui-lastgame-container > .history-row:nth-child(6) {
    --history-row-y: var(--history-row-y-5);
    z-index: 21;

  }

  @keyframes history-row-enter {
    from {
      opacity: 0;
      transform: translateY(calc(var(--history-row-y) - 18px)) scale(0.98);
    }

    to {
      opacity: 1;
      transform: translateY(var(--history-row-y)) scale(1);
    }
  }

  .history-row button {
    width: 18px;
    height: 18px;
  }

  .history-modal-backdrop {
    padding: 12px;
  }

  .history-info-header-container {
    flex-direction: column;
    align-items: stretch;
  }

  .fairness-check-container {
    grid-template-columns: 1fr minmax(100px, 100px);
  }

  .history-info-header {
    justify-content: space-between;
  }

  .history-time {
    justify-content: center;
  }

  .ui-panel {
    left: 0;
    align-items: center;
    width: 100%;
  }

  .ui-panel-container {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .ui-sound-button {
    width: 36px;
    height: 36px;
  }

  .spin-container {
    width: 76px;
    height: 76px;
  }

  .spin-container.spin svg {
      padding: 6px;
  }

  .spin-container.stop svg {
    padding: 16px;
  }

  .ui-bet-minus {
    width: 42px;
    height: 42px;
  }

  .ui-bet-plus {
    width: 42px;
    height: 42px;
  }

  .ui-bet-label {
    font-size: 14px;
  }

  .verify-input {
    height: 40px;
  }

  .verify-input span {
    font-size: 11px;
  }

  .verify-input input {
    font-size: 11px;
  }

  .verify-span {
    font-size: 11px;
  }

  .fairness-check-header div h2 {
    font-size: 14px;
  }

  .fairness-check-input {
    height: 40px;
    font-size: 11px;
  }

  .fairness-button-container {
    height: 38px;
  }

  .fairness-button-container button div {
    height: 38px;
  }

  .fairness-check-hash {
    font-size: 11px;
  }

  .fairness-check-hash span:last-child {
    max-width: calc(90% - 50px);
  }

  .fair-works-header {
    font-size: 14px;
  }
}

.loading-screen {
position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgb(15, 70, 127), rgb(15, 25, 47));
  pointer-events: all;
}

.loading-screen__content {
  width: min(360px, calc(100vw - 64px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

.loading-screen__logo-float {
  position: relative;
  width: min(220px, 62vw);
  aspect-ratio: 1 / 1;
  animation:
    3s ease-in-out 0s infinite normal none running float,
    2s ease-in-out 0s infinite normal none running glow;
}

.loading-screen__logo {
  position: absolute;
  inset: 0;
}

.loading-screen__logo-svg,
.loading-screen__logo-fill-clip {
  position: absolute;
  inset: 0;
}

.loading-screen__logo-svg {
    color: #4f5965;
}

.loading-screen__logo-svg svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}



.loading-screen__logo-fill-clip {
  overflow: hidden;
  transition: width 0.18s ease;
}

.loading-screen__logo-svg--fill {
  width: min(220px, 62vw);
  color: #ffffff;
}

.loading-screen__subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: 'RobotoCondensed';
  font-weight: 800;
  position: absolute;
  bottom: 40px;
}

.loading-screen__bar {
  margin-top: 16px;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.loading-screen__bar-fill {
  height: 100%;
  border-radius: inherit;
  background: #4a90e2;
  transition: width 0.18s ease;
}

@keyframes float {
  0% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }

  100% {
    transform: translateY(0px) scale(1);
  }
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 5px #4a90e2) drop-shadow(0 0 10px #4a90e2) drop-shadow(0 0 15px #4a90e2);
  }

  50% {
    filter: drop-shadow(0 0 10px #4a90e2) drop-shadow(0 0 20px #4a90e2) drop-shadow(0 0 30px #4a90e2);
  }

  100% {
    filter: drop-shadow(0 0 5px #4a90e2) drop-shadow(0 0 10px #4a90e2) drop-shadow(0 0 15px #4a90e2);
  }
}