
    input:focus {
	  outline: none;
	  box-shadow: none;
	}

	.overlay_sub {
      position: fixed;
      top: 40; left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 999;
    }
    .layer_sub {
      width: 90%;
      max-width: 1600px;
      height: 90vh;
      max-height: 800px;
      background-color: #16131a;
      padding: 20px;
      box-sizing: border-box;
      overflow-y: auto;
      border-radius: 8px;
      position: relative;
    }
    .game-grid_sub {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 20px;
    }

	.overlay_mini {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .hidden_mini {
      display: none;
    }

    .layer_mini {
      background: #1e1e1e;
      width: 90%;
      max-width: 1200px;
      max-height: 90vh;
      overflow-y: auto;
      border-radius: 12px;
      padding: 20px;
      position: relative;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

	.game-frame-wrapper{
		text-align: center;
	}

    .game-frame-wrapper iframe {
      border: none;
      border-radius: 8px;
    }

    .game-info_mini {
      margin: 20px 0;
      font-size: 14px;
      color: #fff;
      line-height: 1.6;
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
    }

    

    .selection-pair {
      display: flex;
      flex-direction: column;
      align-items: center;
      background-color: #2a2a2a;
      padding: 10px;
      border-radius: 8px;
      flex: 1;
      gap: 8px;
      color: #fff;
    }

    .selection-buttons {
      display: flex;
      gap: 8px;
      width: 100%;
      justify-content: center;
    }

    .color-button {
      flex: 1;
      padding: 20px 10px;
      font-size: 16px;
      font-weight: bold;
      color: #fff;
      background-color: transparent;
      border: 2px solid;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .color-button .label {
      font-size: 15px;
    }

    .color-button .number {
      font-size: 12px;
      color: #FFC107;
    }

    .blue-button_mini {
      border-color: #007BFF;
    }

	.blue-button_mini.active {
      background-color: #007BFF;
      box-shadow: 0 0 10px #007BFF;
    }

    .red-button_mini {
      border-color: #FF3B30;
    }


	.red-button_mini.active {
      background-color: #FF3B30;
      box-shadow: 0 0 10px #FF3B30;
    }

    .betting-buttons_mini {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .betting-buttons_mini button {
      padding: 14px;
      font-size: 13px;
      font-weight: bold;
      background-color: #2a2a2a;
      border: none;
      color: #fff;
      border-radius: 6px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .betting-buttons_mini button:hover {
      transform: scale(1.05);
    }

    .betting-inputs_mini {
      display: flex;
      flex-direction: column;
	  gap:17px;
    }

    .betting-inputs_mini input[type="text"] {
      width: 100%;
      padding: 10px;
      border: 1px solid #08080A;
      border-radius: 6px;
      box-sizing: border-box;
	  background: #08080A;
	  text-align: right;
	  color: #fff;
    }

    .expected-win {
      font-size: 18px;
      font-weight: bold;
      color: #ffd700;
    }




	.header_sub {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	background: #1a1a1a;
	border-bottom: 1px solid #333;
	}

	.search-input_sub {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #444;
	border-radius: 8px;
	background-color: #2a2a2a;
	color: #f0f0f0;
	font-size: 16px;
	outline: none;
	margin-left: auto;
	text-align: center;
	}

	.search-input_sub::placeholder {
	color: #888;
	text-align: center;
	}

	.search-input_sub::placeholder {
	color: #888;
	}

	.close-button_slot {
	font-size: 28px;
	background: transparent;
	color: #f0f0f0;
	border: none;
	cursor: pointer;
	padding: 4px 10px;
	transition: color 0.2s ease;
	}

	.close-button_slot:hover {
	color: #ff5c5c;
	}




    .submit-button_mini {
      padding: 12px;
      font-size: 16px;
      background-color: #28a745;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

	  .close-button_betgame {
		margin-left:auto;
		z-index: 9999;
		font-size: 28px;
		color: #fff;
		background: rgba(0, 0, 0, 0.5);
		border: none;
		border-radius: 50%;
		width: 40px;
		height: 40px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
		padding: 0;
    }

    .close-button_mini {
		position: absolute;
		top: 10px;
		right: 10px;
		z-index: 9999;
		font-size: 28px;
		color: #fff;
		background: rgba(0, 0, 0, 0.5);
		border: none;
		border-radius: 50%;
		width: 40px;
		height: 40px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
		padding: 0;
    }
	.overlay_hidden_mini{
		position: relative;
		overflow: hidden;
		width: 100%;
	}
	.overlay_hidden_block{
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
		height: 100%;
		position: absolute;
	}

	.game-card_sub {
    text-align: center;
    width: 100%;
  }

  .image-wrapper_sub {
    position: relative;
    width: 100%;
    aspect-ratio: 210 / 157;
  }

  .image-wrapper_sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
  }

  .image-wrapper_sub:hover img {
    filter: brightness(0.4);
    transform: scale(1.05);
  }

  .play-button_sub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    font-weight: bold;
    font-size: 1vw;
    padding: 0.5vw 1vw;
    border: 2px solid #047deb;
    color: #047deb;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    min-width: 100px;
    max-width: 200px;
  }

  .image-wrapper_sub:hover .play-button_sub {
    opacity: 1;
    pointer-events: auto;
  }

  .play-button_sub:hover {
    background-color: #047deb;
    color: #fff;
  }

  .game-title_sub {
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: left;
  }

  .game-company_sub {
    font-size: 13px;
    color: #aaa;
    text-align: left;
  }

  .open-button_sub {
    margin: 40px;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
  }

	  .hidden_sub {
    display: none;
  }


.logout-btn img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-left: 5px;
}

.divider {
  color: #ccc;
  margin: 0 8px;
}

.list_btn_01.trash {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background-color: #1c1e22;
  color: #f0f0f0;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #333;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;

  /* ¿À¸¥ÂÊ Á¤·Ä°ú À§ ¿©¹é Ãß°¡ */
  margin-top: 10px;
  margin-left: auto;
}

.list_btn_01.trash:hover {
  background-color: #2a2d32;
  color: #ffffff;
}

.trash-icon {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.trash-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.win-box-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expected-win {
  font-size: 15px;
  font-weight: bold;
  color: #ffd700;
  margin: 0;
}

.win-buttons-mini {
  display: flex;
  gap: 10px;
}

.win-btn-mini:hover {
  background-color: #666;
}

#SendCodeBtn .verify-btn{
	margin: 0 auto;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #fff;
    border: 1px solid #2166e5;
    text-align: center;
    background-color: #2166e5;
}

.success-message{
	color: green;
	margin-top: 10px;
	font-weight: bold;
}
.error-message{
	color: red;
	margin-top: 10px;
	font-weight: bold;
}

/* popup.css */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.popup {
  position: relative;
  width: 600px;
  height: 700px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.2);
}

.popup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0,0,0,0);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 32px; /* X ±ÛÀÚ Å©°Ô */
  font-weight: bold;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.popup-close:hover {
  transform: scale(1.3); /* X ±ÛÀÚ È®´ë */
}

















    /* À¥¹öÀü css*/
@media (min-width: 1025px) {
	.wb_none{display: none;}

  .close-button_sub {
    position: absolute;
    top: 1%;
    width: 50px;
    height: 50px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    z-index: 1000;
  }

  .close-button_sub:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ff4d4d;
    border-color: #ff4d4d;
  }

  .selection-area_mini {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
  }

  .betting-area_mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: flex-start;
  }

.win-btn-mini {
  width: 100px;
  background-color: #444;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}	

    .blue-button_mini:hover{
      background-color: #007BFF;
      box-shadow: 0 0 10px #007BFF;
    }

    .red-button_mini:hover{
      background-color: #FF3B30;
      box-shadow: 0 0 10px #FF3B30;
    }






}




/* ÅÂºí¸´ (1024px ÀÌÇÏ) */
@media (min-width: 601px) and (max-width: 1024px){
	.tb_none{display: none;}

  .game-grid_sub {
    grid-template-columns: repeat(3, 1fr);
  }

  .close-button_sub {
    position: absolute;
    top: 1%;
    width: 50px;
    height: 50px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    z-index: 1000;
  }

  .selection-area_mini {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
  }

  .betting-area_mini {
    grid-template-columns: 1fr;
  }

  .betting-buttons_mini {
    grid-template-columns: repeat(3, 1fr);
  padding-bottom: 10px;
  }

.win-btn-mini {
  width: 100px;
  background-color: #444;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}












}



	
    /* ¸ð¹ÙÀÏ css */
@media (max-width: 600px) {
	.mb_none{display: none;}

  .game-grid_sub {
    grid-template-columns: repeat(2, 1fr);
  }

  .selection-area_mini {
    flex-direction: column;
  }

  .betting-buttons_mini {
	margin: 10px 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .close-button_sub {
    position: absolute;
    top: 1%;
    right: 5%;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: none;
    z-index: 1000;
  }

  

  .layer_mini {
    width: 95%;
    padding: 15px;
    margin-bottom: 50px;
  }

  .game-frame-wrapper iframe {
	width: 360px;
    height: 390px;
  }

  .game-info_mini {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
  }

	.game-frame-wrapper .lotus_mb {
        width: 360px;
        height: 860px;
    }

	.game-frame-wrapper .lotus_mb {
        width: 360px;
        height: 860px;
    }
	
	#iframe_poweerball{
		width: 300px;
        height: 520px;
	}
	
	.selection-pair{
		margin-bottom: 10px;
	}

	.win-btn-mini {
  width: 80px;
  background-color: #444;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}


.popup{
	height: auto;
}

.width60{width: 60%}
.width40{width: 40%}









}
