body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 20px;
	background-color: #000000;
	color: #333;
	box-sizing: border-box;
}
.container {
	background-color: #211F1F;
	color:white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	max-width: 100%;
	margin: auto;
	overflow-x: auto;
}
h2 {
	color: white;
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
	font-size:16px
}
table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}
th, td {
	border: 0px solid #ddd;
	padding: 3px;
	text-align: left;
	word-wrap: break-word;
}
th {
	background-color: #f2f2f2;
	color: #333;
	white-space: nowrap;
}
tr {
	border: 1px solid;
	margin-bottom: 10px;
}
.message {
	margin-top: 20px;
	padding: 10px;
	border-radius: 4px;
	text-align: center;
}
.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
.no-data {
	background-color: #e2e3e5;
	color: #495057;
	border: 1px solid #d6d8db;
}

.linediv {
		display: flex;
		padding: 5px;
		gap: 2px;
}
.chboxdiv {
		background-color: none;
		border: 1px solid white;
		padding: 2px;
		text-align: center;
		font-size:8px;
}
.unselectable-text {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Standard */
}
.hidden {
	display: none;
}


.ms-image-container {
	position: relative;
	width: 50px;
	height: 50px;
	overflow: hidden;
	border: 1px solid #ccc;
}

.ms-rarity-back {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.main-transparent-image {
	width: 50px;
	height: auto;
	position: absolute;
	z-index: 2;
}

.corner-image {
	position: absolute;
	width: 15px;
	height: auto;
	z-index: 3;
}

.top-left {
	top: 1px;
	left: 1px;
}

.top-right {
	top: 1px;
	right: 1px;
}

.bottom-left {
	bottom: 1px;
	left: 1px;
}
.ms-name {
	width: 50px;
	font-size: 8px;
	white-space: normal; 
	overflow: hidden;
	display: -webkit-box;
	text-align:center;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.flexwrap {
	display: flex;
	flex-wrap: wrap;
}
.lettertd {
	width:20px;
	text-align:center;
	font-weight:bold;
}
.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  text-align: center;
}