/* apps/web/src/games/arcade-v2/arcade-win.css */
.av-win-show {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  border-radius: 9px;
}
.av-win-show canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.av-win-head {
  font-style: italic;
  font-size: 57px;
  font-weight: 1000;
  letter-spacing: 4px;
  color: #fff2b3;
  text-shadow:
    0 3px #ff9d00,
    0 6px #713800,
    0 8px 3px #000,
    0 0 25px #ffaf24;
  z-index: 1;
}
.av-win-value {
  font-size: 85px;
  line-height: 1.25;
  color: #fff5c2;
  font-weight: 1000;
  text-shadow:
    0 3px #ffb82c,
    0 6px #a25a00,
    0 8px #261b00,
    0 0 25px #ffba42;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
.av-big-show {
  background:
    radial-gradient(
      ellipse,
      #0d0a1aeb 15%,
      #04050b96 68%,
      #02050a44);
}
.av-big-show .av-win-head {
  animation: av-title-slam .45s cubic-bezier(.1, .8, .1, 1);
}
.av-big-show .av-win-value {
  animation: av-value-slam .55s cubic-bezier(.12, .9, .2, 1);
}
.av-win-rays {
  position: absolute;
  inset: -100%;
  background:
    repeating-conic-gradient(
      from 0deg,
      #ffda5a15 0deg 7deg,
      transparent 8deg 19deg);
  animation: av-rays 16s linear infinite;
  mask-image:
    radial-gradient(
      circle,
      transparent 6%,
      #000 15% 44%,
      transparent 60%);
}
.av-win-confirm {
  z-index: 1;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #d9b567;
}
.av-win-caption {
  position: absolute;
  bottom: 10%;
  letter-spacing: 10px;
  font-size: 16px;
  color: #ecdcb0;
}
.av-small-show {
  justify-content: flex-end;
  padding-bottom: 4%;
}
.av-small-show .av-win-head {
  font-size: 23px;
}
.av-small-show .av-win-value {
  font-size: 52px;
}
.av-small-show .av-win-confirm,
.av-small-show .av-win-rays {
  display: none;
}
.av-done {
  opacity: 0;
  transition: opacity .3s;
}
.av-impact.av-big-show:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff6;
  animation: av-flash .18s forwards;
}
.gd-stage > .av-win-show {
  inset: auto;
  left: 269px;
  top: 356px;
  width: 936px;
  height: 470px;
}
.cs-stage > .av-win-show {
  inset: auto;
  left: 223px;
  top: 356px;
  width: 832px;
  height: 405px;
}
.j7-stage > .av-win-show {
  inset: auto;
  left: 74px;
  top: 478px;
  width: 792px;
  height: 478px;
}
.av-win-show {
  z-index: 10;
  --accent:#37dfff;
  --hot:#ffbf2e;
}
.gd-viewport.shake,
.cs-viewport.shake {
  animation: none !important;
}
.gd-reels {
  background: #140404;
}
.gd-stage .gd-balance,
.gd-stage .gd-bet {
  background-color: #120404;
}
.cs-stage .cs-symbol.cs-face-fu .cs-symbol-label {
  display: none;
}
.j7-stage:has(> .av-win-show:not(.av-done)) .j7-win.on {
  animation: none;
}
.av-win-show {
  font-family:
    Impact,
    "Arial Black",
    "Microsoft YaHei",
    sans-serif;
}
.av-win-fortune {
  --accent:#ff3470;
}
.av-win-sevens {
  --accent:#ff2437;
}
.av-big-show .av-win-head {
  position: relative;
  font-size: 70px;
  letter-spacing: 5px;
  line-height: 1.25;
  -webkit-text-stroke: 1px #fff1b3;
  text-shadow:
    0 3px #ffd668,
    0 6px #db7a03,
    0 9px #542300,
    0 12px 0 #090707,
    0 0 28px #ffa71a,
    0 0 65px #ff840077;
}
.av-big-show .av-win-head:before,
.av-big-show .av-win-head:after {
  content: "";
  position: absolute;
  top: 25%;
  height: 45%;
  width: 75px;
  border-top: 8px solid var(--accent);
  border-bottom: 8px solid var(--accent);
  filter: drop-shadow(0 0 8px var(--accent));
  transform: skew(-25deg);
}
.av-big-show .av-win-head:before {
  right: calc(100% + 20px);
}
.av-big-show .av-win-head:after {
  left: calc(100% + 20px);
}
.av-big-show .av-win-value {
  font-weight: 1000;
  letter-spacing: 2px;
  text-shadow:
    0 3px #ffcc4c,
    0 6px #cd7909,
    0 9px #653b05,
    0 12px #110b03,
    0 0 30px #ffa90099;
}
.av-electric-edge {
  position: absolute;
  inset: 5px;
  pointer-events: none;
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 18px var(--accent), 0 0 20px var(--accent);
  clip-path: polygon(0 0, 28% 0, 28% 1%, 1% 1%, 1% 28%, 0 28%, 0 0, 100% 0, 100% 28%, 99% 28%, 99% 1%, 72% 1%, 72% 0, 100% 0, 100% 100%, 72% 100%, 72% 99%, 99% 99%, 99% 72%, 100% 72%, 100% 100%, 0 100%, 0 72%, 1% 72%, 1% 99%, 28% 99%, 28% 100%, 0 100%);
  animation: av-edge-impact .65s ease-out;
}
.av-small-show .av-electric-edge {
  display: none;
}
.av-big-show .av-win-rays {
  background:
    repeating-conic-gradient(
      from 0deg,
      #ffc95724 0deg 4deg,
      transparent 5deg 15deg);
  animation-duration: 12s;
}
.av-impact.av-big-show {
  box-shadow: inset 0 0 90px #fff, 0 0 40px var(--accent);
}
@keyframes av-edge-impact {
  0% {
    transform: scale(.4);
    opacity: 0;
  }
  45% {
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: .8;
  }
}
.gd-stage:has(> .av-win-show:not(.av-done)) > .gd-banner,
.cs-stage:has(> .av-win-show:not(.av-done)) > .cs-win {
  visibility: hidden;
}
.gd-reels .gd-symbol.win,
.cs-reels .cs-symbol.win,
.j7-reels .j7-symbol.win {
  animation: av-symbol-hit .65s ease-out 2 !important;
}
@keyframes av-symbol-hit {
  0% {
    transform: scale(.9);
  }
  30% {
    transform: scale(1.08);
  }
  70%, 100% {
    transform: scale(1);
  }
}
@keyframes av-title-slam {
  0% {
    transform: scale(3);
    opacity: 0;
  }
  70% {
    transform: scale(.94);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
@keyframes av-value-slam {
  0%, 30% {
    transform: scale(.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes av-rays {
  to {
    transform: rotate(360deg);
  }
}
@keyframes av-flash {
  to {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .av-win-show * {
    animation: none !important;
  }
  .av-win-rays {
    display: none;
  }
  .av-win-show {
    transition: none;
  }
}

/* apps/web/src/games/golden-dragon/golden-dragon.css */
.phone:has(.gd-viewport) {
  height: 100dvh;
  max-width: none;
  padding: 0;
  overflow: hidden;
  background: #140306;
}
.phone:has(.gd-viewport) > header.top,
.phone:has(.gd-viewport) > nav.tab {
  display: none;
}
.gd-viewport {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #140306;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  box-sizing: border-box;
}
.gd-viewport.shake {
  animation: gd-shake .35s linear 1;
}
.gd-stage {
  width: 1536px;
  height: 1024px;
  position: relative;
  transform-origin: center center;
  background: #1a0608 url(/games/golden-dragon/stage.png?v=20261006-digit) 0 0/1536px 1024px no-repeat;
  color: #ffe7a3;
  font-family: "Microsoft YaHei", serif;
}
.gd-back {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 7;
  width: 92px;
  height: 64px;
  border: 0;
  border-radius: 14px;
  background: #4a0c0ce6;
  color: #ffe7a3;
  font-size: 26px;
}
.gd-player {
  position: absolute;
  left: 118px;
  top: 22px;
  z-index: 6;
  width: 130px;
  height: 62px;
  border-radius: 16px;
  background: #2a0909f2;
  border: 2px solid #e6b84a;
  text-align: center;
  line-height: 62px;
  font-size: 26px;
  font-weight: 800;
}
.gd-top-sky {
  position: absolute;
  left: 218px;
  top: 0;
  width: 316px;
  height: 94px;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 95% 100%,
      #ed8535 0,
      transparent 58%),
    linear-gradient(
      125deg,
      #7b3439,
      #9c4140 44%,
      #bd5035 75%,
      #db632d);
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent,
      #000 20px,
      #000 calc(100% - 20px),
      transparent),
    linear-gradient(
      to bottom,
      #000 72px,
      transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      transparent,
      #000 20px,
      #000 calc(100% - 20px),
      transparent),
    linear-gradient(
      to bottom,
      #000 72px,
      transparent);
  mask-composite: intersect;
}
.gd-hit {
  position: absolute;
  z-index: 6;
  border: 0;
  background: transparent;
  color: transparent;
  padding: 0;
}
.gd-hit.activity {
  left: 1128px;
  top: 14px;
  width: 78px;
  height: 78px;
}
.gd-hit.rank {
  left: 1212px;
  top: 14px;
  width: 78px;
  height: 78px;
}
.gd-hit.sound {
  left: 1296px;
  top: 14px;
  width: 78px;
  height: 78px;
}
.gd-hit.gear {
  left: 1384px;
  top: 14px;
  width: 86px;
  height: 78px;
}
.gd-jp {
  position: absolute;
  z-index: 5;
  width: 228px;
  height: 78px;
  top: 252px;
  border-radius: 12px;
  text-align: center;
  color: #fff8d8;
  box-shadow: 0 4px 10px #0008;
}
.gd-jp b {
  display: block;
  font-size: 16px;
  letter-spacing: .14em;
  margin-top: 6px;
}
.gd-jp strong {
  display: block;
  font-size: 28px;
  line-height: 1.15;
}
.gd-jp.grand {
  left: 292px;
  background: linear-gradient(#c81e1e, #6d0d0d);
}
.gd-jp.major {
  left: 540px;
  background: linear-gradient(#7a3cff, #3a1578);
}
.gd-jp.minor {
  left: 788px;
  background: linear-gradient(#1d6dff, #0c2f86);
}
.gd-jp.mini {
  left: 1036px;
  background: linear-gradient(#17924a, #0c5a28);
}
.gd-hit.rules {
  left: 18px;
  top: 392px;
  width: 168px;
  height: 78px;
}
.gd-hit.pay {
  left: 18px;
  top: 478px;
  width: 168px;
  height: 78px;
}
.gd-hit.special {
  left: 18px;
  top: 564px;
  width: 168px;
  height: 78px;
}
.gd-hit.history {
  left: 18px;
  top: 650px;
  width: 168px;
  height: 78px;
}
.gd-reels {
  position: absolute;
  left: 300px;
  top: 352px;
  width: 980px;
  height: 438px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.gd-reel {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
}
.gd-reel.moving {
  animation: gd-spin .1s linear infinite;
}
.gd-reel.anticipate {
  filter: brightness(1.25);
}
.gd-symbol {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #140404;
  border: 2px solid #8a6a28;
  font-size: 34px;
  font-weight: 800;
  color: #ffe7a3;
}
.gd-symbol.wild,
.gd-symbol.scatter,
.gd-symbol.dragon {
  color: #fff1a8;
  background: #3a1808;
}
.gd-symbol.win {
  box-shadow: 0 0 16px #ffd24a;
  border-color: #ffe08a;
}
.gd-symbol.arrived {
  outline: 3px solid #fff1a8;
}
.gd-collect {
  position: absolute;
  left: 1048px;
  top: 800px;
  z-index: 5;
  width: 250px;
  height: 42px;
  border-radius: 12px;
  background: #2a0909ee;
  border: 2px solid #e6b84a;
  text-align: center;
  line-height: 42px;
  font-size: 22px;
}
.gd-banner {
  position: absolute;
  left: 360px;
  top: 800px;
  z-index: 5;
  width: 420px;
  height: 42px;
  text-align: center;
  line-height: 42px;
  font-size: 28px;
  font-weight: 800;
  color: #fff6c8;
  text-shadow: 0 2px 0 #6a1208;
}
.gd-note {
  position: absolute;
  left: 300px;
  top: 842px;
  z-index: 6;
  width: 500px;
  margin: 0;
  text-align: center;
  color: #ffe08a;
  font-size: 22px;
}
.gd-balance,
.gd-bet,
.gd-win {
  position: absolute;
  z-index: 5;
  height: 52px;
  top: 912px;
  border-radius: 12px;
  background: #120404f2;
  border: 2px solid #e6b84a;
  text-align: center;
  line-height: 52px;
  font-size: 28px;
  font-weight: 800;
  color: #fff6c8;
}
.gd-balance {
  left: 78px;
  width: 168px;
}
.gd-bet {
  left: 352px;
  width: 140px;
}
.gd-win {
  left: 1310px;
  width: 176px;
}
.gd-hit.minus {
  left: 292px;
  top: 900px;
  width: 56px;
  height: 72px;
}
.gd-hit.plus {
  left: 496px;
  top: 900px;
  width: 56px;
  height: 72px;
}
.gd-hit.max {
  left: 560px;
  top: 896px;
  width: 150px;
  height: 78px;
}
.gd-hit.spin {
  left: 724px;
  top: 848px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
}
.gd-hit.spin.lit {
  box-shadow: 0 0 28px #ffb000;
}
.gd-hit.auto {
  left: 868px;
  top: 896px;
  width: 160px;
  height: 78px;
  border-radius: 16px;
}
.gd-hit.auto.on,
.gd-hit.quick.on {
  box-shadow: inset 0 0 0 3px #ffe08a;
}
.gd-hit.quick {
  left: 1040px;
  top: 896px;
  width: 200px;
  height: 78px;
  border-radius: 16px;
}
.gd-bonus,
.gd-panel {
  position: absolute;
  left: 280px;
  top: 180px;
  width: 980px;
  z-index: 8;
  padding: 24px;
  border-radius: 18px;
  background: #2a0909f5;
  border: 3px solid #e6b84a;
  color: #ffe7a3;
}
.gd-bonus h2,
.gd-panel h2 {
  margin: 0 0 12px;
  font-size: 32px;
}
.gd-chests {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gd-chests button,
.gd-panel button {
  height: 64px;
  border-radius: 12px;
  border: 2px solid #e6b84a;
  background: #6d120eee;
  color: #fff6c8;
  font-size: 22px;
}
.gd-panel p,
.gd-panel label {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}
@keyframes gd-spin {
  from {
    transform: translateY(-8px);
  }
  to {
    transform: translateY(8px);
  }
}
@keyframes gd-shake {
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}
.gd-viewport .gd-stage {
  position: absolute;
  left: 50%;
  top: 50%;
}
.gd-panel {
  max-height: 720px;
  overflow: auto;
  box-sizing: border-box;
}
.gd-recovery {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-content: center;
  color: #ffe7a3;
  background: #140306;
}
.gd-hit.activity {
  left: 1180px;
  top: 10px;
  width: 78px;
  height: 80px;
}
.gd-hit.rank {
  left: 1268px;
  top: 10px;
  width: 80px;
  height: 80px;
}
.gd-hit.sound {
  left: 1356px;
  top: 10px;
  width: 80px;
  height: 80px;
}
.gd-hit.gear {
  left: 1448px;
  top: 10px;
  width: 78px;
  height: 80px;
}
.gd-hit.rules {
  left: 18px;
  top: 374px;
  width: 140px;
  height: 100px;
}
.gd-hit.pay {
  left: 18px;
  top: 489px;
  width: 140px;
  height: 104px;
}
.gd-hit.special {
  left: 18px;
  top: 610px;
  width: 140px;
  height: 102px;
}
.gd-hit.history {
  left: 18px;
  top: 731px;
  width: 140px;
  height: 102px;
}
.gd-reels {
  left: 269px;
  top: 356px;
  width: 936px;
  height: 470px;
  gap: 4px;
}
.gd-reel {
  gap: 4px;
}
.gd-jp {
  top: 290px;
  height: 40px;
  width: 238px;
  border-radius: 5px;
}
.gd-jp b {
  display: none;
}
.gd-jp strong {
  line-height: 40px;
  font-size: 30px;
}
.gd-jp.grand {
  left: 240px;
}
.gd-jp.major {
  left: 505px;
}
.gd-jp.minor {
  left: 769px;
}
.gd-jp.mini {
  left: 1033px;
}
.gd-balance,
.gd-bet,
.gd-win {
  top: 947px;
  height: 40px;
  line-height: 40px;
  border: 0;
  font-size: 28px;
}
.gd-balance {
  left: 110px;
  width: 140px;
}
.gd-bet {
  left: 312px;
  width: 120px;
}
.gd-win {
  left: 1300px;
  width: 190px;
}
.gd-balance {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  overflow: hidden;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.gd-balance > span {
  display: inline-block;
  flex: none;
  white-space: nowrap;
  line-height: 1.15;
}
.gd-hit.minus {
  left: 260px;
  top: 931px;
  width: 52px;
  height: 58px;
}
.gd-hit.plus {
  left: 439px;
  top: 931px;
  width: 52px;
  height: 58px;
}
.gd-hit.max {
  left: 510px;
  top: 917px;
  width: 130px;
  height: 68px;
}
.gd-hit.spin {
  left: 653px;
  top: 837px;
  width: 195px;
  height: 175px;
}
.gd-hit.auto {
  left: 868px;
  top: 921px;
  width: 128px;
  height: 62px;
}
.gd-hit.quick {
  left: 1011px;
  top: 916px;
  width: 184px;
  height: 64px;
}
.gd-stage * {
  box-sizing: border-box;
}
.gd-stage .gd-symbol {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(
      ellipse at 50% 65%,
      #421b05,
      #110403 80%);
  overflow: hidden;
}
.gd-symbol-art {
  position: absolute;
  inset: 0;
  background-image: url(/games/golden-dragon/stage.png);
  background-size: 1536px 1024px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.gd-face-wild .gd-symbol-art {
  background-position: -269px -356px;
}
.gd-face-dragon .gd-symbol-art {
  background-position: -269px -356px;
  clip-path: inset(0 0 22% 0);
}
.gd-face-ingot .gd-symbol-art {
  background-position: -456px -356px;
}
.gd-face-pot .gd-symbol-art,
.gd-face-scatter .gd-symbol-art {
  background-position: -642px -356px;
}
.gd-face-koi .gd-symbol-art {
  background-position: -829px -356px;
}
.gd-face-a .gd-symbol-art {
  background-position: -269px -521px;
}
.gd-face-k .gd-symbol-art {
  background-position: -1018px -521px;
}
.gd-face-q .gd-symbol-art {
  background-position: -642px -521px;
}
.gd-face-j .gd-symbol-art {
  background-position: -1018px -674px;
}
.gd-face-ten .gd-symbol-art {
  background-position: -456px -674px;
}
.gd-face-bonus .gd-symbol-art {
  background-size: 2304px 1536px;
  background-position: -1966px -1035px;
  clip-path: inset(0 0 18% 0);
}
.gd-orb-art {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 25%,
      #ffffdd 0%,
      #fffbc1 8%,
      #ffe669 19%,
      #ffaa07 38%,
      #a43e02 65%,
      #361600 83%);
  border: 3px solid #ffdd64;
  box-shadow:
    inset -10px -12px 18px #693600,
    0 12px 17px #000,
    0 0 23px #ffaa0055;
}
.gd-orb-art:before {
  content: "";
  position: absolute;
  left: 18px;
  top: 11px;
  width: 44px;
  height: 25px;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #fff,
      #ffffcf33);
  transform: rotate(-35deg);
}
.gd-face-collect .gd-orb-art {
  box-shadow: inset -10px -12px 18px #693600, 0 0 27px #ffce57;
}
.gd-rank-art {
  font: bold 140px/.95 Georgia, serif;
  color: #ae6cfd;
  background:
    linear-gradient(
      110deg,
      #f6dcff 4%,
      #e28bff 25%,
      #651cd0 52%,
      #efbbff 75%,
      #7d18b6);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #ffe68f;
  filter: drop-shadow(3px 4px 0 #6a2807) drop-shadow(0 0 6px #d79113);
}
.gd-feature-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: #260900e8;
  color: #ffe876;
  text-align: center;
  font: bold 25px/32px Georgia, serif;
  text-shadow: 2px 2px #6f2306;
}
.gd-stage .gd-reel {
  position: relative;
  overflow: hidden;
  min-height: 0;
  gap: 2px;
}
.gd-stage .gd-reel.moving {
  display: block;
  animation: none;
}
.gd-moving-strip {
  display: grid;
  grid-template-rows: repeat(9, 155.33px);
  height: 1398px;
  animation: gd-reel-scroll .5s linear infinite;
  will-change: transform;
  filter: blur(1.2px);
}
@keyframes gd-reel-scroll {
  from {
    transform: translateY(-932px);
  }
  to {
    transform: translateY(0);
  }
}
.gd-stage .gd-symbol.win {
  box-shadow: inset 0 0 20px #ffbf17;
  outline: 3px solid #ffe190;
  outline-offset: -3px;
}
.gd-stage .gd-symbol.arrived {
  outline: 3px solid #ffe190;
  outline-offset: -3px;
}
.gd-stage .gd-hit.on {
  background: transparent;
  color: transparent;
}
.gd-hit.menu {
  left: 22px;
  top: 916px;
  width: 77px;
  height: 72px;
}
.gd-player {
  left: 108px;
  top: 18px;
  width: 115px;
  height: 71px;
  line-height: 51px;
  border: 0;
  border-radius: 0;
  background: #420901;
  font-size: 25px;
}
.gd-collect {
  left: 984px;
  top: 852px;
  width: 289px;
  height: 36px;
  font-size: 19px;
  line-height: 32px;
  pointer-events: none;
}
.gd-banner {
  left: 298px;
  top: 843px;
  width: 350px;
  height: 45px;
  font-size: 29px;
  pointer-events: none;
}
.gd-note {
  left: 282px;
  top: 801px;
  width: 860px;
  background: #300500ee;
  border-radius: 8px;
  font-size: 24px;
  z-index: 7;
}
.gd-note:empty {
  display: none;
}
.gd-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 24px;
}
.gd-panel td,
.gd-panel th {
  padding: 10px;
  border-bottom: 1px solid #9a7338;
  text-align: center;
}
.gd-panel article {
  border-bottom: 1px solid #9a7338;
  padding: 12px 0;
}
.gd-panel button {
  padding: 10px 24px;
  margin: 5px;
}
.gd-panel input[type=checkbox] {
  width: 26px;
  height: 26px;
}
.gd-panel input[type=range] {
  width: 230px;
}
.gd-panel [role=alert] {
  color: #ffad81;
}
.gd-stage button:focus-visible {
  outline: 3px solid #fff7bb;
  outline-offset: -3px;
}
.gd-locale-vn .gd-jp {
  box-shadow: inset 0 0 0 2px #d94a3a;
}
.gd-locale-cn .gd-jp {
  box-shadow: inset 0 0 0 2px #e6b84a;
}
.gd-face-bonus .gd-symbol-art {
  left: 22px;
  right: 22px;
  background-position: -1977px -1035px;
  clip-path: inset(0 0 18% 0);
}
.gd-promo-copy {
  white-space: pre-wrap;
}
.gd-face-dragon .gd-symbol-art {
  background-size: 3072px 2048px;
  background-position: -2642px -750px;
  clip-path: none;
}
.gd-reels:not(.spinning):has(.win) .gd-symbol:not(.win) {
  filter: brightness(.46) saturate(.65);
  transition: filter .25s;
}
.gd-reels:not(.spinning) .gd-symbol.win {
  position: relative;
  z-index: 2;
  filter: brightness(1.28) saturate(1.18);
  background:
    radial-gradient(
      ellipse,
      #fffbd4 0%,
      #ffdd66 35%,
      #9b7614 74%);
  outline: 5px solid #fff8b1;
  outline-offset: -5px;
  box-shadow: inset 0 0 28px 8px #ffe66b, 0 0 20px #ffe146;
  animation: none;
}
.gd-reels:not(.spinning) .gd-symbol.win::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #ffffffb0;
  box-shadow: inset 0 0 13px #fffce1;
  pointer-events: none;
}
.gd-stage button:disabled {
  opacity: 1 !important;
  cursor: not-allowed;
}
.gd-stage .gd-bet {
  background: #160b08 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  overflow: hidden;
  white-space: nowrap;
}
.gd-stage .gd-bet:disabled {
  color: #bba98c;
}
.gd-stage .gd-bet {
  left: 311px;
  top: 944px;
  width: 128px;
  height: 46px;
  line-height: 46px;
  border-radius: 0;
}
.gd-stage .gd-win {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
}
.gd-math-tagline {
  position: absolute;
  left: 565px;
  top: 224px;
  width: 360px;
  height: 32px;
  line-height: 32px;
  z-index: 3;
  background: linear-gradient(#8c1003, #670601);
  color: #ffe0a0;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 4px;
  pointer-events: none;
}

/* apps/web/src/games/caishen/caishen.css */
.phone:has(.cs-viewport) {
  height: 100dvh;
  max-width: none;
  padding: 0;
  overflow: hidden;
  background: #210302;
}
.phone:has(.cs-viewport) > header.top,
.phone:has(.cs-viewport) > nav.tab {
  display: none;
}
.cs-viewport {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #210302;
  overscroll-behavior: none;
}
.cs-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1280px;
  height: 960px;
  transform-origin: center;
  background: #540c08 url(/games/caishen/stage-approved.png) 0 0/1280px 960px no-repeat;
  color: #fff0b1;
  font-family:
    Arial,
    "Microsoft YaHei",
    sans-serif;
}
.cs-stage * {
  box-sizing: border-box;
}
.cs-stage button {
  cursor: pointer;
}
.cs-stage button:disabled {
  cursor: default;
}
.cs-stage button:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -4px;
}
.cs-control,
.cs-back,
.cs-hit,
.cs-spin,
.cs-auto,
.cs-max {
  position: absolute;
  z-index: 6;
  border: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  border-radius: 14px;
}
.cs-back {
  left: 20px;
  top: 7px;
  width: 61px;
  height: 64px;
}
.cs-user {
  position: absolute;
  left: 154px;
  top: 9px;
  width: 143px;
  height: 26px;
  background: #4a140b;
  font-size: 22px;
}
.cs-top-balance {
  position: absolute;
  left: 185px;
  top: 39px;
  width: 117px;
  height: 28px;
  background: #431003;
  font-size: 18px;
  font-weight: bold;
  text-align: right;
}
.cs-control.deposit {
  left: 306px;
  top: 33px;
  width: 42px;
  height: 40px;
}
.cs-control.sound {
  left: 1070px;
  top: 6px;
  width: 60px;
  height: 62px;
}
.cs-control.help {
  left: 1140px;
  top: 6px;
  width: 60px;
  height: 62px;
}
.cs-control.settings {
  left: 1210px;
  top: 6px;
  width: 60px;
  height: 62px;
}
.cs-buy-cover {
  position: absolute;
  left: 12px;
  top: 408px;
  width: 149px;
  height: 117px;
  background:
    linear-gradient(
      130deg,
      #490708,
      #861407 50%,
      #3c0805);
  border: 1px solid #c97727;
  border-radius: 30px 30px 10px 10px;
  box-shadow: inset 0 0 35px #210300;
  z-index: 5;
}
.cs-control.free {
  left: 16px;
  top: 531px;
  width: 140px;
  height: 78px;
}
.cs-control.special {
  left: 16px;
  top: 614px;
  width: 140px;
  height: 76px;
}
.cs-control.paytable {
  left: 16px;
  top: 699px;
  width: 140px;
  height: 60px;
}
.cs-auto {
  left: 1166px;
  top: 438px;
  width: 90px;
  height: 95px;
}
.cs-control.quick {
  left: 1166px;
  top: 550px;
  width: 90px;
  height: 98px;
}
.cs-control.turbo {
  left: 1166px;
  top: 658px;
  width: 90px;
  height: 93px;
}
.cs-control.history {
  left: 20px;
  top: 854px;
  width: 57px;
  height: 65px;
}
.cs-auto.on,
.cs-control.on {
  box-shadow: inset 0 0 0 4px #fff395, 0 0 20px #ffd037;
}
.cs-jp {
  position: absolute;
  top: 292px;
  height: 36px;
  z-index: 5;
  text-align: center;
  font-weight: 800;
  font-size: 29px;
  line-height: 36px;
  border-radius: 8px;
}
.cs-jp b {
  display: none;
}
.cs-jp strong {
  font: inherit;
}
.cs-jp.grand {
  left: 91px;
  width: 202px;
  background: #520904;
}
.cs-jp.major {
  left: 333px;
  width: 164px;
  background: #340844;
}
.cs-jp.minor {
  left: 860px;
  width: 141px;
  background: #042856;
}
.cs-jp.mini {
  left: 1051px;
  width: 141px;
  background: #124414;
}
.cs-reels {
  position: absolute;
  left: 223px;
  top: 356px;
  width: 832px;
  height: 405px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  z-index: 4;
  background: #2f0203;
  overflow: hidden;
}
.cs-reel {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
  min-width: 0;
  overflow: hidden;
  background: #320203;
}
.cs-symbol {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 60%,
      #551609,
      #260105);
  color: #ffde52;
  font: bold 62px Georgia, serif;
  text-shadow: 0 2px 0 #8d250a, 0 0 13px #ff8700;
}
.cs-symbol-art {
  position: absolute;
  inset: 0;
  background-image: url(/games/caishen/stage-approved.png);
  background-size: 1280px 960px;
  background-repeat: no-repeat;
}
.cs-symbol.cs-face-god .cs-symbol-art,
.cs-symbol.cs-face-wild .cs-symbol-art {
  background-position: -224px -355px;
}
.cs-symbol.cs-face-ingot .cs-symbol-art,
.cs-symbol.cs-face-collect .cs-symbol-art {
  background-position: -391px -355px;
}
.cs-symbol.cs-face-coin .cs-symbol-art {
  background-position: -725px -355px;
}
.cs-symbol.cs-face-bag .cs-symbol-art,
.cs-symbol.cs-face-fu .cs-symbol-art {
  background-position: -892px -355px;
}
.cs-symbol.cs-face-bonus .cs-symbol-art {
  background-position: -725px -625px;
}
.cs-symbol.cs-face-dragon .cs-symbol-art {
  background-position: -892px -625px;
}
.cs-symbol.cs-face-packet .cs-symbol-art,
.cs-symbol.cs-face-cai .cs-symbol-art,
.cs-symbol.cs-face-scatter .cs-symbol-art {
  display: none;
}
.cs-symbol.cs-face-packet .cs-symbol-label {
  font-size: 38px;
  background:
    linear-gradient(
      120deg,
      #ff4232,
      #8d0705);
  padding: 25px 15px;
  border: 3px solid #e7b438;
  border-radius: 12px;
}
.cs-symbol-label {
  z-index: 1;
}
.cs-symbol.cs-face-god .cs-symbol-label,
.cs-symbol.cs-face-ingot .cs-symbol-label,
.cs-symbol.cs-face-coin .cs-symbol-label,
.cs-symbol.cs-face-bag .cs-symbol-label,
.cs-symbol.cs-face-fu .cs-symbol-label,
.cs-symbol.cs-face-bonus .cs-symbol-label {
  display: none;
}
.cs-symbol.cs-face-wild .cs-symbol-label,
.cs-symbol.cs-face-collect .cs-symbol-label,
.cs-symbol.cs-face-dragon .cs-symbol-label {
  align-self: end;
  background: #470700ee;
  width: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 28px;
}
.cs-symbol.cs-face-scatter .cs-symbol-label {
  font-size: 38px;
}
.cs-reel.moving .cs-symbol-art {
  filter: none;
}
.cs-reel.moving {
  animation: none;
}
.cs-symbol.win {
  box-shadow: inset 0 0 15px #ffde29;
  outline: 3px solid #fff58f;
  outline-offset: -3px;
}
.cs-collect {
  position: absolute;
  left: 440px;
  top: 789px;
  width: 400px;
  text-align: center;
  font-size: 19px;
  text-shadow: 0 2px 3px #200;
  z-index: 5;
}
.cs-hit.minus {
  left: 302px;
  top: 851px;
  width: 56px;
  height: 69px;
}
.cs-hit.plus {
  left: 486px;
  top: 851px;
  width: 53px;
  height: 69px;
}
.cs-bet {
  position: absolute;
  left: 359px;
  top: 887px;
  width: 123px;
  height: 30px;
  background: #300701;
  z-index: 5;
  text-align: center;
  font-size: 25px;
  line-height: 30px;
  font-weight: 700;
}
.cs-spin {
  left: 1018px;
  top: 815px;
  width: 237px;
  height: 117px;
  border-radius: 60px;
}
.cs-spin.lit {
  box-shadow: 0 0 25px #bfff00;
}
.cs-max {
  left: 822px;
  top: 848px;
  width: 174px;
  height: 75px;
}
.cs-bal,
.cs-gain {
  position: absolute;
  top: 887px;
  height: 30px;
  z-index: 5;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  line-height: 30px;
  background: #2a0801;
}
.cs-bal {
  left: 98px;
  width: 181px;
}
.cs-gain {
  left: 568px;
  width: 226px;
}
.cs-note {
  position: absolute;
  left: 260px;
  top: 823px;
  width: 700px;
  z-index: 7;
  margin: 0;
  text-align: center;
  background: #3b0709d9;
  color: #fff1b7;
  font-size: 22px;
}
.cs-note:empty {
  display: none;
}
.cs-win {
  position: absolute;
  left: 389px;
  top: 475px;
  width: 500px;
  z-index: 7;
  text-align: center;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px #2c0000);
}
.cs-win:not(.on) {
  display: none;
}
.cs-win b,
.cs-win strong {
  display: block;
  background: #61110bf2;
  border: 3px solid #ffd84b;
  color: #ffeb8b;
  font-size: 45px;
}
.cs-panel,
.cs-bonus {
  position: absolute;
  left: 245px;
  top: 135px;
  width: 790px;
  max-height: 650px;
  z-index: 10;
  overflow: auto;
  background: #320707fa;
  border: 3px solid #e6b84a;
  border-radius: 20px;
  padding: 25px;
  color: #ffe7a3;
  font-size: 24px;
}
.cs-panel h2,
.cs-bonus h2 {
  font-size: 30px;
}
.cs-panel button,
.cs-packets button {
  min-height: 50px;
  padding: 8px 20px;
  border: 1px solid #e3b14c;
  border-radius: 10px;
  background: #821c13;
  color: #fff0b1;
  font-size: 22px;
}
.cs-panel label {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 20px 0;
}
.cs-panel input[type=checkbox] {
  width: 26px;
  height: 26px;
}
.cs-panel table {
  width: 100%;
  border-collapse: collapse;
}
.cs-panel th,
.cs-panel td {
  border-bottom: 1px solid #916c30;
  text-align: center;
  padding: 8px;
}
.cs-packets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cs-recovery {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-content: center;
  background: #210302;
  color: #ffe7a3;
}
@keyframes cs-spin {
  from {
    transform: translateY(-12px);
  }
  to {
    transform: translateY(12px);
  }
}
.cs-stage .cs-control.on,
.cs-stage .cs-auto.on {
  background: transparent;
  color: transparent;
}
.cs-symbol.cs-face-dragon .cs-symbol-art {
  clip-path: inset(0 0 30% 0);
}
.cs-symbol.cs-face-dragon .cs-symbol-label {
  font-size: 24px;
  line-height: 40px;
}
.cs-symbol.cs-face-fu .cs-symbol-label {
  display: block;
  align-self: end;
  background: #470700ee;
  font-size: 20px;
  width: 100%;
  text-align: center;
}
.cs-reel {
  display: block;
  contain: paint;
}
.cs-strip {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.cs-strip .cs-symbol {
  height: 135px;
  min-height: 135px;
  flex: 0 0 135px;
}
.cs-reel.moving .cs-strip {
  will-change: transform;
  animation: cs-reel-roll .55s linear infinite;
}
.cs-reel.stopped .cs-strip {
  animation: cs-reel-land .2s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes cs-reel-roll {
  from {
    transform: translate3d(0, -810px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes cs-reel-land {
  from {
    transform: translateY(-12px);
  }
  70% {
    transform: translateY(2px);
  }
  to {
    transform: translateY(0);
  }
}
.cs-reels:not(.spinning):has(.win) .cs-symbol:not(.win) {
  filter: brightness(.46) saturate(.65);
  transition: filter .25s;
}
.cs-reels:not(.spinning) .cs-symbol.win {
  position: relative;
  z-index: 2;
  filter: brightness(1.28) saturate(1.18);
  background:
    radial-gradient(
      ellipse,
      #fffbd4 0%,
      #ffdd66 35%,
      #9b7614 74%);
  outline: 5px solid #fff8b1;
  outline-offset: -5px;
  box-shadow: inset 0 0 28px 8px #ffe66b, 0 0 20px #ffe146;
  animation: none;
}
.cs-reels:not(.spinning) .cs-symbol.win::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #ffffffb0;
  box-shadow: inset 0 0 13px #fffce1;
  pointer-events: none;
}
.cs-stage button:disabled {
  opacity: 1 !important;
  cursor: not-allowed;
}
.cs-stage .cs-bet {
  background: #160b08 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  overflow: hidden;
  white-space: nowrap;
}
.cs-stage .cs-bet:disabled {
  color: #bba98c;
}
.cs-stage .cs-back {
  background: linear-gradient(#641a08, #2a0803);
  border: 2px solid #eac06a;
  color: #ffe7a5;
  font-size: 22px;
  font-weight: 700;
  box-shadow: inset 0 0 8px #ad691d;
}
.cs-account-cover {
  position: absolute;
  left: 90px;
  top: 4px;
  width: 270px;
  height: 74px;
  z-index: 6;
  border-radius: 14px;
  background:
    linear-gradient(
      110deg,
      #4c1007,
      #781a09 55%,
      #471006);
  border: 1px solid #ae672a;
  pointer-events: none;
}
.cs-title-icons {
  position: absolute;
  left: 976px;
  top: 188px;
  width: 184px;
  height: 66px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffd26d;
  border-radius: 14px;
  background: linear-gradient(#6f1b05, #270403);
  box-shadow: inset 0 0 8px #d18a22, 0 1px 4px #401402;
  pointer-events: none;
  overflow: hidden;
}
.cs-title-icons > span {
  display: block;
  flex: 0 0 60px;
  height: 55px;
  background-image: url(/games/caishen/stage-approved.png);
  background-size: 512px 384px;
  background-repeat: no-repeat;
  border-radius: 5px;
}
.cs-title-chest {
  background-position: -291px -249px;
}
.cs-title-god {
  background-position: -90px -141px;
}
.cs-title-icons > .cs-title-dragon {
  height: 40px;
  background-position: -358px -249px;
}
.cs-info-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  box-sizing: border-box;
  pointer-events: auto;
}
.cs-info-nav > button {
  flex: 1;
  height: 54px;
  min-width: 0;
  padding: 0;
  border: 2px solid #dba94c;
  border-radius: 9px;
  color: #ffe8a1;
  background: linear-gradient(#8b2b0e, #3c0904);
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px 2px #260600;
  box-shadow: inset 0 0 8px #c17c2633;
  cursor: pointer;
}
.cs-info-nav > button:active {
  background: #a94b15;
}
.cs-left-trim {
  position: absolute;
  left: 0;
  top: 395px;
  width: 164px;
  height: 380px;
  z-index: 5;
  background: url(/games/caishen/stage-approved.png) -1116px -395px/1280px 960px no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
}
.cs-stage .cs-control.free,
.cs-stage .cs-control.special,
.cs-stage .cs-control.paytable {
  left: 24px;
  width: 90px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #ffeab2;
  border: 2px solid #e4aa48;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #70200b,
      #3a0a03 65%,
      #641a08);
  box-shadow: inset 0 0 8px #d48729, 0 0 3px #ffbd55;
}
.cs-stage .cs-control.free {
  top: 438px;
  height: 95px;
}
.cs-stage .cs-control.special {
  top: 550px;
  height: 98px;
}
.cs-stage .cs-control.paytable {
  top: 658px;
  height: 93px;
}
.cs-stage .cs-control.free span,
.cs-stage .cs-control.special span,
.cs-stage .cs-control.paytable span {
  font-size: 38px;
  line-height: 40px;
  color: #ffd466;
  text-shadow: 0 2px 2px #6b2700;
}
.cs-stage .cs-control.free b,
.cs-stage .cs-control.special b,
.cs-stage .cs-control.paytable b {
  font-size: 17px;
  line-height: 23px;
  white-space: nowrap;
}

/* apps/web/src/games/jackpot-777/jackpot-777.css */
.phone:has(.j7-viewport) {
  height: 100dvh;
  max-width: none;
  padding: 0;
  overflow: hidden;
  background: #120604;
}
.phone:has(.j7-viewport) > header.top,
.phone:has(.j7-viewport) > nav.tab {
  display: none;
}
.j7-viewport {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #120604;
  z-index: 30;
  overscroll-behavior: none;
}
.j7-viewport .j7-stage {
  position: absolute;
  left: 50%;
  top: 50%;
}
.j7-stage {
  width: 941px;
  height: 1672px;
  position: relative;
  transform-origin: center center;
  background: #120604 url(/games/jackpot-777/stage-clean-1001.png) 0 0/941px 1672px no-repeat;
  color: #ffe7a8;
  font-family: "Microsoft YaHei", serif;
}
.j7-stage button {
  font-family: inherit;
}
.j7-back {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 6;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #000a;
  color: #ffe7a8;
  font-size: 22px;
}
.j7-hit {
  position: absolute;
  z-index: 5;
  border: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.j7-hit:disabled {
  cursor: default;
}
.j7-hit.promo {
  left: 628px;
  top: 78px;
  width: 100px;
  height: 72px;
}
.j7-hit.rank {
  left: 734px;
  top: 78px;
  width: 100px;
  height: 72px;
}
.j7-hit.gear {
  left: 838px;
  top: 78px;
  width: 90px;
  height: 72px;
}
.j7-hit.minus {
  left: 28px;
  top: 1364px;
  width: 92px;
  height: 88px;
}
.j7-hit.plus {
  left: 286px;
  top: 1364px;
  width: 84px;
  height: 88px;
}
.j7-hit.spin {
  left: 368px;
  top: 1308px;
  width: 206px;
  height: 206px;
  border-radius: 50%;
}
.j7-hit.spin.lit {
  box-shadow: 0 0 28px #ffb000;
}
.j7-hit.auto {
  left: 592px;
  top: 1368px;
  width: 132px;
  height: 86px;
  border-radius: 16px;
}
.j7-hit.auto.on {
  box-shadow: inset 0 0 0 3px #ffe08a;
}
.j7-hit.max {
  left: 734px;
  top: 1360px;
  width: 178px;
  height: 100px;
  border-radius: 16px;
}
.j7-hit.history,
.j7-hit.rules {
  top: 8px;
  height: 40px;
  width: 72px;
  color: #ffe7a8;
  background: #000a;
  border-radius: 8px;
  font-size: 20px;
}
.j7-hit.history {
  left: 108px;
}
.j7-hit.rules {
  left: 186px;
}
.j7-jackpot {
  position: absolute;
  left: 168px;
  top: 298px;
  width: 604px;
  height: 96px;
  background: #2a0100;
  color: #ffe56a;
  font-size: 68px;
  font-weight: 900;
  text-align: center;
  line-height: 96px;
  letter-spacing: 1px;
  text-shadow: 0 3px 0 #6a2800, 0 0 16px #ffb000;
}
.j7-marquee {
  position: absolute;
  left: 72px;
  top: 410px;
  width: 796px;
  height: 42px;
  margin: 0;
  background: #100804;
  color: #f3d48a;
  text-align: center;
  line-height: 42px;
  font-size: 20px;
  overflow: hidden;
  white-space: nowrap;
}
.j7-reels {
  position: absolute;
  left: 74px;
  top: 478px;
  width: 792px;
  height: 478px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  z-index: 2;
  background: #20160e;
  overflow: hidden;
  isolation: isolate;
}
.j7-reel {
  position: relative;
  min-width: 0;
  height: 478px;
  overflow: hidden;
  contain: paint;
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      #24190f,
      #54432e 48%,
      #24190f);
}
.j7-reel.anticipate {
  box-shadow: inset 0 0 14px #ffd24a;
}
.j7-strip {
  display: flex;
  flex-direction: column;
  width: 100%;
  transform: translateY(0);
}
.j7-symbol {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 calc(478px / 3);
  height: calc(478px / 3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #81633a;
  background:
    linear-gradient(
      90deg,
      #21170f,
      #655239 50%,
      #291b10);
}
.j7-symbol-art {
  display: block;
  overflow: hidden;
  flex: none;
  background: url(/games/jackpot-777/stage.png) no-repeat;
  background-size: 941px 1672px;
  transform: scale(.9);
  border-radius: 5px;
}
.j7-symbol.win {
  box-shadow: inset 0 0 0 4px #ffe08a;
  animation: j7pulse .8s ease-in-out infinite;
}
.j7-reel.moving .j7-strip {
  will-change: transform;
  animation: j7strip .36s linear infinite;
}
.j7-reel.stopped .j7-strip {
  animation: j7settle .16s ease-out;
}
@keyframes j7strip {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes j7settle {
  from {
    transform: translateY(-5px);
  }
  to {
    transform: translateY(0);
  }
}
.j7-win {
  position: absolute;
  left: 214px;
  top: 992px;
  width: 512px;
  height: 156px;
  z-index: 3;
  text-align: center;
  background: linear-gradient(#7a120c, #4a0806);
  border: 4px solid #e8c15a;
  border-radius: 22px;
  box-shadow: 0 10px 24px #000a;
}
.j7-win b {
  display: block;
  height: 42px;
  margin-top: 10px;
  color: #ffe9a0;
  font-size: 32px;
  text-shadow: 0 2px 0 #3a0800;
}
.j7-win strong {
  display: block;
  color: #fff6c8;
  font-size: 58px;
  line-height: 1;
  text-shadow: 0 3px 0 #6a2800;
}
.j7-win.on {
  animation: j7pulse .45s ease-in-out 3;
}
.j7-bet {
  position: absolute;
  left: 124px;
  top: 1388px;
  width: 158px;
  height: 52px;
  background: #120c08;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  line-height: 52px;
  border-radius: 10px;
  z-index: 4;
}
.j7-num {
  position: absolute;
  top: 1576px;
  height: 64px;
  background: #090200;
  color: #ffe08a;
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  line-height: 64px;
  z-index: 4;
}
.j7-num.bal {
  left: 72px;
  width: 220px;
}
.j7-num.stake {
  left: 368px;
  width: 210px;
}
.j7-num.gain {
  left: 688px;
  width: 210px;
}
.j7-panel {
  position: absolute;
  left: 70px;
  right: 70px;
  top: 180px;
  bottom: 280px;
  z-index: 8;
  overflow: auto;
  background: #1a0a0cf2;
  border: 3px solid #e6b84a;
  border-radius: 18px;
  padding: 20px;
  color: #ffe7a8;
  font-size: 22px;
}
.j7-panel button {
  border: 1px solid #e8c56a;
  background: #3a140e;
  color: #ffe7a8;
  border-radius: 10px;
  min-height: 40px;
  padding: 0 14px;
}
.j7-panel label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}
@keyframes j7shake {
  50% {
    transform: translateY(6px);
  }
}
@keyframes j7pulse {
  50% {
    filter: brightness(1.35);
  }
}
.j7-bet {
  top: 1444px;
  left: 104px;
  width: 174px;
  height: 43px;
  line-height: 43px;
}
.j7-num {
  top: 1604px;
  height: 46px;
  line-height: 46px;
}
.j7-num.bal {
  left: 120px;
  width: 212px;
}
.j7-num.stake {
  left: 446px;
  width: 184px;
}
.j7-num.gain {
  left: 768px;
  width: 162px;
}
.j7-win {
  left: 244px;
  top: 1022px;
  width: 465px;
  height: 110px;
  border: 0;
  border-radius: 48px;
  background:
    radial-gradient(
      ellipse,
      #9d1205,
      #590500 72%,
      #380100);
  box-shadow: none;
}
.j7-win b {
  height: 26px;
  font-size: 21px;
  margin-top: 4px;
}
.j7-win strong {
  font-size: 60px;
}
.j7-win b {
  position: absolute;
  left: -8px;
  top: -64px;
  width: 480px;
  height: 58px;
  line-height: 58px;
  margin: 0;
  border-radius: 22px;
  background: linear-gradient(#792009, #420801);
  border: 2px solid #d49b26;
  font-size: 38px;
}
.j7-win strong {
  line-height: 110px;
}
.j7-recovery {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #180805;
  color: #ffe08a;
}
.j7-recovery button {
  padding: 12px 24px;
  background: #efbd4a;
  border: 0;
  border-radius: 8px;
}
.j7-stage .j7-hit {
  color: #ffedb6;
  background: linear-gradient(#422b1c, #170b06);
  border: 2px solid #cba25c;
  border-radius: 12px;
  font-size: 27px;
  text-shadow: 0 2px 2px #000;
}
.j7-stage .j7-hit.promo,
.j7-stage .j7-hit.rank,
.j7-stage .j7-hit.gear {
  top: 35px;
  height: 65px;
  font-size: 24px;
}
.j7-stage .j7-hit.minus {
  left: 26px;
  top: 1404px;
  width: 66px;
  height: 81px;
  font-size: 39px;
}
.j7-stage .j7-hit.plus {
  left: 277px;
  top: 1404px;
  width: 65px;
  height: 81px;
  font-size: 39px;
}
.j7-bet-label {
  position: absolute;
  left: 97px;
  top: 1401px;
  width: 175px;
  text-align: center;
  color: #f7df9c;
  font-size: 24px;
  z-index: 6;
}
.j7-bet {
  left: 99px;
  top: 1437px;
  width: 174px;
  height: 46px;
  line-height: 46px;
  background: #160d08;
  font-size: 30px;
}
.j7-stage .j7-hit.spin {
  left: 368px;
  top: 1321px;
  width: 206px;
  height: 206px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 45% 20%,
      #ffb064,
      #db2812 30%,
      #a30603 73%);
  font-size: 62px;
  font-weight: 900;
  border: 4px solid #ffdc6f;
  box-shadow: inset 0 0 0 6px #b3290e, 0 3px 12px #0005;
}
.j7-stage .j7-hit.auto {
  left: 610px;
  top: 1404px;
  width: 125px;
  height: 81px;
  font-size: 29px;
}
.j7-stage .j7-hit.max {
  left: 748px;
  top: 1404px;
  width: 170px;
  height: 81px;
  font-size: 26px;
  background: linear-gradient(#ffdf79, #d19a25);
  color: #3b2307;
  text-shadow: none;
}
.j7-num {
  top: 1572px;
  height: 80px;
  line-height: 45px;
  font-size: 34px;
  background: #180b05;
  border: 0;
  border-radius: 10px;
}
.j7-num small {
  display: block;
  font-size: 22px;
  line-height: 28px;
  color: #eac888;
}
.j7-num.bal {
  left: 47px;
  width: 290px;
}
.j7-num.stake {
  left: 356px;
  width: 244px;
}
.j7-num.gain {
  left: 621px;
  width: 266px;
}
.j7-paytable {
  position: absolute;
  left: 45px;
  top: 1164px;
  width: 853px;
  height: 143px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 5px;
  z-index: 3;
}
.j7-paytable button {
  min-width: 0;
  overflow: hidden;
  background: #120905;
  border: 1px solid #74532d;
  border-radius: 9px;
  padding: 3px;
  color: #f8d999;
  font-size: 19px;
}
.j7-paytable .j7-symbol {
  height: 87px;
  min-height: 0;
  border: 0;
  background: none;
}
.j7-paytable .j7-symbol-art {
  transform: scale(.55);
  flex: none;
}
.j7-paytable button > span {
  display: block;
  font-size: 18px;
  line-height: 33px;
  white-space: nowrap;
}
.j7-stage .j7-hit.minus,
.j7-stage .j7-hit.plus,
.j7-stage .j7-hit.auto,
.j7-stage .j7-hit.max {
  top: 1398px;
  height: 98px;
  line-height: normal;
  font-size: 29px;
  border: 2px solid #d2a458;
  border-radius: 14px;
  box-shadow: inset 0 2px 3px #fff3;
  background: linear-gradient(#332316, #120b06);
}
.j7-stage .j7-hit.minus {
  left: 22px;
  width: 66px;
}
.j7-stage .j7-hit.plus {
  left: 283px;
  width: 65px;
}
.j7-stage .j7-hit.auto {
  left: 601px;
  width: 133px;
}
.j7-stage .j7-hit.max {
  left: 747px;
  width: 176px;
  background: linear-gradient(#ffdf7f, #b27b21);
  color: #261905;
}
.j7-bet-label {
  left: 90px;
  top: 1405px;
  width: 190px;
  height: 30px;
  font-size: 22px;
  background: #160d08;
}
.j7-stage .j7-bet {
  position: absolute;
  left: 90px;
  top: 1435px;
  width: 190px;
  height: 61px;
  border: 0;
  border-radius: 0;
  background: #160d08;
  color: #fff0bc;
  font-size: 30px;
  line-height: 61px;
  padding: 0;
  cursor: pointer;
  z-index: 6;
}
.j7-stage .j7-hit.auto.on {
  background: linear-gradient(#c09a40, #6f4f18);
  color: #fff4b6;
}
.slot-amount-editor input {
  display: block;
  width: 100%;
  height: 62px;
  font-size: 30px;
  border: 1px solid #cba452;
  background: #100c08;
  color: #fff0c0;
  padding: 8px;
}
.slot-amount-editor label {
  display: block;
  margin: 16px 0;
}
.cs-bet,
.gd-bet {
  padding: 0;
  border: 0;
  color: #ffe8b8;
  font-family: inherit;
  cursor: pointer;
}
.j7-reels:not(.spinning):has(.win) .j7-symbol:not(.win) {
  filter: brightness(.46) saturate(.65);
  transition: filter .25s;
}
.j7-reels:not(.spinning) .j7-symbol.win {
  position: relative;
  z-index: 2;
  filter: brightness(1.28) saturate(1.18);
  background:
    radial-gradient(
      ellipse,
      #fffbd4 0%,
      #ffdd66 35%,
      #9b7614 74%);
  outline: 5px solid #fff8b1;
  outline-offset: -5px;
  box-shadow: inset 0 0 28px 8px #ffe66b, 0 0 20px #ffe146;
  animation: none;
}
.j7-reels:not(.spinning) .j7-symbol.win::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #ffffffb0;
  box-shadow: inset 0 0 13px #fffce1;
  pointer-events: none;
}
.j7-stage button:disabled {
  opacity: 1 !important;
  cursor: not-allowed;
}
.j7-stage .j7-bet {
  background: #160b08 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  overflow: hidden;
  white-space: nowrap;
}
.j7-stage .j7-bet:disabled {
  color: #bba98c;
}
.j7-stage .j7-hit.minus,
.j7-stage .j7-hit.plus,
.j7-stage .j7-hit.auto,
.j7-stage .j7-hit.max {
  top: 1380px;
  height: 100px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.j7-bet-label {
  top: 1380px;
  height: 36px;
  line-height: 36px;
  box-sizing: border-box;
}
.j7-stage .j7-bet {
  top: 1416px;
  height: 64px;
  line-height: 64px;
  box-sizing: border-box;
}
.j7-controls-left,
.j7-controls-right {
  position: absolute;
  top: 1376px;
  height: 112px;
  z-index: 6;
  box-sizing: border-box;
  padding: 8px;
  background: linear-gradient(#2b1b10, #100704);
  border: 2px solid #d2a458;
  border-radius: 15px;
  box-shadow: 0 4px 12px #0009;
}
.j7-controls-left {
  left: 22px;
  width: 326px;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  grid-template-rows: 30px 62px;
  gap: 0 4px;
}
.j7-stage .j7-controls-left .j7-hit {
  position: static;
  width: 58px;
  height: 92px;
  grid-row: 1/3;
  align-self: center;
  margin: 0;
}
.j7-controls-left .minus {
  grid-column: 1;
}
.j7-controls-left .plus {
  grid-column: 3;
}
.j7-controls-left .j7-bet-label {
  position: static;
  grid-column: 2;
  grid-row: 1;
  width: auto;
  height: auto;
  font-size: 22px;
  line-height: 30px;
  background: none;
}
.j7-stage .j7-controls-left .j7-bet {
  position: static;
  grid-column: 2;
  grid-row: 2;
  width: auto;
  height: auto;
  font-size: 29px;
  line-height: 62px;
  background: transparent !important;
}
.j7-controls-right {
  left: 599px;
  width: 324px;
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 8px;
}
.j7-stage .j7-controls-right .j7-hit {
  position: static;
  width: auto;
  height: 92px;
  font-size: 27px;
  padding: 0;
  margin: 0;
}
.j7-stage .j7-back,
.j7-stage .j7-hit.history,
.j7-stage .j7-hit.rules,
.j7-stage .j7-hit.promo,
.j7-stage .j7-hit.rank,
.j7-stage .j7-hit.gear {
  top: 35px;
  width: 100px;
  height: 65px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid #cba25c;
  border-radius: 12px;
  background: linear-gradient(#422b1c, #170b06);
  color: #ffedb6;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 2px #000;
  cursor: pointer;
}
.j7-stage .j7-back {
  left: 12px;
}
.j7-stage .j7-hit.history {
  left: 118px;
}
.j7-stage .j7-hit.rules {
  left: 224px;
}
.j7-stage::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 1340px;
  width: 917px;
  height: 192px;
  box-sizing: border-box;
  z-index: 4;
  pointer-events: none;
  border: 3px solid #cba25c;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      #422916 0%,
      #1e1008 28%,
      #100704 75%,
      #322011 100%);
  box-shadow: inset 0 0 0 4px #170a04, inset 0 0 0 6px #775022;
}
.j7-stage .j7-hit.spin {
  box-shadow:
    0 0 0 7px #9e5f19,
    0 0 0 11px #f1cf75,
    inset 0 0 0 6px #b3290e,
    0 3px 12px #0005;
}
