body.module-item {
	--item-font: "Semplicita Pro", "Open Sans", Arial, Tahoma, Verdana, Helvetica, sans-serif;
	--item-heading-gradient: var(--horizon-heading-gradient, linear-gradient(180deg, #dcda0b 0%, #ff9000 100%));
	--armory-orange: var(--horizon-orange, #ff9000);
	--item-orange: var(--horizon-orange, #ff9000);
}

/* Release-scoped Classic Zones and admitted AreaTable subzones. */
.zone-filter-main { min-width: 0; }
.zone-additional-filters { min-width: 0; }
.zone-additional-row {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(150px, .55fr) auto;
	gap: 8px;
	align-items: center;
	margin: 8px 0 0 calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
}
.zone-additional-row .database-filter-field { grid-template-columns: 52px minmax(0, 1fr); margin: 0; }
.zone-additional-value { display: flex; min-height: 34px; align-items: center; }
.zone-additional-value .form-control { width: 100%; }
.zone-additional-boolean { color: #d7cdc2; }
.zone-additional-remove {
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(24,20,17,.78);
	color: #ffd100;
}
.zone-additional-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 10px 0 0 calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
	padding: 0;
	border: 0;
}
.zone-additional-mode[hidden] { display: none; }
.zone-additional-mode legend { width: 100%; color: #b9aa9b; font-size: .78rem; }
.zone-additional-mode label { display: inline-flex; align-items: center; gap: 6px; color: #d7cdc2; }
.zone-table { min-width: 620px; }
.zone-table td:first-child { font-weight: 700; }
.zone-table td small { display: block; color: #89755e; font-weight: 400; }
.zone-detail-content { display: grid; min-width: 0; gap: 18px; }
.zone-location-summary,
.zone-map-section { min-width: 0; }
.zone-location-summary p { margin: 8px 0 0; color: #d8cec4; }
.zone-map-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.zone-map-options button {
	padding: 6px 10px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(24,20,17,.78);
	color: #ffd100;
}
.zone-map-options button.is-active { border-color: #e6c38b; color: #fff; }
.zone-map-card { overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: rgba(13,11,9,.72); }
.zone-map-viewport { position: relative; min-height: 220px; overflow: auto; background: #090806; }
.zone-map-viewport img { display: block; width: 100%; height: auto; }
.zone-map-card.is-expanded {
	position: fixed;
	z-index: 1000;
	inset: 3vh 3vw;
	display: flex;
	flex-direction: column;
	background: #090806;
}
.zone-map-card.is-expanded .zone-map-viewport { flex: 1; }
.zone-map-limitation,
.zone-relation-notice { color: #b9aa9b; font-size: .9rem; }
.zone-relation-table { width: 100%; }
.zone-relation-table td:last-child { color: #78664f; }
.zone-detail-page .database-entity-community { margin-top: 20px; }
.zone-detail-page .item-tabs-nav { flex-wrap: nowrap; overflow-x: auto; }
.zone-detail-page .item-tabs-nav button { min-height: 31px; padding: 6px 11px; white-space: nowrap; }
.zone-additional-remove:focus-visible,
.zone-map-options button:focus-visible { outline: 2px solid #ffd27c; outline-offset: 2px; }
@media (max-width: 700px) {
	.zone-additional-row { grid-template-columns: 1fr; margin-left: 0; }
	.zone-additional-row .database-filter-field { grid-template-columns: 1fr; gap: 5px; }
	.zone-additional-mode { margin-left: 0; }
}
@media (max-width: 560px) {
	.zone-table { min-width: 520px; }
	.zone-map-card.is-expanded { inset: 0; }
}

/* Release-scoped Classic Game Objects. */
.gameobject-filter-card { max-width: 820px; }
.gameobject-filter-main { min-width: 0; }
.gameobject-filter-main > .database-filter-field { max-width: 620px; }
.gameobject-additional-picker .form-control { max-width: 440px; }
.gameobject-additional-filters { min-width: 0; }
.gameobject-additional-row {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(150px, .55fr) auto;
	gap: 8px;
	align-items: center;
	margin: 8px 0 0 calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
}
.gameobject-additional-row .database-filter-field { grid-template-columns: 52px minmax(0, 1fr); margin: 0; }
.gameobject-additional-value { display: flex; min-height: 34px; align-items: center; }
.gameobject-additional-value .form-control { width: 100%; }
.gameobject-additional-boolean { color: #d7cdc2; }
.gameobject-additional-remove {
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(24,20,17,.78);
	color: #ffd100;
}
.gameobject-additional-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 10px 0 0 calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
	padding: 0;
	border: 0;
}
.gameobject-additional-mode[hidden] { display: none; }
.gameobject-additional-mode legend { width: 100%; color: #b9aa9b; font-size: .78rem; }
.gameobject-additional-mode label { display: inline-flex; align-items: center; gap: 6px; color: #d7cdc2; }
.gameobject-filter-actions .wow-button { min-width: 108px; }
.gameobject-table { min-width: 620px; }
.gameobject-table td:first-child { font-weight: 700; }
.gameobject-table td small { display: block; color: #89755e; font-weight: 400; }
.gameobject-detail-content { display: grid; min-width: 0; gap: 18px; }
.gameobject-location-sentence { margin: 0 0 12px; color: #eadfd4; font-size: 1rem; line-height: 1.55; }
.gameobject-location-sentence strong { color: #e6c38b; }
.gameobject-location-sentence button {
	appearance: none;
	padding: 0;
	border: 0;
	border-bottom: 1px dotted currentColor;
	background: transparent;
	color: #ffd100;
	font: inherit;
	cursor: pointer;
}
.gameobject-location-sentence button:hover,
.gameobject-location-sentence button.is-active { color: #fff; }
.gameobject-zone-link { margin-left: 4px; font-size: .8rem; white-space: nowrap; }
.gameobject-location-sentence button:focus-visible,
.gameobject-additional-remove:focus-visible { outline: 2px solid #ffd27c; outline-offset: 2px; }
.gameobject-location-unknown { padding-left: 12px; border-left: 3px solid #9a6d35; }
.gameobject-secondary-information { display: grid; gap: 16px; }
.gameobject-secondary-information h2 { margin: 0 0 10px; color: #e6c38b; font-size: 1.12rem; }
.gameobject-identity { padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(18,15,12,.42); }
.gameobject-identity p { margin: 0; }
.gameobject-type-badge { display: inline-flex; padding: 5px 10px; border: 1px solid #ae8c55; border-radius: 999px; background: #efe1c7; color: #4a3018; font-weight: 700; }
.gameobject-properties dl { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(180px,1.3fr); margin: 0; }
.gameobject-properties dt,
.gameobject-properties dd { padding: 8px 10px; border-bottom: 1px solid rgba(112,83,45,.2); margin: 0; }
.gameobject-relation-table { width: 100%; }
.gameobject-relation-table td:last-child { color: #78664f; }
.gameobject-detail-page .database-entity-community { margin-top: 20px; }
.gameobject-detail-page .item-tabs-nav { flex-wrap: nowrap; overflow-x: auto; }
.gameobject-detail-page .item-tabs-nav button { min-height: 31px; padding: 6px 11px; white-space: nowrap; }
.npc-zone-links { margin: 6px 0 10px; color: #b9aa9b; }
@media (max-width: 700px) {
	.gameobject-additional-row { grid-template-columns: 1fr; margin-left: 0; }
	.gameobject-additional-row .database-filter-field { grid-template-columns: 1fr; gap: 5px; }
	.gameobject-additional-mode { margin-left: 0; }
}
@media (max-width: 560px) {
	.gameobject-properties dl { grid-template-columns: 1fr; }
	.gameobject-properties dd { padding-top: 0; }
	.gameobject-table { min-width: 520px; }
}

body.module-item .box.type-item,
body.module-item .box.type-item .box-head,
body.module-item .box.type-item .box-head * {
	overflow: visible;
	text-overflow: clip;
}

body.module-item .box.type-item .box-head {
	position: relative;
	z-index: 50;
	padding-top: 0.6rem;
	padding-bottom: 0.42rem;
}

.database-nav {
	position: relative;
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 0;
	width: 100%;
	min-width: 0;
	color: #d8cec4;
	font-family: var(--item-font);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 1px 1px #000;
	text-transform: none;
	white-space: nowrap;
}

.database-nav-tabs {
	gap: 16px;
}

.database-nav-tabs .database-nav-item.has-children > .database-nav-link::after {
	content: "";
	width: 0;
	height: 0;
	margin-left: 7px;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	border-top: 5px solid currentColor;
	transform: translateY(1px);
}

.database-nav-item,
.database-nav-menu-item,
.database-nav-menu-group {
	position: relative;
}

.database-nav-link,
.database-nav-menu-link {
	display: flex;
	align-items: center;
	color: #cdbdaa;
	text-decoration: none;
	white-space: nowrap;
}

.database-nav-link {
	padding: 3px 0;
}

.database-nav-link:hover,
.database-nav-link:focus,
.database-nav-link:focus-visible,
.database-nav-link[aria-current],
.database-nav-item.is-active > .database-nav-link,
.database-nav-menu-link:hover,
.database-nav-menu-link:focus,
.database-nav-menu-item.is-active > .database-nav-menu-link,
.database-nav-menu-heading-link:hover,
.database-nav-menu-heading-link:focus,
.database-nav-menu-group.is-active > .database-nav-menu-heading-link {
	color: var(--armory-orange);
	text-decoration: none;
}

.database-nav-link:focus-visible,
.database-nav-menu-link:focus-visible,
.database-nav-menu-heading-link:focus-visible {
	outline: 2px solid var(--armory-orange);
	outline-offset: 2px;
}

.database-nav-separator {
	display: block;
	width: 8px;
	height: 8px;
	margin: 0 8px;
	opacity: 0.64;
	filter: sepia(1) saturate(2.2) hue-rotate(350deg) brightness(1.18);
}

.database-nav-menu {
	--database-nav-menu-shift: 0px;
	--database-nav-menu-y-shift: 0px;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999;
	display: none;
	box-sizing: border-box;
	width: 220px;
	max-width: calc(100vw - 24px);
	max-height: calc(100vh - 24px);
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(154, 79, 31, 0.78);
	background: rgba(12, 9, 7, 0.96);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.58), inset 0 0 18px rgba(255, 145, 0, 0.08);
	overflow: visible;
	transform: translate(var(--database-nav-menu-shift), var(--database-nav-menu-y-shift));
}

.database-nav-menu[data-columns="2"] {
	width: 420px;
}

.database-nav-menu[data-columns="3"] {
	width: 610px;
}

.database-nav-menu[data-columns="4"] {
	width: 810px;
}

.database-nav-menu[data-columns="5"],
.database-nav-menu[data-columns="6"] {
	width: 980px;
}

.database-nav-menu::before {
	position: absolute;
	top: -5px;
	right: 0;
	left: 0;
	height: 5px;
	content: "";
}

.database-nav-item:hover > .database-nav-menu,
.database-nav-item:focus-within > .database-nav-menu,
.database-nav-item.is-open > .database-nav-menu,
.database-nav-menu-item:hover > .database-nav-menu,
.database-nav-menu-item:focus-within > .database-nav-menu,
.database-nav-menu-item.is-open > .database-nav-menu,
.database-nav-menu-group:hover > .database-nav-menu,
.database-nav-menu-group:focus-within > .database-nav-menu,
.database-nav-menu-group.is-open > .database-nav-menu {
	display: block;
}

.database-nav-menu.is-align-end {
	right: 0;
	left: auto;
}

.database-nav-menu-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.database-nav-menu[data-columns="2"] > .database-nav-menu-columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.database-nav-menu[data-columns="3"] > .database-nav-menu-columns {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.database-nav-menu[data-columns="4"] > .database-nav-menu-columns {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.database-nav-menu[data-columns="5"] > .database-nav-menu-columns,
.database-nav-menu[data-columns="6"] > .database-nav-menu-columns {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.database-nav-menu-column {
	min-width: 0;
}

.database-nav-menu-group + .database-nav-menu-group {
	margin-top: 12px;
}

.database-nav-menu-heading {
	display: block;
	margin: 0 0 4px;
	padding: 2px 6px 5px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	color: #e6c38b;
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
}

.database-nav-menu-heading-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-left: 18px;
}

.database-nav-menu-heading-link::before,
.database-nav-menu-item.is-active > .database-nav-menu-link::before,
.database-nav-menu-item.is-checked > .database-nav-menu-link::before {
	position: absolute;
	left: 6px;
	color: var(--armory-orange);
	content: "\2713";
	font-size: 0.66rem;
	font-weight: 800;
}

.database-nav-menu-heading-link:not([aria-current]):not([aria-checked="true"])::before {
	content: "";
}

.database-nav-menu-items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.database-nav-menu .database-nav-menu-nested {
	top: -10px;
	left: 100%;
	z-index: 1000;
	margin-left: -1px;
}

.database-nav-menu .database-nav-menu-nested.is-open-left {
	right: 100%;
	left: auto;
	margin-right: -1px;
	margin-left: 0;
}

.database-nav-menu-link {
	position: relative;
	justify-content: space-between;
	gap: 16px;
	min-height: 22px;
	padding: 4px 8px 4px 18px;
	color: #d8cec4;
	font-size: 0.76rem;
	font-weight: 400;
	line-height: 1.1;
}

.database-nav-submenu-arrow {
	flex: 0 0 auto;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 5px solid rgba(255, 255, 255, 0.45);
}

.database-nav-menu-item:hover > .database-nav-menu-link .database-nav-submenu-arrow,
.database-nav-menu-item:focus-within > .database-nav-menu-link .database-nav-submenu-arrow,
.database-nav-menu-group:hover > .database-nav-menu-heading-link .database-nav-submenu-arrow,
.database-nav-menu-group:focus-within > .database-nav-menu-heading-link .database-nav-submenu-arrow {
	border-left-color: var(--armory-orange);
}

@media (max-width: 960px) {
	.database-nav-menu[data-columns="3"],
	.database-nav-menu[data-columns="4"],
	.database-nav-menu[data-columns="5"],
	.database-nav-menu[data-columns="6"] {
		width: min(620px, calc(100vw - 24px));
	}

	.database-nav-menu[data-columns="3"] > .database-nav-menu-columns,
	.database-nav-menu[data-columns="4"] > .database-nav-menu-columns,
	.database-nav-menu[data-columns="5"] > .database-nav-menu-columns,
	.database-nav-menu[data-columns="6"] > .database-nav-menu-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.database-nav {
		overflow: visible;
	}

	.database-nav-menu,
	.database-nav-menu[data-columns="2"],
	.database-nav-menu[data-columns="3"],
	.database-nav-menu[data-columns="4"],
	.database-nav-menu[data-columns="5"],
	.database-nav-menu[data-columns="6"] {
		width: min(360px, calc(100vw - 24px));
		max-height: 66vh;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.database-nav-menu[data-columns] > .database-nav-menu-columns {
		grid-template-columns: 1fr;
	}

	.database-nav-menu .database-nav-menu-nested,
	.database-nav-menu .database-nav-menu-nested.is-open-left {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		width: 100%;
		max-width: none;
		max-height: none;
		margin: 4px 0 6px 10px;
		padding: 6px 0 4px 8px;
		border-width: 0 0 0 1px;
		box-shadow: none;
		overflow: visible;
		transform: none;
	}

	.database-nav-menu-item.is-open > .database-nav-menu-link .database-nav-submenu-arrow,
	.database-nav-menu-group.is-open > .database-nav-menu-heading-link .database-nav-submenu-arrow {
		transform: rotate(90deg);
	}
}

.database-page {
	width: 100%;
	margin: 0;
	color: #d8cec4;
	font-family: var(--item-font);
}

.database-page-landing {
	width: 100%;
	margin: 0;
	padding-top: 4px;
}

.database-tool-stub h1 {
	margin: 0;
	color: #fff;
	font-size: 2.15rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.1;
	text-shadow: 1px 1px 0 #000;
}

.database-search-panel {
	width: min(100%, 700px);
	margin: 0 auto 22px;
}

.item-set-page { color: #d8cec4; }
.item-set-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.item-set-heading h1 { margin: 0 0 5px; color: #fff; font-size: 2rem; }
.item-set-heading p { margin: 0; color: #998b80; }
.item-set-search { display: grid; grid-template-columns: minmax(180px, 260px) auto; gap: 7px; align-items: end; }
.item-set-search label { grid-column: 1 / -1; color: #b9aa9b; }
.item-set-table-wrap { width: 100%; overflow-x: auto; border: 1px solid rgba(255,255,255,.08); background: rgba(15,12,10,.32); }
.item-set-table { min-width: 900px; table-layout: auto; }
.item-set-table caption { padding: 8px 10px; color: #998b80; font-size: .8rem; text-align: left; caption-side: top; }
.item-set-table thead tr th { padding: 8px 10px; color: #b9aa9b; font-size: .82rem; font-style: normal; font-weight: 600; text-transform: uppercase; }
.item-set-table thead th a { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.item-set-table thead th[aria-sort="ascending"] a,
.item-set-table thead th[aria-sort="descending"] a,
.item-set-table thead th a:hover,
.item-set-table thead th a:focus-visible { color: #fff; text-decoration: underline; }
.item-set-table thead + tbody::before { display: none; }
.item-set-table tbody tr td,
.item-set-table thead + tbody tr:first-child td { padding: 6px 10px !important; color: #d8cec4 !important; font-size: .94rem !important; }
.item-set-table .item-set-name-column { width: 24%; min-width: 190px; }
.item-set-table .item-set-level-column { width: 72px; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-set-table .item-set-pieces-column { width: 30%; min-width: 250px; }
.item-set-table .item-set-type-column { width: 18%; min-width: 130px; }
.item-set-table .item-set-classes-column { width: 21%; min-width: 180px; }
.item-set-class-list { display: inline; }
.item-set-class-list > span { white-space: nowrap; }
.item-set-name-column a { font-weight: 600; }
.item-set-classification { display: block; margin-top: 2px; color: #d8cec4; font-size: .78rem; line-height: 1.2; }
.item-set-piece-icons { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.item-set-piece-icon { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid currentColor; background: rgba(0,0,0,.35); }
.item-set-piece-icon img { display: block; width: 28px; height: 28px; }
.item-set-empty { padding: 24px !important; text-align: center; }
.item-set-pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; margin: 22px 0 8px; text-align: center; }
.item-set-pagination a:last-child { text-align: right; }
.database-entity-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.database-entity-heading-rank { color: #b9aa9b; font-size: .58em; font-weight: 500; }
.database-entity-heading h1 { margin-bottom: 5px; }
.database-entity-heading p { margin: 0; color: #b9aa9b; font-size: .94rem; }
.database-entity-main { display: flex; flex-direction: column; gap: 24px; }
.database-entity-section h2,
.database-entity-related h2 { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.1); color: #e6c38b; font-size: 1.12rem; }
.item-set-member-list,
.item-set-bonus-list,
.database-entity-related-list { margin: 0; padding: 0; list-style: none; }
.item-set-member-list { display: grid; gap: 2px; }
.item-set-member-link { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; text-decoration: none; }
.item-set-member-link img { width: 28px; height: 28px; border: 1px solid currentColor; }
.item-set-member-link:hover span { text-decoration: underline; }
.item-set-bonuses > p { margin: 0 0 12px; color: #b9aa9b; }
.item-set-bonus-list { display: grid; gap: 7px; }
.item-set-bonus-list li { color: #d8cec4; line-height: 1.45; }
.item-set-bonus-list strong { color: #e6c38b; }
.item-set-bonus-list a { color: #ffd100; text-decoration: none; }
.item-set-bonus-list a:hover,
.item-set-bonus-list a:focus-visible { color: #fff; text-decoration: underline; }
.spell-bonus-detail p { margin: 0; color: #d8cec4; line-height: 1.5; }
.database-entity-links { display: block; }
.database-entity-related-list { display: grid; gap: 5px; }
.database-entity-related-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 30px; }
.database-entity-related-list img { display: block; width: 30px; height: 30px; border: 0; padding: 0; background: transparent; }
.database-entity-related-list a { font-size: .88rem; }
.database-entity-related-list a span { color: #b9aa9b; font-size: .85em; }
.database-entity-related-list small { margin-left: auto; color: #8f8276; font-size: .72rem; }
.database-entity-related-list p { flex-basis: 100%; margin: 0 0 3px 38px; color: #b9aa9b; font-size: .78rem; line-height: 1.4; }
.spell-related-item-table-wrap { width: 100%; overflow-x: auto; }
.spell-related-item-table { min-width: 760px; table-layout: auto; }
.spell-related-item-table caption { padding: 7px 9px; color: #998b80; font-size: .8rem; text-align: left; caption-side: top; }
.spell-related-item-table thead tr th { padding: 7px 9px; color: #b9aa9b; font-size: .78rem; font-style: normal; font-weight: 600; text-transform: uppercase; }
.spell-related-item-table thead + tbody::before { display: none; }
.spell-related-item-table tbody tr td,
.spell-related-item-table thead + tbody tr:first-child td { padding: 6px 9px !important; color: #d8cec4 !important; font-size: .84rem !important; }
.spell-related-item-table td:first-child { min-width: 240px; }
.spell-related-item-table td:first-child img { margin-right: 6px; vertical-align: middle; }
.spell-related-item-table td:not(:first-child) { white-space: nowrap; }
.spell-related-pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; margin-top: 14px; color: #b9aa9b; font-size: .82rem; text-align: center; }
.spell-related-pagination a:last-child { text-align: right; }
.database-entity-relation-panel .item-set-table-wrap { border: 0; }
.spell-table { min-width: 780px; }
.spell-table .spell-name-column { min-width: 260px; }
.spell-list-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.spell-list-link img { width: 30px; height: 30px; border: 1px solid #6f583b; }
.spell-aura-text { margin-top: 8px !important; color: #b9aa9b; }
.spell-ranks ol { display: grid; gap: 7px; margin: 0; padding-left: 22px; }
.spell-reagents ul { margin: 0; padding-left: 18px; }
.spell-ranks .is-current { color: #ffd100; font-weight: 600; }
.database-entity-community { margin-top: 18px; }
.database-entity-related-title { margin: 0 0 10px; color: #e6c38b; font-size: 1.12rem; }
.database-entity-relation-panel { padding: 12px 14px; }
.item-set-summary { margin-bottom: 14px; }
.item-set-summary a { color: #e6c38b; font-weight: 700; }
.item-set-summary p { margin: 7px 0 0; color: #a99c91; }
@media (max-width: 760px) {
    .item-set-heading { display: grid; grid-template-columns: 1fr; }
    .item-set-search { width: 100%; }
}
@media (max-width: 480px) {
    .item-set-search { grid-template-columns: 1fr; }
    .item-set-search .wow-button { justify-self: start; }
    .item-set-table thead tr th,
    .item-set-table tbody tr td,
    .item-set-table thead + tbody tr:first-child td { padding-right: 7px !important; padding-left: 7px !important; }
}

.database-search-panel form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.database-filter-form {
	--database-filter-label-width: 112px;
	--database-filter-column-gap: 8px;
	width: 100%;
	max-width: none;
	float: none;
}

.database-search-main label {
	display: block;
	margin-bottom: 7px;
	color: var(--armory-orange);
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
}

.database-search-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.database-search-row .form-control {
	flex: 1 1 auto;
	min-width: 0;
}

.database-page:not(.database-page-landing) .database-search-panel {
	width: 100%;
	margin: 0 0 22px;
}

.database-filter-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
	gap: 20px;
	box-sizing: border-box;
	width: 100%;
	padding: 15px 16px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	background: rgba(15, 12, 10, 0.44);
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.26);
}

.database-filter-card-landing {
	grid-template-columns: minmax(0, 1fr);
}

.database-filter-card-with-type .database-filter-side {
	grid-template-columns: repeat(3, minmax(108px, 1fr));
}

.spell-listing-heading {
	margin-bottom: 14px;
}

.database-collection-filter-panel {
	width: 100%;
	max-width: none;
	margin: 0 0 22px;
	clear: both;
	float: none;
}

.database-filter-card-with-facet {
	grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
}

.database-filter-card-with-facet .database-filter-side {
	display: block;
}

.spell-extended-search {
	display: flex;
	gap: 7px;
	align-items: center;
	margin: -2px 0 10px calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
	color: #b9aa9b;
	font-size: 0.8rem;
}

.spell-filter-select-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.spell-filter-select-row .database-filter-field {
	display: block;
}

.spell-filter-select-row .database-filter-field > span:first-child {
	display: block;
	margin-bottom: 4px;
	text-align: left;
}

.spell-filter-select-row select {
	width: 100%;
	min-height: 36px;
}

.spell-additional-filters {
	margin-top: 8px;
}

.spell-additional-row {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(130px, 1fr) auto;
	gap: 8px;
	align-items: end;
	margin: 8px 0;
}

.spell-additional-row .database-filter-field {
	display: block;
	margin: 0;
}

.spell-additional-row .database-filter-field > span:first-child {
	display: block;
	margin-bottom: 4px;
	text-align: left;
}

.spell-additional-value {
	display: flex;
	min-height: 36px;
	align-items: center;
}

.spell-additional-value .form-control {
	width: 100%;
}

.spell-additional-boolean {
	color: #d8cec4;
}

.spell-additional-remove {
	min-height: 36px;
	padding: 0 10px;
	border: 1px solid rgba(255,255,255,.16);
	background: rgba(0,0,0,.2);
	color: #ffd100;
}

.spell-additional-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 10px 0 0;
	padding: 0;
	border: 0;
	color: #b9aa9b;
	font-size: 0.78rem;
}

.spell-additional-mode legend {
	width: 100%;
	color: #b9aa9b;
	font-size: 0.78rem;
}

.database-filter-card-with-facet .database-filter-list {
	width: 100%;
}

.database-filter-semantics {
	margin: 0;
	color: #8f8276;
	font-size: 0.74rem;
	line-height: 1.4;
}

.spell-filter-reset {
	display: inline-block;
	text-decoration: none;
}

.database-filter-primary {
	min-width: 0;
}

.database-filter-side {
	display: grid;
	grid-template-columns: repeat(2, minmax(135px, 1fr));
	align-content: start;
	gap: 12px;
	min-width: 0;
	padding-top: 1px;
}

.database-filter-field {
	display: grid;
	grid-template-columns: var(--database-filter-label-width) minmax(0, 1fr);
	align-items: center;
	gap: var(--database-filter-column-gap);
	margin: 0 0 8px;
	color: #d7c7b8;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: none;
}

.database-filter-field > span:first-child {
	color: #b9aa9b;
	text-align: left;
	white-space: nowrap;
}

.database-filter-name .form-control {
	max-width: 330px;
}

.database-filter-levels {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
}

.database-filter-levels .database-filter-field {
	grid-template-columns: var(--database-filter-label-width) auto;
}

.database-filter-range {
	display: flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
}

.database-filter-range .form-control {
	width: 58px;
	padding-left: 6px;
	padding-right: 6px;
	text-align: center;
}

.database-filter-range em {
	color: #8f8276;
	font-style: normal;
}

.database-filter-usable .form-control {
	max-width: 190px;
}

.database-filter-side .database-filter-field {
	grid-template-columns: 62px minmax(0, 1fr);
}

.database-filter-side .database-filter-field > span:first-child {
	text-align: left;
}

.database-filter-list-field {
	display: block;
	margin: 0;
	color: #b9aa9b;
	font-size: 0.8125rem;
	font-weight: 600;
}

.database-filter-list-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 5px;
}

.database-filter-list-head span {
	color: #b9aa9b;
}

.database-filter-list-head button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffd100;
	font-size: 0.75rem;
	line-height: 1;
	text-decoration: none;
}

.database-filter-list-head button:hover {
	color: #fff;
	text-decoration: underline;
}

.database-filter-list {
	display: block;
	width: 100%;
	height: 148px;
	padding: 3px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 0;
	background: rgba(0, 0, 0, 0.35);
	color: #e8ded4;
	line-height: 1.35;
	overflow-y: auto;
	user-select: none;
}

.database-filter-native-multiselect {
	user-select: auto;
}

.database-filter-native-multiselect option {
	min-height: 20px;
	padding: 2px 5px;
}

.database-filter-option {
	appearance: none;
	display: block;
	width: 100%;
	min-height: 20px;
	padding: 2px 5px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #e8ded4;
	font: inherit;
	line-height: 1.35;
	text-align: left;
	text-shadow: none;
	cursor: default;
}

.database-filter-option:hover,
.database-filter-option:focus {
	background: rgba(255, 144, 0, 0.16);
	color: #fff;
	outline: 0;
}

.database-filter-option.is-selected {
	background: rgba(49, 95, 157, 0.92);
	color: #fff;
}

.database-filter-list:focus-within {
	border-color: rgba(255, 144, 0, 0.5);
}

.database-advanced-filter {
	margin: 2px 0 10px calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffd100;
	font-size: 0.8125rem;
	line-height: 1.35;
	text-align: left;
	text-decoration: none;
}

.database-advanced-filter:hover {
	color: #fff;
	text-decoration: underline;
}

.database-filter-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
}

.database-search-panel .form-control {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background-color: rgba(0, 0, 0, 0.28);
	color: #eee;
}

.wow-button {
	appearance: none;
	position: relative;
	display: inline-block;
	min-width: 132px;
	height: 21px;
	padding: 0 0 0 13px;
	border: 0;
	border-radius: 0 !important;
	background: url(../images/wow-red.gif) left 0 no-repeat;
	box-shadow: none;
	color: #ffd100;
	cursor: pointer;
	font-family: var(--item-font);
	font-size: 12px;
	font-weight: 700;
	line-height: 21px;
	outline: 0;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
	vertical-align: middle;
}

.wow-button em {
	display: block;
	height: 21px;
	padding-right: 13px;
	background: url(../images/wow-red.gif) right 0 no-repeat;
	font-style: normal;
}

.wow-button span {
	position: relative;
	z-index: 2;
	display: block;
	color: var(--horizon-orange, #ff9000);
	text-shadow: 0 1px 0 #000;
}

.wow-button b {
	display: none;
}

.wow-button i {
	font-style: normal;
}

.wow-button:hover {
	background-position: left -21px;
	color: #ffd100;
	text-decoration: none;
}

.wow-button:hover em {
	background-position: right -21px;
}

.wow-button:active {
	background-position: left -63px;
}

.wow-button:active em {
	background-position: right -63px;
}

.wow-button-muted,
.wow-button-disabled,
.wow-button-muted:hover,
.wow-button-disabled:hover,
.wow-button-muted:active,
.wow-button-disabled:active {
	background-position: left -84px;
	color: #a0a0a0;
	cursor: default;
}

.wow-button-muted em,
.wow-button-disabled em,
.wow-button-muted:hover em,
.wow-button-disabled:hover em,
.wow-button-muted:active em,
.wow-button-disabled:active em {
	background-position: right -84px;
}

.wow-button-muted span,
.wow-button-disabled span,
.wow-button-muted:hover span,
.wow-button-disabled:hover span,
.wow-button-muted:active span,
.wow-button-disabled:active span {
	color: #a0a0a0;
}

.database-search-row .wow-button {
	flex: 0 0 auto;
}

.database-results {
	display: none;
	margin-top: 20px;
	width: 100%;
}

.database-results .dataTables_wrapper {
	width: 100%;
	color: #d8cec4;
}

.database-results #database_search_results_items {
	width: 100% !important;
}

.database-tool-stub {
	width: min(100%, 700px);
	margin: 0 auto;
	text-align: center;
}

.database-tool-stub p {
	margin: 12px 0 0;
	color: #b9aa9b;
}

.item-detail-page {
	width: 100%;
	margin: 0;
	color: #d8cec4;
}

.spell-detail-page,
.spell-detail-page .item-detail-layout,
.spell-detail-page .item-detail-tabs {
	width: 100%;
}

body.module-item .box.type-item .box-head nav[aria-label='breadcrumb'] .breadcrumb {
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
}

body.module-item .box.type-item .box-head nav[aria-label='breadcrumb'] .breadcrumb .breadcrumb-item {
	color: rgba(216, 206, 196, 0.58);
}

body.module-item .box.type-item .box-head nav[aria-label='breadcrumb'] .breadcrumb .breadcrumb-item a {
	color: rgba(216, 206, 196, 0.62);
}

body.module-item .box.type-item .box-head nav[aria-label='breadcrumb'] .breadcrumb .breadcrumb-item.active,
body.module-item .box.type-item .box-head nav[aria-label='breadcrumb'] .breadcrumb .breadcrumb-item a:hover,
body.module-item .box.type-item .box-head nav[aria-label='breadcrumb'] .breadcrumb .breadcrumb-item.active a {
	color: var(--item-orange);
}

body.module-item .box.type-item .box-head nav[aria-label='breadcrumb'] .breadcrumb .breadcrumb-item i,
body.module-item .box.type-item .box-head nav[aria-label='breadcrumb'] .breadcrumb .breadcrumb-item svg {
	color: rgba(216, 206, 196, 0.38);
	font-size: 0.68rem;
}

.item-detail-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.item-detail-heading h1 {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	margin: 0;
	color: #fff;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
}

.item-title-action {
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #b9a46a;
	font-size: 0.9rem;
	line-height: 22px;
	text-align: center;
	cursor: default;
	text-shadow: 1px 1px 0 #000;
}

.item-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 270px);
	gap: 24px;
	align-items: flex-start;
}

.item-detail-main {
	min-width: 0;
}

.database-entity-primary {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 8px;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	box-shadow: none;
}

.box.type-item .database-entity-primary {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.database-entity-presentation {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.database-entity-icon,
.database-entity-icon a {
	display: block;
	box-sizing: content-box;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.database-entity-icon {
	position: relative;
	flex: 0 0 56px;
}

.database-entity-icon::before,
.database-entity-icon::after,
.database-entity-icon a::before,
.database-entity-icon a::after {
	display: none;
	content: none;
}

.database-entity-icon-image {
	display: block;
	box-sizing: content-box;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: transparent;
	box-shadow: none;
}

.database-entity-tooltip .item_bg {
	width: auto;
	min-width: 0;
	margin-left: 0;
	line-height: 17px;
}

.database-entity-tooltip .card-body {
	min-width: 0;
	padding: 0;
}

.database-entity-tooltip .item-tooltip-shell {
	width: auto;
	margin: 0;
	border: 0;
	border-spacing: 0;
	border-collapse: collapse;
}

.database-entity-tooltip .item-tooltip-shell > tbody > tr > td,
.database-entity-tooltip .item-tooltip-shell > tbody > tr > th {
	border: 0 !important;
	background-image: url(../images/tooltip.png);
	color: #fff;
	font-family: Verdana, sans-serif;
	font-size: 12px;
	line-height: 17px;
	text-align: left;
	text-shadow: 1px 1px 0 #000;
	vertical-align: top;
}

.database-entity-tooltip .item-tooltip-shell > tbody > tr > td {
	min-width: 280px;
	max-width: 390px;
	padding: 8px 4px 1px 9px;
}

.database-entity-tooltip .item-tooltip-corner {
	width: 10px;
	padding: 0;
}

.database-entity-tooltip .item-tooltip-corner-tr {
	background-position: top right;
}

.database-entity-tooltip .item-tooltip-corner-bl {
	height: 10px;
	background-position: bottom left;
}

.database-entity-tooltip .item-tooltip-corner-br {
	background-position: bottom right;
}

.database-entity-tooltip .item-detail-tooltip {
	color: #fff;
	font-size: 12px;
	line-height: 17px;
}

.database-entity-tooltip .item-detail-tooltip pp {
	display: none;
}

.database-entity-tooltip .item-detail-tooltip a {
	text-decoration: none;
}

.database-entity-tooltip .item-detail-tooltip a:hover {
	text-decoration: underline;
}

.database-entity-primary .item-tooltip-weapon-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	clear: both;
}

.database-entity-primary .item-tooltip-damage {
	min-width: 0;
}

.database-entity-primary .item-tooltip-speed {
	flex: 0 0 auto;
	text-align: right;
	white-space: nowrap;
}

.database-entity-primary .item-tooltip-dps {
	display: block;
	clear: both;
}

.database-entity-primary .item_bg table,
.database-entity-primary .item_bg tbody,
.database-entity-primary .item_bg tr,
.database-entity-primary .item_bg td {
	border: 0;
	background: transparent;
	color: inherit;
}

.database-entity-primary .item-sell-price {
	margin-top: 6px;
}

.spell-tooltip-title {
	display: block;
	margin: 0;
	color: #fff;
	font-family: Verdana, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: normal;
	text-shadow: 1px 1px 0 #000;
}

.spell-summary-title-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 5px;
}

.spell-summary-rank {
	flex: 0 0 auto;
	color: #b9aa9b;
	font-size: 12px;
	font-weight: 400;
	line-height: 24px;
	white-space: nowrap;
}

.spell-summary-classification {
	display: block;
	color: #b9aa9b;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
}

.spell-summary-requirement,
.spell-summary-required-level,
.spell-summary-cast {
	display: block;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
}

.spell-summary-resource-range {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 18px;
	margin-top: 3px;
	color: #fff;
	font-size: 12px;
	line-height: 17px;
}

.spell-summary-resource-range span:last-child {
	text-align: right;
}

.spell-summary-cast {
	margin-bottom: 5px;
}

.spell-summary p {
	margin: 0;
	line-height: 17px;
}

.spell-summary .spell-summary-description {
	color: #ffd100;
}

.spell-summary .spell-summary-description.is-fallback {
	color: #b9aa9b;
}

.spell-applied-aura-tooltip {
	width: fit-content;
	max-width: 100%;
}

.spell-applied-aura-name,
.spell-applied-aura-summary,
.spell-applied-aura-duration {
	display: block;
	font-size: 12px;
	line-height: 17px;
}

.spell-applied-aura-name {
	color: #ffd100;
	font-weight: 700;
}

.spell-applied-aura-summary {
	color: #fff;
}

.spell-applied-aura-duration {
	color: #ffd100;
}

.spell-details-table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(15, 12, 10, 0.36);
}

.spell-details-table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	table-layout: fixed;
}

.spell-details-table caption {
	padding: 9px 11px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: #e6c38b;
	font-size: 1.12rem;
	font-weight: 700;
	text-align: left;
	caption-side: top;
}

.spell-details-table th,
.spell-details-table td {
	padding: 7px 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	text-align: left;
	vertical-align: top;
}

.spell-details-table th {
	width: 18%;
	color: #a99c91;
	font-size: 0.82rem;
	font-weight: 600;
}

.spell-details-table td {
	width: 32%;
	color: #e8ded4;
	font-size: 0.86rem;
}

.spell-effect-row th {
	color: #e6c38b;
}

.spell-effect-row td strong {
	color: #fff;
}

.spell-effect-row td small {
	display: block;
	margin-top: 4px;
	color: #a99c91;
}

.spell-effect-row a {
	color: #ffd100;
	text-decoration: none;
}

.spell-effect-row a:hover,
.spell-effect-row a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

#database_search_box {
	display: none;
}

#database_search_results_items img {
	margin-right: 6px;
	vertical-align: middle;
}

.item-detail-side {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.item-action-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-height: 21px;
}

.item-action-buttons .wow-button {
	min-width: 104px;
}

.item-links-panel,
.item-quickfacts,
.item-tab-panel {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(18, 15, 12, 0.52);
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.32), 0 10px 22px rgba(0, 0, 0, 0.2);
}

.item-links-panel {
	padding: 12px;
}

.item-links-panel[hidden] {
	display: none;
}

.item-links-panel h2,
.item-quickfacts h2,
.item-tab-panel h2 {
	margin: 0 0 10px;
	color: var(--item-orange);
	background: var(--item-heading-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-family: var(--item-font);
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: uppercase;
}

.item-links-panel a {
	display: inline-block;
	margin-bottom: 10px;
	color: #ffd100;
	text-decoration: none;
}

.item-links-panel a:hover {
	color: #fff;
	text-decoration: underline;
}

.item-links-panel label {
	display: block;
	margin-top: 10px;
	color: #b9aa9b;
	font-size: 0.8125rem;
}

.item-links-panel input {
	width: 100%;
	margin-top: 4px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.28);
	color: #eee;
	font-size: 0.75rem;
}

.item-quickfacts {
	padding: 0;
}

.item-quickfacts h2 {
	margin: 0;
	padding: 10px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(72, 52, 38, 0.5);
	-webkit-background-clip: border-box;
	background-clip: border-box;
	color: #eadfd4;
	-webkit-text-fill-color: #eadfd4;
}

.item-quickfacts dl {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 8px 10px;
	margin: 0;
	padding: 12px;
}

.item-quickfacts dt {
	color: #9f9184;
	font-size: 0.8125rem;
}

.item-quickfacts dd {
	min-width: 0;
	margin: 0;
	color: #eadfd4;
	font-size: 0.8125rem;
	overflow-wrap: anywhere;
}

.item-quickfacts img {
	width: 18px;
	height: 18px;
	margin-right: 4px;
	vertical-align: middle;
}

.item-detail-tabs {
	width: 100%;
	margin-top: 24px;
}

.item-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.item-tabs-nav button {
	min-height: 34px;
	padding: 7px 13px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 0;
	background: rgba(25, 22, 19, 0.72);
	color: #b9aa9b;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: none;
}

.item-tabs-nav button.is-active {
	background: rgba(72, 52, 38, 0.76);
	color: var(--horizon-orange, #ff9000);
}

.item-tab-panel {
	display: none;
	padding: 16px;
	border-top: 0;
}

.item-tab-panel.is-active {
	display: block;
}

.item-tab-panel p {
	margin: 0;
	color: #b9aa9b;
}

.item-screenshots {
	margin: 0;
	padding: 0;
}

.item-screenshots-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	min-height: 42px;
	padding: 9px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(72, 52, 38, 0.5);
	color: #eadfd4;
}

.item-screenshots-header h2,
.item-screenshot-form h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
}

.item-screenshots-header span {
	color: #00aeff;
	font-weight: 700;
}

.item-screenshots-empty {
	margin: 0;
	padding: 14px;
	color: #b9aa9b;
}

.item-screenshots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
	padding: 16px;
}

.item-screenshot {
	position: relative;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.24);
}

.item-screenshot > a {
	display: block;
	aspect-ratio: 16 / 9;
	background: rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.item-screenshot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.item-screenshot figcaption {
	padding: 10px;
	color: #b9aa9b;
	font-size: 0.8125rem;
	line-height: 1.45;
}

.item-screenshot figcaption strong,
.item-screenshot figcaption span,
.item-screenshot figcaption small {
	display: block;
}

.item-screenshot figcaption strong {
	margin-bottom: 4px;
	color: #eadfd4;
}

.item-screenshot figcaption a {
	color: #ffd100;
	text-decoration: none;
}

.item-screenshot figcaption a:hover {
	color: #fff;
	text-decoration: underline;
}

.item-screenshot figcaption small {
	margin-top: 4px;
	color: #8d8075;
}

.item-screenshot-delete {
	margin: 0 10px 10px;
	border: 0;
	background: transparent;
	color: #ffb6b2;
	font-size: 0.8125rem;
}

.item-screenshot-form {
	padding: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.item-screenshot-form h3 {
	margin-bottom: 10px;
	color: #eadfd4;
}

.item-screenshot-form .form-control {
	margin-bottom: 10px;
	background-color: rgba(0, 0, 0, 0.24);
	color: #eee;
}

.item-screenshot-form-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.item-screenshot-form-footer span,
.item-screenshot-form p {
	color: #ad9e91;
}

.item-comments {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.item-comments-header,
.item-comment-body > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	min-height: 42px;
	padding: 9px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(72, 52, 38, 0.5);
	color: #eadfd4;
}

.item-comments-header h3,
.item-comment-body h4,
.item-comment-form h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
}

.item-comments-header span {
	color: #00aeff;
	font-weight: 700;
}

.item-comments-empty {
	margin: 0;
	padding: 14px;
	color: #b9aa9b;
}

.item-comment {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.item-comment:first-child {
	border-top: 0;
}

.item-comment-author {
	padding: 16px 12px;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	text-align: center;
}

.item-comment-author img {
	width: 74px;
	height: 74px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	object-fit: cover;
}

.item-comment-author strong,
.item-comment-author span,
.item-comment-author small {
	display: block;
	margin-top: 6px;
}

.item-comment-author strong,
.item-comment-author strong a {
	color: #f0e4d6;
	text-decoration: none;
}

.item-comment-author span {
	color: #a89582;
	font-size: 0.8125rem;
}

.item-comment.is-staff .item-comment-author span {
	color: #ffb65d;
}

.item-comment.is-deleted .item-comment-author img {
	filter: grayscale(1) saturate(0.2);
	opacity: 0.62;
}

.item-comment-author small {
	color: #8d8075;
	font-size: 0.75rem;
}

.item-comment-author em {
	display: block;
	margin-top: 8px;
	color: #7fb9df;
	font-size: 0.6875rem;
	font-style: normal;
}

.item-comment-body {
	min-width: 0;
}

.item-comment-body > header span {
	flex: 0 0 auto;
	color: #9f9184;
	font-size: 0.8125rem;
}

.item-comment-content {
	padding: 16px;
	color: #d8cec4;
	line-height: 1.65;
}

.item-comment-content p:last-child {
	margin-bottom: 0;
}

.item-comment-delete {
	margin: 0 16px 16px;
	border: 0;
	background: transparent;
	color: #ffb6b2;
	font-size: 0.8125rem;
}

.item-comment-form {
	padding: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.item-comment-form h3 {
	margin-bottom: 10px;
	color: #eadfd4;
}

.item-comment-form .form-control {
	min-height: 130px;
	margin-bottom: 12px;
	background-color: rgba(0, 0, 0, 0.24);
	color: #eee;
	resize: vertical;
}

.item-comment-form-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.item-comment-form-footer span,
.item-comment-form p {
	color: #ad9e91;
}

@media (max-width: 820px) {
	.database-filter-card {
		grid-template-columns: 1fr;
	}

	.spell-filter-select-row {
		grid-template-columns: 1fr;
	}

	.database-filter-side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.item-detail-layout {
		grid-template-columns: 1fr;
	}

	.item-detail-heading {
		flex-wrap: wrap;
	}

	.item-detail-side {
		max-width: 420px;
	}

	.item-action-buttons {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.database-tool-stub h1 {
		font-size: 1.6rem;
	}

	.database-search-row {
		flex-direction: column;
		width: 100%;
	}

	.database-filter-levels,
	.database-filter-side {
		grid-template-columns: 1fr;
	}

	.spell-extended-search {
		margin-left: 0;
	}

	.spell-additional-row {
		grid-template-columns: 1fr;
	}

	.database-filter-field,
	.database-filter-levels .database-filter-field,
	.database-filter-side .database-filter-field {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.database-filter-field > span:first-child,
	.database-filter-side .database-filter-field > span:first-child {
		text-align: left;
	}

	.database-advanced-filter,
	.database-filter-actions {
		margin-left: 0;
	}

	.item-detail-heading h1 {
		font-size: 1.5rem;
	}

	.database-entity-primary {
		gap: 8px;
	}

	.database-entity-tooltip .item-tooltip-shell td {
		min-width: 220px;
	}

	.database-entity-related-list small {
		margin-left: 0;
	}

	.database-entity-related-list p {
		margin-left: 0;
	}

	.spell-summary-resource-range {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.spell-summary-resource-range span:last-child {
		text-align: left;
	}

	.item-comment {
		grid-template-columns: 1fr;
	}

	.item-comment-author {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}

	.item-comment-body > header {
		align-items: flex-start;
		flex-direction: column;
	}
}

.item-spell-link {
	text-decoration: none;
}

/* Catalogue-backed Classic quests */
.quest-extended-search {
	display: flex;
	gap: 8px;
	margin: -3px 0 10px calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
}

.quest-additional-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(140px, 0.45fr) auto;
	gap: 8px;
	align-items: center;
	margin-top: 8px;
}

.quest-additional-remove {
	background: transparent;
	border: 0;
	color: #d49b79;
}

.quest-additional-mode {
	display: flex;
	gap: 16px;
	margin: 10px 0 0 120px;
}

.quest-additional-mode legend {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.quest-reward-column img {
	margin-left: 4px;
	vertical-align: middle;
}

.quest-log-content {
	display: grid;
	gap: 16px;
}

.quest-section {
	background: rgba(5, 7, 9, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 18px;
}

.quest-section h2 {
	color: #ffd100;
	font-size: 17px;
	margin: 0 0 10px;
}

.quest-section h3 {
	font-size: 14px;
	margin: 12px 0 6px;
}

.quest-section p:last-child,
.quest-section ul:last-child {
	margin-bottom: 0;
}

.quest-objective-list,
.quest-chain-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.quest-objective-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	padding: 7px 0;
}

.quest-objective-list li + li {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quest-objective-list small,
.quest-sources small {
	display: block;
	color: #999;
}

.quest-objective-list p {
	grid-column: 2;
	margin: 4px 0 0;
}

.quest-reward-items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.quest-reward-item,
.quest-reward-spell {
	display: flex;
	align-items: center;
	gap: 9px;
}

.quest-reward-item small {
	display: block;
	color: #999;
}

.quest-chain-list li {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 8px;
	padding: 4px 0;
}

.quest-chain-list span {
	color: #999;
}

@media (max-width: 640px) {
	.quest-reward-items {
		grid-template-columns: 1fr;
	}

	.quest-extended-search,
	.quest-additional-mode {
		margin-left: 0;
	}

	.quest-additional-row {
		grid-template-columns: 1fr;
	}
}

/* Classic NPC catalogue */
.npc-name-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.npc-extended-search {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 7px;
	color: #b9aa9b;
	font-weight: 400;
}

.npc-reaction-controls {
	display: grid;
	grid-template-columns: repeat(2, minmax(160px, 1fr));
	gap: 10px;
	min-width: 0;
}

.npc-reaction-controls label {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 7px;
	font-weight: 400;
}

.npc-reaction-controls label > span,
.npc-additional-mode legend {
	color: #b9aa9b;
	font-size: .8rem;
}

.npc-additional-filters {
	margin-top: 8px;
}

.npc-additional-row {
	display: grid;
	grid-template-columns: minmax(210px, 1fr) minmax(130px, .6fr) auto;
	gap: 9px;
	align-items: end;
	margin: 8px 0 8px calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
}

.npc-additional-value {
	display: flex;
	align-items: center;
	min-height: 36px;
}

.npc-additional-boolean {
	color: #d7cdc2;
}

.npc-additional-remove,
.npc-zone-options button {
	min-height: 34px;
	padding: 6px 11px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(24, 20, 17, .78);
	color: #d7cdc2;
}

.npc-additional-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 10px 0 0 calc(var(--database-filter-label-width) + var(--database-filter-column-gap));
	padding: 0;
	border: 0;
}

.npc-additional-mode label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #b9aa9b;
}

.npc-table {
	min-width: 700px;
}

.npc-name-column {
	min-width: 220px;
}

.npc-location-column {
	min-width: 220px;
}

.npc-location-count {
	display: block;
	margin-top: 2px;
	color: #8f8276;
}

.npc-list-subtitle {
	display: block;
	margin-top: 2px;
	color: #8f8276;
}

.npc-react-column {
	white-space: nowrap;
}

.npc-reaction-friendly { color: #78d68b; }
.npc-reaction-neutral { color: #d8cec4; }
.npc-reaction-hostile { color: #ff8176; }
.npc-reaction-unknown { color: #8f8276; }

.npc-loot-table thead th a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: inherit;
	text-decoration: none;
}

.npc-loot-table thead th[aria-sort="ascending"] a,
.npc-loot-table thead th[aria-sort="descending"] a,
.npc-loot-table thead th a:hover,
.npc-loot-table thead th a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.npc-detail-content {
	display: grid;
	min-width: 0;
	gap: 18px;
}

.npc-location-section,
.npc-gains {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .08);
	background: rgba(18, 15, 12, .52);
}

.npc-section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.npc-location-section h2,
.npc-gains h2 {
	margin: 0 0 10px;
	color: #e6c38b;
	font-size: 1.12rem;
}

.npc-section-heading span,
.npc-gains small {
	color: #96887c;
	font-size: .78rem;
}

.npc-zone-options,
.npc-floor-options {
	display: flex;
	max-width: 100%;
	gap: 6px;
	margin: 0 0 12px;
	overflow-x: auto;
}

.npc-zone-options button,
.npc-floor-options button {
	flex: 0 0 auto;
}

.npc-zone-options button.is-active,
.npc-zone-options button[aria-pressed="true"],
.npc-floor-options button.is-active,
.npc-floor-options button[aria-pressed="true"] {
	border-color: rgba(255, 144, 0, .55);
	color: #ffb44e;
}

.npc-map-fallback {
	margin-bottom: 12px;
	padding: 12px;
	border-left: 3px solid #9a6d35;
	background: rgba(74, 53, 31, .24);
	color: #d7cdc2;
}

.npc-map-fallback strong {
	color: #e6c38b;
}

.npc-map-fallback p,
.npc-gains p {
	margin: 5px 0 0;
	color: #b9aa9b;
}

.npc-map-card {
	min-width: 0;
	max-width: 100%;
	margin: 0 0 12px;
	padding: 10px;
	border: 1px solid rgba(230, 195, 139, .22);
	background: rgba(8, 7, 6, .72);
}

.npc-map-toolbar,
.npc-map-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.npc-map-toolbar {
	justify-content: space-between;
	margin-bottom: 8px;
}

.npc-map-toolbar > div:first-child {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.npc-map-toolbar strong {
	color: #e6c38b;
}

.npc-map-toolbar span {
	color: #a99b8e;
	font-size: .78rem;
}

.npc-map-toolbar .npc-map-source {
	display: block;
	color: #81766c;
	font-size: .72rem;
}

.npc-map-pin-note {
	margin: -2px 0 8px;
	color: #b9aa9b;
	font-size: .78rem;
}

.npc-map-viewport {
	position: relative;
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	aspect-ratio: 1002 / 668;
	overflow: hidden;
	background: #100e0c;
}

.npc-map-viewport > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.npc-map-pins {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.npc-map-marker {
	position: absolute;
	width: 14px;
	height: 14px;
	min-width: 14px;
	min-height: 14px;
	padding: 0;
	transform: translate(-50%, -50%);
	border: 2px solid #fff2d5;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .9);
	background: #d34a2f;
	pointer-events: auto;
}

.npc-map-marker:focus-visible {
	z-index: 2;
	outline: 3px solid #ffd27c;
	outline-offset: 2px;
}

.npc-map-marker.is-cluster {
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	border-color: #5b2d12;
	background: #ffd27c;
	color: #321708;
	font-size: .68rem;
	font-weight: 700;
	line-height: 24px;
}

.npc-map-card.is-expanded {
	position: fixed;
	z-index: 10020;
	inset: 16px;
	margin: 0;
	overflow: auto;
	box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .78);
	background: #15110d;
}

.npc-map-card.is-expanded .npc-map-viewport {
	width: min(1002px, calc(100vw - 64px));
	max-width: 100%;
}

@media (max-width: 600px) {
	.npc-map-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.npc-map-controls {
		flex-wrap: wrap;
	}

	.npc-map-card.is-expanded {
		inset: 6px;
	}

	.npc-map-marker {
		width: 18px;
		height: 18px;
		min-width: 18px;
		min-height: 18px;
	}
}

.npc-relation-table-wrap {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
}

.npc-relation-table {
	width: 100%;
	min-width: 700px;
}

.npc-relation-table caption {
	padding: 7px 9px;
	color: #998b80;
	font-size: .8rem;
	text-align: left;
	caption-side: top;
}

.npc-relation-table thead + tbody::before {
	display: none;
}

.npc-relation-table th {
	white-space: nowrap;
}

.npc-relation-entity {
	display: flex;
	align-items: center;
	min-width: 230px;
	gap: 7px;
}

.npc-relation-entity img,
.npc-ability-list img {
	border: 1px solid #6f583b;
}

.npc-loot-icon {
	width: 38px;
	text-align: center;
}

.npc-loot-icon a {
	display: inline-block;
	line-height: 0;
}

.npc-loot-icon img {
	display: block;
	border: 1px solid #6f583b;
}

.npc-loot-name-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 7px;
	margin-top: 3px;
	color: #998b80;
}

.npc-loot-badge {
	padding: 1px 5px;
	border: 1px solid rgba(159, 126, 82, .45);
	border-radius: 999px;
}

.npc-loot-chance {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.npc-ability-list li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
}

.npc-ability-list p {
	margin: 3px 0 0 !important;
}

.npc-gains ul {
	display: grid;
	gap: 5px;
	margin: 10px 0 0;
	padding-left: 20px;
	color: #d7cdc2;
}

.npc-relation-pagination {
	margin-top: 12px;
}

.npc-relation-limit-notice {
	margin: 0 0 10px;
	padding: 8px 10px;
	border-left: 3px solid #9a6d35;
	background: rgba(74, 53, 31, .24);
	color: #d7cdc2;
}

.item-tabs-nav {
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
}

.item-tabs-nav button {
	flex: 0 0 auto;
}

@media (max-width: 640px) {
	.npc-name-controls,
	.npc-reaction-controls,
	.npc-additional-row {
		grid-template-columns: 1fr;
	}

	.npc-name-controls {
		display: grid;
	}

	.npc-additional-row,
	.npc-additional-mode {
		margin-left: 0;
	}

	.npc-section-heading {
		display: block;
	}
}

/* Zone continent collection pages.
   A full-width collection page: one centered local continent map whose regions
   are real invisible anchors, plus one source-backed table. No entity-detail
   sidebar column, no hotspot selector box, and no map/list synchronization. */
.zone-continent-page {
	display: block;
	width: 100%;
}

.zone-continent-heading {
	align-items: flex-end;
}

.zone-continent-figure {
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

/* The map is centered and capped at its own local artwork width rather than a
   narrow entity-detail column. */
.zone-continent-map {
	position: relative;
	width: 100%;
	margin: 0 auto;
	line-height: 0;
}

.zone-continent-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.zone-continent-regions {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zone-continent-region {
	position: absolute;
	margin: 0;
	padding: 0;
}

/* Regions stay real, focusable, clickable anchors but paint nothing: no border,
   background, or rectangle is drawn over the map on hover or focus. */
.zone-continent-region > a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	background: none;
	border: 0;
	outline: none;
}

/* The Zone name stays available to assistive technology without being painted. */
.zone-continent-region-name {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Keyboard focus is a subtle marker at the region centre, never a map-sized box. */
.zone-continent-region > a:focus-visible::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	border-radius: 50%;
	background: #ffd170;
	box-shadow: 0 0 0 2px #000;
}

/* One reusable tooltip, reusing the shared .fusion_tooltip visual contract from
   application/css/tooltip.css for border, background, shadow and padding. */
.zone-continent-tooltip {
	position: absolute;
	left: 0;
	top: 0;
	pointer-events: none;
	line-height: 1.35;
	padding: 8px 10px;
}

.zone-continent-tooltip[hidden] {
	display: none;
}

.zone-continent-tooltip .tooltip-container {
	min-width: 0;
	max-width: 240px;
}

.zone-continent-tooltip-name {
	display: block;
	font-weight: 700;
}

.zone-continent-figure figcaption {
	font-size: 12px;
	opacity: 0.75;
	text-align: center;
	line-height: 1.4;
}

.zone-continent-table-wrap {
	width: 100%;
}

.zone-continent-table {
	width: 100%;
}

/* Continent flight-master overlay.
   Faction colours reuse the established local values from application/css/tooltip.css
   (.color-tooltip-alliance #247FAA, .color-tooltip-horde #b30000) plus the gold
   neutral already used by continent focus. Nothing here is remote. */
.zone-continent-overlays {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
}

.zone-continent-overlays-label {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.zone-continent-overlay-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 10px;
	font-size: 12px;
	line-height: 1.4;
	color: inherit;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 3px;
	cursor: pointer;
}

.zone-continent-overlay-toggle:hover {
	border-color: rgba(255, 209, 112, 0.6);
}

.zone-continent-overlay-toggle:focus-visible {
	outline: 2px solid #ffd170;
	outline-offset: 1px;
}

.zone-continent-overlay-toggle[aria-pressed="true"] {
	background: rgba(255, 209, 112, 0.16);
	border-color: rgba(255, 209, 112, 0.85);
	color: #ffd170;
}

/* Local CSS-only flight-master glyph; no image request. */
.zone-continent-overlay-icon {
	position: relative;
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
}

.zone-continent-overlay-icon::before,
.zone-continent-overlay-icon::after {
	content: "";
	position: absolute;
	background: currentColor;
}

.zone-continent-overlay-icon::before {
	left: 5px;
	top: 0;
	width: 2px;
	height: 13px;
	opacity: 0.75;
}

.zone-continent-overlay-icon::after {
	left: 5px;
	top: 1px;
	width: 8px;
	height: 6px;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Route lines sit under the Zone links; the SVG never receives pointer events. */
.zone-continent-routes {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.zone-continent-routes[hidden] {
	display: none;
}

.zone-continent-route {
	stroke-width: 2.4;
	stroke-opacity: 0.85;
	vector-effect: non-scaling-stroke;
	fill: none;
}

.zone-continent-route-alliance { stroke: #247faa; }
.zone-continent-route-horde { stroke: #b30000; }
.zone-continent-route-shared { stroke: #ffd170; }

/* Pins sit above the routes and above the Zone links. */
.zone-continent-pins {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
}

.zone-continent-pins[hidden] {
	display: none;
}

.zone-continent-pin {
	position: absolute;
	margin: 0;
	padding: 0;
	transform: translate(-50%, -50%);
}

.zone-continent-pin-marker {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.85);
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
	pointer-events: auto;
	cursor: help;
}

.zone-continent-pin-marker:focus-visible {
	outline: 2px solid #ffd170;
	outline-offset: 1px;
}

.zone-continent-pin-alliance .zone-continent-pin-marker { background: #247faa; }
.zone-continent-pin-horde .zone-continent-pin-marker { background: #b30000; }
.zone-continent-pin-shared .zone-continent-pin-marker { background: #ffd170; }

.zone-continent-tooltip-detail {
	display: block;
	font-size: 12px;
	opacity: 0.85;
}

.zone-continent-tooltip-detail:empty {
	display: none;
}

/* --------------------------------------------------------------- Factions -- */

/*
 * Table captions stay in the accessibility tree as the table's accessible name
 * but never occupy visible space, so a compact table is not pushed around by a
 * heading it does not need.
 */
.database-visually-hidden,
caption.database-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/*
 * The reputation progression is reference data, not a primary content block.
 * It sits left aligned at its natural width instead of stretching across the
 * main column, and only scrolls if a narrow viewport genuinely demands it.
 */
.faction-rank-table-wrap {
	max-width: max-content;
	margin: 0 0 16px;
}

.faction-rank-table {
	width: auto;
	margin: 0;
	font-size: .92rem;
	line-height: 1.25;
}

.faction-rank-table th,
.faction-rank-table td {
	padding: 3px 12px 3px 0;
	text-align: left;
	white-space: nowrap;
}

.faction-rank-table th:last-child,
.faction-rank-table td:last-child {
	padding-right: 0;
}

.faction-rank-table td:first-child {
	color: #78664f;
}

.faction-description {
	margin: 0 0 14px;
}

.faction-relation-notice {
	color: #b9aa9b;
	font-size: .9rem;
}

.faction-relation-table {
	width: 100%;
}

.faction-relation-table small {
	display: inline;
	margin-left: 6px;
	color: #b9aa9b;
}

.faction-detail-page .database-entity-community { margin-top: 20px; }
.faction-detail-page .item-tabs-nav { flex-wrap: nowrap; overflow-x: auto; }
.faction-detail-page .item-tabs-nav button { min-height: 31px; padding: 6px 11px; white-space: nowrap; }

.faction-relation-name { white-space: nowrap; }

.faction-relation-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	vertical-align: text-bottom;
	border-radius: 2px;
}
