.element-token-game {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: stretch;
  position: relative;
  background-color: #141518;
  box-sizing: border-box;
}

.element-token-game .topbar {
  display: flex;
  height: 65px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 24px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #272a31;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #1e2939;
}

.element-token-game .frame {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .logo {
  display: flex;
  width: 232px;
  align-items: center;
  gap: 76px;
  position: relative;
}

.element-token-game .kakaotalk {
  position: relative;
  width: 154px;
  height: 26px;
  aspect-ratio: 5.92;
  object-fit: cover;
}

.element-token-game .alarm {
  display: flex;
  max-width: 500px;
  width: 300px;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  position: relative;
  background-color: #303338;
  border-radius: 10px;
}

.element-token-game .vector {
  position: relative;
  width: 15px;
  height: 15px;
  aspect-ratio: 1;
}

.element-token-game .text-wrapper {
  display: -webkit-box;
  flex: 1;
  margin-top: -1.5px;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  position: relative;
  align-items: center;
  font-family: "Inter", Helvetica;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
}

.element-token-game .btn {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 12px;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .div {
  height: 40px;
  justify-content: center;
  gap: 5px;
  margin-top: -2px;
  margin-bottom: -2px;
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .div-2 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .ico-profile {
  position: relative;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
}

.element-token-game .text-wrapper-2 {
  display: flex;
  width: fit-content;
  margin-top: -1px;
  font-size: 16px;
  letter-spacing: -0.08px;
  line-height: 23.2px;
  white-space: nowrap;
  position: relative;
  align-items: center;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
}

.element-token-game .level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--purple);
  border-radius: 4px;
  overflow: hidden;
}

.element-token-game .frame-2 {
  justify-content: center;
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .text-wrapper-3 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .text-wrapper-4 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #eeff00;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .button-loout {
  position: relative;
  width: 82px;
  height: 36px;
  background-color: #303338;
  border-radius: 10px;
}

.element-token-game .text-wrapper-5 {
  position: absolute;
  top: 8px;
  left: 15px;
  font-weight: 600;
  color: #d1d5dc;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 20px;
  font-family: "Inter", Helvetica;
  text-align: center;
  white-space: nowrap;
}

.element-token-game .frame-3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .sidebar {
  display: flex;
  flex-direction: column;
  width: 256px;
  align-items: flex-start;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  background-color: #212328;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: #1e2939;
}

.element-token-game .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0px 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .div-3 {
  gap: 8px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.element-token-game .heading {
  display: flex;
  height: 16px;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.element-token-game .text-wrapper-6 {
  position: relative;
  flex: 1;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #6a7282;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 16px;
}

.element-token-game .cash-menu {
  display: flex;
  height: 35px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #303338;
  border-radius: 10px;
  overflow: hidden;
}

.element-token-game .frame-4 {
  display: inline-flex;
  height: 14px;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .ico-cash {
  position: relative;
  width: 19.06px;
  height: 15px;
  margin-top: -0.5px;
  margin-bottom: -0.5px;
  aspect-ratio: 1.27;
  background-image: url(../../img/idx-em/14_Token_game/vector-1.svg);
  background-size: 100% 100%;
}

.element-token-game .img {
  position: absolute;
  width: 100%;
  height: 65.89%;
  top: 34.11%;
  left: 0;
}

.element-token-game .vector-2 {
  position: absolute;
  width: 41.23%;
  height: 27.25%;
  top: 72.75%;
  left: 58.77%;
}

.element-token-game .text-wrapper-7 {
  position: relative;
  display: flex;
  align-items: center;
  width: 23px;
  height: 17px;
  margin-top: -2.5px;
  margin-bottom: -0.5px;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .ico-cashback {
  position: relative;
  width: 19px;
  height: 15px;
  margin-top: -0.5px;
  margin-bottom: -0.5px;
  aspect-ratio: 1.21;
}

.element-token-game .ico-point {
  position: relative;
  width: 12.33px;
  height: 15px;
  margin-top: -0.5px;
  margin-bottom: -0.5px;
  aspect-ratio: 0.82;
  background-image: url(../../img/idx-em/14_Token_game/vector-4.svg);
  background-size: 100% 100%;
}

.element-token-game .vector-3 {
  position: absolute;
  width: 66.08%;
  height: 76.84%;
  top: 23.16%;
  left: 33.92%;
}

.element-token-game .text-wrapper-8 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -2.5px;
  margin-bottom: -0.5px;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .div-4 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .link-wrapper {
  height: 30px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.element-token-game .link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0px 0px 0px 8px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 10px;
}

.element-token-game .icon {
  height: 20px;
  position: relative;
  width: 20px;
}

.element-token-game .vector-4 {
  position: absolute;
  width: 83.33%;
  height: 41.67%;
  top: 58.33%;
  left: 16.67%;
}

.element-token-game .vector-5 {
  position: absolute;
  width: 70.83%;
  height: 91.67%;
  top: 8.33%;
  left: 29.17%;
}

.element-token-game .div-wrapper {
  position: relative;
  width: 70px;
  height: 20px;
}

.element-token-game .text-wrapper-9 {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.element-token-game .icon-2 {
  position: relative;
  width: 20px;
}

.element-token-game .sidebar-2 {
  position: relative;
  width: 42px;
  height: 20px;
}

.element-token-game .text-wrapper-10 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.element-token-game .text-wrapper-11 {
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Inter", Helvetica;
  color: #eeff00;
  white-space: nowrap;
}

.element-token-game .calendar {
  position: relative;
  width: 20px;
  height: 18px;
  aspect-ratio: 1.09;
  background-image: url(../../img/idx-em/14_Token_game/vector-8.svg);
  background-size: 100% 100%;
}

.element-token-game .vector-stroke {
  position: absolute;
  height: 55.56%;
  top: 44.44%;
  left: calc(50.00% - 4px);
  width: 8px;
}

.element-token-game .sidebar-3 {
  position: relative;
  width: 93.84px;
  height: 20px;
}

.element-token-game .train-ticket {
  position: relative;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
  background-image: url(../../img/idx-em/14_Token_game/vector-9.svg);
  background-size: 100% 100%;
}

.element-token-game .vector-6 {
  position: absolute;
  width: 64.58%;
  height: 66.67%;
  top: 33.33%;
  left: 35.42%;
}

.element-token-game .vector-7 {
  position: absolute;
  width: 54.17%;
  height: 47.92%;
  top: 52.08%;
  left: 45.83%;
}

.element-token-game .vector-8 {
  position: absolute;
  width: 91.67%;
  height: 70.84%;
  top: 29.16%;
  left: 8.33%;
}

.element-token-game .vector-9 {
  position: absolute;
  width: 54.17%;
  height: 70.84%;
  top: 29.16%;
  left: 45.83%;
}

.element-token-game .vector-10 {
  position: absolute;
  width: 83.33%;
  height: 54.17%;
  top: 45.83%;
  left: 16.67%;
}

.element-token-game .vector-11 {
  position: absolute;
  width: 83.33%;
  height: 91.67%;
  top: 8.33%;
  left: 16.67%;
}

.element-token-game .vector-12 {
  position: absolute;
  width: 91.67%;
  height: 95.84%;
  top: 4.16%;
  left: 8.33%;
}

.element-token-game .vector-13 {
  position: absolute;
  width: 54.17%;
  height: 37.50%;
  top: 62.50%;
  left: 45.83%;
}

.element-token-game .sidebar-4 {
  position: relative;
  width: 56px;
  height: 20px;
}

.element-token-game .ico-notice-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1px 0px;
  position: relative;
  width: 20px;
}

.element-token-game .ico-notice {
  position: relative;
  width: 18.5px;
  height: 18.5px;
  margin-top: -0.25px;
  margin-bottom: -0.25px;
  aspect-ratio: 1;
}

.element-token-game .link-wrapper-2 {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 36px;
}

.element-token-game .link-2 {
  display: flex;
  width: 223px;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 8px;
  position: relative;
  border-radius: 10px;
}

.element-token-game .sidebar-5 {
  display: flex;
  width: 74px;
  height: 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.element-token-game .trophy {
  display: flex;
  flex-direction: column;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 106px 155px;
  position: relative;
  margin-top: -2.5px;
  margin-bottom: -2.5px;
}

.element-token-game .trophy-stroke {
  position: relative;
  width: 16px;
  height: 23px;
  margin-top: -105px;
  margin-bottom: -105px;
  margin-left: -150.5px;
  margin-right: -150.5px;
  aspect-ratio: 0.7;
}

.element-token-game .text {
  position: relative;
  flex: 1;
  flex-grow: 1;
  height: 20px;
}

.element-token-game .div-5 {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.element-token-game .span {
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 20px;
}

.element-token-game .text-wrapper-12 {
  font-size: 12px;
}

.element-token-game .vector-wrapper {
  position: relative;
  width: 16px;
  height: 16px;
}

.element-token-game .vector-14 {
  position: absolute;
  width: 66.67%;
  height: 79.16%;
  top: 20.84%;
  left: 33.33%;
}

.element-token-game .sidebar-6 {
  display: flex;
  width: 60px;
  height: 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.element-token-game .img-2 {
  position: relative;
  width: 25px;
  height: 25px;
  margin-top: -2.5px;
  margin-bottom: -2.5px;
  aspect-ratio: 1;
}

.element-token-game .sidebar-7 {
  display: flex;
  width: 88px;
  height: 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.element-token-game .live {
  position: relative;
  width: 25px;
  margin-top: -1.75px;
  margin-bottom: -1.75px;
  aspect-ratio: 1;
}

.element-token-game .sidebar-8 {
  display: flex;
  width: 106.92px;
  height: 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.element-token-game .chip {
  position: relative;
  width: 25px;
  margin-top: -1.5px;
  margin-bottom: -1.5px;
}

.element-token-game .token-game {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 36px;
  background-color: #303338;
  border-radius: 10px;
}

.element-token-game .coin {
  position: relative;
  width: 25px;
  margin-top: -1.5px;
  margin-bottom: -1.5px;
  aspect-ratio: 1;
}

.element-token-game .text-wrapper-13 {
  position: absolute;
  top: 0;
  left: 0;
  text-shadow: 0px 0px 4px #ffffff33;
  font-family: "Inter", Helvetica;
  font-weight: 900;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.element-token-game .bet {
  display: flex;
  flex-direction: column;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: -2.5px;
  margin-bottom: -2.5px;
}

.element-token-game .vector-15 {
  position: relative;
  width: 23px;
  height: 23px;
  aspect-ratio: 1;
}

.element-token-game .x {
  position: relative;
  width: 25px;
  height: 22.28px;
  margin-top: -1.14px;
  margin-bottom: -1.14px;
  aspect-ratio: 1.12;
}

.element-token-game .vector-stroke-2 {
  position: absolute;
  width: 96.38%;
  height: 60.98%;
  top: 39.02%;
  left: 3.62%;
}

.element-token-game .vector-stroke-3 {
  position: absolute;
  width: 86.23%;
  height: 44.72%;
  top: 55.28%;
  left: 13.77%;
}

.element-token-game .vector-stroke-4 {
  position: absolute;
  width: 60.87%;
  height: 44.72%;
  top: 55.28%;
  left: 39.13%;
}

.element-token-game .vector-stroke-5 {
  position: absolute;
  width: 35.51%;
  height: 44.72%;
  top: 55.28%;
  left: 64.49%;
}

.element-token-game .vector-stroke-6 {
  position: absolute;
  width: 75.36%;
  height: 100%;
  top: 0;
  left: 24.64%;
}

.element-token-game .vector-stroke-7 {
  position: absolute;
  width: 100%;
  height: 77.24%;
  top: 22.76%;
  left: 0;
}

.element-token-game .vector-stroke-8 {
  position: absolute;
  width: 28.26%;
  height: 77.24%;
  top: 22.76%;
  left: 71.74%;
}

.element-token-game .ace-diamonds {
  position: relative;
  width: 25px;
  height: 25px;
  margin-top: -2.5px;
  margin-bottom: -2.5px;
}

.element-token-game .image {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.element-token-game .main-content-wrapper {
  padding: 10px;
  flex: 1;
  align-self: stretch;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.element-token-game .main-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
}

.element-token-game .home {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
}

/* 태블릿 이하: game_casino_nor 상단 카테고리와 동형 (데스크톱에서는 숨김) */
.element-token-game .idx-tg-game-cat-row {
  display: none;
}

@media (max-width: 1024px) {
  .element-token-game .home {
    gap: 10px;
  }

  .element-token-game .idx-tg-game-cat-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    align-self: stretch;
    position: relative;
    background-color: #272a31;
    border-radius: 16px;
    overflow: hidden;
    gap: 4px;
    padding: 8px 14px;
    margin-bottom: 0;
    box-sizing: border-box;
  }
}

.element-token-game .idx-tg-game-cat-row > .idx-casino-cat-btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: opacity 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 3px;
  position: relative;
  width: 100%;
  min-height: 30px;
  border-radius: 3px;
  background: transparent;
  color: #ffffff;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  font-size: 12px;
  line-height: 14.4px;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.element-token-game .idx-tg-game-cat-row > .idx-casino-cat-btn:visited {
  color: #ffffff;
}

.element-token-game .idx-tg-game-cat-row > .idx-casino-cat-btn:not(.is-selected) {
  opacity: 0.35;
  background-color: transparent;
  box-shadow: none;
}

.element-token-game .idx-tg-game-cat-row > .idx-casino-cat-btn.is-selected {
  opacity: 1;
  background-color: #3b3f46;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.element-token-game .idx-tg-game-cat-row > .idx-casino-cat-btn:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
}

.element-token-game .board {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
}

.element-token-game .board-list {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  align-items: center;
  gap: 4px;
  position: relative;
  flex: 1;
  align-self: stretch;
  flex-grow: 1;
}

.element-token-game .board-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: stretch;
  width: 100%;
}

.element-token-game .idx-tg-board__contents {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: stretch;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.element-token-game .idx-tg-game-content {
  display: none;
  flex-direction: column;
  gap: 4px;
  align-self: stretch;
  width: 100%;
}

.element-token-game .idx-tg-game-content.is-active {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.element-token-game .idx-tg-board--loading .idx-tg-board__contents {
  pointer-events: none;
}

.element-token-game .board-category {
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #272a31;
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 auto;
}

.element-token-game .board-category > .idx-tg-cat-btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: opacity 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.element-token-game .board-category > .idx-tg-cat-btn:not(.is-selected) {
  opacity: 0.35;
  background-color: transparent;
  box-shadow: none;
}

.element-token-game .board-category > .idx-tg-cat-btn.is-selected {
  opacity: 1;
  background-color: var(--purple);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.element-token-game .board-category > .idx-tg-cat-btn:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
}

.element-token-game .idx-tg-cat-item--active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0px 3px;
  position: relative;
  flex: 1;
  align-self: stretch;
  flex-grow: 1;
  background-color: var(--purple);
  border-radius: 10px;
}

.element-token-game .idx-tg-cat-label {
  display: -webkit-box;
  justify-content: center;
  align-self: stretch;
  font-size: 15px;
  text-align: center;
  letter-spacing: -0.07px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  position: relative;
  align-items: center;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
}

.element-token-game .idx-tg-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0px 3px;
  position: relative;
  flex: 1;
  align-self: stretch;
  flex-grow: 1;
  border-radius: 3px;
  opacity: 0.2;
}

.element-token-game .live-picture-wrapper {
  display: flex;
  align-items: stretch;
  gap: 4px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  min-width: 0;
}

.element-token-game .idx-tg-game-content.is-active .live-picture-wrapper:has(.idx-tg-live__iframe) {
  flex: 1 1 auto;
  min-height: 0;
}

.element-token-game .live-picture {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #272a31;
  border-radius: 16px;
  overflow: hidden;
}

.element-token-game .live-picture-2 {
  position: relative;
  align-self: stretch;
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1.78;
  background-image: url(../../img/idx-em/14_Token_game/live-picture.svg);
  background-size: cover;
  background-position: 50% 50%;
}

.element-token-game .live-picture-2:has(> .idx-tg-live-banner-img) {
  background-image: none;
}

.element-token-game .live-picture-2 > .idx-tg-live-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.element-token-game .live-picture.idx-tg-live--iframe {
  padding: 0;
  align-items: stretch;
  align-self: stretch;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.element-token-game .live-picture-2--iframe {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: unset;
  background-image: none;
  overflow: hidden;
  border-radius: 16px;
}

.element-token-game .live-picture-2--iframe .idx-tg-live__iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  border: 0;
  border-radius: 16px;
}

.element-token-game .bet-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #272a31;
  border-radius: 16px;
  overflow: hidden;
}

.element-token-game .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .idx-tg-history-title-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 273px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .idx-tg-history-title-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #d1d5dc;
  font-size: 12px;
  text-align: center;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .idx-tg-history-table {
  gap: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .subject {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 5px;
  overflow: hidden;
}

.element-token-game .idx-tg-history-head-cell {
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #212328;
}

.element-token-game .idx-tg-history-head-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-weight: 400;
  color: #99a1af;
  font-size: 10px;
  letter-spacing: -0.05px;
  line-height: 14.5px;
  font-family: "Inter", Helvetica;
  text-align: center;
  white-space: nowrap;
}

.element-token-game .list {
  gap: 4px;
  flex: 0 0 auto;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.element-token-game .idx-tg-history-row {
  gap: 2px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.element-token-game .idx-tg-history-cell {
  height: 30px;
  justify-content: center;
  gap: 4px;
  padding: 4px 6px;
  flex: 1;
  flex-grow: 1;
  background-color: #3b3f46;
  display: flex;
  align-items: center;
  position: relative;
}

.element-token-game .idx-tg-history-cell-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .list.idx-tg-history-list--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 16px 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-family: "Inter", Helvetica;
  text-align: center;
}

.element-token-game .idx-tg-history-cell-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #ff4e00;
  font-size: 12px;
  text-align: center;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
  cursor: pointer;
}

.element-token-game .page {
  display: flex;
  height: 30px;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.element-token-game .idx-tg-history-page-num {
  justify-content: center;
  flex: 1;
  height: 20px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Inter", Helvetica;
  color: #eeff00;
  white-space: nowrap;
}

.element-token-game .user-board {
  display: flex;
  flex-direction: column;
  width: 300px;
  align-items: flex-start;
  gap: 5px;
  position: relative;
}

.element-token-game .div-6 {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #272a31;
  border-radius: 16px;
  overflow: hidden;
}

.element-token-game .div-7 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .user-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
}

.element-token-game .div-8 {
  gap: 4px;
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .ico-profile-2 {
  position: relative;
  width: 14px;
  height: 14px;
  aspect-ratio: 1;
}

.element-token-game .text-wrapper-20 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  white-space: nowrap;
}

.element-token-game .frame-wrapper {
  display: flex;
  width: 30px;
  height: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #fa52ff;
  border-radius: 4px;
  overflow: hidden;
}

.element-token-game .frame-9 {
  justify-content: flex-end;
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .text-wrapper-21 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: -0.05px;
  line-height: 14.5px;
  white-space: nowrap;
}

.element-token-game .text-wrapper-22 {
  width: fit-content;
  margin-top: -1px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: -0.05px;
  line-height: 14.5px;
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Inter", Helvetica;
  color: #eeff00;
  white-space: nowrap;
}

.element-token-game .frame-10 {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .ico-massage {
  position: relative;
  width: 14.23px;
  height: 14.17px;
  margin-left: -0.12px;
  aspect-ratio: 1;
}

.element-token-game .text-wrapper-23 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  white-space: nowrap;
}

.element-token-game .text-wrapper-24 {
  width: fit-content;
  margin-top: -1px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Inter", Helvetica;
  color: #eeff00;
  white-space: nowrap;
}

.element-token-game .div-9 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #303338;
  border-radius: 10px;
  overflow: hidden;
}

.element-token-game .group {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 7.5px;
  border: 1px solid;
  border-color: var(--purple);
  aspect-ratio: 1;
}

.element-token-game .image-2 {
  position: absolute;
  top: 4px;
  left: 3px;
  width: 8px;
  height: 7px;
}

.element-token-game .text-wrapper-25 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #d1d5dc;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .frame-11 {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .text-wrapper-26 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #eeff00;
  font-size: 12px;
  text-align: right;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .text-wrapper-27 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  text-align: right;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .img-wrapper {
  position: relative;
  width: 14.88px;
  height: 14.88px;
  aspect-ratio: 1;
  background-image: url(../../img/idx-em/14_Token_game/vector-29.svg);
  background-size: 100% 100%;
}

.element-token-game .vector-16 {
  position: absolute;
  width: 67.70%;
  height: 71.48%;
  top: 28.52%;
  left: 32.30%;
}

.element-token-game .ico-point-wrapper {
  display: flex;
  flex-direction: column;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1;
}

.element-token-game .ico-point-2 {
  position: relative;
  width: 12.33px;
  height: 15px;
  background-image: url(../../img/idx-em/14_Token_game/vector-31.svg);
  background-size: 100% 100%;
}

.element-token-game .roulette {
  position: relative;
  width: 15px;
  height: 15px;
  overflow: hidden;
  aspect-ratio: 1;
}

.element-token-game .group-2 {
  position: relative;
  width: 94.12%;
  height: 100.00%;
  left: 2.94%;
  display: flex;
  background-image: url(../../img/idx-em/14_Token_game/vector-33.svg);
  background-size: 100% 100%;
}

.element-token-game .vector-17 {
  flex: 1;
  width: 4.37px;
}

.element-token-game .bet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #3b3f46;
  border-radius: 10px;
  overflow: hidden;
  border-color: var(--purple);
}

.element-token-game .frame-12 {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .check-box-on {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .check-box-on-2 {
  position: relative;
  width: 12px;
  height: 12px;
  aspect-ratio: 1;
  background-image: url(../../img/idx-em/14_Token_game/vector-35.svg);
  background-size: 100% 100%;
}

.element-token-game .vector-18 {
  position: absolute;
  top: calc(50.00% - 4px);
  left: calc(50.00% - 4px);
  width: 9px;
  height: 7px;
  aspect-ratio: 1.33;
}

.element-token-game .text-wrapper-28 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #99a1af;
  font-size: 10px;
  letter-spacing: -0.05px;
  line-height: 12px;
  white-space: nowrap;
}

.element-token-game .line {
  position: relative;
  width: 1px;
  height: 12px;
  object-fit: cover;
}

.element-token-game .delete {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .delete-2 {
  position: relative;
  width: 10px;
  height: 10px;
  aspect-ratio: 1;
}

.element-token-game .vector-19 {
  position: absolute;
  width: 91.34%;
  height: 100%;
  top: 0;
  left: 8.66%;
}

.element-token-game .frame-13 {
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .bet-cash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #3b3f46;
}

.element-token-game .input {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.element-token-game .frame-14 {
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: flex-end;
  padding: 4px 10px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #272a31;
  border-radius: 8px;
  overflow: hidden;
}

.element-token-game .text-wrapper-29 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #eeff00;
  font-size: 14px;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  white-space: nowrap;
}

.element-token-game .frame-15 {
  display: inline-flex;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  flex: 0 0 auto;
  background-color: #e701e2;
  border-radius: 8px;
  overflow: hidden;
}

.element-token-game .text-wrapper-30 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -4.5px;
  margin-bottom: -2.5px;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .bet-list-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 10px 15px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #3b3f46;
}

.element-token-game .frame-16 {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .frame-17 {
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: center;
  gap: 1px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #303338;
  border-radius: 8px;
}

.element-token-game .text-wrapper-31 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: fit-content;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #7f8691;
  font-size: 12px;
  text-align: right;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .frame-18 {
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: center;
  gap: 1px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #e701e2;
  border-radius: 8px;
}

.element-token-game .text-wrapper-32 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: fit-content;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
  text-align: right;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-token-game .bet-cal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 14px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #3b3f46;
}

.element-token-game .frame-19 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-token-game .btn-bet {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #00bc7d;
  border-radius: 10px;
  box-shadow: 0px 0px 15px #10b9814c;
}

.element-token-game .text-wrapper-33 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: -0.09px;
  line-height: 26.1px;
  white-space: nowrap;
}

.element-token-game .bet-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.element-token-game .detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 15px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #303338;
}

.element-token-game .text-wrapper-34 {
  display: flex;
  width: fit-content;
  margin-top: -1px;
  font-weight: 400;
  color: #7f8691;
  white-space: nowrap;
  position: relative;
  align-items: center;
  font-family: "Inter", Helvetica;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
}

.element-token-game .text-wrapper-35 {
  display: flex;
  justify-content: flex-end;
  width: fit-content;
  margin-top: -1px;
  font-weight: 400;
  color: #d1d5dc;
  text-align: right;
  white-space: nowrap;
  position: relative;
  align-items: center;
  font-family: "Inter", Helvetica;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
}

.element-token-game .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #272a31;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-color: #1e2939;
}

.element-token-game .text-5 {
  display: inline-flex;
  align-items: flex-end;
  position: relative;
  flex: 0 0 auto;
}

.element-token-game .text-wrapper-36 {
  position: relative;
  width: fit-content;
  margin-top: -0.67px;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: var(--purple);
  font-size: 20px;
  letter-spacing: -0.8px;
  line-height: 20px;
  white-space: nowrap;
}

.element-token-game .text-wrapper-37 {
  width: fit-content;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.8px;
  line-height: 16.3px;
  white-space: nowrap;
  position: relative;
  font-family: "Inter", Helvetica;
}

.element-token-game .container-2 {
  width: 794.34px;
  gap: 3px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.element-token-game .p {
  position: relative;
  align-self: stretch;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6a7282;
  font-size: 12px;
  text-align: right;
  letter-spacing: 0;
  line-height: 16px;
}

.element-token-game .TINGBET {
  position: relative;
  align-self: stretch;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: transparent;
  font-size: 12px;
  text-align: right;
  letter-spacing: 0;
  line-height: 16px;
}

.element-token-game .text-wrapper-38 {
  font-weight: 500;
  color: #f952ff;
}

.element-token-game .text-wrapper-39 {
  color: #6a7282;
}

.element-token-game .text-wrapper-40 {
  position: relative;
  align-self: stretch;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6a7282;
  font-size: 12px;
  text-align: right;
  letter-spacing: 0;
  line-height: 16px;
}

/* 토큰게임 라이브 iframe: 남은 화면 높이 꽉 채움 */
.idx-sp-page .idx-sp-body:has(.element-token-game) {
  align-items: stretch;
}

.idx-sp-page .idx-sp-body > .idx-page-section:has(.element-token-game) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.element-token-game.idx-em-surface {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.element-token-game .idx-tg-game-cat-row {
  flex: 0 0 auto;
}

.element-token-game .board,
.element-token-game .board-list[data-idx-tg-board-root] {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
  width: 100%;
}

.element-token-game .idx-tg-game-content.is-active:has(.idx-tg-live__iframe) {
  max-height: calc(100dvh - 200px);
}

.element-token-game .idx-tg-game-content.is-active:has(.idx-tg-live__iframe) .live-picture-wrapper {
  flex: 1 1 0;
  min-height: 0;
}

.element-token-game .idx-tg-game-content.is-active:has(.idx-tg-live__iframe) .live-picture-2--iframe,
.element-token-game .idx-tg-game-content.is-active:has(.idx-tg-live__iframe) .idx-tg-live__iframe {
  min-height: 0;
  height: 100%;
}

.element-token-game .idx-tg-game-content.is-active .bet-list {
  flex: 0 0 auto;
  max-height: 28vh;
  overflow: hidden;
}

.element-token-game .idx-tg-game-content.is-active .idx-tg-history-table .list {
  max-height: 18vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1025px) {
  .element-token-game .idx-tg-game-content.is-active:has(.idx-tg-live__iframe) {
    max-height: none;
    min-height: calc(100dvh - 260px);
  }

  .element-token-game .idx-tg-game-content.is-active:has(.idx-tg-live__iframe) .live-picture-wrapper {
    min-height: calc(100dvh - 380px);
  }

  .element-token-game .idx-tg-game-content.is-active:has(.idx-tg-live__iframe) .live-picture-2--iframe,
  .element-token-game .idx-tg-game-content.is-active:has(.idx-tg-live__iframe) .idx-tg-live__iframe {
    min-height: calc(100dvh - 400px);
  }
}
