#wcdb-talents {
	max-width: 796px;
	margin: 0 auto;
	text-align: center;
	color: #c0aa87;
	user-select: none;
}

#wcdb-talents a {
	text-decoration: none;
	color: inherit;
}

.dynamic-title,
.dynamictitle-wrapper {
	box-shadow: inset 0 0 10px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .04);
	background-color: rgba(0, 0, 0, .4);
	border-radius: 4px;
	border: 1px solid #000;
}

.dynamic-title {
	padding: 5px;
}

.dynamictitle-wrapper {
	padding: 20px;
	margin-top: 20px;
	position: relative;
}

.header-layout {
	display: flex;
	align-items: center;
	text-align: start;
}

.header-layout img {
	margin-right: 5px;
	width: 32px;
	height: 32px;
	border: 1px solid #8b8282;
	border-radius: 4px;
}

.dynamic-title h1 {
	font-size: 22px;
	margin: 0;
	color: #fff;
}

.home .intro {
	text-align: left;
	margin: 0 5px 20px;
}

.class-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding: 0 100px;
}

.home-class {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	font-size: 18px;
	font-weight: 700;
	color: var(--class-color);
}

.home-class img {
	width: 56px;
	height: 56px;
	margin-bottom: 5px;
	border: 1px solid #8b8282;
	border-radius: 4px;
}

.home-class:hover img {
	border-color: #fff2db;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}

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

.nav-class {
	display: flex;
	align-items: center;
	border: 1px solid #666;
	background-color: #222;
	font-size: 14px;
	font-weight: 700;
	color: var(--class-color);
}

.nav-class img {
	margin-right: 5px;
	width: 32px;
	height: 32px;
	border: 1px solid #8b8282;
	border-radius: 4px;
}

.class-nav a:hover .nav-class,
.class-nav a.active .nav-class {
	border-color: #fff2db;
	background-color: #333;
}

.class {
	display: flex;
	flex-direction: column;
}

.info-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.info-header .points,
.info-header .share-link,
.talent-wrapper {
	box-shadow: inset 0 0 10px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .04);
	background: rgba(0, 0, 0, .4);
	border: 1px solid #121212;
	color: #c0aa87;
	border-radius: 4px;
}

.info-header .points {
	white-space: nowrap;
	padding: 2px 5px;
}

.info-header .share {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

.info-header .share-link {
	padding: 5px;
	margin-right: 10px;
	font-size: .9em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	user-select: text;
}

.btnshare {
	flex-shrink: 0;
	width: 120px;
	height: 38px;
	font: inherit;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
	border: 1px solid #000;
	border-radius: 4px;
	background-color: #4a4646;
}

.btnshare:hover {
	background-color: #5a5656;
}

.specs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.spec-header {
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .04);
	background: rgba(0, 0, 0, .4);
	border: 1px solid #121212;
	border-radius: 4px;
}

.spec-header .title {
	display: flex;
	align-items: center;
}

.spec-header .title img {
	margin-right: 5px;
	width: 18px;
	height: 18px;
}

.spec-header .points {
	display: flex;
	align-items: center;
}

.spec-header .points img {
	margin-left: 5px;
	width: 14px;
	height: 14px;
	cursor: pointer;
	transition: all .3s cubic-bezier(.25, .8, .25, 1);
}

.spec-header .points img:hover {
	border-radius: 50%;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}

.spec-container {
	background-color: #151515;
	background-size: cover;
	background-position: center;
}

.spec-wrapper {
	background: rgba(80, 80, 80, .3);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.grid-wrapper {
	position: relative;
	padding: 8px;
}

.spec-row {
	display: flex;
}

.spec-column {
	display: flex;
	height: 36px;
	width: 36px;
	margin: 8px;
}

.talent {
	position: relative;
	height: 100%;
	width: 100%;
}

.talent-icon {
	cursor: pointer;
}

.talent-icon .icon {
	display: block;
	width: 36px;
	height: 36px;
	border: 1px solid #121212;
	border-radius: 2px;
}

.talent-icon .icon.hovered {
	border-color: #ffd100;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}

.talent-icon .icon.deactivated {
	filter: grayscale(100%);
	opacity: .6;
}

.rank-label {
	position: absolute;
	right: -5px;
	bottom: -6px;
	background: #121212;
	font-size: 11px;
	line-height: 1.3;
	color: #fff;
	padding: 0 2px;
	border: 1px solid #121212;
	border-radius: 2px;
	z-index: 3;
}

.rank-label.max-rank {
	color: #ffd100;
}

.arrow {
	position: absolute;
	top: 0;
	left: 0;
}

.arrowshaft {
	box-sizing: border-box;
	position: absolute;
	border: 1px solid #121212;
	background-color: rgba(80, 80, 80, .8);
}

.arrow.available .arrowshaft {
	background-color: #ffd100;
}

.arrowshaft.horizontal {
	border-left: none;
	border-right: none;
}

.arrowshaft.vertical {
	border-top: none;
	border-bottom: none;
}

.arrowshaft.corner {
	border-bottom: none;
}

.arrowshaft.corner.left {
	border-left: none;
}

.arrowshaft.corner.right {
	border-right: none;
}

.arrowhead {
	position: absolute;
	z-index: 2;
	background: url('../images/talents/embed/arrow.svg') center / contain no-repeat;
	transform: rotate(90deg);
}

.arrow.available .arrowhead {
	background-image: url('../images/talents/embed/arrow_available.svg');
}

.arrowhead.left {
	transform: rotate(180deg);
}

.arrowhead.right {
	transform: none;
}

.other,
.talent-order-container {
	display: flex;
	flex-direction: column;
}

.talent-order {
	display: flex;
	justify-content: center;
}

.talent-order .wrapper {
	display: flex;
	flex-wrap: wrap;
}

.talent-wrapper {
	cursor: default;
	display: flex;
	align-items: center;
	margin: 10px 5px 0;
	padding: 5px;
}

.talent-wrapper.hovered {
	border-color: #ffd100;
}

.talent-wrapper span {
	margin-left: 5px;
	font-size: .9em;
}

.talent-wrapper .order-icon {
	width: 20px;
	height: 20px;
	border: 1px solid #121212;
}

.talent-tooltip {
	display: none;
	position: absolute;
	z-index: 10000;
	width: 300px;
	box-sizing: border-box;
	padding: 8px;
	background-color: rgba(18, 18, 18, .95);
	border: 1px solid #121212;
	border-radius: 1px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
	color: #fff;
	font-size: 12px;
	font-family: Verdana, 'Open Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	line-height: 17px;
	text-align: left;
	pointer-events: none;
}

.talent-tooltip.active {
	display: block;
}

.talent-tooltip span {
	display: block;
	white-space: pre-line;
}

.talent-tooltip .pair {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.talent-tooltip .pair .right {
	text-align: right;
}

.talent-tooltip .title {
	font-size: 14px;
}

.talent-tooltip .title .right {
	font-size: 12px;
	color: #9d9d9d;
	white-space: nowrap;
}

.talent-tooltip .text {
	color: #ffd100;
}

.talent-tooltip .next-rank {
	color: #ffffff;
	margin-top: 12px;
}

.talent-tooltip .learnable,
.talent-tooltip .req-not-met {
	margin-top: 12px;
}

.talent-tooltip .req-not-met ~ .req-not-met {
	margin-top: 0;
}

.talent-tooltip .learnable {
	color: #1eff00;
}

.talent-tooltip .req-not-met {
	color: #ff4040;
}

@media only screen and (max-width: 960px) {
	.class-grid {
		padding: 0;
	}
}

@media only screen and (max-width: 768px) {
	.class-nav {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.nav-class {
		padding: 5px;
	}

	.nav-class span {
		display: none;
	}

	.nav-class img {
		width: 40px;
		height: 40px;
		margin-right: 0;
	}

	.talent-tooltip {
		width: 100vw;
	}
}

@media only screen and (max-width: 650px) {
	.dynamictitle-wrapper {
		padding: 10px;
	}

	.info-header .share-link {
		max-width: 180px;
		margin-right: 5px;
	}

	.btnshare {
		width: 80px;
	}
}
