/* Void MMO bosses guide. Loaded after landing.css, which brings the fonts, the colour tokens, the reset and the stars.
   Order in this file: page frame, shared parts, the opening view, search, the two raids, the roster, the index,
   then the 3D boss viewer, the 2D map, the 3D world, and last the rules that seat the map in the opening view. */

body.bosses {
	--ember: #f0683a;
	--ember-hi: #ffb489;
	--ember-line: rgba(240, 104, 58, .34);
	--frost: #9fd8e6;
	--frost-line: rgba(159, 216, 230, .3);
	--ink: #07050c;
	--glass: rgba(21, 16, 34, .72);
	--glass-deep: rgba(13, 10, 22, .78);
	--slab: rgba(21, 16, 34, .86);
	--pad: clamp(16px, 4vw, 40px);
	--wrap: 1240px;
	--bar: 54px;
	background-image: none;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--gold);
	color: var(--void);
	font-weight: 600;
	text-decoration: none;
	transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.bosses main { position: relative; z-index: 1; }
.bosses main a { color: var(--purple-hi); text-underline-offset: 3px; }
.bosses main a:hover { color: #d9c6ff; }
.bosses main :focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 4px; }
.bosses [id] { scroll-margin-top: calc(var(--bar) + 18px); }
/* links inside the page are glided by the page script, which re-aims as the long parts take their height */
html:root { scroll-behavior: auto; }
.bosses code {
	padding: 1px 6px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: rgba(11, 8, 18, .6);
	color: var(--gold-hi);
	font: 500 .92em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	white-space: nowrap;
}

/* ---- shared parts ---------------------------------------------------------------------------- */
.bz-kicker {
	color: var(--gold-hi);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.bz-sec-head { max-width: 720px; margin-bottom: clamp(20px, 3vw, 34px); }
.bz-sec-head h2,
.bz-group-head h2,
.bz-outro h2 {
	margin: 6px 0 8px;
	font: 400 clamp(32px, 4.6vw, 56px)/1 var(--display);
	letter-spacing: .01em;
}
.bz-sec-head > p:last-child,
.bz-group-head p { color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); }

.bz-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: rgba(143, 85, 223, .16);
	color: var(--text) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.bz-btn:hover { background: rgba(143, 85, 223, .32); border-color: var(--purple-hi); transform: translateY(-1px); }
.bz-btn-map::before {
	content: "";
	width: 9px;
	height: 9px;
	border: 1.5px solid #fff1d2;
	border-radius: 2px;
	background: linear-gradient(135deg, var(--gold-hi), var(--gold));
	transform: rotate(45deg);
}

.bz-icon {
	flex: none;
	width: 48px;
	height: 32px;
	image-rendering: pixelated;
}
.bz-icon-none { display: inline-block; }

.bz-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text) !important;
	font-weight: 600;
	text-decoration: none;
}
.bz-item:hover span { text-decoration: underline; text-decoration-color: var(--gold); }

.bz-odds {
	color: var(--gold-hi);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.bz-task,
.bz-amount { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.bz-task { color: var(--live); }

.bz-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}
.bz-stats li {
	display: grid;
	gap: 1px;
	padding: 8px 13px 9px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(11, 8, 18, .5);
}
.bz-stats span {
	color: var(--muted);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.bz-stats b { font-size: 15px; font-weight: 600; }

.bz-lines { display: grid; gap: 8px; list-style: none; }
.bz-lines li { position: relative; padding-left: 18px; }
.bz-lines li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .62em;
	width: 6px;
	height: 6px;
	background: var(--purple-hi);
	transform: rotate(45deg);
}
.bz-notes { margin-top: 14px; color: var(--muted); font-size: 14px; }
.bz-notes li::before { background: var(--faint); }

.bz-card {
	padding: clamp(16px, 2.4vw, 26px);
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--glass);
}
.bz-card h3,
.bz-plan h3,
.bz-run h3,
.bz-climb > h3 {
	margin-bottom: 10px;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 600;
	line-height: 1.2;
}
.bz-card-lede { margin: -4px 0 14px; color: var(--muted); font-size: 14.5px; }
.bz-card-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.bz-card .bz-btn { margin-top: 14px; }
.bz-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
	align-items: start;
}

.bz-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bosses table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bosses th,
.bosses td { padding: 9px 12px; border-bottom: 1px solid rgba(143, 85, 223, .16); text-align: left; vertical-align: middle; }
.bosses thead th {
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
}
.bosses tbody th { font-weight: 600; }
.bosses tbody tr:last-child > * { border-bottom: 0; }
.bosses tbody th .bz-icon { vertical-align: middle; margin-right: 8px; }

.bz-table { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 8, 18, .4); }
.bz-table > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 10px 14px;
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.bz-table > summary::-webkit-details-marker { display: none; }
.bz-table > summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--purple-hi);
	border-bottom: 2px solid var(--purple-hi);
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s ease;
}
.bz-table[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.bz-table[open] > summary { border-bottom: 1px solid var(--line); }
.bz-table td:last-child { color: var(--gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bz-table .bz-task { display: block; font-style: normal; }

.bz-cmds { display: grid; gap: 8px; list-style: none; }
.bz-cmds li { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 14px; }
.bz-cmds span { color: var(--muted); }

.bz-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: rgba(11, 8, 18, .55);
	overflow: hidden;
}
.bz-stepper button {
	width: 46px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--text);
	font: 600 20px/1 var(--body);
	cursor: pointer;
}
.bz-stepper button:hover { background: rgba(143, 85, 223, .25); }
.bz-stepper button:disabled { color: var(--faint); cursor: default; background: transparent; }
.bz-stepper output { min-width: 46px; text-align: center; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* drops, coloured by how rare they are (5 is the rarest) */
.bz-droplist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: 8px;
	list-style: none;
}
.bz-drop {
	--tier: var(--faint);
	--tier-glow: rgba(110, 102, 128, 0);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "item odds" "amount task";
	align-items: center;
	gap: 0 10px;
	padding: 7px 12px 7px 8px;
	border: 1px solid rgba(143, 85, 223, .2);
	border-left: 3px solid var(--tier);
	border-radius: 10px;
	background: linear-gradient(90deg, var(--tier-glow), transparent 62%), rgba(11, 8, 18, .5);
}
.bz-drop > a {
	grid-area: item;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--text) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.bz-drop > a:hover .bz-drop-name { text-decoration: underline; text-decoration-color: var(--tier); }
.bz-drop-name { min-width: 0; overflow-wrap: break-word; }
.bz-drop .bz-odds { grid-area: odds; justify-self: end; }
.bz-drop .bz-amount { grid-area: amount; padding-left: 56px; margin-top: -4px; }
.bz-drop .bz-task { grid-area: task; justify-self: end; font-size: 11.5px; }
.bz-drop.is-t2 { --tier: #8b93a8; --tier-glow: rgba(139, 147, 168, .08); }
.bz-drop.is-t3 { --tier: var(--purple); --tier-glow: rgba(143, 85, 223, .14); }
.bz-drop.is-t4 { --tier: var(--purple-hi); --tier-glow: rgba(178, 140, 242, .2); border-color: rgba(178, 140, 242, .34); }
.bz-drop.is-t5 { --tier: var(--gold-hi); --tier-glow: rgba(226, 192, 130, .2); border-color: rgba(226, 192, 130, .42); }
.bz-drop.is-t5 .bz-drop-name { color: #fff3da; }
.bz-always { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 14px; }
.bz-always b { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.bz-always-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.bz-always-item i { color: var(--muted); font-style: normal; font-weight: 400; }

/* sprites: the game's own frames, never clipped. The stage holds the larger of the still and the strip cell;
   the page script sets --k (the whole-number scale that fits) and, on the strip, the cell size --cw / --ch. */
.bz-sprite {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: calc(var(--bw) * var(--k, 1) * 1px);
	height: calc(var(--bh) * var(--k, 1) * 1px);
	max-width: 100%;
	flex: none;
}
.bz-sprite > img {
	display: block;
	width: calc(var(--pw) * var(--k, 1) * 1px);
	max-width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
	object-position: 50% 100%;
	image-rendering: pixelated;
}
.bz-sprite-sheet {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: calc(var(--cw) * 1px);
	height: calc(var(--ch) * 1px);
	background-repeat: no-repeat;
	background-position: 0 0;
	image-rendering: pixelated;
	pointer-events: none;
	transform: translateX(-50%) scale(var(--k, 1));
	transform-origin: 50% 100%;
	animation: bz-sheet calc(var(--frames) * var(--ms) * 1ms) steps(var(--frames)) var(--loops, infinite);
}
.bz-sprite.is-shrunk > img,
.bz-sprite.is-shrunk .bz-sprite-sheet { image-rendering: auto; }
.bz-sprite.is-playing > img { visibility: hidden; }
.bz-sprite.is-tappable { cursor: pointer; }
@keyframes bz-sheet {
	to { background-position: calc(var(--frames) * var(--cw) * -1px) 0; }
}

/* ---- the opening view: the world, with the headline and the search over it ------------------- */
.bz-hero { position: relative; }
.bz-hero-copy {
	position: relative;
	z-index: 6;
	padding: clamp(20px, 5vw, 34px) var(--pad) 18px;
}
.bz-hero-copy h1 {
	margin: 8px 0 10px;
	font: 400 clamp(40px, 11.5vw, 76px)/.94 var(--display);
	letter-spacing: .005em;
	text-wrap: balance;
}
.bz-lede { max-width: 46ch; color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); }

.bz-find { margin-top: 18px; }
.bz-find-label {
	display: block;
	margin-bottom: 8px;
	color: var(--gold-hi);
	font: 400 22px/1.1 var(--display);
}
.bz-find-box { position: relative; }
.bz-find-box input {
	width: 100%;
	height: 56px;
	padding: 0 60px 0 18px;
	border: 1px solid var(--line-strong);
	border-radius: 14px;
	background: rgba(11, 8, 18, .72);
	color: var(--text);
	font: 500 17px/1 var(--body);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bz-find-box input::placeholder { color: var(--faint); }
.bz-find-box input::-webkit-search-cancel-button { display: none; }
.bz-find-box input:focus { outline: none; border-color: var(--purple-hi); box-shadow: 0 0 0 3px rgba(143, 85, 223, .32), 0 0 32px rgba(143, 85, 223, .28); }
.bz-find-go {
	position: absolute;
	right: 6px;
	top: 6px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: var(--purple);
	color: #fff;
	cursor: pointer;
	transition: background-color .15s ease;
}
.bz-find-go:hover { background: #a06cea; }
.bz-suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 30;
	max-height: min(336px, 46vh);
	padding: 6px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid var(--line-strong);
	border-radius: 14px;
	background: rgba(17, 13, 28, .98);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
	list-style: none;
}
.bz-suggest li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 5px 10px 5px 6px;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.bz-suggest li small { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.bz-suggest li mark { background: none; color: var(--gold-hi); }
.bz-suggest li[aria-selected="true"],
.bz-suggest li:hover { background: rgba(143, 85, 223, .26); }
.bz-suggest .bz-suggest-none { color: var(--muted); font-weight: 400; cursor: default; background: none; }
.bz-find-help { margin-top: 8px; color: var(--faint); font-size: 13px; }
.bz-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.bz-quick > span { margin-right: 2px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bz-quick a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 34px;
	padding: 0 12px 0 4px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(11, 8, 18, .5);
	color: var(--text) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease;
}
.bz-quick a:hover { border-color: var(--gold); background: rgba(201, 164, 91, .14); }
.bz-quick .bz-icon { margin: -2px 0; }
.bz-counts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; list-style: none; color: var(--muted); font-size: 13px; }
.bz-counts li { display: flex; align-items: baseline; gap: 6px; }
.bz-counts b { color: var(--gold-hi); font: 400 26px/1 var(--display); }

.bz-world { position: relative; isolation: isolate; }
.bz-world-note { padding: 10px var(--pad) 0; color: var(--faint); font-size: 13px; }

/* ---- search results: they open right under the search box ------------------------------------- */
.bz-results { margin-top: 16px; }
.bz-results[hidden] { display: none; }
.bz-results-inner {
	position: relative;
	padding: 14px 14px 16px;
	border: 1px solid rgba(226, 192, 130, .5);
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(201, 164, 91, .12), transparent 110px), rgba(11, 8, 18, .62);
	animation: bz-rise .35s ease both;
}
.bz-results-head { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-right: 48px; }
.bz-results-head .bz-icon { width: 72px; height: 48px; }
.bz-results-head h2 { font: 400 clamp(24px, 3vw, 30px)/1.05 var(--display); overflow-wrap: anywhere; }
.bz-results-head h2 small { display: block; margin-bottom: 4px; color: var(--muted); font: 600 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.bz-results-close {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(11, 8, 18, .5);
	color: var(--text);
	font: 400 24px/1 var(--body);
	cursor: pointer;
}
.bz-results-close:hover { border-color: var(--line-strong); }
.bz-results-group { margin-top: 14px; }
.bz-results-group h3 { margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.bz-results-list { display: grid; gap: 6px; list-style: none; }
.bz-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 0 14px;
	padding: 8px 12px;
	border: 1px solid rgba(143, 85, 223, .2);
	border-radius: 10px;
	background: rgba(11, 8, 18, .5);
}
.bz-result.is-boss { border-color: rgba(226, 192, 130, .36); border-left: 3px solid var(--gold-hi); }
.bz-result > a { color: var(--text) !important; font-weight: 600; text-decoration: none; }
.bz-result > a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.bz-result > a small { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
.bz-result .bz-odds { justify-self: end; font-size: 15px; }
.bz-result-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--muted); font-size: 12.5px; }
.bz-result-more:empty { display: none; }
.bz-result-rows { grid-column: 1 / -1; display: grid; gap: 2px; margin: 4px 0 2px; list-style: none; }
.bz-result-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 3px 0; border-top: 1px dashed rgba(143, 85, 223, .22); color: var(--muted); font-size: 13.5px; }
.bz-result-rows li:first-child { border-top: 0; }
.bz-result-fly {
	padding: 0;
	border: 0;
	background: none;
	color: var(--purple-hi);
	font: 600 12.5px/1.4 var(--body);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.bz-results-foot { margin-top: 12px; color: var(--muted); font-size: 13px; }
.bz-results-all { margin-top: 8px; min-height: 40px; cursor: pointer; }
.bz-results-none { margin-top: 10px; color: var(--muted); }
@keyframes bz-rise {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

/* ---- the bar that follows you down the page -------------------------------------------------- */
.bz-jump {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	gap: 4px;
	min-height: var(--bar);
	margin-top: 22px;
	padding: 7px var(--pad);
	overflow-x: auto;
	scrollbar-width: none;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: rgba(11, 8, 18, .9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.bz-jump::-webkit-scrollbar { display: none; }
.bz-jump a {
	flex: none;
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	border-radius: 999px;
	color: var(--muted) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color .15s ease, background-color .15s ease;
}
.bz-jump a:hover { color: var(--text) !important; }
.bz-jump a.is-current { background: rgba(143, 85, 223, .26); color: #fff !important; }
.bz-jump a:first-child { margin-left: auto; }
.bz-jump a:last-child { margin-right: auto; }

/* ---- the two raids --------------------------------------------------------------------------- */
.bz-raid {
	--accent: var(--purple-hi);
	--accent-line: var(--line-strong);
	position: relative;
	padding: clamp(48px, 8vw, 104px) 0 clamp(36px, 6vw, 72px);
	overflow: hidden;
	overflow: clip;
}
.bz-raid > * { position: relative; z-index: 1; width: min(var(--wrap), 100% - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.bz-raid > * + * { margin-top: clamp(18px, 2.6vw, 28px); }
.bz-raid::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}
.bz-tower { --accent: var(--ember-hi); --accent-line: var(--ember-line); }
.bz-tower::before {
	background:
		radial-gradient(760px 520px at 78% 210px, rgba(240, 104, 58, .2), transparent 70%),
		linear-gradient(180deg, transparent, rgba(60, 14, 8, .28) 30%, transparent 92%);
}
.bz-hush { --accent: var(--frost); --accent-line: var(--frost-line); transition: background-color .9s ease; }
.bz-hush::before {
	background:
		radial-gradient(760px 520px at 76% 190px, rgba(110, 170, 210, .16), transparent 70%),
		linear-gradient(180deg, transparent, rgba(12, 28, 44, .34) 30%, transparent 92%);
	transition: opacity .9s ease;
}

.bz-raid-head { display: grid; gap: 18px; align-items: center; }
.bz-raid-title .bz-kicker { color: var(--accent); }
.bz-raid-title h2 {
	margin: 8px 0 10px;
	font: 400 clamp(46px, 9.5vw, 104px)/.9 var(--display);
	letter-spacing: .005em;
	text-shadow: 0 0 60px color-mix(in srgb, var(--accent) 35%, transparent);
}
.bz-tagline { max-width: 44ch; color: var(--muted); font-size: clamp(16px, 1.8vw, 20px); }
.bz-raid-title .bz-stats { margin-top: 18px; }
.bz-raid-title .bz-stats li { border-color: var(--accent-line); }
.bz-raid-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bz-raid-art { position: relative; display: grid; justify-items: center; isolation: isolate; }
.bz-raid-art .bz-model { z-index: 2; width: min(100%, 500px); aspect-ratio: 1; }
.bz-raid-art .bz-sprite { z-index: 2; }
.bz-raid-caption { position: relative; z-index: 4; margin-top: -6px; color: var(--faint); font-size: 13px; text-align: center; }
.bz-halo {
	position: absolute;
	left: 50%;
	top: 46%;
	z-index: 0;
	width: min(120%, 620px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(240, 104, 58, .34), rgba(240, 104, 58, .08) 55%, transparent 72%);
	transform: translate(-50%, -50%);
	animation: bz-breathe 6s ease-in-out infinite;
}
@keyframes bz-breathe {
	50% { opacity: .62; transform: translate(-50%, -50%) scale(1.06); }
}

/* the Tower's rares circle the Collector: flat ellipse, front half over him, back half behind */
.bz-ring { position: absolute; inset: 0; list-style: none; pointer-events: none; }
.bz-ring li {
	--T: 44s;
	--r: clamp(130px, 38vw, 236px);
	position: absolute;
	left: 50%;
	top: 47%;
	z-index: 3;
	width: 64px;
	height: 48px;
	margin: -24px 0 0 -32px;
	pointer-events: auto;
	animation: bz-orbit var(--T) linear infinite, bz-orbit-depth var(--T) linear infinite;
	animation-delay: calc(var(--T) / var(--n) * var(--i) * -1);
}
.bz-ring a {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border: 1px solid var(--ember-line);
	border-radius: 12px;
	background: rgba(13, 10, 22, .78);
	box-shadow: 0 0 18px rgba(240, 104, 58, .28);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bz-ring a:hover,
.bz-ring a:focus-visible { border-color: var(--gold-hi); box-shadow: 0 0 24px rgba(226, 192, 130, .5); }
.bz-raid-art:hover .bz-ring li { animation-play-state: paused; }
@keyframes bz-orbit {
	from { transform: scaleY(.3) rotate(0deg) translateX(var(--r)) rotate(0deg) scaleY(3.3333); }
	to { transform: scaleY(.3) rotate(360deg) translateX(var(--r)) rotate(-360deg) scaleY(3.3333); }
}
@keyframes bz-orbit-depth {
	0% { z-index: 3; opacity: 1; }
	49.9% { z-index: 3; opacity: 1; }
	50% { z-index: 1; opacity: .9; }
	75% { z-index: 1; opacity: .5; }
	99.9% { z-index: 1; opacity: .9; }
	100% { z-index: 3; opacity: 1; }
}

/* which floor (or mode) drops which rare */
.bz-matrix { border-color: var(--accent-line); }
.bz-grid thead th b { display: block; color: var(--text); font-size: 13px; letter-spacing: .06em; }
.bz-grid thead th span { display: block; margin-top: 2px; font-size: 10.5px; }
.bz-grid td { white-space: nowrap; }
.bz-m { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bz-m + .bz-m { margin-top: 2px; }
.bz-m i {
	width: 58px;
	color: var(--muted);
	font-size: 10.5px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.bz-m.is-hard { color: var(--gold-hi); }
.bz-m.is-extreme { color: var(--ember-hi); }
.bz-m.is-sure { color: var(--live); }
.bz-grid .is-none { color: var(--faint); text-align: center; }
.bz-grid .is-total { background: rgba(201, 164, 91, .07); box-shadow: inset 1px 0 0 rgba(201, 164, 91, .2), inset -1px 0 0 rgba(201, 164, 91, .2); }
.bz-grid .is-check { white-space: normal; min-width: 190px; }
.bz-grid .is-check b { color: var(--live); }
.bz-grid .is-check.is-no b { color: #f39a86; }
.bz-grid .is-check span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.bz-grid tr.is-ember th .bz-item span { color: var(--ember-hi); }
.bz-grid tr.is-total > * { background: rgba(201, 164, 91, .07); }
.bz-grid tr.is-total th { color: var(--gold-hi); }
.bz-grid tr.is-plain td { color: var(--text); font-weight: 500; }
.bz-grid tr.is-plain th { color: var(--muted); font-weight: 500; }
.bz-row-note { display: block; margin-left: 56px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 400; }
.bz-grid th.is-lightless b { color: #fff; text-shadow: 0 0 14px rgba(159, 216, 230, .8); }

/* the planner */
.bz-planner { display: grid; gap: 16px; align-items: start; }
.bz-plan,
.bz-run {
	padding: clamp(16px, 2.4vw, 26px);
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--glass);
}
.bz-plan fieldset { margin-top: 18px; border: 0; min-width: 0; }
.bz-plan legend {
	margin-bottom: 8px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.bz-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bz-opt { position: relative; display: block; }
.bz-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bz-opt > span {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(11, 8, 18, .5);
	font-size: 15px;
	font-weight: 600;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.bz-opt > span i { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 400; }
.bz-opt:hover > span { border-color: var(--line-strong); }
.bz-opt input:checked + span { border-color: var(--gold); background: rgba(201, 164, 91, .16); color: #fff3da; box-shadow: 0 0 0 1px var(--gold); }
.bz-opt input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.bz-opt input:disabled { cursor: not-allowed; }
.bz-opt input:disabled + span { opacity: .4; }
.bz-plan-pacts .bz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.bz-opt-pact > span { padding: 10px 14px 10px 44px; }
.bz-opt-pact > span::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 1.5px solid var(--line-strong);
	border-radius: 5px;
	background: rgba(11, 8, 18, .6);
}
.bz-opt-pact input:checked + span::before {
	border-color: var(--gold-hi);
	background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b0812' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.bz-plan-help { margin-top: 8px; color: var(--muted); font-size: 13px; }

.bz-run { border-color: rgba(226, 192, 130, .46); background: linear-gradient(180deg, rgba(201, 164, 91, .1), transparent 140px), var(--slab); }
.bz-run-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.bz-run-nums > div { padding: 9px 12px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(11, 8, 18, .55); }
.bz-run-nums dt { color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bz-run-nums dd { color: var(--gold-hi); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bz-run-table td { font-variant-numeric: tabular-nums; }
.bz-run-table td:last-child { color: var(--gold-hi); font-weight: 600; white-space: nowrap; }
.bz-run-table td:nth-last-child(2) { white-space: nowrap; }
.bz-run-table tr.is-total > * { background: rgba(201, 164, 91, .07); }
.bz-run-ember { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--ember-line); border-radius: 12px; background: rgba(240, 104, 58, .08); font-size: 14px; }
.bz-run-ember.is-off { border-color: var(--line); background: rgba(11, 8, 18, .4); color: var(--muted); }
.bz-run-ember.is-off b { color: var(--muted); }
.bz-run-ember b { color: var(--ember-hi); }
[data-k].is-changed { animation: bz-flash .7s ease; }
@keyframes bz-flash {
	0% { color: #fff; text-shadow: 0 0 16px rgba(226, 192, 130, .9); }
	100% { text-shadow: 0 0 0 transparent; }
}

/* the climb: the roof on top, the gatehouse at the bottom */
.bz-climb > h3 { margin-bottom: 14px; }
.bz-floors { display: flex; flex-direction: column-reverse; list-style: none; }
.bz-floor {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	padding: 18px clamp(14px, 2.4vw, 26px);
	border: 1px solid var(--ember-line);
	border-top-width: 0;
	background: linear-gradient(90deg, rgba(240, 104, 58, .1), rgba(21, 16, 34, .72) 46%);
	transition: opacity .3s ease, filter .3s ease;
}
.bz-floor:first-child { border-radius: 0 0 16px 16px; }
.bz-floor:last-child {
	border-top-width: 1px;
	border-radius: 16px 16px 0 0;
	background: linear-gradient(180deg, rgba(240, 104, 58, .24), transparent 70%), linear-gradient(90deg, rgba(240, 104, 58, .1), rgba(21, 16, 34, .72) 46%);
}
.bz-floor-tag { display: flex; align-items: baseline; gap: 10px; }
.bz-floor-tag b { color: var(--ember-hi); font: 400 clamp(24px, 3vw, 30px)/1 var(--display); white-space: nowrap; }
.bz-floor-tag span { color: var(--muted); font-size: 13px; }
.bz-floor-art { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 6px 14px; }
.bz-floor-poster { width: min(100%, 260px); height: auto; }
.bz-floor-body h4 { font-size: 19px; font-weight: 600; }
.bz-floor-body p { margin: 4px 0 10px; color: var(--muted); font-size: 14.5px; }
.bz-floor-nums { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.bz-floor-nums li {
	display: grid;
	gap: 1px;
	padding: 7px 12px 8px;
	border: 1px solid var(--ember-line);
	border-radius: 10px;
	background: rgba(11, 8, 18, .5);
}
.bz-floor-nums li > span { color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bz-floor-nums li > b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bz-floor.is-skipped { opacity: .42; filter: saturate(.3); }
.bz-floor.is-skipped .bz-floor-tag::after {
	content: "Skipped";
	padding: 2px 8px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--text);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* Hushfall */
.bz-hush .bz-raid-art .bz-sprite { filter: drop-shadow(0 0 34px rgba(110, 170, 210, .45)); }
.bz-stages { display: grid; gap: 12px; list-style: none; counter-reset: stage; }
.bz-stage { position: relative; padding: 12px 14px 12px 54px; border: 1px solid var(--frost-line); border-radius: 12px; background: rgba(11, 8, 18, .5); counter-increment: stage; }
.bz-stage::before {
	content: counter(stage);
	position: absolute;
	left: 12px;
	top: 12px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--frost);
	border-radius: 50%;
	color: var(--frost);
	font: 400 17px/1 var(--display);
}
.bz-stage b { display: block; font-size: 16px; }
.bz-stage > span { display: block; color: var(--frost); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bz-stage p { margin-top: 4px; color: var(--muted); font-size: 14px; }

.bz-modes-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.bz-tabs { display: none; }
.bz-modes.is-tabbed .bz-tabs {
	display: inline-flex;
	max-width: 100%;
	padding: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	border: 1px solid var(--frost-line);
	border-radius: 14px;
	background: rgba(11, 8, 18, .6);
}
.bz-tabs::-webkit-scrollbar { display: none; }
.bz-tabs button {
	flex: none;
	min-height: 44px;
	padding: 0 clamp(14px, 3vw, 22px);
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--muted);
	font: 600 15px/1 var(--body);
	cursor: pointer;
	transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.bz-tabs button:hover { color: var(--text); }
.bz-tabs button[aria-selected="true"] { background: rgba(159, 216, 230, .18); color: #fff; box-shadow: inset 0 0 0 1px var(--frost); }
.bz-tabs button[data-mode="lightless"][aria-selected="true"] { background: #000; box-shadow: inset 0 0 0 1px #fff, 0 0 26px rgba(159, 216, 230, .5); }
.bz-raiders { display: none; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.bz-modes.is-tabbed .bz-raiders { display: flex; }
.bz-raiders > span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.bz-raiders .bz-plan-help { flex-basis: 100%; margin-top: 0; }
.bz-mode {
	padding: clamp(16px, 2.4vw, 26px);
	border: 1px solid var(--frost-line);
	border-radius: 16px;
	background: var(--glass);
}
.bz-mode + .bz-mode { margin-top: 16px; }
.bz-mode[hidden] { display: none; }
.bz-mode > header h3 { font: 400 clamp(30px, 4vw, 44px)/1 var(--display); }
.bz-mode > header p { margin: 6px 0 14px; color: var(--muted); }
.bz-mode-cols { display: grid; gap: 16px; margin-top: 16px; }
.bz-mode h4,
.bz-void h4 { margin-bottom: 8px; color: var(--frost); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.bz-void {
	display: grid;
	gap: 16px;
	margin-top: 18px;
	padding: clamp(14px, 2.2vw, 22px);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 14px;
	background: #000;
	box-shadow: 0 0 60px rgba(120, 90, 200, .18);
}
.bz-void-art { display: grid; place-items: center; }
.bz-void-art .bz-sprite { filter: drop-shadow(0 0 30px rgba(143, 85, 223, .6)); }
.bz-void-body h4 { color: #fff; }
.bz-moves { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; margin-top: 12px; list-style: none; }
.bz-move { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(21, 16, 34, .7); }
.bz-move b { font-size: 16px; }
.bz-move-shout { margin-left: 8px; color: var(--purple-hi); font: 400 17px/1 var(--display); }
.bz-move-nums { display: block; margin-top: 2px; color: var(--gold-hi); font-size: 12.5px; font-weight: 600; }
.bz-move p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.bz-gate { margin-top: 12px; color: var(--muted); font-size: 14px; }
.bz-mode.is-lightless { border-color: rgba(255, 255, 255, .34); background: rgba(4, 3, 8, .9); }

/* lights out: choosing Lightless puts the whole raid in the dark */
.bz-hush.is-dark { background-color: #000; }
.bz-hush.is-dark::before { opacity: 0; }
.bz-hush::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: radial-gradient(420px 420px at var(--lx, 50%) var(--ly, 40%), rgba(159, 216, 230, .14), transparent 70%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .9s ease;
}
.bz-hush.is-dark::after { opacity: 1; }
.bz-hush.is-dark .bz-raid-art .bz-sprite { filter: brightness(.25) drop-shadow(0 0 24px rgba(159, 216, 230, .2)); transition: filter .9s ease; }
.bz-hush.is-dark .bz-matrix,
.bz-hush.is-dark .bz-descent,
.bz-hush.is-dark .bz-cards .bz-card { border-color: rgba(255, 255, 255, .14); background: rgba(8, 6, 14, .82); transition: background-color .9s ease, border-color .9s ease; }

/* ---- the roster ------------------------------------------------------------------------------ */
.bz-roster,
.bz-index,
.bz-outro { width: min(var(--wrap), 100% - 2 * var(--pad)); margin: 0 auto; padding-top: clamp(48px, 8vw, 96px); }
.bz-roster-nav {
	display: flex;
	gap: 8px;
	margin: 0 calc(var(--pad) * -1) clamp(26px, 4vw, 44px);
	padding: 4px var(--pad) 10px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
}
.bz-roster-nav::-webkit-scrollbar { display: none; }
.bz-chip-boss {
	flex: none;
	display: grid;
	grid-template-rows: 78px auto;
	justify-items: center;
	gap: 6px;
	width: 112px;
	padding: 10px 8px 9px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--glass);
	color: var(--text) !important;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	scroll-snap-align: start;
	transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
}
.bz-chip-boss:hover { border-color: var(--gold); background: rgba(38, 28, 58, .86); transform: translateY(-3px); }
.bz-chip-boss[data-group="raids"] { border-color: rgba(178, 140, 242, .6); }
.bz-thumb { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; align-self: end; image-rendering: pixelated; }
.bz-chip-boss .bz-thumb { max-height: 78px; }

.bz-group + .bz-group { margin-top: clamp(40px, 6vw, 72px); }
.bz-group-head { max-width: 720px; margin-bottom: 18px; }
.bz-group-head h2 { font-size: clamp(28px, 3.8vw, 44px); }

.bz-boss {
	display: grid;
	gap: 16px;
	padding: clamp(14px, 2.4vw, 28px);
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--glass);
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}
.bz-boss + .bz-boss { margin-top: 18px; }
.bz-boss:target { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 50px rgba(201, 164, 91, .16); }
.bz-boss-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-height: 200px;
	padding: 18px 10px 24px;
	border-radius: 14px;
	background:
		radial-gradient(58% 16% at 50% calc(100% - 26px), rgba(0, 0, 0, .6), transparent 70%),
		radial-gradient(90% 70% at 50% 62%, rgba(143, 85, 223, .2), transparent 72%);
}
.bz-boss[data-group="public"] .bz-boss-stage,
.bz-boss[data-group="world"] .bz-boss-stage {
	background:
		radial-gradient(58% 16% at 50% calc(100% - 26px), rgba(0, 0, 0, .6), transparent 70%),
		radial-gradient(90% 70% at 50% 62%, rgba(196, 64, 46, .2), transparent 72%);
}
.bz-boss-stage .bz-model { width: min(100%, 420px); aspect-ratio: 1; }
.bz-forms { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 8px 14px; }
.bz-boss-head h3 { font: 400 clamp(30px, 4.4vw, 46px)/1 var(--display); }
.bz-boss-head .bz-tagline { margin-top: 6px; font-size: clamp(15px, 1.6vw, 18px); }
.bz-boss-head .bz-stats { margin-top: 14px; }
.bz-facts { display: grid; gap: 12px; margin-top: 16px; }
.bz-fact,
.bz-loot-notes { padding: 14px 16px; border: 1px solid rgba(143, 85, 223, .2); border-radius: 12px; background: rgba(11, 8, 18, .42); font-size: 14.5px; }
.bz-fact h4,
.bz-loot h4 { margin-bottom: 8px; color: var(--gold-hi); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.bz-fact .bz-btn { margin-top: 12px; }
.bz-loot { display: grid; gap: 12px; margin-top: 12px; }
.bz-drops { min-width: 0; }
.bz-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 14px; font-weight: 600; }

/* a group of monsters (the Slayer superiors): one on stage at a time, then one card for each tier of odds */
.bz-cycle { --cycle-tall: 230px; display: grid; width: 100%; }
.bz-cycle-fig {
	grid-area: 1 / 1;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	min-height: calc(var(--cycle-tall) + 62px);
}
.bz-cycle-fig.is-on { display: flex; animation: bz-cycle-in .45s ease both; }
.bz-cycle-fig figcaption { display: grid; gap: 2px; min-height: 48px; align-content: start; text-align: center; }
.bz-cycle-fig figcaption b { font-size: 16.5px; font-weight: 600; }
.bz-cycle-fig figcaption span { color: var(--muted); font-size: 13px; }
@keyframes bz-cycle-in {
	from { opacity: 0; transform: translateY(8px); }
}

.bz-boss.is-npc-group .bz-loot { grid-template-columns: minmax(0, 1fr); }
.bz-tiers-lede { margin: -2px 0 12px; color: var(--muted); font-size: 14.5px; }
.bz-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 12px; list-style: none; }
.bz-tier {
	--tier: #8b93a8;
	--tier-glow: rgba(139, 147, 168, .1);
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 14px 14px 12px;
	border: 1px solid rgba(143, 85, 223, .22);
	border-top: 3px solid var(--tier);
	border-radius: 14px;
	background: linear-gradient(180deg, var(--tier-glow), transparent 46%), rgba(11, 8, 18, .46);
}
.bz-tier:nth-child(2) { --tier: var(--purple); --tier-glow: rgba(143, 85, 223, .16); }
.bz-tier:nth-child(3) { --tier: var(--purple-hi); --tier-glow: rgba(178, 140, 242, .2); }
.bz-tier:nth-child(n + 4) { --tier: var(--gold-hi); --tier-glow: rgba(226, 192, 130, .18); border-color: rgba(226, 192, 130, .36); border-top-color: var(--tier); }
.bz-tier-odds { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.bz-tier-odds b { color: var(--tier); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.bz-tier-odds span { color: var(--muted); font-size: 13.5px; }
.bz-tier-members,
.bz-tier-drops,
.bz-tier-own,
.bz-tier-shared ul { list-style: none; }
.bz-tier-members { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid rgba(143, 85, 223, .18); }
.bz-tier-members > li > a {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 4px 8px 4px 4px;
	border-radius: 10px;
	color: var(--text) !important;
	text-decoration: none;
	transition: background-color .2s ease;
}
.bz-tier-members > li > a:hover,
.bz-tier-members > li > a.is-staged { background: rgba(143, 85, 223, .16); }
.bz-tier-members b { min-width: 0; font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.bz-tier-members i { color: var(--muted); font-size: 12.5px; font-style: normal; white-space: nowrap; }
.bz-tier-face { display: flex; align-items: flex-end; justify-content: center; width: 44px; height: 44px; }
.bz-tier-drops,
.bz-tier-own { display: grid; gap: 4px; }
.bz-tier-drops li,
.bz-tier-own li,
.bz-tier-shared li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.bz-tier-own { margin: 2px 0 6px 54px; padding-left: 10px; border-left: 2px solid var(--tier); }
.bz-tier-shared {
	display: grid;
	gap: 8px;
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid rgba(143, 85, 223, .2);
	border-radius: 14px;
	background: rgba(11, 8, 18, .42);
}
.bz-tier-shared h5 { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bz-tier-shared ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 6px 22px; }

/* ---- rares, A to Z --------------------------------------------------------------------------- */
.bz-az { columns: 300px 4; column-gap: 12px; list-style: none; }
.bz-az-item {
	break-inside: avoid;
	margin-bottom: 12px;
	padding: 10px 12px 10px 8px;
	border: 1px solid rgba(143, 85, 223, .2);
	border-radius: 12px;
	background: rgba(21, 16, 34, .6);
}
.bz-az-item:target { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 34px rgba(201, 164, 91, .22); }
.bz-az-item h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.bz-az-item ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; margin: 6px 0 0 56px; list-style: none; font-size: 13.5px; }
.bz-az-item li { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.bz-az-item .bz-odds { min-width: 0; white-space: normal; text-align: right; }
.bz-az-item li a { margin-right: auto; font-weight: 600; text-decoration: none; }
.bz-az-item li a:hover { text-decoration: underline; }
.bz-az-note { flex-basis: 100%; color: var(--muted); font-size: 12px; }

/* ---- the way out ----------------------------------------------------------------------------- */
.bz-outro { padding-bottom: clamp(48px, 8vw, 96px); }
.bz-outs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 18px; }
.bz-out {
	display: grid;
	gap: 4px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--glass);
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.bz-out:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.bz-out b { color: var(--text); font-size: 17px; }
.bz-out span { color: var(--muted); font-size: 14px; }
.bz-data-note { margin-top: 22px; color: var(--faint); font-size: 13px; }

/* parts drift in as you reach them (only once the page script is running) */
.bz-js .bz-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.bz-js .bz-reveal.is-in { opacity: 1; transform: none; }
/* a fast scroll shows everything on its way at once */
.bz-js.bz-rush .bz-reveal { opacity: 1; transform: none; transition: none; }

/* one column until there is room: nothing may prop a grid open past the screen */
.bz-raid-head,
.bz-planner,
.bz-mode-cols,
.bz-void,
.bz-boss,
.bz-facts,
.bz-loot { grid-template-columns: minmax(0, 1fr); }
.bz-boss-stage,
.bz-raid-art,
.bz-floor-art,
.bz-void-art { min-width: 0; }
.bz-forms { align-self: stretch; min-width: 0; }

/* ---- wide screens ---------------------------------------------------------------------------- */
@media (min-width: 760px) {
	.bz-run-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-floor { grid-template-columns: 150px minmax(170px, 290px) minmax(0, 1fr); gap: 22px; align-items: center; }
	.bz-floor-tag { display: grid; gap: 2px; }
	.bz-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bz-stage:nth-child(2) { margin-top: 14px; }
	.bz-stage:nth-child(3) { margin-top: 28px; }
	.bz-stage:nth-child(4) { margin-top: 42px; }
	.bz-mode-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
	.bz-void { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: center; }
	.bz-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
	.bz-raid-head { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; }
	.bz-planner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; }
	.bz-run { position: sticky; top: calc(var(--bar) + 16px); }
	.bz-boss { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px; }
	.bz-boss-stage { position: sticky; top: calc(var(--bar) + 16px); align-self: start; min-height: 320px; }
	.bz-roster-nav { flex-wrap: wrap; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; overflow: visible; }
}

/* the loot rules sit beside the drops only once both columns can breathe */
@media (min-width: 1180px) {
	.bz-loot { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
}

/* ---- narrow screens: the wide tables become cards -------------------------------------------- */
@media (max-width: 759px) {
	.bz-grid,
	.bz-grid tbody { display: block; }
	.bz-grid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
	.bz-grid tr { display: block; padding: 10px 12px; border: 1px solid rgba(143, 85, 223, .2); border-radius: 12px; background: rgba(11, 8, 18, .45); }
	.bz-grid tr + tr { margin-top: 8px; }
	.bz-grid tbody th { display: block; padding: 0 0 6px; border: 0; }
	.bz-grid td {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px;
		align-items: baseline;
		padding: 6px 0;
		border: 0;
		border-top: 1px solid rgba(143, 85, 223, .14);
		white-space: normal;
	}
	.bz-grid td::before { content: attr(data-label); grid-row: 1 / span 2; color: var(--muted); font-size: 12.5px; }
	.bz-grid td > * { grid-column: 2; justify-self: end; }
	.bz-grid td.is-none { display: none; }
	.bz-grid .is-total { margin: 0 -12px; padding-left: 12px; padding-right: 12px; box-shadow: none; }
	.bz-grid .is-check { min-width: 0; }
	.bz-grid .is-check span { text-align: right; }
	.bz-grid tr.is-plain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
	.bz-grid tr.is-plain th { grid-column: 1 / -1; }
	.bz-grid tr.is-total > * { background: none; }
	.bz-grid tr.is-total { border-color: rgba(226, 192, 130, .4); background: rgba(201, 164, 91, .07); }
	.bz-m i { width: auto; }
	.bz-row-note { margin-left: 56px; }
	/* the run tables: one rare a block, its odds side by side under the name */
	.bz-run-table,
	.bz-run-table tbody { display: block; }
	.bz-run-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
	.bz-run-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; padding: 10px 4px; border-top: 1px solid rgba(143, 85, 223, .18); }
	.bz-run-table tbody th,
	.bz-run-table td { padding: 0; border: 0; background: none; }
	.bz-run-table tbody th,
	.bz-run-table td.is-where { grid-column: 1 / -1; }
	.bz-run-table td.is-where { margin: -4px 0 2px 56px; color: var(--muted); font-size: 13px; white-space: normal; }
	.bz-run-table td[data-label] { display: flex; align-items: baseline; gap: 8px; margin-left: 56px; font-size: 15px; }
	.bz-run-table td[data-label] + td[data-label] { margin-left: 0; }
	.bz-run-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
	.bz-run-table tr.is-total { margin: 0 -4px; padding: 10px 8px; border-radius: 10px; background: rgba(201, 164, 91, .07); }
	.bz-run-table tr.is-total > * { background: none; }
	.bz-run-table tr.is-total th { margin-left: 56px; }
	.bz-jump { margin-top: 14px; }
	.bz-jump a:first-child { margin-left: 0; }
	.bz-ring li { width: 56px; height: 42px; margin: -21px 0 0 -28px; }
}

@media (prefers-reduced-motion: reduce) {
	.bz-halo,
	.bz-results-inner,
	.bz-cycle-fig.is-on,
	[data-k].is-changed { animation: none; }
	.bz-ring li { animation-play-state: paused; }
	.bz-sprite-sheet { animation: none; }
	.bz-btn,
	.bz-chip-boss,
	.bz-tier-members > li > a,
	.bz-out,
	.bz-floor,
	.bz-hush,
	.bz-hush::before,
	.bz-hush::after { transition: none; }
	.bz-js .bz-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- the 3D boss viewer (bosses-3d.js) ------------------------------------------------------ */
.bz-model {
	position: relative;
	overflow: hidden;
}
.bz-model-poster {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 50%;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
	transition: opacity .5s ease;
}
.bz-model.is-live .bz-model-poster {
	opacity: 0;
}
.bz-model-canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	touch-action: pan-y;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}
.bz-model-canvas:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}
@media (prefers-reduced-motion: reduce) {
	.bz-model-poster {
		transition: none;
	}
}

/* ---- the 2D map (bosses-atlas.js): the picture first, then the live pan and zoom ------------ */
/* ---- map: static picture ------------------------------------------------- */
.bz-map {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #386197; /* the map's own sea, so letterboxing blends in */
	isolation: isolate;
}
.bz-map-stage { position: relative; }
.bz-map-base {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}
.bz-map-pins {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

/* ---- pins (44px hit box centred on the spot; <i> marker, <b> label) ------- */
.bz-pin {
	--bz-pin-hi: var(--gold-hi);
	--bz-pin-lo: var(--gold);
	--bz-pin-edge: #fff1d2;
	--bz-pin-glow: rgba(226, 192, 130, .85);
	position: absolute;
	z-index: 1;
	display: block;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	color: var(--text);
	text-decoration: none;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}
.bz-pin.is-raid {
	--bz-pin-hi: var(--purple-hi);
	--bz-pin-lo: var(--purple);
	--bz-pin-edge: #efe4ff;
	--bz-pin-glow: rgba(178, 140, 242, .9);
}
.bz-pin.is-wild {
	--bz-pin-hi: #f3a184;
	--bz-pin-lo: #c4402e;
	--bz-pin-edge: #ffd9cc;
	--bz-pin-glow: rgba(240, 96, 70, .85);
}
.bz-pin.is-raid.is-wild { /* a raid in the Wilderness: purple marker, red rim */
	--bz-pin-hi: var(--purple-hi);
	--bz-pin-lo: var(--purple);
	--bz-pin-edge: #ff9a80;
	--bz-pin-glow: rgba(240, 96, 70, .8);
}
.bz-pin i {
	position: absolute;
	left: 50%;
	top: 50%;
	box-sizing: border-box;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border: 1.5px solid var(--bz-pin-edge);
	border-radius: 2px;
	background: linear-gradient(135deg, var(--bz-pin-hi), var(--bz-pin-lo));
	box-shadow: 0 0 0 2px rgba(11, 8, 18, .7), 0 0 12px 3px var(--bz-pin-glow);
	transform: rotate(45deg);
	transition: transform .18s ease;
}
.bz-pin.is-raid i { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.bz-pin:hover i,
.bz-pin:focus-visible i { transform: rotate(45deg) scale(1.25); }
.bz-pin:focus-visible i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(11, 8, 18, .8), 0 0 14px 4px var(--bz-pin-glow); }
.bz-pin.is-selected { z-index: 3; }
.bz-pin.is-selected i { transform: rotate(45deg) scale(1.35); }
.bz-pin.is-selected i::after { /* pulsing ring on the selected place */
	content: "";
	position: absolute;
	left: -7px;
	top: -7px;
	right: -7px;
	bottom: -7px;
	border: 2px solid var(--bz-pin-hi);
	border-radius: 3px;
	opacity: 0;
	animation: bz-pin-pulse 1.8s ease-out infinite;
}
@keyframes bz-pin-pulse {
	0% { transform: scale(.6); opacity: .9; }
	100% { transform: scale(1.5); opacity: 0; }
}
.bz-pin b {
	position: absolute;
	left: 50%;
	bottom: calc(50% + 12px);
	padding: 3px 8px;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	background: rgba(11, 8, 18, .86);
	color: var(--text);
	font: 600 12px/1.25 var(--body);
	letter-spacing: .01em;
	white-space: nowrap;
	pointer-events: none;
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .16s ease, visibility 0s linear .16s;
}
.bz-pin:hover,
.bz-pin:focus-visible { z-index: 4; }
.bz-pin:hover b,
.bz-pin:focus-visible b,
.bz-pin.is-selected b,
.bz-pin.is-labelled b {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}
.bz-pin.is-selected b { border-color: var(--bz-pin-hi); color: #fff; }

/* ---- map: live (enhanced) ------------------------------------------------- */
.bz-map.is-live {
	height: clamp(360px, 112vw, 640px); /* default only: the page sets the real size */
	overflow: hidden;
	overflow: clip;
	contain: layout paint;
	touch-action: pan-y;               /* one finger scrolls the page; JS takes two-finger pinches */
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.bz-map.is-live:focus-visible { box-shadow: 0 0 0 2px var(--gold-hi); }
.bz-map.is-active { border-color: var(--line-strong); }
.bz-map.is-exploring {
	touch-action: none;                /* Explore: one finger pans the map */
	border-color: var(--gold);
	box-shadow: 0 0 0 1px var(--gold);
}
.bz-map.is-dragging { cursor: grabbing; }
.bz-map.is-live .bz-map-stage {
	position: absolute;
	left: 0;
	top: 0;
	transform-origin: 0 0;
	will-change: transform;            /* the only promoted layer */
}
.bz-map.is-live .bz-map-base {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-user-drag: none;
}
.bz-map-tiles {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.bz-map-tiles img {
	position: absolute;
	display: block;
	max-width: none;
	opacity: 0;
	transition: opacity .35s ease;
}
.bz-map-tiles img.is-loaded { opacity: 1; }
.bz-map.is-pixel .bz-map-base,
.bz-map.is-pixel .bz-map-tiles img { image-rendering: pixelated; }
.bz-map.is-live .bz-pin {
	transform: scale(var(--bz-inv, 1)); /* constant on-screen size */
	-webkit-user-drag: none;
}
.bz-map.is-live .bz-pin { cursor: pointer; }

/* ---- controls ------------------------------------------------------------- */
.bz-map-ui {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bz-map-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(21, 16, 34, .66);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	color: var(--text);
	font: 600 14px/1 var(--body);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: border-color .15s ease, background-color .15s ease, opacity .15s ease;
}
.bz-map-btn:hover { border-color: var(--line-strong); background: rgba(33, 25, 52, .78); }
.bz-map-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.bz-map-btn[aria-disabled="true"] { opacity: .4; cursor: default; }
.bz-map-explore {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 5;
	padding: 0 14px 0 11px;
}
.bz-map.is-exploring .bz-map-explore {
	border-color: var(--gold);
	background: rgba(201, 164, 91, .9);
	color: var(--void);
}

/* ---- gesture hint --------------------------------------------------------- */
.bz-map-hint {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 6;
	max-width: calc(100% - 40px);
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(21, 16, 34, .78);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	color: var(--text);
	font: 600 14px/1.3 var(--body);
	text-align: center;
	pointer-events: none;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity .2s ease;
}
.bz-map-hint.is-shown { opacity: 1; }

/* ---- place cards ---------------------------------------------------------- */
.bz-places {
	display: grid;
	gap: 10px;
	align-content: start;
}
.bz-place {
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(21, 16, 34, .66);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	color: var(--text);
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.bz-places.is-live .bz-place { cursor: pointer; }
.bz-places.is-live .bz-place:hover { border-color: var(--line-strong); }
.bz-place h3 {
	margin: 0 0 4px;
	color: var(--gold-hi);
	font: 400 1.1rem/1.25 var(--display);
}
.bz-place-where {
	margin: 0 0 8px;
	color: var(--muted);
	font: 400 .9rem/1.45 var(--body);
}
.bz-place-bosses {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bz-place-bosses a {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text);
	font: 600 .85rem/1.3 var(--body);
	text-decoration: none;
}
.bz-place-bosses a:hover,
.bz-place-bosses a:focus-visible { border-color: var(--gold); color: var(--gold-hi); }
.bz-place.is-selected {
	border-color: var(--gold);
	background: rgba(38, 28, 58, .82);
	box-shadow: 0 0 0 1px var(--gold), 0 0 22px rgba(201, 164, 91, .22);
}
.bz-place.is-selected h3 { color: #fff3da; }

/* narrow screens: the places become a horizontal rail under the map */
@media (max-width: 700px) {
	.bz-places {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 16px;
		padding: 4px 16px 12px;
		scrollbar-width: none;
	}
	.bz-places::-webkit-scrollbar { display: none; }
	.bz-place {
		flex: 0 0 min(80%, 320px);
		scroll-snap-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bz-pin i,
	.bz-pin b,
	.bz-map-tiles img,
	.bz-map-hint,
	.bz-place { transition: none; }
	.bz-pin.is-selected i::after { animation: none; opacity: .7; transform: scale(1.2); }
}

/* ---- the 3D world (bosses-world.js) --------------------------------------------------------- */
/* Fallback height only, at zero specificity: any page rule for the stage height wins, whatever the order.
	 The canvas follows any stage size. */
:where(.bz-map.is-world) { height: clamp(380px, 118vw, 680px); }
.bz-map.is-world {
	border-color: transparent;
	background: transparent;              /* the world fades into the page's void and stars (beats the atlas sea blue) */
	overflow: hidden;
	overflow: clip;
	contain: layout paint;
	touch-action: pan-y;                  /* one finger scrolls the page; Explore takes it over */
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	outline: none;
}
.bz-map.is-world:focus-visible { box-shadow: 0 0 0 2px var(--gold-hi); }
.bz-map.is-world.is-exploring { touch-action: none; box-shadow: inset 0 0 0 1px var(--gold); }
.bz-map.is-world.is-dragging { cursor: grabbing; }
.bz-map.is-world .bz-map-stage {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	transform: none;
	will-change: auto;
}
.bz-map.is-world .bz-map-base {      /* shown while the world loads */
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	-webkit-user-drag: none;
}
.bz-map.is-world.is-live .bz-map-base { visibility: hidden; }
.bz-world-canvas {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.bz-map.is-world .bz-map-pins {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;                 /* drags reach the world; the pins themselves stay clickable */
}
.bz-map.is-world .bz-pin {
	pointer-events: auto;
	cursor: pointer;
	will-change: transform;
	-webkit-user-drag: none;
}
.bz-map.is-world .bz-pin i { box-shadow: 0 0 0 2px rgba(11, 8, 18, .75), 0 0 14px 4px var(--bz-pin-glow); }
.bz-map.is-world .bz-pin b { box-shadow: 0 4px 14px rgba(11, 8, 18, .55); }

/* controls: a column on the right; the compass on top points north */
.bz-world-ui { top: 12px; right: 12px; }
.bz-world-compass svg { color: var(--gold-hi); transform-origin: 50% 50%; }
.bz-world-ui .bz-map-btn { width: 42px; }
@media (max-width: 700px) {
	.bz-world-ui { gap: 6px; }
	.bz-world-ui .bz-map-btn { width: 40px; min-width: 40px; height: 40px; }
	.bz-world-turn-left,
	.bz-world-turn-right { display: none; } /* phones turn with two fingers */
}
@media (prefers-reduced-motion: reduce) {
	.bz-map.is-world .bz-pin { will-change: auto; }
}

/* ---- the opening view, seated -----------------------------------------------------------------
   Two compositions. Flat (the default, the 2D map, no script): headline beside or above a framed map.
   3D (html.bz-3d, set before first paint): the world runs edge to edge and the headline, the search
   and the place cards float over it on glass. */

/* place cards: who is there first, then where it is and how you get in */
.bz-places { gap: 10px; }
.bz-place { display: flex; flex-direction: column; gap: 5px; padding: 11px 13px 12px; }
.bz-place h3 {
	margin: 0;
	color: var(--gold-hi);
	font: 600 11px/1.2 var(--body);
	letter-spacing: .15em;
	text-transform: uppercase;
}
.bz-place.is-selected h3 { color: var(--gold-hi); }
.bz-place-where { margin: 0; font-size: 13px; line-height: 1.42; }
.bz-place-where code { font-size: .9em; }
.bz-place-deep { color: var(--faint); }
.bz-place-bosses { order: -1; gap: 6px 14px; }
.bz-place-bosses a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--text) !important;
	font: 700 15px/1.2 var(--body);
}
.bz-place-bosses a:hover,
.bz-place-bosses a:focus-visible { color: var(--gold-hi) !important; }
.bz-place-bosses .bz-thumb { flex: none; width: 40px; height: 40px; object-fit: contain; object-position: 50% 100%; }

/* the map in its flat frame */
.bz-world { padding: 0 var(--pad); }
/* with the page script on, the frame has its final height from the first paint, so nothing below it moves */
.bz-hero .bz-map.is-live,
.bz-js:not(.bz-3d) .bz-hero .bz-map { height: clamp(380px, 62svh, 600px); }
.bz-places { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.bz-world-note { padding-left: 0; padding-right: 0; }
.bz-world-loading {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(13, 10, 22, .78);
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	transition: opacity .4s ease;
}
.bz-world-loading::before {
	content: "";
	width: 12px;
	height: 12px;
	border: 1.5px solid #fff1d2;
	border-radius: 2px;
	background: linear-gradient(135deg, var(--gold-hi), var(--gold));
	animation: bz-turn 1.6s linear infinite;
}
.bz-map.is-live .bz-world-loading { opacity: 0; pointer-events: none; }
@keyframes bz-turn {
	to { transform: rotate(360deg); }
}
.bz-world-toggle {
	margin-left: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--purple-hi);
	font: 600 13px/1.4 var(--body);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.bz-world-toggle:hover { color: #d9c6ff; }
.bz-rail-btn { display: none; }

/* phones and tablets: the places are a rail you swipe; the card in the middle is the place you are looking at */
@media (max-width: 979px) {
	.bz-places {
		display: flex;
		align-items: stretch;
		gap: 10px;
		margin: 12px calc(var(--pad) * -1) 0;
		padding: 4px var(--pad) 10px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--pad);
		scrollbar-width: none;
	}
	.bz-places::-webkit-scrollbar { display: none; }
	.bz-place { flex: 0 0 min(78%, 320px); scroll-snap-align: center; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(21, 16, 34, .9); }
}

/* the 3D composition */
.bz-3d .bz-world { padding: 0; }
.bz-3d .bz-hero .bz-map,
.bz-3d .bz-hero .bz-map.is-live {
	height: clamp(420px, 66svh, 640px);
	border: 0;
	border-radius: 0;
	background: transparent;
}
.bz-3d .bz-map:not(.is-live) .bz-map-stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.bz-3d .bz-map:not(.is-live) .bz-map-base { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; opacity: .3; filter: saturate(.5); }
.bz-3d .bz-map:not(.is-live) .bz-map-pins { display: none; }
/* the land fades into the page: over the land, the pins and the loading note, under the map's own controls */
.bz-3d .bz-map::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	height: 120px;
	background: linear-gradient(180deg, transparent, var(--void));
	pointer-events: none;
}
.bz-3d .bz-places,
.bz-3d .bz-world-note { position: relative; z-index: 5; }
.bz-3d .bz-world-note { padding: 8px var(--pad) 0; }
@media (max-width: 979px) {
	/* the world comes straight after the search; the rest of the opening words follow it */
	.bz-3d .bz-hero { display: flex; flex-direction: column; padding-top: clamp(16px, 4vw, 28px); }
	.bz-3d .bz-hero-copy { display: contents; }
	.bz-3d .bz-hero-copy > * { margin-left: var(--pad); margin-right: var(--pad); }
	.bz-3d .bz-hero-copy h1 { margin-top: 8px; margin-bottom: 0; }
	.bz-3d .bz-find { margin-top: 14px; }
	.bz-3d .bz-find-help { display: none; }
	.bz-3d .bz-quick { flex-wrap: nowrap; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); overflow-x: auto; scrollbar-width: none; }
	.bz-3d .bz-quick::-webkit-scrollbar { display: none; }
	.bz-3d .bz-quick a { flex: none; }
	.bz-3d .bz-world { order: 5; margin-top: 14px; }
	.bz-3d .bz-lede { order: 6; margin-top: 16px; }
	.bz-3d .bz-counts { order: 7; margin-top: 12px; }
	.bz-3d .bz-places { margin: -34px 0 0; }
	.bz-3d .bz-map-explore { bottom: 44px; } /* clear of the place cards, which overlap the land's last 34px */
}

@media (min-width: 980px) {
	/* flat: headline on the left, framed map on the right */
	html:not(.bz-3d) .bz-hero {
		display: grid;
		grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
		gap: 36px;
		align-items: start;
		width: min(var(--wrap), 100% - 2 * var(--pad));
		margin: 0 auto;
		padding-top: clamp(24px, 5vh, 56px);
	}
	html:not(.bz-3d) .bz-hero-copy { position: sticky; top: 18px; padding: 0; }
	html:not(.bz-3d) .bz-world { padding: 0; }
	html:not(.bz-3d) .bz-hero .bz-map.is-live,
	.bz-js:not(.bz-3d) .bz-hero .bz-map { height: clamp(480px, calc(100svh - 300px), 720px); }

	/* 3D: one screen of world, with the glass over it */
	.bz-3d .bz-hero {
		--copy-left: max(var(--pad), calc(50% - 690px));
		--copy-top: clamp(16px, 4.2vh, 52px);
		--copy-width: min(472px, 40vw);
		height: clamp(620px, calc(100svh - var(--vs-nav-height, 72px)), 1060px);
	}
	.bz-3d .bz-world { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
	.bz-3d .bz-hero .bz-map,
	.bz-3d .bz-hero .bz-map.is-live { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
	.bz-3d .bz-map::after { height: 150px; }
	.bz-3d .bz-hero-copy {
		position: absolute;
		left: var(--copy-left);
		top: var(--copy-top);
		display: flex;
		flex-direction: column;
		width: var(--copy-width);
		max-height: calc(100% - 2 * var(--copy-top));
		padding: clamp(18px, 3vh, 28px) 28px;
		border: 1px solid var(--line-strong);
		border-radius: 24px;
		background: linear-gradient(180deg, rgba(143, 85, 223, .14), transparent 180px), rgba(13, 10, 22, .68);
		-webkit-backdrop-filter: blur(12px) saturate(1.25);
		backdrop-filter: blur(12px) saturate(1.25);
		box-shadow: 0 30px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
	}
	.bz-3d .bz-hero-copy > * { flex: none; }
	.bz-3d .bz-hero-copy h1 { font-size: clamp(44px, min(5vw, 8.6vh), 76px); }
	.bz-3d .bz-hero-copy .bz-results { flex: 1 1 auto; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; margin-right: -12px; padding-right: 12px; scrollbar-width: thin; scrollbar-color: var(--purple) transparent; }
	.bz-3d .bz-hero-copy.has-results h1 { margin: 4px 0 0; font-size: 34px; }
	.bz-3d .bz-hero-copy.has-results .bz-lede,
	.bz-3d .bz-hero-copy.has-results .bz-find-help,
	.bz-3d .bz-hero-copy.has-results .bz-quick,
	.bz-3d .bz-hero-copy.has-results .bz-counts { display: none; }
	.bz-3d .bz-hero-copy.has-results .bz-find { margin-top: 12px; }

	.bz-3d .bz-places {
		position: absolute;
		left: calc(var(--copy-left) + var(--copy-width) + 14px);
		right: 0;
		bottom: 14px;
		display: flex;
		align-items: flex-end;
		gap: 10px;
		margin: 0;
		padding: 6px 84px 6px 58px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		scroll-padding: 0 84px 0 58px;
		scrollbar-width: none;
		pointer-events: none;
		-webkit-mask-image: linear-gradient(90deg, transparent 6px, #000 58px, #000 calc(100% - 96px), transparent calc(100% - 18px));
		mask-image: linear-gradient(90deg, transparent 6px, #000 58px, #000 calc(100% - 96px), transparent calc(100% - 18px));
	}
	.bz-3d .bz-places::-webkit-scrollbar { display: none; }
	.bz-3d .bz-place {
		flex: 0 0 262px;
		scroll-snap-align: start;
		pointer-events: auto;
		background: rgba(13, 10, 22, .7);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
	}
	.bz-3d .bz-place:hover { transform: translateY(-3px); }
	.bz-3d .bz-place-where { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
	.bz-3d .bz-place.is-selected .bz-place-where { display: block; }
	.bz-3d .bz-place.is-selected { background: rgba(30, 22, 48, .86); }
	.bz-3d .bz-world-note {
		position: absolute;
		left: calc(var(--copy-left) + var(--copy-width) + 20px);
		top: var(--copy-top);
		max-width: min(460px, calc(100% - var(--copy-left) - var(--copy-width) - 110px));
		padding: 8px 14px;
		border: 1px solid var(--line);
		border-radius: 12px;
		background: rgba(13, 10, 22, .6);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		color: var(--muted);
	}
	.bz-3d .bz-world-ui { top: var(--copy-top); right: 18px; }
	.bz-3d .bz-world-loading { left: calc(50% + (var(--copy-left) + var(--copy-width)) / 2); }
	.bz-3d .bz-rail-btn {
		position: absolute;
		bottom: 62px;
		z-index: 6;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 1px solid var(--line-strong);
		border-radius: 50%;
		background: rgba(13, 10, 22, .82);
		color: var(--text);
		font: 400 22px/1 var(--body);
		cursor: pointer;
		transition: opacity .2s ease, border-color .15s ease, background-color .15s ease;
	}
	.bz-3d .bz-rail-btn:hover { border-color: var(--gold); background: rgba(38, 28, 58, .92); }
	.bz-3d .bz-rail-btn.is-prev { left: calc(var(--copy-left) + var(--copy-width) + 18px); }
	.bz-3d .bz-rail-btn.is-next { right: 18px; }
	.bz-3d .bz-rail-btn[disabled] { opacity: 0; pointer-events: none; }
	.bz-3d .bz-jump { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.bz-world-loading::before { animation: none; }
	.bz-3d .bz-place { transition: none; }
	.bz-3d .bz-place:hover { transform: none; }
}
