.fortune-open{
  color: #e9cf8f;
  border-color: #8c784a;
  background: #35301e;
  font-weight: 600;
  white-space: nowrap;
}
.minigame-dialog{
  width: min(1000px, calc(100% - 24px));
  max-height: 94vh;
}
.minigame-dialog .dialog-body{
  padding: 0;
  max-height: calc(94vh - 60px);
}
.roulette-empty{
  padding: 16px;
  text-align: center;
  color: #95a185 !important;
}
@media (max-width: 600px){.minigame-dialog{
    width: calc(100% - 12px);
    max-height: 96vh;
  }
.minigame-dialog .dialog-body{
    max-height: calc(96vh - 56px);
  }
}
.roulette-card-art i{
  display: block;
  width: 85px;
  height: 85px;
  border: 5px solid #bca56b;
  border-radius: 50%;
  background:
    conic-gradient(
      #d6b366 0 40%,
      #829d75 40% 67%,
      #9c8ec3 67% 83%,
      #6eaaa7 83%);
  box-shadow: 0 0 0 6px #151c14, inset 0 0 0 22px #1c261c;
}
.roulette-heading{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 20px 24px;
  background:
    linear-gradient(
      120deg,
      #302c1c,
      #172018);
}
.roulette-heading h3{
  font-size: 25px;
  color: #ecd8a5;
}
.roulette-heading p{
  margin: 3px 0 !important;
}
.roulette-wallet{
  text-align: right;
  white-space: nowrap;
}
.roulette-wallet small{
  display: block;
}
.roulette-wallet b{
  font-size: 18px;
  color: #ebd49a;
}
.roulette-layout{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  padding: 22px;
}
.roulette-arena{
  min-width: 0;
  text-align: center;
}
.roulette-clock{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  color: #b8c5a3;
  font-size: 12px;
}
.roulette-clock strong{
  color: #e7ce96;
  font-variant-numeric: tabular-nums;
}
.roulette-wheel{
  position: relative;
  width: min(100%, 350px);
  aspect-ratio: 1;
  margin: 22px auto 18px;
  border: 7px solid #a68d52;
  border-radius: 50%;
  background: #24301e;
  box-shadow: 0 0 0 6px #121911, 0 0 0 8px #625735;
}
.roulette-wheel canvas{
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}
.roulette-wheel canvas.spinning{
  will-change: transform;
}
.roulette-pointer{
  position: absolute;
  z-index: 3;
  left: calc(50% - 12px);
  top: -16px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 27px solid #f4dfaa;
  filter: drop-shadow(0 2px 3px #000);
}
.roulette-hub{
  position: absolute;
  inset: 33%;
  border-radius: 50%;
  background: #172017;
  border: 3px solid #c0a76e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 10px #0007;
}
.roulette-hub b{
  font-size: 16px;
  color: #f1dba1;
}
.roulette-hub span{
  font-size: 10px;
  color: #a9b39a;
}
.roulette-hub small{
  font-size: 10px;
}
.roulette-result{
  min-height: 50px;
  color: #e2ca90;
  font-size: 15px;
  padding: 7px 4px;
}
.roulette-side{
  min-width: 0;
}
.roulette-own{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #404932;
  color: #a8b997;
}
.roulette-own b{
  display: block;
  font-size: 19px;
  color: #edd89d;
}
.roulette-stake-label{
  margin: 14px 0 5px !important;
}
.roulette-stake-label input{
  display: block;
  width: 100%;
  font-size: 18px;
  text-align: right;
  margin-top: 5px;
}
.roulette-presets{
  display: flex;
  gap: 5px;
  margin-top: 8px;
}
.roulette-presets button{
  flex: 1;
  padding: 5px;
  font-size: 11px;
}
.roulette-join{
  width: 100%;
  margin-top: 12px;
  padding: 10px;
}
.roulette-note{
  font-size: 10px !important;
  line-height: 1.8;
  color: #8f9c80 !important;
}
.roulette-message{
  min-height: 23px;
  color: #b9d3a7;
  font-size: 12px;
}
.roulette-claim{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  background: #3c3520;
}
.roulette-claim[hidden]{
  display: none;
}
.roulette-roster-heading{
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #3b442e;
}
.roulette-roster{
  max-height: 205px;
  overflow: auto;
  scrollbar-gutter: stable;
}
.roulette-entry{
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid #303a2a;
  font-size: 12px;
}
.roulette-entry i{
  width: 9px;
  height: 24px;
  border-radius: 3px;
}
.roulette-entry small{
  display: block;
}
.roulette-entry.me{
  color: #ebd295;
}
.roulette-history{
  border-top: 1px solid #39432d;
  padding: 15px 22px;
}
.roulette-history > div{
  max-height: 150px;
  overflow: auto;
}
.roulette-history-row{
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #303a2a;
  font-size: 11px;
}
@media (max-width: 600px){.roulette-card-art i{
    width: 63px;
    height: 63px;
    box-shadow: inset 0 0 0 15px #1c261c;
  }
.roulette-heading{
    padding: 14px;
    align-items: flex-start;
  }
.roulette-heading h3{
    font-size: 20px;
  }
.roulette-heading p{
    font-size: 10px !important;
  }
.roulette-wallet b{
    font-size: 13px;
  }
.roulette-layout{
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 8px;
  }
.roulette-wheel{
    width: 265px;
    margin: 18px auto;
  }
.roulette-result{
    min-height: 34px;
    font-size: 13px;
  }
.roulette-hub b{
    font-size: 12px;
  }
.roulette-roster{
    max-height: 180px;
  }
.roulette-heading small{
    font-size: 10px;
  }
.roulette-history{
    padding: 12px;
  }
.roulette-history-row{
    grid-template-columns: 50px 1fr auto;
    font-size: 10px;
  }
}
.roulette-card-art i{
  position: relative;
  box-shadow: 0 0 0 5px #151c14;
}
.roulette-card-art i::after{
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: #182117;
  border: 1px solid #cab175;
}
@media (max-width: 600px){.roulette-card-art i{
    box-shadow: 0 0 0 3px #151c14;
  }
}
.roulette-experience{
  --roulette-accent:#d8bc7f;
}
.roulette-experience .roulette-arena{
  position: relative;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      #39463144,
      transparent 68%);
  border-radius: 12px;
}
.roulette-stage-label{
  min-height: 25px;
  margin: 14px 0 0;
  color: #acb497;
  font-size: 12px;
  letter-spacing: 2px;
}
.roulette-experience .roulette-wheel{
  border: 9px solid #a89157;
  box-shadow:
    0 0 0 3px #ede0a577,
    0 0 0 8px #151c12,
    0 0 0 10px #73613a,
    0 12px 34px #0008;
  isolation: isolate;
}
.roulette-rim{
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      #ffe7a0 0deg 1deg,
      transparent 1deg 10deg);
  mask:
    radial-gradient(
      circle,
      transparent 67%,
      #000 68%,
      #000 71%,
      transparent 72%);
  pointer-events: none;
}
.roulette-wheel-gloss{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #fff7d52b,
      transparent 42%,
      #0004);
  pointer-events: none;
}
.roulette-experience .roulette-pointer{
  top: -23px;
  filter: drop-shadow(0 2px 2px #000) drop-shadow(0 0 4px #e9c35d88);
  transform-origin: 50% 2px;
}
.roulette-experience .roulette-hub{
  inset: 32%;
  z-index: 2;
  background:
    radial-gradient(
      circle at 35% 25%,
      #3d4430,
      #131d16 72%);
  border: 4px double #cfb67c;
  box-shadow: 0 0 0 5px #192017dd, 0 4px 12px #0009;
}
.roulette-experience .roulette-hub b{
  font-variant-numeric: tabular-nums;
}
.roulette-focus{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 12px;
  margin: 22px auto 5px;
  max-width: 340px;
  padding: 12px 17px;
  border: 1px solid #64744b;
  border-left: 3px solid var(--roulette-accent);
  border-radius: 6px;
  background:
    linear-gradient(
      110deg,
      #293425,
      #121b14);
  text-align: left;
  min-height: 72px;
}
.roulette-focus small{
  grid-column: 1 / -1;
  color: #9eac8b;
  font-size: 10px;
  letter-spacing: 1px;
}
.roulette-focus b{
  color: #eee4c9;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.roulette-focus > span{
  color: var(--roulette-accent);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.roulette-audio{
  display: block;
  margin: 7px 0 0 auto;
  padding: 3px 7px;
  font-size: 10px;
  color: #bdbb9b;
  background: #182119;
}
.roulette-audio[hidden]{
  display: none;
}
.roulette-entry.current{
  background: #43513b55;
}
.roulette-entry.winner{
  background: #5a4e2677;
  color: #ffe2a0;
  border-color: #a58a48;
}
.roulette-experience[data-roulette-phase=locked] .roulette-stage-label,
.roulette-experience[data-roulette-phase=launch] .roulette-stage-label{
  color: #e4cb8e;
}
.roulette-experience[data-roulette-phase=spin] .roulette-rim{
  filter: drop-shadow(0 0 4px #efc669);
}
.roulette-experience[data-roulette-phase=brake] .roulette-stage-label{
  color: #e7c37d;
}
.roulette-experience[data-roulette-phase=creep] .roulette-stage-label{
  color: #ffdea5;
  font-weight: bold;
}
.roulette-experience[data-roulette-phase=creep] .roulette-wheel{
  box-shadow:
    0 0 0 3px #f3d99299,
    0 0 0 8px #151c12,
    0 0 0 10px #ad8e4c,
    0 0 30px #d8b35433;
}
.roulette-experience[data-roulette-phase=result] .roulette-focus{
  border-color: #ddc17f;
  background:
    linear-gradient(
      110deg,
      #53462b,
      #26301f);
}
.roulette-experience[data-roulette-phase=result] .roulette-result{
  color: #ffe2a0;
  font-weight: bold;
}
.roulette-experience .roulette-result{
  min-height: 52px;
  line-height: 1.6;
}
.roulette-sparks{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
}
.roulette-sparks i{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #e9cc76;
  opacity: 0;
  transform: rotate(var(--spark-angle)) translateY(-100px);
}
.roulette-celebrate .roulette-sparks i{
  animation: roulette-spark 950ms ease-out var(--spark-delay) both;
}
.roulette-celebrate .roulette-result{
  animation: roulette-reveal 500ms ease-out both;
}
.roulette-reduced .roulette-sparks{
  display: none;
}
.roulette-reduced *{
  animation: none !important;
  transition: none !important;
}
@keyframes roulette-spark{
  0% {
    opacity: 0;
    transform: rotate(var(--spark-angle)) translateY(-105px) scale(.4);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--spark-angle)) translateY(-198px) scale(.5);
  }
}
@keyframes roulette-reveal{
  from {
    opacity: .2;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 600px){.roulette-stage-label{
    margin-top: 12px;
  }
.roulette-focus{
    max-width: 300px;
    min-height: 66px;
    margin-top: 22px;
  }
.roulette-focus b{
    font-size: 17px;
  }
.roulette-experience .roulette-wheel{
    width: min(265px, calc(100% - 30px));
  }
.roulette-experience .roulette-result{
    font-size: 13px;
  }
.roulette-experience .roulette-hub b{
    font-size: 12px;
  }
.roulette-sparks{
    overflow: hidden;
  }
}
@media (prefers-reduced-motion: reduce){.roulette-experience *{
    animation: none !important;
    transition: none !important;
  }
}
.roulette-zoom{
  max-width: 340px;
  margin: 6px auto 10px;
  padding: 7px 10px;
  background: #141c14;
  border: 1px solid #60583b;
  border-radius: 5px;
  text-align: left;
}
.roulette-zoom[hidden]{
  display: none;
}
.roulette-zoom small{
  display: block;
  color: #c4b78f;
  font-size: 10px;
  margin-bottom: 5px;
}
.roulette-zoom canvas{
  display: block;
  width: 100%;
  height: 25px;
  border-radius: 3px;
}
@media (max-width: 600px){.roulette-zoom{
    max-width: 300px;
  }
}
.roulette-count-in{
  position: absolute;
  inset: 32%;
  z-index: 5;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      #554526,
      #162018 75%);
  border: 3px double #e4c574;
  color: #ffe3a1;
  font: bold 52px/1 sans-serif;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px #f0bd5b88;
}
.roulette-count-in[hidden]{
  display: none;
}
.roulette-progress{
  height: 4px;
  max-width: 340px;
  margin: 14px auto 3px;
  border-radius: 4px;
  overflow: hidden;
  background: #0e160f;
  border: 1px solid #465039;
}
.roulette-progress i{
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background:
    linear-gradient(
      90deg,
      #718a5d,
      #e3c17c);
  will-change: transform;
}
.roulette-experience[data-roulette-phase=launch] .roulette-rim,
.roulette-experience[data-roulette-phase=spin] .roulette-rim{
  animation: roulette-rim-orbit 1.5s linear infinite;
}
.roulette-experience[data-roulette-phase=brake] .roulette-rim,
.roulette-experience[data-roulette-phase=creep] .roulette-rim{
  animation: roulette-rim-orbit 6s linear infinite;
}
.roulette-experience[data-roulette-phase=creep] .roulette-focus{
  border-color: #d8b96e;
  box-shadow: 0 0 18px #dfbd6720;
}
.roulette-celebrate .roulette-wheel{
  animation: roulette-win-pop 600ms ease-out both;
}
.roulette-simple .roulette-rim,
.roulette-simple.roulette-celebrate .roulette-wheel,
.roulette-simple .roulette-sparks i{
  animation: none !important;
}
.roulette-simple .roulette-sparks{
  display: none;
}
@keyframes roulette-rim-orbit{
  to {
    transform: rotate(360deg);
  }
}
@keyframes roulette-win-pop{
  0% {
    scale: 1;
  }
  35% {
    scale: 1.035;
  }
  100% {
    scale: 1;
  }
}
@media (prefers-reduced-motion: reduce){.roulette-celebrate .roulette-wheel,
  .roulette-rim{
    animation: none !important;
  }
}
.roulette-experience .roulette-arena{
  overflow: hidden;
}
.roulette-disk{
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  contain: paint;
}
.roulette-history-row{
  width: 100%;
  text-align: left;
  white-space: normal;
  min-height: 44px;
}
.roulette-history-detail{
  padding: 10px 12px;
  background: #111c16;
  border: 1px solid #47513a;
}
.roulette-history-detail[hidden]{
  display: none;
}
.roulette-history-detail p{
  margin: 0 0 8px;
}
.roulette-history-detail ul{
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow: auto;
}
.roulette-history-detail li{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid #35402f;
}
.roulette-history-detail li span{
  overflow-wrap: anywhere;
}
.roulette-history-detail li b{
  color: #edcf83;
}
.roulette-history-detail small{
  min-width: 54px;
  text-align: right;
}
