@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500&display=swap");

:root {
	--color-primary: #007bff;
}

body,
html {
	background-color: #0e0e0e;
	overflow-x: hidden;
}

.form-control:not(:focus) {
	background-color: #161616;
	color: #d6d6d6;
	padding-top: 8px;
	padding-right: 8px;
	padding-left: 18px;
	padding-bottom: 8px;
	border-radius: 8px;
	border: 0.2px solid #262626;
}

.form-control::placeholder {
	color: #454545;
}

.form-control:focus {
	background-color: #121212;
	color: #bababa;
	padding-top: 8px;
	padding-right: 8px;
	padding-left: 18px;
	padding-bottom: 8px;
	border-radius: 8px;
	border: 0.2px solid transparent;
}

.title,
h1,
h2,
.h1,
.h2,
nav.navbar .navbar-brand {
	font-family: "Kanit", sans-serif;
	font-weight: 500;
	color: #fff;
}

*:not(.font-exeception) .subtitle,
*:not(.font-exeception) h3,
*:not(.font-exeception) h4,
*:not(.font-exeception) h5,
*:not(.font-exeception) h6,
*:not(.font-exeception) .h3,
*:not(.font-exeception) .h4,
*:not(.font-exeception) .h5,
*:not(.font-exeception) .h6,
*:not(.font-exeception) a.nav-item,
*:not(.font-exeception) main a:not(.btn) {
	font-family: "Kanit", sans-serif;
	font-weight: 400;
	color: #949494;
}

.card .subtitle,
.card h3,
.card h4,
.card h5,
.card h6,
.card .h3,
.card .h4,
.card .h5,
.card .h6 {
	color: #d9d9d9;
}

main a:not(.btn),
main a:not(.btn):hover,
main a:not(.btn):focus,
main a:not(.btn):active {
	text-decoration: none;
	border-bottom: 0.5px solid transparent;
	transition: border-color 0.3s linear;
}

main a:not(.btn):not(.resetText):not(.nav-link.active):hover {
	color: #949494;
	border-bottom: 0.5px solid #949494;
}

main {
	padding: 25px;
	padding-top: 45px;
	margin-bottom: 65px;
}

.card {
	background-color: #181616;
	border-color: #282828;
}

.card-header {
	background-color: #111;
	border-color: #282828;
	color: #474747;
	font-size: 0.9rem;
	padding: 4px;
}

.card-content {
	color: #c2c2c2;
}

p:last-child {
	margin-bottom: 0.3px;
}

a:not(.btn):hover .game-card-sm {
	margin-top: -2;
}

.nav.nav-pills .nav-item a:not(.active):hover {
	color: #0d6efd !important;
	border: 0.5px solid #0d6efd !important;
	border-radius: 1000px !important;
	transition:
		color 0.15s ease-in-out,
		background-color 0.15s ease-in-out,
		border-color 0.15s ease-in-out,
		border-radius 0.15s ease-in-out;
}

ul.nav.nav-pills .nav-item a {
	border-radius: 1000px;
	border: 0.5px solid transparent !important;
	margin-right: 6px;
}

ul.nav.navpills .navbar-nav .dropdown-toggle.show {
	color: #fff;
	border: 0.5px solid transparent;
}

ul.nav.nav-pills .nav-item li a {
	margin-right: 6px;
	border: 0.5px solid transparent;
}

ul.nav.nav-pills .nav-item li a:not(.active) {
	border-radius: 50px;
}

ul.nav.nav-pills .nav-item li a:focus {
	color: #fff;
}

ul.nav.nav-pills .dropdown-menu {
	background-color: #181616;
}

.box {
	background-color: #100e0e;
	border: 0.5px solid #0e0d0d;
	border-radius: 10px;
}

.box-body {
	padding: 20px;
}

.fs-small {
	font-size: 0.8rem;
}

.fs-tiny {
	font-size: 0.6rem;
}

hr.divider {
	color: rgb(49, 49, 49);
}

.btn i {
	line-height: 1.5;
}

.input-group .form-control:first-child {
	border-top-left-radius: 1000px;
	border-bottom-left-radius: 1000px;
	border-left: 1.3px solid var(--color-primary);
}

.input-group .form-control:last-child {
	border-top-right-radius: 1000px;
	border-bottom-right-radius: 1000px;
	border-right: 1.3px solid var(--color-primary);
}

.input-group .btn {
	background-color: #1d1d1d;
	border: 0.2px solid #262626;
}

.input-group .btn:hover {
	background-color: #222222;
}

.input-group .btn:focus {
	background-color: #161616;
}

.input-group .btn:first-child {
	border-top-left-radius: 1000px;
	border-bottom-left-radius: 1000px;
	border-left: 1.3px solid var(--color-primary);
}

.input-group .btn:first-child:focus {
	border-right: 0.2px solid #262626;
	border-top: 0.2px solid #262626;
	border-bottom: 0.2px solid #262626;
}

.input-group .btn:last-child:focus {
	border-left: 0.2px solid #262626;
	border-top: 0.2px solid #262626;
	border-bottom: 0.2px solid #262626;
}

.input-group .btn:last-child {
	border-top-right-radius: 1000px;
	border-bottom-right-radius: 1000px;
	border-right: 1.3px solid var(--color-primary);
}

.preview-wrap {
  border: 1px solid #2a2a3a;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-conic-gradient(#14141b 0% 25%, #000000 0% 50%) 0 0 / 20px 20px;
}

#preview {
  width: 100%;
  height: 100%;
  display: block;
}

.preview-ph {
  color: #444;
  font-size: .85rem;
  position: absolute;
  pointer-events: none;
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
  flex-shrink: 0;
}

.swatch.active {
  border-color: #fff;
}

.swatch.transparent-swatch {
  background: conic-gradient(#ccc 90deg, #fff 90deg 180deg, #ccc 180deg 270deg, #fff 270deg) 0 0 / 10px 10px;
  border: 1px solid #555;
}

.color-pick {
  width: 36px;
  height: 36px;
  border: 1px solid #444;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 2px;
}


.autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #161616;
  border: 1px solid var(--color-primary);
  border-radius: 1rem;
  z-index: 200;
  overflow: hidden;
}

.autocomplete-list li {
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: #d6d6d6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.1s;
}

.autocomplete-list li:hover,
.autocomplete-list li.ac-active {
  background: rgba(0, 123, 255, 0.12);
  color: #fff;
}

.autocomplete-list li .ac-id {
  margin-left: auto;
  font-size: 0.7rem;
  color: #555;
}
