.app--games .account-label { display: none; }
.app--games .balance-button { pointer-events: auto; }
.app--games .game > :not(.account-row),
.app--games #round-hash { display: none; }
.app--games {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-anchor: none;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.app--games::-webkit-scrollbar { display: none; }

body:has(> .app > .games-view:not([hidden])) {
  background: var(--games-page-background);
}

.games-view {
  position: relative;
  z-index: 7;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  display: flex;
  width: 100%;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 16px var(--pvp-content-gutter) max(98px, calc(90px + env(safe-area-inset-bottom)));
  overflow: visible;
  scrollbar-width: none;
  background: transparent;
}

.games-view::-webkit-scrollbar { display: none; }
.games-view[hidden] { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.games-list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.game-card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: .9;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 15px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(211, 56, 255, .34), transparent 64%),
    linear-gradient(155deg, #28213d, #191b2d 60%, #241b38);
  color: #fff;
  box-shadow: 0 9px 24px rgba(4, 2, 12, .25), inset 0 1px 0 rgba(255, 255, 255, .12);
  cursor: pointer;
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.game-card:disabled { opacity: 1; cursor: default; }
.game-card:not(:disabled):active { transform: scale(.975); }
.game-card:not(:disabled):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.game-card:not(:disabled):hover {
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 13px 30px rgba(4, 2, 12, .34), 0 0 24px rgba(131, 98, 255, .15), inset 0 1px 0 rgba(255,255,255,.18);
}
.game-card:not(.game-card--cases)::after {
  position: absolute;
  z-index: 1;
  inset: 32% 0 0;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 20, .9));
  content: "";
  pointer-events: none;
}
.game-card--cases {
  border-color: rgba(255, 202, 119, .88);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 174, 67, .48), transparent 62%),
    radial-gradient(ellipse at 8% 85%, rgba(160, 77, 255, .32), transparent 56%),
    linear-gradient(150deg, #38264a, #24223f 54%, #191d35);
  box-shadow: 0 10px 28px rgba(4, 5, 20, .38), 0 0 18px rgba(255, 175, 69, .5), 0 0 34px rgba(255, 128, 54, .34), inset 0 1px 0 rgba(255,255,255,.24);
}
.game-card--cases:not(:disabled):hover {
  border-color: rgba(255, 231, 174, .98);
  box-shadow: 0 13px 32px rgba(4, 5, 20, .44), 0 0 22px rgba(255, 190, 95, .62), 0 0 40px rgba(255, 128, 54, .42), inset 0 1px 0 rgba(255,255,255,.3);
}
.game-card--cases::after {
  position: absolute;
  z-index: 1;
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(12, 10, 27, .88));
  content: "";
  pointer-events: none;
}
.game-card--cases::before {
  position: absolute;
  z-index: 3;
  top: -35%;
  bottom: -35%;
  left: -45%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-18deg);
  animation: games-cases-light-sweep 5.5s ease-in-out infinite;
}
.cases-card-art {
  position: absolute;
  z-index: 2;
  inset: 7% 4% 26%;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.cases-card-portal {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(74%, 122px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 196, 105, .48);
  border-radius: 28%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 204, 117, .22) 0deg 1deg, transparent 1deg 30deg),
    radial-gradient(circle, rgba(255, 188, 79, .25), rgba(241, 111, 66, .12) 54%, transparent 72%);
  box-shadow: 0 0 34px rgba(255, 164, 59, .3), inset 0 0 30px rgba(255, 190, 85, .18);
  transform: translate(-50%, -50%);
}
.cases-card-portal::before {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(255, 223, 150, .3);
  border-radius: inherit;
  content: "";
  transform: rotate(45deg) scale(.72);
}
.cases-card-portal::after {
  position: absolute;
  inset: -12%;
  border: 1px solid rgba(255, 170, 79, .16);
  border-radius: 32%;
  content: "";
  transform: rotate(45deg);
}
.cases-card-vault {
  position: relative;
  z-index: 1;
  width: 62%;
  height: 34%;
  margin-top: 27%;
  border: 1px solid rgba(255, 213, 138, .88);
  border-radius: 6px 6px 11px 11px;
  background:
    linear-gradient(180deg, rgba(255, 238, 184, .1), transparent 36%),
    linear-gradient(145deg, #78462f, #392343 76%);
  box-shadow: 0 12px 20px rgba(7, 6, 23, .5), 0 0 24px rgba(255, 156, 58, .4), inset 0 1px 5px rgba(255, 224, 155, .48);
  transform: perspective(120px) rotateX(-7deg) rotateY(-8deg);
  animation: games-cases-vault-float 3.8s ease-in-out infinite;
}
.cases-card-vault::before {
  position: absolute;
  z-index: 1;
  top: -40%;
  right: -4%;
  left: -4%;
  height: 43%;
  border: 1px solid rgba(255, 226, 158, .95);
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #ffe8a1, #e99542 70%, #a8503d);
  box-shadow: 0 3px 8px rgba(15, 8, 22, .45), inset 0 1px 4px rgba(255,255,255,.64);
  content: "";
  transform: perspective(90px) rotateX(24deg) rotateZ(-3deg);
  transform-origin: bottom;
}
.cases-card-vault::after {
  position: absolute;
  top: -83%;
  left: 50%;
  width: 42%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 5%, rgba(255, 238, 147, .62), rgba(255, 179, 72, .1) 64%, transparent 100%);
  content: "";
  transform: translateX(-50%);
}
.cases-card-vault i {
  position: absolute;
  z-index: 2;
  top: 12%;
  bottom: 10%;
  left: 50%;
  width: 10%;
  border: 1px solid rgba(255, 224, 154, .88);
  border-radius: 4px;
  background: linear-gradient(90deg, #b35f40, #ffe09a 48%, #a74e3e);
  transform: translateX(-50%);
}
.cases-card-vault b {
  position: absolute;
  z-index: 3;
  top: 32%;
  left: 50%;
  width: 19%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 244, 196, .98);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff5bb, #f0a747 60%, #a54b43);
  box-shadow: 0 0 12px rgba(255, 203, 98, .86), inset 0 1px 3px rgba(255,255,255,.8);
  transform: translateX(-50%);
}
.cases-card-vault em {
  position: absolute;
  right: 8%;
  bottom: 10%;
  left: 8%;
  height: 1px;
  background: rgba(255, 212, 137, .35);
  box-shadow: 0 3px rgba(255, 212, 137, .14);
}
.cases-card-loot {
  position: absolute;
  z-index: 2;
  top: 22%;
  width: 15%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 244, 203, .95);
  background: linear-gradient(145deg, #fff0a8, #ffae45 54%, #d64f7c);
  box-shadow: 0 0 13px rgba(255, 198, 84, .72), 0 3px 6px rgba(0,0,0,.35);
  clip-path: polygon(50% 0, 100% 36%, 82% 100%, 18% 100%, 0 36%);
  animation: games-cases-loot-rise 3.2s ease-in-out infinite;
}
.cases-card-loot--left { left: 24%; rotate: -12deg; }
.cases-card-loot--right { right: 23%; top: 18%; width: 11%; animation-delay: -1.3s; }
.cases-card-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(255, 238, 190, .9);
  border-radius: 50%;
  background: #ffd77d;
  box-shadow: 0 0 9px rgba(255, 195, 89, .85);
  animation: games-cases-sparkle 2.8s ease-in-out infinite;
}
.cases-card-spark--one { top: 21%; left: 25%; }
.cases-card-spark--two { top: 35%; right: 17%; width: 4px; height: 4px; animation-delay: -.9s; }
.cases-card-spark--three { right: 29%; bottom: 19%; width: 3px; height: 3px; animation-delay: -1.8s; }
.cases-subtitle {
  z-index: 2;
  margin-top: 3px;
  color: rgba(255, 215, 156, .86);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .75px;
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
}
@keyframes games-cases-light-sweep {
  0%, 18% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  28% { opacity: 1; }
  62%, 100% { transform: translateX(560%) skewX(-18deg); opacity: 0; }
}
@keyframes games-cases-vault-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -3px; }
}
@keyframes games-cases-loot-rise {
  0%, 100% { translate: 0 4px; opacity: .72; }
  50% { translate: 0 -6px; opacity: 1; }
}
@keyframes games-cases-sparkle {
  0%, 100% { opacity: .45; scale: .7; }
  50% { opacity: 1; scale: 1.2; }
}
.game-card--dice {
  border-color: rgba(112, 222, 255, .76);
  background:
    radial-gradient(ellipse at 50% 43%, rgba(31, 195, 255, .28), transparent 53%),
    radial-gradient(ellipse at 4% 78%, rgba(116, 75, 255, .3), transparent 52%),
    radial-gradient(ellipse at 100% 15%, rgba(255, 55, 125, .23), transparent 52%),
    linear-gradient(150deg, #10243c, #171c37 55%, #211a3d);
  box-shadow: 0 10px 30px rgba(4, 2, 20, .42), 0 0 14px rgba(48, 202, 255, .34), 0 0 30px rgba(113, 69, 255, .22), inset 0 1px 0 rgba(255,255,255,.24);
}
.game-card--dice:not(:disabled):hover {
  border-color: rgba(141, 231, 255, .98);
  box-shadow: 0 13px 34px rgba(4, 2, 20, .46), 0 0 30px rgba(48, 202, 255, .3), 0 0 38px rgba(113, 69, 255, .2), inset 0 1px 0 rgba(255,255,255,.3);
}
.dice-card-art {
  position: absolute;
  z-index: 2;
  inset: 12% 6% 25%;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.dice-card-art::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(88%, 150px);
  aspect-ratio: 1;
  border: 1px solid rgba(109, 218, 255, .28);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(109, 218, 255, .2) 0deg 1deg, transparent 1deg 30deg),
    radial-gradient(circle, transparent 57%, rgba(109, 218, 255, .2) 58% 58.5%, transparent 59%),
    radial-gradient(circle, rgba(153, 223, 255, .24) 0 1px, transparent 1.5px);
  background-size: auto, auto, 17px 17px;
  box-shadow: 0 0 30px rgba(37, 196, 255, .18), inset 0 0 28px rgba(53, 117, 255, .12);
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.dice-preview {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px 11px;
  border: 1px solid rgba(142, 211, 255, .28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(31, 43, 69, .97), rgba(17, 23, 43, .96) 56%, rgba(31, 24, 57, .97));
  box-shadow: 0 10px 24px rgba(0,0,0,.38), 0 0 18px rgba(75, 161, 255, .12), inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.dice-preview::before {
  position: absolute;
  top: 0;
  right: 14px;
  left: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 224, 255, .78), rgba(181, 137, 255, .68), transparent);
  content: "";
}
.dice-preview-heading, .dice-preview-scale, .dice-preview-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dice-preview-heading {
  color: rgba(202,222,247,.78);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .35px;
}
.dice-preview-heading i { font-style: normal; }
.dice-preview-heading b { color: #fff; font-size: 9px; font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgba(131,184,255,.62); }
.dice-preview-scale {
  padding: 0 1px;
  color: rgba(198,214,239,.7);
  font-size: 7px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dice-preview-pointers {
  position: relative;
  display: block;
  height: 5px;
  margin-bottom: -7px;
}
.dice-preview-pointers i {
  position: absolute;
  top: 0;
  left: 25%;
  width: 0;
  height: 0;
  border-top: 5px solid rgba(255,255,255,.58);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transform: translateX(-50%);
}
.dice-preview-pointers i:nth-child(2) { left: 50%; border-top-color: #fff; }
.dice-preview-pointers i:nth-child(3) { left: 75%; }
.dice-preview-track {
  position: relative;
  display: block;
  height: 13px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3158 0%, #fb3451 49.6%, #13dd72 50.4%, #15d981 100%);
  box-shadow: 0 0 15px rgba(255,44,84,.28), 0 0 18px rgba(28,224,112,.28), inset 0 1px 2px rgba(255,255,255,.36);
}
.dice-preview-track::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(125deg, rgba(255,255,255,.22) 0 1px, transparent 1px 4px);
  content: "";
}
.dice-preview-track::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
  content: "";
  animation: dice-track-sweep 2.8s ease-in-out infinite;
  pointer-events: none;
}
.dice-preview-track i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #6552e8;
  box-shadow: 0 2px 7px rgba(0,0,0,.56), 0 0 12px rgba(149,133,255,.68);
  transform: translateY(-50%);
}
.dice-preview-marker {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 92%;
  height: 24px;
  transform: translateY(-50%);
  animation: dice-marker-travel 3.6s cubic-bezier(.42,0,.58,1) infinite;
}
.dice-preview-legend { padding: 0 2px; font-size: 6px; font-weight: 850; letter-spacing: .75px; }
.dice-preview-legend i { color: #ff778e; font-style: normal; }
.dice-preview-legend i:last-child { color: #62ee9e; }
.game-card--dice .dice-subtitle { color: rgba(191, 222, 255, .9); }
.game-card--dice::after {
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(8,9,22,.9));
}
.dice-subtitle {
  z-index: 2;
  margin-top: 3px;
  color: rgba(255, 225, 176, .8);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.05px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
@keyframes dice-track-sweep {
  0%, 12% { transform: translateX(-110%); opacity: 0; }
  28% { opacity: .9; }
  78% { opacity: .9; }
  92%, 100% { transform: translateX(390%); opacity: 0; }
}
@keyframes dice-marker-travel {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(calc(100% - 24px)); }
}
.game-card--plinko {
  border-color: rgba(128, 202, 255, .84);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(74, 189, 255, .28), transparent 57%),
    radial-gradient(ellipse at 100% 76%, rgba(96, 80, 255, .25), transparent 56%),
    linear-gradient(150deg, #172e50, #1c2850 55%, #25204a);
  box-shadow: 0 10px 28px rgba(5, 12, 30, .38), 0 0 15px rgba(71, 177, 255, .34), 0 0 30px rgba(96, 80, 255, .2), inset 0 1px 0 rgba(255,255,255,.22);
}
.game-card--plinko:not(:disabled):hover {
  border-color: rgba(162, 223, 255, .96);
  box-shadow: 0 13px 32px rgba(5, 12, 30, .44), 0 0 28px rgba(71, 177, 255, .27), inset 0 1px 0 rgba(255,255,255,.28);
}
.plinko-card-board {
  position: absolute;
  z-index: 2;
  inset: 12% 8% 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(155, 206, 255, .45);
  border-radius: 13px;
  background: linear-gradient(155deg, rgba(28, 49, 82, .98), rgba(15, 27, 52, .98));
  box-shadow: 0 8px 18px rgba(2, 8, 22, .4), 0 0 17px rgba(65, 164, 255, .17), inset 0 1px 0 rgba(255,255,255,.12);
}
.plinko-card-board::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 38% 72%, rgba(111,162,255,.07));
  content: "";
  pointer-events: none;
}
.plinko-card-peg-row {
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 13px;
}
.plinko-card-peg-row--1 { top: 14%; }
.plinko-card-peg-row--2 { top: 27%; }
.plinko-card-peg-row--3 { top: 40%; }
.plinko-card-peg-row--4 { top: 53%; gap: 12px; }
.plinko-card-peg-row--5 { top: 66%; gap: 10px; }
.plinko-card-peg-row i {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border: 1px solid rgba(228, 246, 255, .92);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #83d8ff 64%, #408cff);
  box-shadow: 0 0 5px rgba(90, 194, 255, .62), 0 1px 2px rgba(0,0,0,.45);
}
.plinko-card-slots {
  position: absolute;
  right: 7%;
  bottom: 7%;
  left: 7%;
  display: flex;
  height: 17%;
  justify-content: center;
  gap: 3px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.plinko-card-slots i {
  position: relative;
  width: 17%;
  border: 1px solid rgba(136, 183, 255, .28);
  border-bottom: 0;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, rgba(72, 111, 177, .24), rgba(25, 41, 74, .2));
}
.plinko-card-slots i::before {
  position: absolute;
  top: 3px;
  right: 3px;
  left: 3px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(7, 15, 32, .95), rgba(24, 43, 72, .62));
  box-shadow: 0 0 4px rgba(0,0,0,.5);
  content: "";
}
.plinko-card-slots i:nth-child(2), .plinko-card-slots i:nth-child(4) {
  background: linear-gradient(180deg, rgba(56, 124, 196, .3), rgba(25, 41, 74, .2));
}
.plinko-card-slots i:nth-child(3) {
  border-color: rgba(92, 229, 255, .48);
  background: linear-gradient(180deg, rgba(35, 167, 204, .35), rgba(25, 65, 91, .28));
  box-shadow: 0 0 9px rgba(48, 198, 255, .16);
}
.plinko-card-ball {
  position: absolute;
  z-index: 4;
  top: 9%;
  left: 50%;
  width: 9px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fff, #a4f3ff 28%, #45c5ff 62%, #3984ee);
  box-shadow: 0 0 0 2px rgba(118, 211, 255, .2), 0 0 9px rgba(82, 219, 255, .9), 0 2px 4px rgba(0,0,0,.5);
  animation: plinko-card-ball 2.6s cubic-bezier(.45,.05,.55,.95) infinite;
}
@keyframes plinko-card-ball {
  0% { top: 9%; left: 50%; transform: translate(-50%, 0) scale(1); opacity: 1; }
  12% { top: 22%; left: 43%; transform: translate(-50%, 0) scale(1); }
  23% { top: 35%; left: 57%; transform: translate(-50%, 0) scale(1); }
  35% { top: 48%; left: 45%; transform: translate(-50%, 0) scale(1); }
  48% { top: 61%; left: 56%; transform: translate(-50%, 0) scale(1); }
  60% { top: 73%; left: 50%; transform: translate(-50%, 0) scale(1); }
  72% { top: 80%; left: 50%; transform: translate(-50%, 0) scale(1); }
  83% { top: 82%; left: 50%; transform: translate(-50%, 5px) scale(.78); }
  92% { top: 82%; left: 50%; transform: translate(-50%, 2px) scale(.4); opacity: .35; }
  100% { top: 9%; left: 50%; transform: translate(-50%, 0) scale(1); opacity: 0; }
}
.plinko-subtitle {
  z-index: 2;
  margin-top: 3px;
  color: rgba(220, 208, 255, .84);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .9px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.game-card--arena {
  border-color: rgba(114, 211, 255, .82);
  background:
    radial-gradient(ellipse at 50% 44%, rgba(70, 232, 255, .44), transparent 51%),
    radial-gradient(ellipse at 13% 57%, rgba(50, 127, 255, .42), transparent 48%),
    radial-gradient(ellipse at 88% 52%, rgba(255, 73, 126, .38), transparent 47%),
    radial-gradient(ellipse at 50% 112%, rgba(146, 58, 255, .5), transparent 63%),
    linear-gradient(150deg, #133d65, #1d2860 48%, #421c59);
  box-shadow: 0 10px 30px rgba(4, 8, 24, .38), 0 0 14px rgba(52, 202, 255, .42), 0 0 34px rgba(99, 83, 255, .28), inset 0 1px 0 rgba(255,255,255,.34);
}
.game-card--arena::before {
  position: absolute;
  z-index: 0;
  top: 8%;
  left: 50%;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(147, 231, 255, .38);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -12deg, rgba(111, 218, 255, .23) 0deg 1deg, transparent 1deg 45deg),
    radial-gradient(circle, rgba(159, 236, 255, .25) 0 1px, transparent 2px),
    radial-gradient(circle, transparent 52%, rgba(94, 210, 255, .3) 53% 53.5%, transparent 54%);
  background-size: auto, 13px 13px, auto;
  box-shadow: 0 0 32px rgba(69, 196, 255, .3), inset 0 0 32px rgba(69, 162, 255, .22);
  content: "";
  transform: translateX(-50%);
}
.game-card--arena::after {
  inset: 27% 0 0 !important;
  background: linear-gradient(180deg, transparent 12%, rgba(8, 11, 27, .35) 54%, rgba(8, 9, 22, .96));
}
.arena-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.arena-character {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 31%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(255,255,255,.76);
  border-radius: 50%;
  font-size: clamp(24px, 8vw, 39px);
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(255,255,255,.14), 0 0 20px rgba(137, 219, 255, .32), 0 8px 18px rgba(0,0,0,.3), inset 0 2px 5px rgba(255,255,255,.62);
  animation: arena-character-float 3.8s ease-in-out infinite;
}
.arena-character--yellow {
  top: 19%;
  left: 38%;
  background: radial-gradient(circle at 38% 28%, #ffe66e, #f58b0a 72%);
  animation-delay: -1.2s;
}
.arena-character--blue {
  top: 48%;
  left: 7%;
  background: radial-gradient(circle at 38% 28%, #46c9ff, #06469b 72%);
  animation-delay: -.3s;
}
.arena-character--red {
  top: 45%;
  right: 6%;
  background: radial-gradient(circle at 38% 28%, #ff7972, #a80e20 72%);
  animation-delay: -2.1s;
}
@keyframes arena-character-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(2deg); }
}
.arena-badge {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(161, 219, 255, .24);
  border-radius: 999px;
  background: rgba(8, 16, 34, .76);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.arena-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #24de89;
  box-shadow: 0 0 8px rgba(36, 222, 137, .9);
  animation: arena-online-pulse 1.8s ease-in-out infinite;
}
@keyframes arena-online-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.arena-subtitle {
  z-index: 2;
  margin-top: 3px;
  color: rgba(196, 220, 255, .72);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.05px;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}
.game-card-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(34, 20, 69, .6);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .2px;
}

.game-card-art {
  position: absolute;
  inset: 6% 4% 26%;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, rgba(241, 171, 255, .18), transparent 68%);
  font-size: clamp(52px, 16vw, 84px);
  line-height: 1;
}

.game-card-art i { font-style: normal; }
.game-card-art b {
  position: absolute;
  right: 8%;
  bottom: 17%;
  font-size: .48em;
  font-weight: 400;
  transform: rotate(15deg);
}
.game-card > strong {
  z-index: 2;
  max-width: 100%;
  overflow: hidden;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.3px;
  text-overflow: ellipsis;
  text-shadow: 0 2px 9px rgba(0, 0, 0, .55);
  white-space: nowrap;
}
.game-card.is-offscreen,
.game-card.is-offscreen *,
.game-card.is-offscreen::before,
.game-card.is-offscreen::after,
.game-card.is-offscreen *::before,
.game-card.is-offscreen *::after,
.app--games.games-page-hidden .game-card,
.app--games.games-page-hidden .game-card *,
.app--games.games-page-hidden .game-card::before,
.app--games.games-page-hidden .game-card::after,
.app--games.games-page-hidden .game-card *::before,
.app--games.games-page-hidden .game-card *::after {
  animation-play-state: paused !important;
}

.app--games-low-power .dice-preview,
.app--games-low-power .arena-badge {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.app--games-low-power .cases-card-vault,
.app--games-low-power .cases-card-loot {
  animation-duration: 5s;
}
.app--games-low-power .cases-card-spark,
.app--games-low-power .game-card--cases::before {
  animation-duration: 4s;
}
.app--games-low-power .arena-character { animation-duration: 5s; }
.app--games-low-power .arena-badge i { animation-duration: 2.6s; }
.app--games-low-power .dice-preview-track::after { animation-duration: 3.8s; }
.app--games-low-power .dice-preview-marker { animation-duration: 4.8s; }
.app--games-low-power .plinko-card-ball { animation-duration: 3.4s; }
.games-view ~ .bottom-nav { z-index: 18; }
.dice-view ~ .bottom-nav { z-index: 18; }

@media (prefers-reduced-motion: reduce) {
  .arena-character, .arena-badge i, .plinko-card-ball, .dice-preview-track::after,
  .dice-preview-track i, .cases-card-vault, .cases-card-loot, .cases-card-spark,
  .game-card--cases::before { animation: none; }
  .game-card { transition: none; }
}

@media (max-width: 360px) {
  .games-view { padding-right: var(--pvp-content-gutter); padding-left: var(--pvp-content-gutter); }
  .games-list { gap: 10px; }
  .game-card { padding: 13px 11px; border-radius: 21px; }
  .game-card > strong { font-size: 16px; }
}
