.apb2-container {
	font-family: Prompt;
	background-image: url(../images/bg-apb.png?v1);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 98%;
	height: 235px;
	angle: 0 deg;
	opacity: 1;
	border-radius: 12px;
	position: relative;
	overflow: hidden;
	color: #ffcb75;
	margin: 7px 0px 4px 5px;
}

.apb2-game-ribbon {
	width: 79px;
	height: 17px;
	background-image: url(../images/gold-ribbon.png);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.apb2-game-icn-left {
	width: 11px;
    height: auto;
    position: absolute;
    left: 5px;
}

.apb2-game-flag {
	width: 13px;
	height: 13px;
}

.apb2-game-title {
	font-family: Sarabun;
	font-size: 10.5px;
	font-weight: 800;
	font-style: normal;
	line-height: normal;
	letter-spacing: normal;
	color: #000;
	vertical-align: text-top;
	margin: 0 17px 0 3px;
}

.apb2-right {
	font-weight: 500;
	font-size: 8px;
	line-height: 16px;
	letter-spacing: 0%;
	position: absolute;
	right: 8px;
	text-align: end;
	width: 30%;
	top: 2px;
}

.apb2-timer {
	font-weight: 600;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 2%;
	text-align: right;
	color: #ffcb75;
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.apb2-timer-title {
	line-height: 10px;
}

.apb2-result-top-JP {
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
	background: linear-gradient(to bottom, 
		#f4dc9e 0%,    /* Light reflection at the top */
		#e9ca81 30%,   /* Mid gold */
		#ccaa64 70%,   /* Deep gold */
		#aa8345 100%   /* Dark gold shadow at the bottom */
	  );


	  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 7px 0px;
	margin: 0 2px;
}

.apb2-result-bottom-JP {
	display: flex;
	color: white;
	justify-content: center;
	align-items: center;
	position: relative;
	margin-bottom: 12px;
}

.apb2-result-text {
	font-weight: 600;
	font-size: 17px;
	line-height: 16px;
	letter-spacing: 25%;
	text-align: center;
}

.apb2-result-text2 {
	font-weight: 500;
	font-size: 12px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: right;
	background: linear-gradient(311.02deg, #8B6832 6.09%, #FCDD9A 54.51%, #966B2A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.apb2-game-logo-container {
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	top: 2px;
	width: 100px;
	height: 17px;
	border-radius: 9px;
	background-color: #191919;
	display: flex;
	justify-content: center;
	align-items: center;
}

.apb2-game-logo {
	width: 70px;
	margin-left: 10px;
	margin-top: 2px;
}

.apb2-result-container {
	position: relative;
	top: 17%;
	font-weight: 600;
	font-size: 9px;
	line-height: 100%;
	letter-spacing: 0%;
	width: 96%;
	margin: 0 auto;
}

.apb2-result-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 5px;
	margin: 0 2px 5px 2px;
}

.apb2-crown {
	position: absolute;
	left: 10px;
}

.apb2-result-live {
	position: absolute;
	right: 5px;
	top: 5px;
}

.apb2-result-play {
	position: absolute;
	right: 5px;
	top: 7px;
}

.apb2-result {
	border-radius: 7px;
	background: linear-gradient(to bottom, 
		#f4dc9e 0%,    /* Light reflection at the top */
		#e9ca81 30%,   /* Mid gold */
		#ccaa64 70%,   /* Deep gold */
		#aa8345 100%   /* Dark gold shadow at the bottom */
	  );

	  border-radius: 7px;

	  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 6px 0px;
	margin: 0 2px 12px 2px;
}

.apb2-result-photo-container {
	display: flex;
	justify-content: space-between;
	width: 100%; /* Fills the width of the page-wrapper */
	margin: 0 2px;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	background-image: url(../images/apb-jp-bg.png?v6);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 25px;
}

/* Styling for the images */
.apb2-result-photo {
	height: auto;
	position: relative;
	width: 24%;
}

.apb2-result-text3 {
	font-weight: 500;
	font-style: Medium;
	font-size: 12px;
	letter-spacing: 0%;
	text-align: right;
	color: #e2d893;
	position: absolute;
}

.apb2-timer-cd {
	width: 56px;
}


.ufalotto-container {
	width: 97%;
	height: 235px;
	border-radius: 12px;
	background-image: url(../images/bg-ufalotto.png?v1);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	position: relative;
	font-family: Prompt;
	overflow: hidden;
	color: #ffcb75;
	margin: 7px 0px 4px 5px;
}

.ufalotto-game-ribbon {
	width: 29%;
	height: 8%;
	background-image: url(../images/gold-ribbon2.png);
	background-repeat: no-repeat;
	background-size: inherit;
	position: absolute;
	top: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 3px;
}

.ufalotto-game-icn-left {
	width: 11px;
    height: auto;
    position: absolute;
    left: 5px;
}

.ufalotto-game-flag {
	width: 13px;
	height: 13px;
}

.ufalotto-game-title {
	font-family: Sarabun;
	font-size: 10.5px;
	font-weight: 800;
	font-style: normal;
	line-height: 7px;
	letter-spacing: normal;
	color: #000;
	vertical-align: text-top;
	margin: 0 5px 0 3px;
}

.ufalotto-right {
	font-family: Prompt;
	font-weight: 500;
	font-size: 8px;
	line-height: 13px;
	letter-spacing: 0%;
	position: absolute;
	right: 5px;
	text-align: end;
	top: 2px;
}

.ufalotto-timer {
	font-weight: 600;
	font-style: SemiBold;
	font-size: 10px;
	line-height: 16px;
	letter-spacing: 2%;
	text-align: right;
	color: #ffcb75;
	position: relative;
	top: 0px;
}

.ufalotto-game-logo-container {
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	top: 2px;
	width: 100px;
	height: 17px;
	border-radius: 9px;
	background-color: #191919;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ufalotto-game-logo {
	width: 70px;
	margin-left: 10px;
	margin-top: 2px;
}

.ufalotto-sector {
	position: relative;
	top: 33px;
	font-weight: 600;
}

.ufalotto-sector-long {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #ffcb75;
	flex-direction: column;
	margin-bottom: 13px;
}

.ufalotto-sector-long2 {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	font-size: 9px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #1A1716;
	margin-bottom: 8px;
}

.ufalotto-sector-long3 {
	display: flex;
	justify-content: space-between;
	width: 95%;
}

.ufalotto-container-long {
	width: 95%;
	height: 28px;
	background: linear-gradient(to bottom, 
		#f9df9e 0%,    /* Light champagne reflection at the very top */
		#ecd08c 35%,   /* Soft warm gold */
		#cca55c 75%,   /* Deeper bronze-gold */
		#a6813e 100%   /* Dark gold shadow accent at the bottom edge */
	  );

	  border-radius: 7px;

	  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
	color: black;
	font-weight: 600;
	font-size: 17px;
	line-height: 16px;
	letter-spacing: 5%;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 7px;
}

.ufalotto-sector-short {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #ffcb75;
	flex-direction: column;
	margin-bottom: 10px;
	width: 45%;
}

.ufalotto-container-short {
	width: 50%;
	height: 28px;
	background: linear-gradient(to bottom, 
		#f9df9e 0%,    /* Light champagne reflection at the very top */
		#ecd08c 35%,   /* Soft warm gold */
		#cca55c 75%,   /* Deeper bronze-gold */
		#a6813e 100%   /* Dark gold shadow accent at the bottom edge */
	  );

	  border-radius: 7px;

	  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
	color: black;
	font-weight: 600;
	font-size: 17px;
	line-height: 16px;
	letter-spacing: 5%;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 7px;
}


.ufalotto-bottom-wrapper {
	display: flex;
	flex-direction: column; /* Stacks items vertically (Text top, Photos bottom) */
	align-items: center; /* Centers the text and photo block horizontally */
	background: #0B0A08;
	justify-content: center;
}

.ufalotto-bottom-text {
	color: white; /* Makes text visible on black background */
	margin-bottom: 30px; /* Adds spacing between the text and the photos */
	text-align: center;
}


.ufalotto-bottom-photo-container {
	display: flex;
	justify-content: space-between;
	width: 100%; /* Fills the width of the page-wrapper */
}

/* Styling for the images */
.ufalotto-bottom-photo {
	width: 75px;
	height: auto;
}

.ufalotto-bottom-result-text {
	font-weight: 500;
	font-style: Medium;
	font-size: 12px;
	leading-trim: NONE;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: right;
	background: linear-gradient(311.02deg, #8B6832 6.09%, #FCDD9A 54.51%, #966B2A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	position: absolute;
	right: 20px;
}

.ufalotto-result-bottom-JP {
	display: flex;
	color: white;
	justify-content: center;
	align-items: center;
	position: relative;
	margin-bottom: 12px;
}

.ufalotto-result-photo-container {
	display: flex;
	justify-content: space-between;
	width: 100%; /* Fills the width of the page-wrapper */
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	background-image: url(../images/apb-jp-bg.png?v6);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 25px;
}

.ufalotto-result-photo {
	height: auto;
	position: relative;
	width: 24%;
}

.ufalotto-result-text3 {
	font-weight: 500;
	font-style: Medium;
	font-size: 12px;
	letter-spacing: 0%;
	text-align: right;
	color: #e2d893;
	position: absolute;
}
	
.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Handles smooth sliding */
}

.my-container {
  box-sizing: border-box;
}

.viewport {
  overflow: hidden;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1.5px solid #cca55c; 
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 5;
  transition: all 0.2s ease;
}

.slide-arrow::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 2px solid #cca55c;    
  border-right: 2px solid #cca55c;  
  display: inline-block;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.left-arrow::after {
  transform: rotate(-135deg);
  margin-left: 2px; 
}

.right-arrow::after {
  transform: rotate(45deg);
  margin-right: 2px;
}

.slide-arrow:hover:not(:disabled) {
  background-color: #fffaf0; 
  transform: translateY(-50%) scale(1.08);
}

.slide-arrow:disabled {
  background: #f9fafb;     
  border-color: #d1d5db;   
  cursor: not-allowed;
  box-shadow: none;
}

.slide-arrow:disabled::after {
  border-top-color: #d1d5db; 
  border-right-color: #d1d5db;
}

.left-arrow { left: 0px; }
.right-arrow { right: -5px; }

.lotto-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.lotto-slide > img {
	margin: 2px 5px 0 5px;
	cursor: pointer;
}

.ufalotto-sector-short-left {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
}

.ufalotto-sector-short-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
}

.ufalotto-sector-short-left > div:first-child {
	margin-right: 5px;
}

.ufalotto-sector-short-right > div:first-child {
	margin-right: 5px;
}