

body {
	margin: 0;
	background-color: #000;
	/*color: #fff;*/   /* color will be rainbow?? */
	font-family: "Comic Shanns Arcade2", sans-serif;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
	color:white;
}

/* animated rainbow text implementation! */
/*
@keyframes rainbow {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}*/
@keyframes rainbow {
	0% { background-position: 0% 0%; }
	100% { background-position: 200% 0%; }
}

/* note the pure blue color is slightly brighter for legibility */
/* These are actually synchronized now so one has an offset color from the other. */
 .body-container{
	 /*background-image: linear-gradient(to right,  #44cc44, #cccc44, #ee5656, #f39df3,
	 #a6a6ff, #6ae1e1, #44cc44);
	 background-size: 200% auto;
	 background-clip: text;*/
	 /*-webkit-background-clip: text;
	 -webkit-text-fill-color: transparent;
	 animation: rainbow 10s linear infinite;*/
	 margin:20px;
 }

 /* Color every other column in score tables, etc. Note the style is cleared for children above */
td:nth-child(even) {
	background-color: rgba(255, 255, 255, 0.1);
	border-radius : 10px;
}
th:nth-child(odd) {
	background-color: rgba(255, 255, 255, 0.1);
	border-radius : 10px;
}


table, th, tr{
	padding-top: 0;
	padding-bottom: 0;
	border-collapse: collapse;
}

table {
	border-radius: 10px;
	border-width: 4px;
	border-style: solid;
	border-color: rgba(255, 255, 255, 0.1);
	border-collapse: separate;
}

/* undoes default table styling */
.clean-table, .clean-table th, .clean-table td{
	border-collapse: collapse;
	border-radius:0;
	border-width: 0;
	padding-left:0;
	padding-right:0;
	background-color: transparent;
}


td {
	padding-left: 5px;
	padding-right: 5px;
}


/*
 body {
	 color:transparent;
	 background-image: linear-gradient(to right, #440044, #000044, #004444, #004400, #444400, #440000, #440044);
	 background-size: 200% auto;
	 animation: rainbow 10s linear infinite;
 }*/
/* deprecated in favor of shader */
/* end animated rainbow text */





/* uhh make it look different somehow */
a {
	/*color: #ffffff44;*/   /* will make just the underline be transparent white. gradient overlay isn't really an option */
	color:white;
	text-decoration: underline;
	text-decoration-line: underline;
	-webkit-text-decoration-line: underline;
	text-decoration-skip-ink:none;
	text-decoration-thickness : 2px;
	text-decoration-color: #ffffff88;
	text-underline-offset: 2px;
}

a:hover {
	text-decoration: underline;
	text-decoration-line: underline;
	-webkit-text-decoration-line: underline;
	text-decoration-thickness : 2px;
	text-decoration-skip-ink:none;
	text-decoration-color: #ffffff88;
	text-underline-offset: 2px;
}



#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
	.lil-gui.root {
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

	#overlay button {
		background: transparent;
		border: 0;
		border: 1px solid rgb(255, 255, 255);
		border-radius: 4px;
		color: #ffffff;
		padding: 12px 18px;
		text-transform: uppercase;
		cursor: pointer;
	}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}

.first-discord-discuss-cell {
	-webkit-text-fill-color: white;
	border-radius: 32px;
}


.flex-container, .user-page-clip-container {
    display: flex; /* Use Flexbox */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 10px; /* Space between items */
}

.flex-item, .user-page-clip-cell {
    flex: 1; /* Flex items will grow and shrink as needed */
    min-width: 360px; /* Minimum width of a cell before wrapping */
    max-width: 360px; /* Maximum width of a cell before wrapping */
    border: 1px solid black; /* For visualization */
    padding: 10px; /* Padding inside each cell */
}

.first-discord-discuss-cell {
    background-color:#7788d4;
    color:white;
    text-align:center;
    width:200px;
	cursor: pointer;
}



input, textarea {
	/* was just lazily exported from my other site */
	background-color: rgb(0, 11, 0);
	border-block-end-color: rgb(64, 196, 64);
	border-block-end-style: inset;
	border-block-end-width: 2px;
	border-block-start-color: rgb(64, 196, 64);
	border-block-start-style: inset;
	border-block-start-width: 2px;
	border-bottom-color: rgb(64, 196, 64);
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	border-bottom-style: inset;
	border-bottom-width: 2px;
	border-collapse: separate;
	border-end-end-radius: 0px;
	border-end-start-radius: 0px;
	border-inline-end-color: rgb(64, 196, 64);
	border-inline-end-style: inset;
	border-inline-end-width: 2px;
	border-inline-start-color: rgb(64, 196, 64);
	border-inline-start-style: inset;
	border-inline-start-width: 2px;
	border-left-color: rgb(64, 196, 64);
	border-left-style: inset;
	border-left-width: 2px;
	border-right-color: rgb(64, 196, 64);
	border-right-style: inset;
	border-right-width: 2px;
	border-start-end-radius: 0px;
	border-start-start-radius: 0px;
	border-top-color: rgb(64, 196, 64);
	border-top-style: inset;
	border-top-width: 2px;
	box-shadow: none;
	box-sizing: border-box;
	break-after: auto;
	break-before: auto;
	break-inside: auto;
	caret-color: rgb(64, 196, 64);
	clear: none;
	clip: auto;
	clip-path: none;
	clip-rule: nonzero;
	color: rgb(64, 196, 64);
	color-interpolation: srgb;
	color-interpolation-filters: linearrgb;
	column-rule-color: rgb(64, 196, 64);
	column-rule-style: none;
	column-span: none;
	container-name: none;
	cursor: text;
	direction: ltr;
	display: inline-block;
	dominant-baseline: auto;
	empty-cells: show;
	fill: rgb(0, 0, 0);
	fill-opacity: 1;
	fill-rule: nonzero;
	filter: none;
	flex-basis: auto;
	flex-direction: row;
	flex-grow: 0;
	flex-shrink: 1;
	flex-wrap: nowrap;
	float: none;
	flood-color: rgb(0, 0, 0);
	flood-opacity: 1;
	font-family: "Comic Shanns Arcade2", sans-serif;
	font-kerning: auto;
	font-optical-sizing: auto;
	font-palette: normal;
	hyphenate-character: auto;
	hyphenate-limit-chars: auto;
	hyphens: manual;
	image-orientation: from-image;
	image-rendering: auto;
	initial-letter: normal;
	inset-block-end: auto;
	inset-block-start: auto;
	inset-inline-end: auto;
	inset-inline-start: auto;
	isolation: auto;
	justify-content: normal;
	justify-items: normal;
	justify-self: auto;
	left: auto;
	letter-spacing: normal;
	lighting-color: rgb(255, 255, 255);
	line-break: auto;
	line-height: normal;
	margin-block-end: 0;
	margin-block-start: 0;
	margin-inline-end: 0;
	margin-inline-start: 0;
	margin: 0;
	marker-end: none;
	marker-mid: none;
	marker-start: none;
	outline-offset: 0;
	outline: rgb(64, 196, 64) none 0;
	overflow-anchor: auto;
	overflow-clip-margin: 0px;
	overflow-wrap: normal;
	overflow-x: visible;
	overflow-y: visible;
	padding-block-end: 1px;
	padding-block-start: 1px;
	padding-inline-end: 2px;
	padding-inline-start: 2px;
	padding: 1px 2px;
	perspective: none;
	stop-color: rgb(0, 0, 0);
	stroke: none;
	text-decoration-color: rgb(64, 196, 64);
	text-emphasis-color: rgb(64, 196, 64);
	text-overflow: clip;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0.18);
	-webkit-text-fill-color: rgb(64, 196, 64);
	-webkit-text-stroke-color: rgb(64, 196, 64);

}




button {
	font-family: "Comic Shanns Arcade2", sans-serif;
	background-color: rgb(0, 11, 0);
block-size: 54px;
border-block-end-color: rgb(64, 196, 64);
border-block-end-style: double;
border-block-end-width: 6px;
border-block-start-color: rgb(64, 196, 64);
border-block-start-style: double;
border-block-start-width: 6px;
border-bottom-color: rgb(64, 196, 64);
border-bottom-style: double;
border-bottom-width: 6px;
border-inline-end-color: rgb(64, 196, 64);
border-inline-end-style: double;
border-inline-end-width: 6px;
border-inline-start-color: rgb(64, 196, 64);
border-inline-start-style: double;
border-inline-start-width: 6px;
border-left-color: rgb(64, 196, 64);
border-left-style: double;
border-left-width: 6px;
border-right-color: rgb(64, 196, 64);
border-right-style: double;
border-right-width: 6px;
border-top-color: rgb(64, 196, 64);
border-top-style: double;
border-top-width: 6px;
caret-color: rgb(64, 196, 64);
color: rgb(64, 196, 64);
cursor: pointer;
font-size: 16px;
height: 54px;
inline-size: 200px;
margin-block-start: 6px;
margin-bottom: 0px;
margin-top: 6px;
outline-color: rgb(64, 196, 64);
padding-block-end: 3px;
padding-block-start: 3px;
padding-bottom: 3px;
padding-inline-end: 3px;
padding-inline-start: 3px;
padding-left: 3px;
padding-right: 3px;
padding-top: 3px;
text-align: center;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0.18);
-webkit-text-fill-color: rgb(64, 196, 64);
-webkit-text-stroke-color: rgb(64, 196, 64);
}

button:hover {
	background-color: rgb(64, 196, 64);
border-block-end-color: rgb(0, 11, 0);
border-block-start-color: rgb(0, 11, 0);
border-bottom-color: rgb(0, 11, 0);
border-inline-end-color: rgb(0, 11, 0);
border-inline-start-color: rgb(0, 11, 0);
border-left-color: rgb(0, 11, 0);
border-right-color: rgb(0, 11, 0);
border-top-color: rgb(0, 11, 0);
caret-color: rgb(0, 11, 0);
color: rgb(0, 11, 0);
outline-color: rgb(0, 11, 0);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0.18);
-webkit-text-fill-color: rgb(0, 11, 0);
-webkit-text-stroke-color: rgb(0, 11, 0);
}


select, option{
		font-family: "Comic Shanns Arcade2", sans-serif;
	background-color: rgb(0, 11, 0);
block-size: 54px;
border-block-end-color: rgb(64, 196, 64);
border-block-end-style: double;
border-block-end-width: 6px;
border-block-start-color: rgb(64, 196, 64);
border-block-start-style: double;
border-block-start-width: 6px;
border-bottom-color: rgb(64, 196, 64);
border-bottom-style: double;
border-bottom-width: 6px;
border-inline-end-color: rgb(64, 196, 64);
border-inline-end-style: double;
border-inline-end-width: 6px;
border-inline-start-color: rgb(64, 196, 64);
border-inline-start-style: double;
border-inline-start-width: 6px;
border-left-color: rgb(64, 196, 64);
border-left-style: double;
border-left-width: 6px;
border-right-color: rgb(64, 196, 64);
border-right-style: double;
border-right-width: 6px;
border-top-color: rgb(64, 196, 64);
border-top-style: double;
border-top-width: 6px;
caret-color: rgb(64, 196, 64);
color: rgb(64, 196, 64);
cursor: pointer;
font-size: 16px;
height: 54px;
inline-size: 200px;
margin-block-start: 6px;
margin-bottom: 0px;
margin-top: 6px;
outline-color: rgb(64, 196, 64);
padding-block-end: 3px;
padding-block-start: 3px;
padding-bottom: 3px;
padding-inline-end: 3px;
padding-inline-start: 3px;
padding-left: 3px;
padding-right: 3px;
padding-top: 3px;
text-align: center;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0.18);
-webkit-text-fill-color: rgb(64, 196, 64);
-webkit-text-stroke-color: rgb(64, 196, 64);
}


.achievement-icon {
	max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
}

.score-sig-img {
	max-height:40px;
	max-width:400px;
	width:auto;
	height:auto;
	display:block;
	float:right;
}

/* clear-rainbow removes rainbow effect */
.clear-rainbow, .score-sig {
	-webkit-text-fill-color: currentcolor;
	-webkit-background-clip: border-box;
	background-color: transparent;
	color: #ccffcc;
}

.score-sig {
	line-height:15px;
}

.username-cell {
	display: inline;
	text-align:right;
	line-height:15px;
}


.sig-cell {
	display: inline;
	padding: 0;
	line-height:15px;
}

/* convenient email obfuscation */
.email b {
	display: none;
}



#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
	z-index:-1000;
}


img {
	image-rendering: pixelated;  /* disable antialiasing on images across the board */
}



/* Badge board, these should get overridden on scorechart to be smaller */
.score-badges-container {
	width: 160px;
	height: 160px;
	flex: 0 0 160px;
	line-height:52px;
	display: grid;
	grid-template-columns: 52px 52px 52px;
	grid-gap: 0px;
	align-items: start; /* Stack grid items at the top of their cell */
	justify-items: start;
	border:8px solid #ffffff22;
	align-content: start;
	grid-auto-rows: 52px;
}


.score-badge, .score-badge-link {
	width:52px;
	height:52px;
	line-height:52px;
	display:inline;
	padding:0;
	margin:0;
	cursor:pointer;
}

.score-badge-container {
	width:52px;
	height:52px;
	display:inline-block;
	position: relative;
	padding:0;
	margin:0;
}



.badge-overlay-text{
	position:absolute;
	left:0;
	top:0;
	color:white;
	font-size:1.6em;
	pointer-events:none;
	white-space:pre;
	text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.highlighted-badge{
    position: absolute;
    left: -8px;
    top: -8px;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.7);
    border-radius: 6px;
    pointer-events: none;
    box-sizing: content-box;
    z-index: 3;
}



.badge-tooltip {
	position: fixed;
	border:2px solid #662266;
	background:#331A33;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
	z-index: 1000;
	pointer-events: none;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.badge-tooltip.show {
	opacity: 1;
}


.remove-badge-btn {
	visibility: hidden;
}

.score-badge-container:hover .remove-badge-btn {
	visibility: visible;
}

/* On mobile devices, always show the remove button */
@media (hover: none) and (pointer: coarse) {
	.remove-badge-btn {
		visibility: visible;
	}
}


.remove-badge-btn {
    position:absolute;
	width:26px;
	height:26px;
	top:0;
	left:26px;
    cursor: pointer;
	z-index:100;
    background: rgb(82, 13, 4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
    overflow: hidden;
    text-align: center;
}

.btn {
	cursor:pointer;
}

.bgbox1 {
	border-radius: 16px; background: #00000088; padding: 2.5rem 2.5rem 2rem 2.5rem;
}