.wpclan-character-profile {
	--character-bg-color: #12151a;
	--character-panel: #1b2028;
	--character-panel-strong: #232a34;
	--character-line: rgba(255, 255, 255, 0.12);
	--character-text: #f5f7fb;
	--character-muted: #a9b0bd;
	--character-gold: #f2b544;
	color: var(--character-text);
	background: var(--character-bg-color);
	border: 1px solid var(--character-line);
	border-radius: 8px;
	overflow: hidden;
}

.wpclan-character-profile * {
	box-sizing: border-box;
}

.wpclan-character-profile__header {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	min-height: 130px;
	padding: 16px 18px;
	background:
		linear-gradient(90deg, rgba(10, 12, 16, 0.94), rgba(10, 12, 16, 0.76), rgba(10, 12, 16, 0.94)),
		var(--character-bg, linear-gradient(135deg, #202733, #101318));
	background-position: center;
	background-size: cover;
	border-bottom: 1px solid var(--character-line);
}

.wpclan-character-profile__portrait {
	display: grid;
	width: 90px;
	height: 90px;
	place-items: center;
	overflow: hidden;
	color: #050608;
	background: var(--class-color, var(--character-gold));
	border: 2px solid var(--class-color, var(--character-gold));
	border-radius: 6px;
	font-size: 2rem;
	font-weight: 800;
	text-transform: uppercase;
}

.wpclan-character-profile__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wpclan-character-profile__identity {
	min-width: 0;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.wpclan-character-profile__identity h1 {
	margin: 0;
	color: var(--class-color, var(--character-text));
	font-size: 2.05rem;
	line-height: 1.05;
	letter-spacing: 0;
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 3px;
	text-transform: uppercase;
}

.wpclan-character-profile__identity p {
	margin: 5px 0 0;
	color: var(--character-text);
	font-weight: 700;
}

.wpclan-character-profile__statline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 8px;
}

.wpclan-character-profile__statline span,
.wpclan-character-profile__statline strong {
	color: var(--character-gold);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.wpclan-character-profile__meta-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 8px;
}

.wpclan-character-profile__meta-icon {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.55);
	color: var(--character-gold);
}

.wpclan-character-profile__meta-icon img,
.wpclan-character-profile__meta-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wpclan-character-profile__meta-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.wpclan-character-search-result.post-card {
	padding: 0 !important;
	background:
		linear-gradient(90deg, rgba(10, 12, 16, 0.94), rgba(42, 22, 15, 0.84), rgba(10, 12, 16, 0.92)),
		linear-gradient(135deg, #171b22, #2c1a14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.wpclan-character-search-result .entry-header {
	display: none;
}

.wpclan-character-search-result .entry-summary,
.wpclan-character-search-result .entry-summary > p {
	margin: 0;
}

.wpclan-character-search {
	padding: 14px 18px 18px;
	color: #fff;
}

.wpclan-character-search h2 {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
	text-transform: uppercase;
}

.wpclan-character-search__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.wpclan-character-search-card {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	min-height: 68px;
	padding: 8px;
	color: #fff;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.wpclan-character-search-card:hover,
.wpclan-character-search-card:focus {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--class-color, rgba(255, 255, 255, 0.4));
	text-decoration: none;
	transform: translateY(-1px);
}

.wpclan-character-search-card__avatar {
	display: grid;
	width: 56px;
	height: 56px;
	place-items: center;
	flex: 0 0 auto;
	overflow: hidden;
	color: #050608;
	background: var(--class-color, var(--character-gold));
	border: 2px solid var(--class-color, rgba(255, 255, 255, 0.25));
	border-radius: 5px;
	font-weight: 800;
	text-transform: uppercase;
}

.wpclan-character-search-card__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wpclan-character-search-card__body {
	display: block;
	min-width: 0;
}

.wpclan-character-search-card__body strong,
.wpclan-character-search-card__body span,
.wpclan-character-search-card__body small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpclan-character-search-card__body strong {
	color: var(--class-color, #ff77b8);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
}

.wpclan-character-search-card__body span {
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
}

.wpclan-character-search-card__body small {
	color: #fff;
	font-size: 0.82rem;
	line-height: 1.2;
}

@media (max-width: 1199px) {
	.wpclan-character-search__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.wpclan-character-search__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.wpclan-character-search__grid {
		grid-template-columns: 1fr;
	}
}

.wpclan-character-profile__meta-icon--achievement,
.wpclan-character-profile__meta-icon--item-level {
	border-color: rgba(255, 196, 35, 0.65);
	background: rgba(35, 25, 8, 0.72);
}

.wpclan-character-profile__meta-metric {
	display: inline-flex;
	width: auto;
	min-width: 0;
	height: 30px;
	gap: 4px;
	align-items: center;
	padding: 0 6px;
	border-color: transparent;
	background: transparent;
	color: var(--character-gold);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.wpclan-character-profile__meta-metric svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
}

.wpclan-character-profile__meta-icon--tank {
	border-color: rgba(83, 167, 255, 0.75);
}

.wpclan-character-profile__meta-icon--healer {
	border-color: rgba(46, 204, 113, 0.75);
}

.wpclan-character-profile__meta-icon--damage {
	border-color: rgba(255, 118, 118, 0.75);
}

.wpclan-character-profile__updated {
	align-self: start;
	padding-top: 2px;
	text-align: right;
}

.wpclan-character-profile__updated span,
.wpclan-character-profile__updated strong {
	display: block;
}

.wpclan-character-profile__updated span {
	color: var(--character-text);
	font-size: 0.8rem;
	font-weight: 800;
}

.wpclan-character-profile__updated strong {
	margin-top: 4px;
	color: var(--character-text);
	font-size: 0.82rem;
}

.wpclan-character-profile__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 18px;
	background: rgba(0, 0, 0, 0.24);
	border-bottom: 1px solid var(--character-line);
}

.wpclan-character-profile__menu button {
	min-height: 38px;
	padding: 8px 13px;
	color: var(--character-text);
	background: var(--character-panel);
	border: 1px solid var(--character-line);
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
}

.wpclan-character-profile__menu button:hover,
.wpclan-character-profile__menu button:focus {
	border-color: var(--character-gold);
	outline: none;
}

.wpclan-character-profile__menu button.is-active {
	background: var(--character-panel-strong);
	border-color: var(--character-gold);
	box-shadow: 0 0 0 2px rgba(242, 181, 68, 0.18);
}

.wpclan-character-profile__data {
	padding: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
		var(--character-bg-color);
}

.wpclan-character-profile__panel {
	display: none;
}

.wpclan-character-profile__panel.is-active {
	display: block;
}

.wpclan-character-profile__overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 10px;
}

.wpclan-character-profile__overview div,
.wpclan-character-profile__item {
	padding: 12px;
	background: var(--character-panel);
	border: 1px solid var(--character-line);
	border-radius: 6px;
}

.wpclan-character-profile__overview span,
.wpclan-character-profile__item span,
.wpclan-character-profile__item small {
	display: block;
	color: var(--character-muted);
	font-size: 0.82rem;
}

.wpclan-character-profile__overview strong,
.wpclan-character-profile__item strong {
	display: block;
	margin-top: 3px;
	color: var(--character-text);
	line-height: 1.2;
}

.wpclan-character-profile__talents {
	display: grid;
	gap: 14px;
}

.wpclan-character-profile__loadout {
	padding: 14px;
	background: var(--character-panel);
	border: 1px solid var(--character-line);
	border-radius: 6px;
}

.wpclan-character-profile__loadout.is-active {
	border-color: var(--character-gold);
	box-shadow: inset 0 0 0 1px rgba(242, 181, 68, 0.2);
}

.wpclan-character-profile__loadout header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.wpclan-character-profile__loadout h3,
.wpclan-character-profile__loadout h4 {
	margin: 0;
	color: var(--character-text);
	letter-spacing: 0;
}

.wpclan-character-profile__loadout h3 {
	font-size: 1.15rem;
}

.wpclan-character-profile__loadout h4 {
	margin-bottom: 8px;
	color: var(--character-gold);
	font-size: 0.95rem;
}

.wpclan-character-profile__loadout header span,
.wpclan-character-profile__loadout header strong {
	color: var(--character-muted);
}

.wpclan-character-profile__loadout code {
	display: block;
	max-width: 100%;
	margin: 0 0 12px;
	padding: 8px;
	overflow-wrap: anywhere;
	color: var(--character-muted);
	background: rgba(0, 0, 0, 0.24);
	border: 1px solid var(--character-line);
	border-radius: 4px;
}

.wpclan-character-profile__talent-groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.wpclan-character-profile__talent-groups ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpclan-character-profile__talent-groups li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid var(--character-line);
	border-radius: 4px;
}

.wpclan-character-profile__talent-groups li strong {
	color: var(--character-text);
	font-size: 0.92rem;
	line-height: 1.2;
}

.wpclan-character-profile__talent-groups li span {
	flex: 0 0 auto;
	color: var(--character-muted);
	font-size: 0.78rem;
}

.wpclan-character-profile__talent-builder {
	color: var(--character-text);
}

.wpclan-character-profile__talent-title h2 {
	margin: 0 0 4px;
	color: var(--character-text);
	font-size: 1.7rem;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ci-talents-specs,
.ci-talents-loadouts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ci-talents-specs {
	margin: 0 0 12px;
}

.ci-spec,
.ci-loadout,
.ci-talents-copy {
	font: inherit;
	cursor: pointer;
}

.ci-spec {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 230px;
	min-height: 74px;
	padding: 8px 12px;
	color: var(--character-text);
	background: rgba(0, 0, 0, 0.54);
	border: 1px solid var(--character-line);
	border-radius: 0;
	text-align: left;
}

.ci-spec.active {
	border-color: var(--character-gold);
	box-shadow: inset 0 0 0 1px rgba(242, 181, 68, 0.2);
}

.ci-spec img {
	display: block;
	width: 54px;
	height: 54px;
	border-radius: 7px;
	object-fit: cover;
}

.ci-spec-meta {
	display: grid;
	gap: 5px;
	line-height: 1.2;
}

.ci-spec-status {
	color: #ff3f81;
}

.ci-spec-name {
	color: var(--character-gold);
	font-weight: 700;
}

.ci-talents-loadouts {
	margin: 12px 0;
}

.ci-loadout {
	min-height: 38px;
	padding: 8px 13px;
	color: var(--character-text);
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid var(--character-line);
	border-radius: 0;
}

.ci-loadout.active {
	color: var(--character-gold);
	border-color: var(--character-gold);
}

.ci-talents-code {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding: 8px 12px;
	color: #263241;
	background: #d0d7df;
	border-radius: 5px;
}

.ci-talents-code span {
	flex: 0 0 auto;
}

.ci-talents-code code {
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-wrap: anywhere;
	color: #ff2f98;
	background: transparent;
	border: 0;
	font-size: 0.8rem;
}

.ci-talents-copy {
	flex: 0 0 auto;
	margin-left: auto;
	padding: 4px 10px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 4px;
}

.dragonflight-talent-trees {
	position: relative;
	display: flex;
	gap: 5px;
	justify-content: center;
	min-height: 620px;
	padding: 30px 18px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.76)),
		linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.78)),
		var(--talent-bg, radial-gradient(circle at center, #29313a, #060708 72%));
	background-position: center;
	background-size: cover;
	border: 1px solid var(--character-line);
	border-radius: 4px;
}

.dragonflight-talent-trees::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background: radial-gradient(circle at center, rgba(242, 181, 68, 0.18), rgba(0, 0, 0, 0) 48%);
}

.dragonflight-talent-trees-tree-background {
	position: relative;
	z-index: 1;
	width: 39%;
	min-width: 300px;
}

.tree-area-hero {
	width: 22%;
	min-width: 220px;
}

.dragonflight-talent-tree-space,
.talent-tree-icons {
	position: relative;
}

.dragonflight-talent-tree {
	position: relative;
	user-select: none;
}

.talent-tree-header h2 {
	margin: 0 0 26px;
	color: #ffffff;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.82);
	text-transform: uppercase;
}

.talent-tree-icons {
	min-height: 650px;
}

.dragonflight-talent-tree-grid-class,
.dragonflight-talent-tree-grid-spec,
.dragonflight-talent-tree-grid-hero {
	position: relative;
	z-index: 2;
	display: grid;
	column-gap: 5px;
	row-gap: 0;
	justify-items: center;
	min-height: 650px;
}

.dragonflight-talent-tree-grid-class,
.dragonflight-talent-tree-grid-spec {
	grid-template-columns: repeat(10, 2fr);
	grid-template-rows: repeat(12, 52px);
}

.dragonflight-talent-tree-grid-hero {
	align-content: start;
	align-items: center;
	grid-template-columns: repeat(5, 0.9fr);
	grid-template-rows: repeat(8, 52px);
	justify-content: center;
	justify-items: stretch;
}

.wpclan-character-profile__talent-builder [data-column="1"] {
	grid-column: 1 / 3;
}

.wpclan-character-profile__talent-builder [data-column="2"] {
	grid-column: 2 / 4;
}

.wpclan-character-profile__talent-builder [data-column="3"] {
	grid-column: 3 / 5;
}

.wpclan-character-profile__talent-builder [data-column="4"] {
	grid-column: 4 / 6;
}

.wpclan-character-profile__talent-builder [data-column="5"] {
	grid-column: 5 / 7;
}

.wpclan-character-profile__talent-builder [data-column="6"] {
	grid-column: 6 / 8;
}

.wpclan-character-profile__talent-builder [data-column="7"] {
	grid-column: 7 / 9;
}

.wpclan-character-profile__talent-builder [data-column="8"] {
	grid-column: 8 / 10;
}

.wpclan-character-profile__talent-builder [data-column="9"] {
	grid-column: 9 / 11;
}

.wpclan-character-profile__talent-builder [data-column="10"] {
	grid-column: 10 / 12;
}

.wpclan-character-profile__talent-builder [data-column="11"] {
	grid-column: 11 / 13;
}

.wpclan-character-profile__talent-builder [data-column="12"] {
	grid-column: 12 / 14;
}

.wpclan-character-profile__talent-builder [data-column="13"] {
	grid-column: 13 / 15;
}

.wpclan-character-profile__talent-builder [data-column="14"] {
	grid-column: 14 / 16;
}

.wpclan-character-profile__talent-builder [data-column="15"] {
	grid-column: 15 / 17;
}

.wpclan-character-profile__talent-builder [data-column="16"] {
	grid-column: 16 / 18;
}

.wpclan-character-profile__talent-builder [data-column="17"] {
	grid-column: 17 / 19;
}

.wpclan-character-profile__talent-builder [data-row="1"] {
	grid-row: 1;
}

.wpclan-character-profile__talent-builder [data-row="2"] {
	grid-row: 2;
}

.wpclan-character-profile__talent-builder [data-row="3"] {
	grid-row: 3;
}

.wpclan-character-profile__talent-builder [data-row="4"] {
	grid-row: 4;
}

.wpclan-character-profile__talent-builder [data-row="5"] {
	grid-row: 5;
}

.wpclan-character-profile__talent-builder [data-row="6"] {
	grid-row: 6;
}

.wpclan-character-profile__talent-builder [data-row="7"] {
	grid-row: 7;
}

.wpclan-character-profile__talent-builder [data-row="8"] {
	grid-row: 8;
}

.wpclan-character-profile__talent-builder [data-row="9"] {
	grid-row: 9;
}

.wpclan-character-profile__talent-builder [data-row="10"] {
	grid-row: 10;
}

.wpclan-character-profile__talent-builder [data-row="11"] {
	grid-row: 11;
}

.wpclan-character-profile__talent-builder [data-row="12"] {
	grid-row: 12;
}

.wpclan-character-profile__talent-builder [data-row="13"] {
	grid-row: 13;
}

.dragonflight-talent-tree-talent {
	position: relative;
	z-index: 3;
	display: grid;
	width: 34px;
	height: 34px;
	margin: 5px;
	place-items: center;
	overflow: visible;
	background: #050505;
	border: 2px solid #555b63;
	border-radius: 8px;
	filter: grayscale(0.95) brightness(0.7);
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.dragonflight-talent-tree-talent.selected {
	border-color: #ffd100;
	filter: none;
	box-shadow: 0 0 8px rgba(255, 209, 0, 0.78);
}

.dragonflight-talent-tree-talent.circle {
	border-radius: 50%;
}

.talent-tree-icon-image,
.talent-tree-icon-image-left,
.talent-tree-icon-image-right {
	width: 30px;
	height: 30px;
	background-position: center;
	background-size: cover;
}

.talent-tree-icon-image {
	border-radius: 5px;
}

.circle .talent-tree-icon-image {
	border-radius: 50%;
}

.hex,
.hex-background {
	width: 30px;
	height: 30px;
	overflow: hidden;
	border-radius: 50%;
}

.hex-background {
	display: flex;
	background: #050505;
}

.talent-tree-icon-image-left,
.talent-tree-icon-image-right {
	width: 50%;
}

.talent-tree-icon-image-left {
	border-radius: 50% 0 0 50%;
}

.talent-tree-icon-image-right {
	border-radius: 0 50% 50% 0;
}

.talent-tree-point-block {
	position: absolute;
	right: -13px;
	bottom: -12px;
	z-index: 4;
	min-width: 25px;
	padding: 1px 4px;
	color: #ffffff;
	background: #050505;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
}

.ci-talent-lines {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: none;
	pointer-events: none;
}

.talent-lines-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.ci-talent-line,
.talent-tree-line {
	position: absolute;
	height: 3px;
	background: rgba(255, 209, 0, 0.92);
	border-radius: 999px;
	box-shadow: 0 0 5px rgba(255, 209, 0, 0.85);
	transform-origin: 0 50%;
}

.ci-talent-line.is-inactive,
.talent-tree-line.is-inactive {
	background: rgba(90, 97, 108, 0.82);
	box-shadow: none;
}

.wpclan-character-profile__equipment-sheet {
	position: relative;
	display: grid;
	grid-template-columns: minmax(250px, 1fr) minmax(230px, 0.8fr) minmax(250px, 1fr);
	grid-template-areas:
		"left model right"
		"bottom bottom bottom";
	gap: 14px;
	min-height: 540px;
	padding: 14px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.78)),
		linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.72)),
		var(--equipment-bg, radial-gradient(circle at center, #30343a, #090b0f 72%));
	background-position: center;
	background-size: cover;
	border: 1px solid var(--character-line);
	border-radius: 8px;
}

.wpclan-character-profile__equipment-sheet::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0) 44%);
}

.wpclan-character-profile__equipment-column,
.wpclan-character-profile__equipment-weapons,
.wpclan-character-profile__equipment-model {
	position: relative;
	z-index: 1;
}

.wpclan-character-profile__equipment-column {
	display: grid;
	align-content: start;
	gap: 9px;
}

.wpclan-character-profile__equipment-column--left {
	grid-area: left;
}

.wpclan-character-profile__equipment-column--right {
	grid-area: right;
}

.wpclan-character-profile__equipment-model {
	display: flex;
	grid-area: model;
	align-items: end;
	justify-content: center;
	min-height: 390px;
	/*margin-top: 86px;*/
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.24);
	box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.wpclan-character-profile__equipment-model img {
	display: block;
	/*width: min(280px, 100%);*/
	max-height: 520px;
	object-fit: contain;
	object-position: bottom center;
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.7));
}

.wpclan-character-profile__equipment-weapons {
	display: grid;
	grid-area: bottom;
	grid-template-columns: repeat(2, minmax(250px, 360px));
	justify-content: center;
	gap: 9px;
}

.wpclan-character-profile__gear-slot {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 9px;
	align-items: center;
	min-height: 58px;
	padding: 7px 9px;
	color: var(--character-text);
	background: rgba(0, 0, 0, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 7px;
	box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.42);
}

.wpclan-character-profile__gear-slot--right {
	grid-template-columns: minmax(0, 1fr) 42px;
	text-align: right;
}

.wpclan-character-profile__gear-slot--right .wpclan-character-profile__gear-icon,
.wpclan-character-profile__gear-slot--right .wpclan-character-profile__gear-empty {
	order: 2;
}

.wpclan-character-profile__gear-slot--bottom {
	grid-template-columns: 42px minmax(0, 1fr);
}

.wpclan-character-profile__gear-slot--empty {
	opacity: 0.72;
}

.wpclan-character-profile__gear-icon,
.wpclan-character-profile__gear-empty {
	display: block;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.42);
	object-fit: cover;
}

.wpclan-character-profile__gear-empty {
	border-style: dashed;
}

.wpclan-character-profile__gear-text {
	min-width: 0;
}

.wpclan-character-profile__gear-text strong,
.wpclan-character-profile__gear-text small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wpclan-character-profile__gear-text strong {
	color: #b14cff;
	font-size: 0.86rem;
	line-height: 1.2;
}

.wpclan-character-profile__gear-text small {
	margin-top: 3px;
	color: #f5f7fb;
	font-size: 0.78rem;
	font-weight: 700;
}

.wpclan-character-profile__gear-slot--poor .wpclan-character-profile__gear-text strong {
	color: #9d9d9d;
}

.wpclan-character-profile__gear-slot--common .wpclan-character-profile__gear-text strong {
	color: #ffffff;
}

.wpclan-character-profile__gear-slot--uncommon .wpclan-character-profile__gear-text strong {
	color: #1eff00;
}

.wpclan-character-profile__gear-slot--rare .wpclan-character-profile__gear-text strong {
	color: #53a7ff;
}

.wpclan-character-profile__gear-slot--epic .wpclan-character-profile__gear-text strong {
	color: #b14cff;
}

.wpclan-character-profile__gear-slot--legendary .wpclan-character-profile__gear-text strong {
	color: #ff9d28;
}

.wpclan-character-profile__item--poor {
	border-left-color: #9d9d9d;
}

.wpclan-character-profile__item--common {
	border-left-color: #ffffff;
}

.wpclan-character-profile__item--uncommon {
	border-left-color: #1eff00;
}

.wpclan-character-profile__item--rare {
	border-left-color: #0070dd;
}

.wpclan-character-profile__item--epic {
	border-left-color: #a335ee;
}

.wpclan-character-profile__item--legendary {
	border-left-color: #ff8000;
}

.wpclan-character-profile__api-table {
	width: 100%;
	border-collapse: collapse;
	color: var(--character-text);
}

.wpclan-character-profile__api-table th,
.wpclan-character-profile__api-table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--character-line);
	text-align: left;
}

.wpclan-character-profile__api-table th {
	color: var(--character-gold);
	background: rgba(0, 0, 0, 0.2);
}

.wpclan-character-profile__empty,
.wpclan-character-profile--message {
	margin: 0;
	padding: 24px;
	color: var(--character-muted);
}

.wpclan-character-route {
	width: min(1400px, calc(100% - 32px));
	margin: 32px auto;
}

.wpclan-roster__character-link {
	color: inherit;
	text-decoration: none;
}

.wpclan-roster__character-link:hover strong,
.wpclan-roster__character-link:focus strong {
	text-decoration: underline;
}

@media (max-width: 820px) {
	.wpclan-character-profile__header {
		grid-template-columns: auto minmax(0, 1fr);
		min-height: 150px;
	}

	.wpclan-character-profile__updated {
		grid-column: 1 / -1;
		text-align: left;
	}

	.wpclan-character-profile__equipment-sheet {
		grid-template-columns: 1fr;
		grid-template-areas:
			"model"
			"left"
			"right"
			"bottom";
		min-height: 0;
	}

	.wpclan-character-profile__equipment-model {
		min-height: 320px;
		margin-top: 0;
	}

	.wpclan-character-profile__equipment-model img {
		max-height: 320px;
	}

	.wpclan-character-profile__equipment-weapons {
		grid-template-columns: 1fr;
	}

	.wpclan-character-profile__gear-slot--right {
		grid-template-columns: 42px minmax(0, 1fr);
		text-align: left;
	}

	.wpclan-character-profile__gear-slot--right .wpclan-character-profile__gear-icon,
	.wpclan-character-profile__gear-slot--right .wpclan-character-profile__gear-empty {
		order: 0;
	}

	.dragonflight-talent-trees {
		flex-direction: column;
		min-height: 0;
		padding: 18px 12px;
	}

	.dragonflight-talent-trees-tree-background,
	.tree-area-hero {
		width: 100%;
		min-width: 0;
	}

	.talent-tree-icons,
	.dragonflight-talent-tree-grid-class,
	.dragonflight-talent-tree-grid-spec,
	.dragonflight-talent-tree-grid-hero {
		min-height: 500px;
	}

	.talent-tree-header h2 {
		font-size: 1.55rem;
	}

	.ci-talents-code {
		align-items: flex-start;
		flex-direction: column;
	}

	.ci-talents-copy {
		margin-left: 0;
	}
}

@media (max-width: 560px) {
	.wpclan-character-route {
		width: min(100% - 20px, 1400px);
		margin: 20px auto;
	}

	.wpclan-character-profile__header {
		align-items: center;
		padding: 18px;
	}

	.wpclan-character-profile__portrait {
		width: 72px;
		height: 72px;
	}

	.wpclan-character-profile__identity h1 {
		font-size: 1.5rem;
	}

	.wpclan-character-profile__menu,
	.wpclan-character-profile__data {
		padding: 12px;
	}

	.wpclan-character-profile__equipment-sheet {
		padding: 10px;
	}

	.wpclan-character-profile__gear-slot {
		min-height: 52px;
	}

	.ci-spec {
		width: 100%;
		min-width: 0;
	}

	.dragonflight-talent-tree-grid-class,
	.dragonflight-talent-tree-grid-spec {
		grid-template-columns: repeat(10, minmax(22px, 1fr));
	}

	.dragonflight-talent-tree-grid-hero {
		grid-template-columns: repeat(5, minmax(22px, 1fr));
	}

	.dragonflight-talent-tree-talent {
		width: 30px;
		height: 30px;
	}

	.talent-tree-icon-image,
	.talent-tree-icon-image-left,
	.talent-tree-icon-image-right,
	.hex,
	.hex-background {
		width: 26px;
		height: 26px;
	}
}
