:root {
	--page-bg: #0b0b0b;
	--text: #ffffff;
	--text-muted: #b5b5b5;
	--link: #f0a30a;
	--link-hover: #ffd257;
	--header-bg: #0b0b0b;
	--header-text: #ffffff;
	--status-bg: #292626;
	--status-stripe: #141313;
	--status-border: #9a9a9a;
	--status-text: #ffffff;
	--menu-head-bg: #2b2b2b;
	--menu-head-text: #ffffff;
	--menu-head-border: #d0d0d0;
	--menu-bg: #3c3c3c;
	--menu-link: #f0a30a;
	--menu-hover-bg: #545454;
	--menu-divider: #1a1a1a;
	--panel-bg: #282828;
	--panel-border: #8c8c8c;
	--panel-stripe: #1c1c1c;
	--title-text: #ffffff;
	--box-bg: #2e2e2e;
	--table-head-bg: #2a2a2a;
	--table-head-text: #ffffff;
	--table-row-bg: #484848;
	--table-border: #1e1e1e;
	--button-bg: #4a4a4a;
	--button-text: #f0a30a;
	--button-border: #1e1e1e;
	--input-bg: #141414;
	--input-text: #ffffff;
	--input-border: #5a5a5a;
	--meter-fill: #22c23a;
	--meter-empty: #d42020;
	--good: #33dd33;
	--bad: #ff3b3b;
	--notify: #f0a30a;
	--war-side1: #ff3b3b;
	--war-side2: #3b8bff;
	--success-bg: #1f4d1f;
	--error-bg: #5a1a1a;
}
* {
	color: var(--text);
}
[style^="color:"] * {
	color: inherit;
}
body {
	background-color: var(--page-bg);
	margin: 0;
	padding: 0 0 10px 0;
}
:where(body:not(.tapZoom), body:not(.tapZoom) *) {
	touch-action: manipulation;
}
a:link,
a:visited,
a:active {
	color: var(--link);
	text-decoration: none;
}
a:hover {
	color: var(--link-hover);
}
#navBlock a > span[data-f=b],
#rightBlock > a > span[data-f=b] {
	color: var(--my-menu-notify, inherit);
}
span[data-f=b] {
	white-space: pre;
	font-variant-numeric: tabular-nums;
}
#navBlock a:not([hidden]):has(> .navLabel),
#rightBlock > a:not([hidden]):has(> .navLabel) {
	display: flex;
	align-items: center;
	white-space: nowrap;
}
#navBlock a:has(> .navLabel):before,
#rightBlock > a:has(> .navLabel):before {
	flex: none;
	white-space: pre;
}
.navLabel {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}
#navBlock a > span[data-f=b],
#rightBlock > a > span[data-f=b] {
	flex: none;
}
#navBlock a > span[data-act],
#rightBlock > a > span[data-act] {
	color: var(--my-menu-action, var(--my-menu-notify, inherit));
}
.unreadNews,
a.unreadNews:link,
a.unreadNews:visited {
	color: var(--notify) !important;
}
#mainBlock {
	font-size: 10pt;
	font-family: Verdana, Tahoma, Arial, sans-serif;
	width: 95%;
	max-width: 1100px;
	min-width: 800px;
	margin: auto;
}
#headerBlock {
	display: flex;
	align-items: center;
	padding: 6px 0;
	background: var(--header-bg);
}
#headerBlock > div {
	box-sizing: border-box;
	min-width: 0;
	padding-right: 10px;
}
#headerBlock * {
	color: var(--header-text);
}
#headerBlock a:link,
#headerBlock a:visited {
	color: var(--link);
}
#headerBlock .hdrLogo {
	flex: 1 1 auto;
	line-height: 0;
	text-align: center;
}
#headerBlock .hdrLogo img {
	width: 100%;
	max-width: 450px;
}
#headerBlock .hdrDetails {
	flex: 0 0 auto;
	max-width: 30%;
}
#headerBlock .hdrBars {
	flex: 0 0 auto;
}
#headerBlock.guest {
	justify-content: center;
}
#headerBlock.guest .hdrLogo {
	margin: 0 auto;
	text-align: center;
}
.topDetails td {
	padding: 1px 4px 1px 0;
	font-size: 9pt;
}
.topDetails td:first-child {
	white-space: nowrap;
}
#genBars td {
	padding: 1px 0;
	font-size: 9pt;
}
#genBars td.barText {
	padding-left: 8px;
	color: var(--text-muted);
	font-size: 8pt;
	white-space: nowrap;
}
#genBars .barShort {
	display: none;
}
#genBars td.barLabel {
	padding-right: 8px;
	white-space: nowrap;
}
#headerBlock a.barLabel:link,
#headerBlock a.barLabel:visited {
	color: var(--my-bar-label, var(--link));
}
#genBars td.barLabel,
#headerBlock .topDetails tr:nth-child(2) td:first-child {
	color: var(--my-bar-label, inherit);
}
#headerBlock a.barLabel:hover {
	text-decoration: underline;
}
.meter {
	width: 110px;
	height: 7px;
	border: 1px solid #000;
	background: var(--meter-empty);
	line-height: 0;
}
.meter span {
	display: block;
	height: 100%;
	background: var(--meter-fill);
}
#genBars tr[data-c=bar_exp] .meter span {
	background: var(--my-bar-exp, var(--meter-fill));
}
#genBars tr[data-c=bar_hp] .meter span {
	background: var(--my-bar-hp, var(--meter-fill));
}
#genBars tr[data-c=bar_energy] .meter span {
	background: var(--my-bar-energy, var(--meter-fill));
}
#genBars tr[data-c=bar_awake] .meter span {
	background: var(--my-bar-awake, var(--meter-fill));
}
#genBars tr[data-c=bar_nerve] .meter span {
	background: var(--my-bar-nerve, var(--meter-fill));
}
#statusBar,
#footerBlock,
.langBar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--status-bg);
	background-image: repeating-linear-gradient(135deg, var(--status-bg) 0 10.6px, var(--status-stripe) 10.6px 21.2px);
	border: 1px solid var(--status-border);
	border-radius: 4px;
	padding: 4px 8px;
	margin: 6px 0 10px 0;
	font-size: 9pt;
}
#statusBar *,
#footerBlock *,
.langBar * {
	color: var(--status-text);
}
#statusBar a:link,
#statusBar a:visited,
#footerBlock a:link,
#footerBlock a:visited,
.langBar a:link,
.langBar a:visited {
	color: var(--link);
	font-weight: 700;
}
#footerBlock {
	clear: both;
	margin-top: 10px;
}
#launchCountdown {
	background: var(--box-bg);
	border: 1px solid var(--panel-border);
	padding: 6px 8px;
	margin: 0 0 10px 0;
	clear: both;
	text-align: center;
	border-radius: 4px;
}
#launchCountdown span {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
#navBlock {
	float: left;
	width: 16%;
	box-sizing: border-box;
}
#navBlock a,
#rightBlock > a {
	display: block;
	padding: 3px 6px;
	color: var(--menu-link);
	background: var(--menu-bg);
	font-size: 9.5pt;
	font-weight: 700;
	line-height: 16px;
	text-decoration: none;
	border-bottom: 1px solid var(--menu-divider);
}
#navBlock a:before,
#rightBlock > a:before {
	content: ".: ";
	color: var(--menu-link);
}
#navBlock a:hover,
#rightBlock > a:hover {
	background: var(--menu-hover-bg);
}
.navSeperator {
	display: block;
	background: var(--menu-head-bg);
	color: var(--menu-head-text);
	border: 2px solid var(--menu-head-border);
	text-align: center;
	font-weight: 700;
	line-height: 20px;
	margin-top: 4px;
}
.navSeperator:first-child {
	margin-top: 0;
}
#navBlock [hidden] {
	display: none;
}
#navBlock a.staffDue,
#navBlock a.staffDue:before {
	color: var(--notify);
}
#navBlock a .staffCount {
	font-weight: 400;
	opacity: .7;
}
#navBlock a.staffDue .staffCount {
	font-weight: 700;
	opacity: 1;
}
.staffFind {
	padding: 4px 0;
	background: var(--menu-bg);
	border-bottom: 1px solid var(--menu-divider);
}
.staffFind input {
	box-sizing: border-box;
	width: 100%;
	padding: 4px 6px;
	font-size: 9.5pt;
}
.staffDesk {
	margin: 0 0 14px;
}
.staffCards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 8px;
	margin-bottom: 10px;
}
a.staffCard {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 10px 6px;
	border: 1px solid var(--table-border);
	border-radius: 6px;
	background: var(--box-bg);
	color: var(--text-muted);
	text-align: center;
	text-decoration: none;
}
a.staffCard b {
	color: var(--text);
	font-size: 20px;
	line-height: 1.1;
}
a.staffCard.staffDue {
	border-color: var(--notify);
	color: var(--notify);
}
a.staffCard.staffDue b {
	color: var(--notify);
}
a.staffCard:hover {
	border-color: var(--link);
}
.staffClear {
	margin: 0;
	color: var(--good);
	font-weight: 700;
	text-align: center;
}
#contentBlock {
	float: right;
	width: calc(84% - 10px);
	box-sizing: border-box;
	position: relative;
	isolation: isolate;
	background: var(--panel-bg);
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	padding: 15px;
}
@media (min-width: 701px) {
	#mainBlock.withRight {
		max-width: 1300px;
	}
	#rightBlock {
		float: right;
		width: 16%;
		box-sizing: border-box;
	}
	#mainBlock.withRight #contentBlock {
		float: left;
		width: calc(68% - 20px);
		margin-left: 10px;
	}
}
#contentBlock input[type="text"],
#contentBlock input[type="password"],
#contentBlock input[type="email"],
#contentBlock textarea,
#contentBlock select {
	max-width: 100%;
	box-sizing: border-box;
}
#contentBlock:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--panel-stripe);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' shape-rendering='crispEdges'%3E%3Cpath d='M3 0h1v1H3zM2 1h1v1H2zM1 2h1v1H1zM0 3h1v1H0z'/%3E%3C/svg%3E") 0 0 / 4px 4px repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' shape-rendering='crispEdges'%3E%3Cpath d='M3 0h1v1H3zM2 1h1v1H2zM1 2h1v1H1zM0 3h1v1H0z'/%3E%3C/svg%3E") 0 0 / 4px 4px repeat;
}
.pageTitle {
	text-align: center;
	font-weight: 700;
	font-size: 13pt;
	color: var(--title-text);
	margin: 0 auto 6px auto;
}
.gangbus td.setHead {
	background: var(--table-head-bg);
	color: var(--link);
	border: 0;
	border-left: 3px solid var(--link);
	border-radius: 0;
	text-align: left;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	padding: 9px 12px;
}
.bannerIntro,
.bannerSave {
	text-align: center;
}
.bannerPicks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 6px;
}
.bannerPick {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 236px;
	padding: 6px;
	border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
	border-radius: 6px;
	background: var(--header-bg);
	cursor: pointer;
}
.bannerPick:has(input:checked) {
	border-color: var(--link);
}
.bannerPick input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.bannerPick img {
	display: block;
	width: 225px;
	height: 35px;
	object-fit: contain;
}
.bannerPick span {
	color: var(--header-text);
	font-size: 11px;
}
.gangbus:has(#animations:not(:checked)) .setAnimGroup {
	opacity: .5;
}
.seperator {
	background-color: var(--table-head-bg);
	color: var(--table-head-text);
	border: 1px solid var(--panel-border);
	text-align: center;
	font-weight: 700;
	padding: 3px;
	margin: 5px;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	background-color: var(--button-bg);
	color: var(--button-text);
	border: 1px solid var(--button-border);
	font-weight: 700;
	padding: 3px 8px;
	margin: 2px;
	cursor: pointer;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	background-color: var(--menu-hover-bg);
}
.npcActs {
	text-align: right;
	white-space: nowrap;
}
.npcActs .npcAct {
	display: inline-block;
	margin: 2px 0 2px 6px;
	padding: 3px 12px;
	font-size: 11px;
	line-height: 1.4;
	text-decoration: none;
}
.killAllStatus {
	color: var(--text-muted);
	font-size: 11px;
}
.killAllTop {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
}
.killAllTop .pager {
	justify-content: flex-start;
	gap: 4px;
	margin: 0;
}
.killAllTop .pgOf {
	display: none;
}
.killAllTop .pgBtn {
	min-width: 32px;
	height: 32px;
	padding: 0 6px;
}
.killAllMsg {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	height: 36px;
	margin-bottom: 8px;
	padding: 0 12px;
	border: 1px solid var(--panel-border);
	border-left-width: 4px;
	border-radius: 4px;
}
.killAllMsg > span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.killAllMsg:empty {
	visibility: hidden;
}
.killAll-success {
	border-left-color: #22c55e;
}
.killAll-error {
	border-left-color: var(--bad);
}
.killAll-info {
	border-left-color: var(--link);
}
.npcActs .npcActGap {
	visibility: hidden;
}
input,
select,
textarea {
	background: var(--input-bg);
	color: var(--input-text);
	border: 1px solid var(--input-border);
	border-radius: 3px;
}
input[type="text"],
input[type="password"] {
	padding: 1px 3px;
	height: 17px;
	line-height: 17px;
}
input[type="color"] {
	width: 48px;
	height: 24px;
	padding: 0 2px;
	cursor: pointer;
}
img {
	border: none;
}
hr {
	width: 95%;
	border-color: var(--panel-border);
}
.gmail,
.forum {
	width: 100%;
	background-color: var(--table-row-bg);
	border: 1px solid var(--table-border);
	border-radius: 4px;
}
.forum td {
	overflow-wrap: anywhere;
}
.gbBlock {margin:12px auto 0;max-width:520px;text-align:center}
.gbBlock p {margin:0 0 6px}
.gbBlock select {margin-right:6px}
.gangbus {
	border: 2px solid var(--panel-border);
	background-color: var(--box-bg);
	border-radius: 10px;
	margin: 1.1% auto;
}
.gangbus td {
	padding: 7px;
}
.ft td {
	padding: 3px;
	text-align: center;
}
.ft:hover {
	background-color: var(--menu-hover-bg);
}
.loginMsg {
	padding: 5px;
	font-weight: 700;
	text-align: center;
	margin: 10px;
	border: 2px dashed var(--panel-border);
	background-color: var(--box-bg);
}
.forumCreate {
	background-color: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-radius: 4px;
	padding: 10px;
}
#notification {
	text-align: center;
	background-color: var(--error-bg);
	border: 1px dotted var(--text);
	padding: 5px;
	font-weight: 700;
	margin: 0 auto 15px auto;
	width: 600px;
	display: none;
}
.cp {
	padding: 5px;
}
#srt {
	list-style: none;
	padding: 0;
}
#srt li {
	margin: 0 0 10px 0;
	border: 1px solid var(--table-border);
	background-color: var(--table-row-bg);
	padding: 2px;
	border-radius: 4px;
}
#crimeBar,
#crimeTools,
#crimeList,
.crimeEmpty {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}
#crimeBar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 6px;
}
#crimeRefillBar {
	margin: 0 auto 0 0;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 11px;
}
#crimeRefillBar[hidden] {
	display: inline-block;
	visibility: hidden;
}
.prisonActions[hidden] {
	display: none;
}
.prisonActions {
	max-width: 680px;
	margin: 8px auto;
	padding: 10px;
	text-align: center;
	border: 1px solid var(--table-border);
	background-color: var(--table-row-bg);
	border-radius: 4px;
}
.prisonActions p {
	margin: 0 0 8px;
	font-weight: 700;
}
.prisonActions .prisonButtons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	max-width: 480px;
	margin: 0 auto;
}
.prisonActions .prisonAct {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 6px 10px;
	text-decoration: none;
	touch-action: manipulation;
}
.prisonActions p {
	white-space: nowrap;
}
.prisonActions .prisonAct span {
	color: inherit;
}
#prisonMsg,
#petPoundMsg {
	min-height: max(44px, var(--ly-room, 0px));
	margin-bottom: 12px;
}
#prisonMsg > .msgBox,
#petPoundMsg > .msgBox {
	margin-bottom: 0;
}
@media (max-width: 700px) {
	#prisonMsg,
	#petPoundMsg {
		min-height: max(80px, var(--ly-room, 0px));
	}
	.msgBox .prisonActions.prisonInline {
		display: flex;
		margin: -1px 0 -2px;
	}
}
.prisonActions.prisonInline {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: none;
	margin: -2px 0 -2px 6px;
	padding: 0;
	border: 0;
	background: none;
	vertical-align: baseline;
}
.prisonActions.prisonInline .prisonAct {
	display: inline-block;
	min-height: 0;
	padding: 2px 10px;
	font-size: 12px;
	line-height: 1.4;
}
.prisonActions.prisonBusy .prisonAct {
	opacity: .5;
	pointer-events: none;
}
#mugPage .lyPart-alert {
	margin: 0 0 10px;
}
#mugPage .lyPart-alert:has(~ .lyPart-bar) #mugMsg,
#mugPage:has(.lyZone-top .lyPart-alert):has(.lyZone-bottom .lyPart-bar) #mugMsg {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.mugBar {
	display: grid;
	grid-template-columns: repeat(3, 10em);
	justify-content: center;
	gap: 8px;
	margin: 0 auto 10px;
}
.mugBar .mugBtn {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 36px;
	min-height: 36px;
	margin: 0;
	padding: 0 6px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 34px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-radius: 3px;
}
.mugBar .mugOff {
	opacity: .45;
	pointer-events: none;
	cursor: default;
}
.mugBar .mugGhost {
	visibility: hidden;
}
.mugBar [data-mug-hold] {
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	touch-action: manipulation;
}
.mugBar .mugRetry.mugHolding {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
}
.mugMsg {
	text-align: center;
}
@media (max-width: 700px) {
	.mugBar {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
#crimeHiddenNote {
	font-size: 11px;
	color: var(--text-muted);
}
#crimeHiddenNote[hidden] {
	display: none;
}
.msgPulse {
	animation: msgPulse .3s ease-out;
}
@keyframes msgPulse {
	from {
		filter: brightness(1.6);
	}
	to {
		filter: none;
	}
}
.noAnim .msgPulse {
	animation: none;
}
.msgRepeat {
	display: inline-block;
	margin-left: 8px;
	padding: 0 7px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .14);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: baseline;
}
.crimeMode {
	display: inline-flex;
	gap: 2px;
}
.crimeMode button {
	margin: 0;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 11px;
}
.crimeMode button[aria-pressed=true] {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
}
#crimeEdit {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 11px;
}
#crimeEdit svg {
	fill: currentColor;
}
#crimeEdit[aria-pressed=true] {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
}
#crimeTools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 10px;
	padding: 8px 10px;
	border: 1px dashed var(--panel-border);
	border-radius: 5px;
}
#crimeTools[hidden] {
	display: none;
}
.crimeSort,
.crimeLayout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}
.crimeToolLabel {
	color: var(--text-muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-right: 4px;
}
.crimeSort button,
.crimeLayout button {
	margin: 0;
	border-radius: 4px;
	font-size: 11px;
	padding: 4px 9px;
}
.crimeLayout button {
	min-width: 28px;
}
.crimeSort button[aria-pressed=true],
.crimeLayout button[aria-pressed=true] {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
}
.crimeHint {
	flex-basis: 100%;
	margin: 0;
	font-size: 11px;
	color: var(--text-muted);
}
.crime {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "main go";
	align-items: center;
	gap: 6px 12px;
	padding: 8px 10px;
	margin-bottom: 6px;
	background-color: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-radius: 5px;
	text-align: left;
}
.crimeGrip {
	grid-area: grip;
	display: none;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	color: var(--text-muted);
	fill: currentColor;
	cursor: grab;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}
.crimeMain {
	grid-area: main;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.crimeIcon {
	flex: none;
}
.crimeText {
	flex: 1 1 auto;
	min-width: 0;
}
.crimeName {
	display: block;
	font-size: 13px;
	margin-bottom: 3px;
}
.crimeStats {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	font-size: 12px;
	font-weight: 700;
}
.crimeStat i {
	font-style: normal;
	font-weight: 400;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--text-muted);
}
.crimeStatCash span,
.crimeStatExp span {
	color: var(--good);
}
.crime .crimeGo {
	grid-area: go;
	margin: 0;
	min-height: 30px;
}
.crime .crimeGo:disabled {
	opacity: .45;
	cursor: default;
}
.crime .crimeGo {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}
.crimeHoldOpt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 14px 0 0;
	font-weight: 700;
}
.crimeHoldOpt[hidden],
.crimeHoldTip[hidden] {
	display: none;
}
.crimeHoldTipActs {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}
.crimeHoldTipActs .button {
	margin: 0;
}
.crimeHoldOpt small {
	flex: 0 0 100%;
	font-weight: 400;
	color: var(--text-muted);
}
.crime .crimeGo.crimeHolding {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
}
.crimeHide {
	grid-area: hide;
	display: none;
	margin: 0;
	padding: 4px 2px;
	background: none;
	border: 0;
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 400;
	text-decoration: underline;
}
.crimeHide:hover {
	background: none;
	color: var(--link);
}
.crime.crimeIsHidden {
	display: none;
}
#crimePage.crimeEditing .crime {
	grid-template-columns: 18px minmax(0, 1fr) auto auto;
	grid-template-areas: "grip main go hide";
}
#crimePage.crimeEditing .crimeGrip {
	display: flex;
}
#crimePage.crimeEditing .crimeHide {
	display: block;
}
#crimePage.crimeEditing .crime.crimeIsHidden {
	display: grid;
	opacity: .5;
}
@media (min-width: 701px) {
	#crimePage.crimeGrid #crimeBar,
	#crimePage.crimeGrid #crimeTools,
	#crimePage.crimeGrid #crimeList,
	#crimePage.crimeGrid .crimeEmpty {
		max-width: none;
	}
	#crimePage.crimeGrid #crimeList {
		display: grid;
		gap: 8px;
		align-items: stretch;
	}
	#crimePage.crimeCols2 #crimeList {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	#crimePage.crimeCols3 #crimeList {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	#crimePage.crimeCols4 #crimeList {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	#crimePage.crimeGrid .crime {
		margin: 0;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "main" "go";
		align-content: space-between;
		align-items: stretch;
		row-gap: 8px;
	}
	#crimePage.crimeGrid.crimeEditing .crime {
		grid-template-columns: 14px minmax(0, 1fr) auto;
		grid-template-areas: "grip main main" "grip go hide";
		column-gap: 8px;
	}
	#crimePage.crimeGrid .crime .crimeGo {
		width: 100%;
	}
}
.crime.dragging {
	outline: 2px solid var(--link);
	opacity: .9;
	position: relative;
	z-index: 2;
}
.crime.dragging .crimeGrip {
	cursor: grabbing;
}
.crimeEmpty {
	text-align: center;
	color: var(--text-muted);
}
.crimeEmpty[hidden] {
	display: none;
}
#crimePage .autoStatus {
	margin-top: 16px;
}
.gmenu {
	width: 90%;
	font-weight: 700;
	font-size: 9pt;
}
.gmenu td {
	background-color: var(--button-bg);
	border: 1px solid var(--button-border);
	padding: 0;
	width: 25%;
	text-align: center;
}
.gmenu td > a {
	display: block;
	padding: 5px;
}
.gmenu td:hover {
	background-color: var(--menu-hover-bg);
}
.gmenu form {
	margin: 0;
}
.gmenu button.gmBtn {
	display: block;
	width: 100%;
	margin: 0;
	padding: 5px;
	background: none;
	border: 0;
	color: var(--link);
	font: inherit;
	cursor: pointer;
}
.gmenu button.gmBtn:hover {
	color: var(--link-hover);
}
.gmenu td.gmEmpty,
.gmenu td.gmEmpty:hover {
	background: none;
	border: 0;
}
table.gmFlow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	margin: 0 auto;
}
table.gmFlow tbody,
table.gmFlow tr {
	display: contents;
}
table.gmFlow td {
	display: block;
	width: auto;
}
table.gmFlow td > a,
table.gmFlow form,
table.gmFlow button.gmBtn {
	height: 100%;
	box-sizing: border-box;
}
table.gmFlow td.gmEmpty {
	display: none;
}
.rateBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 24px;
	height: 22px;
	padding: 0 6px;
	border: 1px solid var(--button-border);
	border-radius: 4px;
	background: var(--button-bg);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	vertical-align: middle;
}
.rateBtn:hover {
	background: var(--menu-hover-bg);
	text-decoration: none;
}
.rateBtn.rateUp {
	color: var(--good);
}
.rateBtn.rateDown {
	color: var(--bad);
}
.ftRating {
	display: flex;
	align-items: center;
	gap: 8px;
}
.fmTools {
	display: flex;
	gap: 8px;
	max-width: 620px;
	margin: 0 auto 16px;
}
.fmTools input[type=text] {
	flex: 1;
	min-width: 0;
	height: 34px;
	box-sizing: border-box;
	padding: 0 10px;
	border-radius: 6px;
}
.fmTools input[type=submit],
.fmTools input[type=button] {
	height: 34px;
	margin: 0;
	padding: 0 12px;
	border-radius: 6px;
}
.fmBoards,
.fmThreads {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--box-bg);
}
.fmBoard,
.fmThread {
	position: relative;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) 64px 64px minmax(0, 220px);
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border-top: 1px solid var(--menu-divider);
	transition: background-color .15s;
}
.fmThread {
	grid-template-columns: minmax(0, 1fr) 64px 64px minmax(0, 190px) 44px;
}
.fmThread.fmNoScore {
	grid-template-columns: minmax(0, 1fr) 64px 64px minmax(0, 190px);
}
.fmBoard:first-child,
.fmThread:first-child {
	border-top: 0;
}
.fmBoard:hover,
.fmThread:hover {
	background: var(--menu-hover-bg);
}
.fmSticky {
	background: color-mix(in srgb, var(--link) 7%, transparent);
}
.fmStretch::after {
	content: "";
	position: absolute;
	inset: 0;
}
.fmLast a,
.fmMeta a,
.fmJump a {
	position: relative;
	z-index: 1;
}
.fmIcon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--link) 14%, transparent);
	color: var(--link);
}
.fmIcon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}
.fmBoardMain,
.fmThreadMain {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.fmBoardName {
	font-size: 15px;
	font-weight: 700;
}
.fmBoardDesc,
.fmMeta {
	color: var(--text-muted);
	font-size: 12px;
}
.fmStat {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.2;
}
.fmStat b {
	font-size: 15px;
}
.fmStat span {
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.fmLast {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: 13px;
}
.fmLastTitle {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fmTotals {
	margin: 8px 2px 18px;
	color: var(--text-muted);
	font-size: 12px;
	text-align: right;
}
.fmSide {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.fmCard {
	padding: 12px 14px;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	background: var(--box-bg);
}
.fmCard h3 {
	margin: 0 0 8px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: var(--text-muted);
}
.fmList {
	margin: 0;
	padding: 0;
	list-style: none;
}
.fmList li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 5px 0;
	border-top: 1px solid var(--menu-divider);
}
.fmList > li > .fmMeta {
	flex: none;
	white-space: nowrap;
}
.fmListMain {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.fmList li:first-child {
	border-top: 0;
}
.fmRank {
	counter-reset: fmrank;
}
.fmRank li::before {
	counter-increment: fmrank;
	content: counter(fmrank);
	min-width: 16px;
	color: var(--link);
	font-weight: 700;
}
.fmRank li > span:first-of-type {
	flex: 1;
}
.fmActive {
	margin: 0;
	line-height: 1.7;
}
.fmCrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	font-size: 13px;
}
.fmCrumbs span {
	color: var(--text-muted);
}
.fmHead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--menu-divider);
}
.fmHead h2 {
	margin: 0;
	font-size: 20px;
	color: var(--title-text);
	overflow-wrap: anywhere;
}
.fmHead p {
	margin: 4px 0 0;
	color: var(--text-muted);
	font-size: 13px;
}
.fmNew,
.fmFollow {
	flex: none;
	padding: 6px 14px;
	border-radius: 6px;
	text-decoration: none;
}
.fmThreadTitle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	min-width: 0;
	overflow-wrap: anywhere;
}
.fmTag {
	flex: none;
	display: inline-block;
	margin-right: 6px;
	padding: 1px 6px;
	border: 1px solid color-mix(in srgb, var(--link) 60%, transparent);
	border-radius: 4px;
	color: var(--link);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	vertical-align: middle;
}
.fmTagLock {
	border-color: var(--text-muted);
	color: var(--text-muted);
}
.fmJump a {
	margin-left: 4px;
	padding: 0 5px;
	border: 1px solid var(--button-border);
	border-radius: 3px;
}
.fmScore {
	justify-self: end;
	min-width: 32px;
	padding: 3px 6px;
	border-radius: 12px;
	background: var(--button-bg);
	color: var(--text-muted);
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}
.fmScore.fmUp {
	color: var(--good);
}
.fmScore.fmDown {
	color: var(--bad);
}
.fmEmpty {
	margin: 14px 0;
	padding: 18px;
	border: 1px dashed var(--panel-border);
	border-radius: 8px;
	color: var(--text-muted);
	text-align: center;
}
.fmBar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
}
.fmRating b {
	font-size: 16px;
}
.fmStaff {
	margin: 0 0 12px;
}
.fmPost {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	margin: 0 0 12px;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--box-bg);
	scroll-margin-top: 12px;
}
.fmPost:target {
	border-color: var(--link);
}
.fmOp {
	border-left: 3px solid var(--link);
}
.fmAuthor {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 10px;
	background: color-mix(in srgb, var(--page-bg) 35%, transparent);
	border-right: 1px solid var(--menu-divider);
	text-align: center;
	font-size: 12px;
}
.fmAvatar img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--panel-border);
}
.fmWho {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 0;
}
.fmName {
	font-weight: 700;
	overflow-wrap: anywhere;
}
.fmFacts {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--text-muted);
}
.fmRaters {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: -4px 0 12px;
	font-size: 12px;
}
.fmRatedUp > .fmMeta:first-child {
	color: var(--good);
}
.fmRatedDown > .fmMeta:first-child {
	color: var(--bad);
}
.fmMain {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.fmPostHead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-bottom: 1px solid var(--menu-divider);
}
.fmNum {
	color: var(--text-muted);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}
.fmActs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-left: auto;
}
.fmActs input,
.fmActs button,
.fmActs a.button {
	margin: 0;
	padding: 2px 9px;
	border-radius: 5px;
	font-size: 11px;
}
.fmBody {
	padding: 14px 16px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
.fmBody img {
	max-width: 100%;
	height: auto;
}
.fmCompose {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 18px 0 8px;
	padding: 14px;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	background: var(--box-bg);
}
.fmCompose h3 {
	margin: 0;
	font-size: 15px;
}
.fmCompose label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--text-muted);
	font-size: 12px;
	font-weight: 700;
}
.fmCompose input[type=text] {
	height: 34px;
}
.fmCompose input[type=text],
.fmCompose textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 7px 10px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 400;
}
.fmCompose textarea {
	min-height: 140px;
}
.fmComposeActs {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}
.fmComposeActs input {
	margin: 0;
	padding: 6px 14px;
	border-radius: 6px;
}
@media (max-width: 700px) {
	.fmBoard {
		grid-template-columns: 36px minmax(0, 1fr) auto;
		gap: 4px 12px;
		padding: 12px;
	}
	.fmBoard .fmIcon {
		grid-row: span 2;
		width: 36px;
		height: 36px;
	}
	.fmBoard .fmStat {
		display: none;
	}
	.fmBoard .fmLast {
		grid-column: 2 / -1;
	}
	.fmThread {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 4px 10px;
		padding: 12px;
	}
	.fmThread .fmStat {
		display: none;
	}
	.fmThread .fmLast {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 6px;
		grid-column: 1;
		font-size: 12px;
	}
	.fmThread .fmScore {
		grid-row: 1;
		grid-column: 2;
	}
	.fmHead {
		align-items: flex-start;
		flex-direction: column;
	}
	.fmPost {
		grid-template-columns: minmax(0, 1fr);
	}
	.fmAuthor {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 10px;
		padding: 10px 12px;
		border-right: 0;
		border-bottom: 1px solid var(--menu-divider);
		text-align: left;
	}
	.fmAvatar img {
		width: 40px;
		height: 40px;
	}
	.fmWho,
	.fmFacts {
		align-items: flex-start;
	}
	.fmWho {
		gap: 2px;
	}
	.fmFacts {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 10px;
	}
	.fmName {
		display: flex;
		flex-wrap: wrap;
		gap: 0 6px;
	}
	.fmActs input {
		min-height: 26px;
		padding: 2px 8px;
	}
	.fmBody {
		padding: 12px;
	}
	.fmTools {
		flex-wrap: wrap;
	}
	.fmSide {
		grid-template-columns: minmax(0, 1fr);
	}
	.fmTools input[type=text] {
		flex-basis: 100%;
	}
}
hr.gmSep {
	width: 90%;
	margin: 10px auto;
	border: 0;
	border-top: 1px solid var(--panel-border);
}
.gangMenu {
	width: 90%;
	margin: 12px auto;
	font-weight: 700;
	font-size: 9pt;
}
.gangMenuBar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	margin-bottom: 2px;
}
.gangMenuHint {
	display: none;
	font-weight: 400;
	color: var(--text-muted);
}
.gangMenu.editing .gangMenuHint {
	display: inline;
}
.gangMenuEdit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	background: none;
	border: 1px solid transparent;
	border-radius: 4px;
	color: var(--text-muted);
	cursor: pointer;
}
.gangMenuEdit:hover,
.gangMenu.editing .gangMenuEdit {
	color: var(--link);
	border-color: var(--button-border);
}
.gangMenuEdit svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linejoin: round;
}
.gangMenuGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
}
.gangMenuGrid a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background-color: var(--button-bg);
	border: 1px solid var(--button-border);
	padding: 5px;
	text-align: center;
}
.gangMenuIcon {
	flex: none;
	width: 14px;
	height: 14px;
	fill: currentColor;
	opacity: .85;
}
.gangMenuGrid a:hover {
	background-color: var(--menu-hover-bg);
}
.gangMenu.editing .gangMenuGrid a {
	border-style: dashed;
	cursor: grab;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}
.gangMenu.editing .gangMenuGrid a.swapPick {
	border-style: solid;
	border-color: var(--link);
	color: var(--link);
	background-color: var(--menu-hover-bg);
}
.gangMenuGrid a.dragging {
	position: relative;
	z-index: 10;
	cursor: grabbing;
	opacity: 0.85;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.glogFilter {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
	padding: 12px;
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	background: var(--box-bg);
}
.glogFields {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 8px;
}
.glogActs {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}
.glogFields input[type="text"],
.glogFields select,
.gvDonate input[type="text"],
.gvDonate select {
	box-sizing: border-box;
	width: 100%;
	height: 34px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid var(--input-border);
	border-radius: 6px;
	background: var(--input-bg);
	color: var(--text);
	font-size: 13px;
}
.glogActs input[type="submit"],
.glogActs a.gvBtn,
.gvDonate input[type="submit"],
.gvDonate .vaultAll {
	box-sizing: border-box;
	height: 34px;
	margin: 0;
	padding: 0 16px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 34px;
}
.atkOnline {
	color: var(--good);
	font-weight: 700;
}
.atkOffline {
	color: var(--text-muted);
}
.glogWon {
	color: var(--good);
	font-weight: 700;
}
.glogLost {
	color: var(--bad);
	font-weight: 700;
}
.contacts td,
.blist td {
	background-color: var(--table-row-bg);
	border: 1px solid var(--table-border);
	padding: 2px 5px;
}
.blist td {
	text-align: center;
}
.city {
	width: 31%;
	margin: 1.1%;
	vertical-align: top;
	display: inline-block;
}
.city a {
	display: block;
	padding: 4px;
	background: var(--menu-bg);
	border-left: 2px solid var(--panel-border);
	border-right: 2px solid var(--panel-border);
	border-bottom: 1px solid var(--menu-divider);
	text-align: center;
	font-size: 10pt;
	font-weight: 700;
}
.city a:last-child {
	border-bottom: 2px solid var(--panel-border);
	border-radius: 0 0 8px 8px;
}
.city a:hover {
	background: var(--menu-hover-bg);
}
.cityGrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 2.2%;
	padding: 0 1.1%;
}
#contentBlock .cityGrid .city {
	width: auto;
	margin: 0;
	display: flex;
	flex-direction: column;
}
#contentBlock .cityGrid .city a {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3em;
}
.city h3 {
	font-weight: 700;
	text-align: center;
	background: var(--menu-head-bg);
	color: var(--menu-head-text);
	border-radius: 8px 8px 0 0;
	border: 2px solid var(--panel-border);
	font-size: 12pt;
	padding: 4px;
	margin: 0;
}
.cityWide,
.ceGrid .ceWide {
	grid-column: 1 / -1;
}
.cityWBody {
	flex: 1 1 auto;
	padding: 6px 8px;
	background: var(--menu-bg);
	border: 2px solid var(--panel-border);
	border-top: 0;
	border-radius: 0 0 8px 8px;
	font-size: 9.5pt;
}
#contentBlock .cityGrid .cityW a,
#contentBlock .cityGrid .cityW a:last-child {
	display: inline;
	flex: none;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	font-size: inherit;
	text-align: inherit;
}
.cityWRow {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	padding: 3px 0;
	border-bottom: 1px solid var(--menu-divider);
}
.cityWRow.cityWSub {
	padding-top: 0;
	justify-content: flex-end;
	color: var(--text-muted);
}
.cityWLabel {
	flex: 1 0 auto;
	max-width: 100%;
}
.cityWLabel img {
	vertical-align: -3px;
}
.cityWValue {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-weight: 700;
	text-align: right;
}
.cityWReady .cityWValue a {
	color: var(--link);
}
.cityWDone {
	color: var(--text-muted);
}
.cityWEmpty {
	padding: 8px 0;
	color: var(--text-muted);
	text-align: center;
}
.cityWFoot {
	padding: 6px 0 0;
	color: var(--text-muted);
	font-size: 8.5pt;
	text-align: center;
}
.passW {
	--pass-glow: color-mix(in srgb, var(--link) 45%, transparent);
	padding: 14px 16px 16px;
	border: 1px solid color-mix(in srgb, var(--link) 35%, transparent);
	border-radius: 14px;
	background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--link) 10%, transparent), transparent 60%), var(--page-bg);
	box-shadow: 0 0 18px color-mix(in srgb, var(--link) 12%, transparent);
}
.passWHead {
	margin-bottom: 12px;
	text-align: center;
}
a.passWTitle,
a.passWTitle:link,
a.passWTitle:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--link);
	font-size: 24px;
	font-style: italic;
	font-weight: 900;
	letter-spacing: 1px;
	text-decoration: none;
	text-shadow: 0 0 12px var(--pass-glow);
	text-transform: uppercase;
}
a.passWTitle:hover {
	color: var(--link-hover);
}
.passWTitle .passWIcon {
	width: 24px;
	height: 24px;
	filter: drop-shadow(0 0 6px var(--pass-glow));
}
.passWSub {
	margin-top: 2px;
	color: var(--text-muted);
	font-size: 9.5pt;
}
.passWSub b {
	color: var(--link);
	font-weight: 600;
}
.passWStats {
	display: grid;
	grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr);
	border: 1px solid color-mix(in srgb, var(--link) 25%, transparent);
	border-radius: 12px;
	background: color-mix(in srgb, var(--box-bg) 60%, transparent);
}
.passWStat {
	min-width: 0;
	padding: 12px 16px;
}
.passWStat + .passWStat {
	border-left: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}
.passWLabel {
	margin-bottom: 6px;
	color: var(--link);
	font-size: 7.5pt;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.passWBig {
	color: var(--text-muted);
	font-size: 10pt;
	white-space: nowrap;
}
.passWBig b {
	color: var(--text);
	font-size: 26px;
	font-weight: 900;
	line-height: 1.1;
}
.passWStat .gmTag {
	display: inline-block;
	margin-top: 6px;
}
.passWNote {
	margin-top: 8px;
	color: var(--text-muted);
	font-size: 10pt;
}
.passWNote b {
	color: var(--text);
	font-size: 17px;
	font-weight: 800;
}
.passWStat .passWTrack {
	height: 7px;
	margin-top: 8px;
}
.passWTrack i {
	box-shadow: 0 0 8px var(--pass-glow);
}
.passWTrack.passWFull i {
	background: var(--good);
	box-shadow: none;
}
.passWChallenges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 12px;
	padding: 10px 16px 12px;
	border: 1px solid color-mix(in srgb, var(--link) 25%, transparent);
	border-radius: 12px;
	background: color-mix(in srgb, var(--box-bg) 60%, transparent);
}
.passWGroup {
	flex-basis: 220px;
	min-width: 0;
}
.passWGoals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 6px 14px;
}
.passWIcon {
	flex: none;
	width: 14px;
	height: 14px;
	fill: currentColor;
}
.passWGoal .passWIcon {
	margin-right: 6px;
	color: var(--link);
	vertical-align: -2px;
}
.passWGoal .mbCount b {
	color: var(--text);
}
.passWComplete {
	padding: 12px 14px;
}
.passWDone {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}
.passWBadge {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 2px solid var(--link);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--link) 35%, transparent), color-mix(in srgb, var(--link) 8%, transparent) 70%);
	animation: passWGlow 2.4s ease-in-out infinite alternate;
}
.passWBadge .passWIcon {
	width: 22px;
	height: 22px;
	color: var(--link);
	filter: drop-shadow(0 0 6px var(--pass-glow));
}
@keyframes passWGlow {
	from {
		box-shadow: 0 0 8px var(--pass-glow);
	}
	to {
		box-shadow: 0 0 24px var(--pass-glow), 0 0 4px var(--link);
	}
}
.passWDoneText {
	flex: 1 1 200px;
	min-width: 0;
}
a.passWDoneTitle,
a.passWDoneTitle:link,
a.passWDoneTitle:visited {
	color: var(--text);
	font-size: 15px;
	font-style: italic;
	font-weight: 900;
	letter-spacing: 1px;
	text-decoration: none;
	text-shadow: 0 0 12px var(--pass-glow);
	text-transform: uppercase;
}
.passWDoneSub {
	margin-top: 2px;
	color: var(--text-muted);
	font-size: 9pt;
}
.passWDoneSub b {
	color: var(--link);
	font-weight: 600;
}
.passWActs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}
.passWDone .passWActs {
	margin: 0;
}
.passWActs form,
.passWActs .button {
	margin: 0;
}
.passWActs .passWGo {
	border-color: var(--link);
	box-shadow: 0 0 10px var(--pass-glow);
	font-weight: 700;
}
.passWLine {
	display: none;
}
.passW {
	position: relative;
}
.passWToggle {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid color-mix(in srgb, var(--link) 35%, transparent);
	border-radius: 50%;
	background: color-mix(in srgb, var(--box-bg) 60%, transparent);
	color: var(--link);
}
.passWToggle svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.passW > .passWHead {
	padding: 0 30px;
}
.passW.passWMin {
	padding: 6px 44px 6px 12px;
}
.passWMin > :not(.passWToggle, .passWLine) {
	display: none;
}
.passWMin .passWToggle {
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
}
.passWMin .passWLine {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 30px;
}
a.passWLineTitle,
a.passWLineTitle:link,
a.passWLineTitle:visited {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	color: var(--link);
	font-size: 13px;
	font-style: italic;
	font-weight: 900;
	letter-spacing: 1px;
	text-decoration: none;
	text-shadow: 0 0 10px var(--pass-glow);
	text-transform: uppercase;
}
.passWLineTitle .passWIcon {
	width: 16px;
	height: 16px;
}
.passWLineLvl {
	flex: none;
	color: var(--text-muted);
	font-size: 11px;
	white-space: nowrap;
}
.passWLineLvl b {
	color: var(--text);
	font-weight: 800;
}
.passWLine .passWTrack {
	flex: 1 1 auto;
	min-width: 30px;
	height: 6px;
	margin: 0;
}
@media (max-width: 700px) {
	.passW {
		padding: 12px 10px 12px;
	}
	.passWDone .passWActs {
		flex-basis: 100%;
	}
	a.passWTitle,
	a.passWTitle:link,
	a.passWTitle:visited {
		font-size: 20px;
	}
	.passWStats {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.passWStat {
		padding: 10px 12px;
	}
	.passWStat:first-child {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 4px 12px;
		grid-column: 1 / -1;
		border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
	}
	.passWStat:first-child .passWLabel {
		margin: 0;
	}
	.passWStat:first-child .gmTag {
		margin: 0;
	}
	.passWStat:nth-child(2) {
		border-left: 0;
	}
	.passWNote {
		font-size: 9pt;
	}
	.passWNote b {
		font-size: 15px;
	}
	.passWBig b {
		font-size: 22px;
	}
	.passWChallenges {
		padding: 10px 12px 12px;
	}
	.passWGoals {
		grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	}
}
.gmemHero {
	margin: 4px 0 14px;
	padding: 18px 16px 16px;
	border: 1px solid color-mix(in srgb, var(--link) 35%, transparent);
	border-radius: 14px;
	background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--link) 12%, transparent), transparent 60%), var(--page-bg);
	box-shadow: 0 0 18px color-mix(in srgb, var(--link) 12%, transparent);
	text-align: center;
}
.gmemDates {
	color: var(--link);
	font-size: 8pt;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.gmemLead {
	max-width: 560px;
	margin: 8px auto 14px;
	color: var(--text-muted);
	line-height: 1.5;
}
.gmemTiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 8px;
}
.gmemTile {
	padding: 10px 6px;
	border: 1px solid color-mix(in srgb, var(--link) 22%, transparent);
	border-radius: 10px;
	background: color-mix(in srgb, var(--box-bg) 60%, transparent);
}
.gmemTile b {
	display: block;
	color: var(--text);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.15;
}
.gmemTile span {
	color: var(--text-muted);
	font-size: 8pt;
	letter-spacing: .5px;
	text-transform: uppercase;
}
.gmemPodium {
	--gmem-1: var(--link);
	--gmem-2: #c4cad3;
	--gmem-3: #c98a4b;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: end;
	gap: 10px;
	margin-bottom: 14px;
}
.gmemStep {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 0;
	padding: 14px 8px 12px;
	border: 1px solid color-mix(in srgb, var(--gmem-c) 55%, transparent);
	border-radius: 12px 12px 6px 6px;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--gmem-c) 16%, transparent), color-mix(in srgb, var(--box-bg) 70%, transparent));
	color: var(--text);
	text-align: center;
}
.gmemPodium .gmemStep1 {
	--gmem-c: var(--gmem-1);
	order: 2;
	padding-top: 26px;
	box-shadow: 0 0 18px color-mix(in srgb, var(--gmem-1) 25%, transparent);
}
.gmemPodium .gmemStep2 {
	--gmem-c: var(--gmem-2);
	order: 1;
	padding-top: 18px;
}
.gmemPodium .gmemStep3 {
	--gmem-c: var(--gmem-3);
	order: 3;
}
.gmemMedal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 2px solid var(--gmem-c);
	border-radius: 50%;
	background: color-mix(in srgb, var(--gmem-c) 18%, transparent);
	color: var(--gmem-c);
	font-weight: 900;
}
.gmemStep1 .gmemMedal {
	width: 52px;
	height: 52px;
	font-size: 15px;
}
.gmemStepName {
	max-width: 100%;
	overflow: hidden;
	color: var(--text);
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.gmemStepRound {
	color: var(--gmem-c);
	font-size: 20px;
	font-style: italic;
	font-weight: 900;
}
.gmemStepPts {
	color: var(--text-muted);
	font-size: 9pt;
}
.gmemCard {
	--gmem-c: var(--link);
	margin-bottom: 8px;
	padding: 14px 16px;
	border: 1px solid color-mix(in srgb, var(--gmem-c) 40%, transparent);
	border-radius: 12px;
	background: color-mix(in srgb, var(--box-bg) 60%, transparent);
}
.gmemCard2 {
	--gmem-c: #c4cad3;
}
.gmemCard3 {
	--gmem-c: #c98a4b;
}
.gmemCardHead {
	display: flex;
	align-items: center;
	gap: 14px;
}
.gmemRank {
	display: inline-flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 2px solid var(--gmem-c);
	border-radius: 50%;
	color: var(--gmem-c);
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
}
.gmemRank small {
	margin-top: 3px;
	color: var(--text-muted);
	font-size: 8pt;
	font-weight: 600;
}
.gmemWho {
	color: var(--link);
	font-weight: 700;
}
.gmemBig {
	color: var(--text);
	font-size: 22px;
	font-weight: 900;
}
.gmemSub {
	color: var(--text-muted);
}
.gmemFacts {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 12px 0;
	color: var(--text-muted);
	font-size: 9.5pt;
}
.gmemFacts b {
	color: var(--text);
}
.gmemCols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px 24px;
}
.gmemLabel {
	margin-bottom: 6px;
	color: var(--link);
	font-size: 7.5pt;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.gmemList {
	margin: 0;
	padding: 0;
	list-style: none;
}
.gmemList li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 5px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}
.gmemList li:last-child {
	border-bottom: 0;
}
.gmemList b {
	color: var(--text);
}
.gmemIcon {
	width: 14px;
	height: 14px;
	margin-right: 6px;
	color: var(--link);
	fill: currentColor;
	vertical-align: -2px;
}
.gmemNone,
.gmemNote {
	color: var(--text-muted);
	font-size: 9.5pt;
}
.gmemNote {
	margin: 6px 0 12px;
	text-align: center;
}
.gmemTable {
	width: 100%;
	border-collapse: collapse;
}
.gmemTable th {
	padding: 6px 8px;
	color: var(--link);
	font-size: 7.5pt;
	letter-spacing: 1px;
	text-align: left;
	text-transform: uppercase;
}
.gmemTable td {
	padding: 7px 8px;
	border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
	vertical-align: middle;
}
.gmemTable .gmemPos {
	color: var(--text-muted);
	font-weight: 800;
}
.gmemTable tr.gmemMine td {
	background: color-mix(in srgb, var(--link) 10%, transparent);
}
@media (max-width: 700px) {
	.gmemTable .gmemWide {
		display: none;
	}
	.gmemTile b {
		font-size: 18px;
	}
	.gmemStep {
		padding-right: 4px;
		padding-left: 4px;
	}
	.gmemStepRound {
		font-size: 16px;
	}
	.gmemRank {
		width: 54px;
		height: 54px;
		font-size: 17px;
	}
	.gmemBig {
		font-size: 19px;
	}
}
.itemp td {
	background-color: var(--table-row-bg);
	text-align: center;
	padding: 5px;
}
.itemp td.itempDesc {
	text-align: left;
	max-width: 320px;
	line-height: 1.4;
}
.itemp td.itempNote {
	max-width: none;
	color: var(--text-muted);
}
.itempDrugs {
	margin-top: 12px;
}
.itempDrugs .itempPic {
	width: 100px;
}
@media (max-width: 700px) {
	.itempDrugs .itempPic {
		width: 56px;
		padding: 2px;
	}
	.itempDrugs .itempPic img {
		width: 56px;
		height: 56px;
	}
}
.itempSub {
	color: var(--text-muted);
	font-size: 8pt;
}
.itemp tr:target td {
	background-color: var(--menu-hover-bg);
}
.itemp_h {
	padding: 5px;
	background-color: var(--table-head-bg);
	color: var(--table-head-text);
	border: 1px solid var(--panel-border);
	text-align: center;
	font-weight: 700;
}
.mlogin {
	border: 2px dashed var(--panel-border);
	background-color: var(--box-bg);
	border-radius: 5px;
	padding: 7px;
	margin: 10px;
	font-weight: 700;
}
.atkBox {
	background-color: var(--box-bg);
	padding: 10px;
	border: 1px solid var(--panel-border);
	border-radius: 5px;
}
.atkPresence {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: 9px;
	font-size: 11px;
	font-weight: 700;
	vertical-align: middle;
	border: 1px solid currentColor;
}
.atkOnline {
	color: var(--good);
}
.atkOffline {
	color: var(--text-muted);
}
blockquote.quote,
div.quote {
	margin: 6px 0 10px;
	padding: 0;
	border: 1px solid var(--panel-border);
	border-left: 3px solid var(--link);
	border-radius: 4px;
	background: var(--box-bg);
	text-align: left;
	overflow: hidden;
}
.quoteHead {
	padding: 5px 9px;
	font-size: 8pt;
	font-weight: 700;
	background: var(--table-row-bg);
	border-bottom: 1px solid var(--panel-border);
}
.quoteHead span {
	font-weight: 400;
	color: var(--text-muted);
}
.quoteBody {
	padding: 7px 9px;
	max-height: 260px;
	overflow: auto;
	overflow-wrap: anywhere;
}
div.quoteGone {
	padding: 6px 9px;
	font-style: italic;
	color: var(--text-muted);
}
.quoteNested {
	margin: 4px 0;
	padding: 3px 8px;
	border-left: 2px solid var(--panel-border);
	font-size: 8pt;
	font-style: italic;
	color: var(--text-muted);
}
#chatBox {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
}
.chatTop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 24px;
}
#chatMore[hidden] {
	display: none;
}
.chatStatus {
	margin-left: auto;
	font-size: 8pt;
	color: var(--text-muted);
}
.chatStatus.chatLive {
	color: var(--good);
}
.chatStatus.chatLive:before {
	content: "\25CF  ";
}
.chatList {
	height: 55vh;
	min-height: 260px;
	overflow-y: auto;
	padding: 4px 8px;
	border: 1px solid var(--table-border);
	border-radius: 4px;
	background: var(--table-row-bg);
}
.chatListWrap {
	position: relative;
}
.chatNew {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	margin: 0;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 8pt;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.chatNew[hidden] {
	display: none;
}
.chatTyping {
	min-height: 15px;
	font-size: 8pt;
	font-style: italic;
	color: var(--text-muted);
}
.chatMsg {
	padding: 7px 0;
	border-bottom: 1px solid var(--table-border);
}
.chatMsg:last-child {
	border-bottom: 0;
}
.chatSystem .chatBody {
	color: var(--text-muted);
}
.chatSide1,
.chatSide2 {
	padding-left: 8px;
	border-left: 3px solid var(--war-side1);
}
.chatSide2 {
	border-left-color: var(--war-side2);
}
.warHead {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 16px;
	margin: 6px 0 10px;
	text-align: center;
}
.warSide {
	padding: 4px 10px;
	border-left: 3px solid var(--war-side1);
}
.warSide2 {
	border-left-color: var(--war-side2);
}
.warScore {
	font-weight: 700;
}
.warInfo {
	text-align: center;
	color: var(--text-muted);
}
.chatMeta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	font-size: 8pt;
}
.chatTime {
	color: var(--text-muted);
}
.chatActs {
	margin-left: auto;
	display: flex;
	gap: 4px;
	opacity: 0.35;
}
.chatMsg:hover .chatActs,
.chatMsg:focus-within .chatActs {
	opacity: 1;
}
.chatActs button {
	font-size: 7pt;
	padding: 1px 6px;
	margin: 0;
	cursor: pointer;
}
.chatDel,
.chatMute {
	display: none;
}
#chatBox[data-mod="1"] .chatDel,
#chatBox[data-mod="1"] .chatMute {
	display: inline-block;
}
.chatActs .chatReact {
	display: none;
}
#chatBox[data-react="1"] .chatReact {
	display: inline-block;
}
.chatMsg .dmReacts {
	max-width: none;
}
.chatBody {
	margin-top: 3px;
	overflow-wrap: anywhere;
}
.chatBody img {
	max-width: 100%;
	height: auto;
}
.chatBody img.bbImg,
.dmBody img.bbImg {
	width: auto;
	height: auto;
	max-width: min(150px, 100%);
	max-height: 150px;
	cursor: zoom-in;
}
.chatBody a img.bbImg,
.dmBody a img.bbImg {
	cursor: pointer;
}
.chatBody img.bbImg[style*="--w"],
.dmBody img.bbImg[style*="--w"] {
	width: min(150px, 100%, calc(150px * var(--w) / var(--h)), calc(var(--w) * 1px));
	max-height: none;
	aspect-ratio: var(--w) / var(--h);
}
.chatEmpty,
.chatReadOnly {
	color: var(--text-muted);
	text-align: center;
}
textarea[data-editor="compact"] {
	height: 87px;
	box-sizing: border-box;
}
.chatForm textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	resize: vertical;
}
.chatSend {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 6px;
}
.chatError {
	color: var(--bad);
	font-size: 8pt;
}
.cfBtn,
.dmHead .cfBtn {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border-radius: 4px;
	color: var(--link);
	line-height: 1;
	cursor: pointer;
}
.cfBtn svg {
	display: block;
	width: 18px;
	height: 18px;
}
.cfBtn path {
	fill: currentColor;
}
.cfBtn .cfOut,
.cfOn .cfBtn .cfIn {
	display: none;
}
.cfOn .cfBtn .cfOut {
	display: inline;
}
.cfExit {
	display: none;
}
.cfOn .cfBtn {
	display: inline-flex;
	gap: 4px;
	width: auto;
	padding: 0 10px 0 6px;
	border: 1px solid var(--link);
}
.cfOn .cfBtn .cfExit {
	display: inline;
	font-weight: 700;
	font-size: 13px;
}
.cfName,
.cfAuto {
	display: none;
}
.cfAuto {
	align-items: center;
	gap: 4px;
	font-size: 8pt;
	color: var(--text-muted);
	white-space: nowrap;
	cursor: pointer;
}
.cfAuto input {
	margin: 0;
}
html.cfPage,
html.cfPage body {
	overflow: hidden;
	overscroll-behavior: none;
}
html.cfPage #contentBlock {
	z-index: 45;
}
html.cfPage .mobile-tabs,
html.cfPage #tmPanel,
html.cfPage #msnBar,
html.cfPage #profiler,
html.cfPage .cwChat:not(.cfHost) {
	display: none;
}
html.cfPage .cfOn {
	position: fixed;
	top: var(--cf-top, 0px);
	left: 0;
	right: 0;
	z-index: 46;
	display: flex;
	flex-direction: column;
	width: auto;
	max-width: none;
	height: var(--cf-h, 100dvh);
	min-height: 0;
	max-height: none;
	box-sizing: border-box;
	margin: 0;
	padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
	border: 0;
	border-radius: 0;
	background: var(--box-bg);
	box-shadow: none;
	text-align: left;
}
html.cfPage #chatBox.cfOn {
	gap: 0;
}
#chatBox.cfOn .chatTop {
	flex: none;
	flex-wrap: nowrap;
	padding: 4px 6px 4px 10px;
	border-bottom: 1px solid var(--table-border);
	background: var(--table-head-bg);
}
#chatBox.cfOn .cfName {
	display: block;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
#chatBox.cfOn #chatMore,
.cfOn .cfAuto {
	display: none;
}
#chatBox.cfOn .chatListWrap,
.dmPane.cfOn .dmListWrap {
	flex: 1;
	min-height: 0;
	display: flex;
}
#chatBox.cfOn .chatList {
	flex: 1;
	height: auto;
	min-height: 0;
	max-height: none;
	border: 0;
	border-radius: 0;
}
#chatBox.cfOn .chatList,
.dmPane.cfOn .dmList,
.cwPanel.cfOn .chatList,
.cwPanel.cfOn .dmList {
	display: flex;
	flex-direction: column;
}
#chatBox.cfOn .chatList > :first-child,
.dmPane.cfOn .dmList > :first-child,
.cwPanel.cfOn .chatList > :first-child,
.cwPanel.cfOn .dmList > :first-child {
	margin-top: auto;
}
#chatBox.cfOn .chatTyping {
	flex: none;
	min-height: 0;
	padding: 0 10px;
}
#chatBox.cfOn .chatTyping:empty {
	display: none;
}
#chatBox.cfOn .chatForm,
#chatBox.cfOn .chatReadOnly {
	flex: none;
	margin: 0;
	padding: 6px;
	border-top: 1px solid var(--table-border);
}
#chatBox.cfOn .chatForm .ctEditor.sceditor-container {
	margin-top: 0;
}
#chatBox.cfOn .chatSend,
.dmPane.cfOn .dmSend {
	margin-top: 4px;
}
.cfOn .chatSend .button,
.cfOn .dmSend .button {
	min-height: 30px;
	padding: 5px 14px;
}
.dmPane.cfOn .dmHead {
	flex: none;
	padding: 4px 6px;
	background: var(--table-head-bg);
}
.dmPane.cfOn .dmForm {
	flex: none;
	padding: 6px;
}
@media (min-width: 701px) {
	html.cfPage .cfOn {
		top: calc(var(--cf-top, 0px) + 24px);
		left: max(24px, calc(50% - 480px));
		right: max(24px, calc(50% - 480px));
		height: calc(var(--cf-h, 100vh) - 48px);
		padding: 0;
		border: 1px solid var(--panel-border);
		border-radius: 8px;
		box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.6), 0 10px 40px rgba(0, 0, 0, 0.6);
		overflow: hidden;
	}
}
@media (max-width: 700px) {
	.cfAuto {
		display: inline-flex;
	}
	.dmBox.dmOpen {
		height: auto;
		min-height: 0;
	}
	.dmBox.dmOpen .dmPane:not(.cfOn) {
		height: auto;
		max-height: calc(100svh - 230px);
	}
	.dmBox.dmOpen .dmPane:not(.cfOn) .dmListWrap {
		flex: 0 1 auto;
	}
	.dmPane.cfOn .dmHead {
		flex-wrap: wrap;
		row-gap: 2px;
	}
	.dmPane.cfOn .dmHeadActs {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.dmPane.cfOn .dmHeadActs button {
		white-space: nowrap;
	}
	#chatBox {
		gap: 4px;
	}
	.cfOn .chatForm,
	.cfOn .dmForm:not(:has(.dmBombPick)),
	.cfOn .cwConv .dmForm {
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		column-gap: 6px;
	}
	.cfOn .chatForm > *,
	.cfOn .dmForm:not(:has(.dmBombPick)) > *,
	.cfOn .cwConv .dmForm > * {
		grid-column: 1;
	}
	.cfOn .chatForm > .chatSend,
	.cfOn .dmForm:not(:has(.dmBombPick)) > .dmSend,
	.cfOn .cwConv .dmForm > .dmSend {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
	}
	.cfOn .chatError:not(:empty),
	.cfOn .cwConv .dmError:not(:empty),
	.cfOn .dmForm:not(:has(.dmBombPick)) .dmError:not(:empty) {
		position: absolute;
		right: 0;
		bottom: 100%;
		left: 0;
		padding: 4px 8px;
		border-top: 1px solid var(--table-border);
		background: var(--box-bg);
	}
	.chatTop {
		flex-wrap: wrap;
	}
}
.dmBox {
	display: grid;
	grid-template-columns: minmax(200px, 280px) 1fr;
	gap: 10px;
	height: 70vh;
	min-height: 440px;
	text-align: left;
}
.dmSide,
.dmPane {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	border: 1px solid var(--table-border);
	border-radius: 4px;
	background: var(--box-bg);
}
.dmFind {
	display: flex;
	gap: 6px;
	padding: 8px;
}
.dmFind .dmPickWrap {
	flex: 1;
	min-width: 0;
}
.dmPickWrap {
	position: relative;
	display: block;
}
.dmPickWrap input[type=text] {
	width: 100%;
	box-sizing: border-box;
}
.dmSuggest {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 50;
	min-width: 220px;
	max-height: 280px;
	overflow-y: auto;
	margin-top: 2px;
	border: 1px solid var(--input-border);
	border-radius: 4px;
	background: var(--input-bg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.dmSuggest[hidden] {
	display: none;
}
.dmSuggestItem {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 8px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
}
.dmSuggestItem.dmSuggestOn {
	background: var(--table-row-bg);
}
.dmSuggestId {
	color: var(--text-muted);
	font-size: 8pt;
}
.dmSuggestNone {
	padding: 6px 8px;
	color: var(--text-muted);
}
.dmPickAvatar {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
}
.dmFind button {
	margin: 0;
	white-space: nowrap;
}
.dmLinks {
	padding: 0 8px 6px;
	font-size: 8pt;
}
.dmThreads {
	flex: 1;
	overflow-y: auto;
	border-top: 1px solid var(--table-border);
}
.dmRow {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border-bottom: 1px solid var(--table-border);
	color: var(--text);
	text-decoration: none;
}
.dmRow:hover,
.dmRow:focus {
	background: var(--table-row-bg);
	color: var(--text);
}
.dmRow.dmActive {
	background: var(--table-row-bg);
	box-shadow: inset 3px 0 0 var(--link);
}
.dmAvatar {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}
.dmSysIcon {
	display: inline-grid;
	place-items: center;
	background: var(--button-bg);
	color: var(--link);
	font-weight: 700;
}
.dmRowMain {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.dmRowTop,
.dmRowBottom {
	display: flex;
	align-items: center;
	gap: 6px;
}
.dmRowName {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 700;
	color: var(--link);
}
.dmRowTime {
	flex: none;
	font-size: 7pt;
	color: var(--text-muted);
}
.dmRowPrev {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 8pt;
	color: var(--text-muted);
}
.dmUnread .dmRowPrev {
	color: var(--text);
	font-weight: 700;
}
.dmBadge {
	flex: none;
	min-width: 18px;
	padding: 1px 6px;
	border-radius: 9px;
	background: var(--notify);
	color: #000;
	font-size: 7pt;
	font-weight: 700;
	text-align: center;
}
.dmBadge[hidden],
.dmNew[hidden],
.dmEmpty[hidden] {
	display: none;
}
.dmHead {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border-bottom: 1px solid var(--table-border);
}
.dmWho {
	flex: 1;
	min-width: 0;
	font-weight: 700;
}
.dmHeadActs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px;
}
.dmHead button {
	margin: 0;
	font-size: 8pt;
	padding: 2px 8px;
	cursor: pointer;
}
.dmBack {
	display: none;
}
.dmNotes:empty {
	display: none;
}
.dmNotes {
	padding: 0 8px;
}
.dmListWrap {
	position: relative;
	flex: 1;
	min-height: 0;
	display: flex;
}
.dmList {
	flex: 1;
	overflow-y: auto;
	padding: 8px;
	background: var(--table-row-bg);
}
.dmNew {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	margin: 0;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 8pt;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.dmFrom {
	margin: 0 0 2px 4px;
	font-size: 8pt;
}
.dmNotice {
	align-items: center;
	font-size: 8pt;
	color: var(--text-muted);
	text-align: center;
}
.dmHidden summary {
	cursor: pointer;
	color: var(--text-muted);
	font-style: italic;
}
.dmMembers {
	padding: 6px 8px;
	border-bottom: 1px solid var(--table-border);
	font-size: 8pt;
}
.dmMembers summary {
	cursor: pointer;
}
.dmMemberList {
	margin: 6px 0;
	line-height: 1.6;
}
.dmMember {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: 2px 0;
}
.dmAdminTag {
	padding: 0 5px;
	border-radius: 3px;
	background: var(--button-bg);
	color: var(--notify);
	font-size: 7pt;
	font-weight: 700;
}
.dmMemberActs {
	display: flex;
	gap: 3px;
	margin-left: auto;
}
.dmMemberActs button {
	margin: 0;
	padding: 0 5px;
	font-size: 7pt;
	cursor: pointer;
}
.dmMemberNote,
.dmClosed {
	margin: 6px 0 0;
	color: var(--text-muted);
}
.dmClosed {
	margin: 0;
	padding: 6px 8px;
	border-bottom: 1px solid var(--table-border);
	font-size: 8pt;
}
.dmGroupForm,
.dmNewGroup {
	display: flex;
	gap: 6px;
	margin-top: 6px;
}
.dmGroupForm input[type=text] {
	flex: 1;
	min-width: 0;
}
.dmNewGroup {
	flex-direction: column;
	padding: 10px;
}
.dmNewGroup label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.dmNewGroup button {
	align-self: flex-start;
}
.dmNewGroup .dmNotes {
	padding: 0;
}
.dmFieldLabel {
	margin-bottom: -2px;
}
.dmPicker {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.dmAddForm {
	align-items: flex-start;
}
.dmGroupImage {
	flex-wrap: wrap;
	align-items: center;
}
.dmGroupImage label {
	flex: 1;
	min-width: 0;
}
.dmGroupImage input[type=file] {
	max-width: 100%;
}
.dmAddForm .dmPicker {
	flex: 1;
}
.dmPickInput[hidden],
.dmPickField[hidden],
.dmChosen[hidden] {
	display: none;
}
.dmChosen {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 260px;
	overflow-y: auto;
	padding: 4px;
	border: 1px solid var(--table-border);
	border-radius: 4px;
	background: var(--table-row-bg);
}
.dmChip {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 3px 6px;
	border-radius: 4px;
	background: var(--panel-bg);
}
.dmChipName {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dmNewGroup .dmChipX,
.dmChipX {
	align-self: center;
	margin: 0;
	padding: 0 6px;
	cursor: pointer;
}
.dmDivider,
.chatDivider {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0;
	color: #e5484d;
	font-size: 8pt;
	font-weight: 700;
}
.dmDivider:before,
.chatDivider:before {
	content: "";
	flex: 1;
	border-top: 1px solid #e5484d;
}
.dmMsg {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 6px 0;
}
.dmMine {
	align-items: flex-end;
}
.dmBubble {
	max-width: 80%;
	padding: 7px 10px;
	border: 1px solid var(--table-border);
	border-radius: 10px;
	background: var(--panel-bg);
	color: var(--text);
	overflow-wrap: anywhere;
}
.dmMine .dmBubble {
	border-color: color-mix(in srgb, var(--link) 55%, transparent);
	background: color-mix(in srgb, var(--link) 28%, var(--panel-bg));
}
.dmMine .dmBubble a {
	color: var(--link-hover);
}
.dmStarred .dmBubble,
.dmMsg.dmStarred .dmBubble {
	box-shadow: inset 0 0 0 1px var(--notify);
}
.dmBubble img {
	max-width: 100%;
	height: auto;
}
.dmGone .dmBubble,
.dmMine.dmGone .dmBubble {
	border-style: dashed;
	border-color: var(--input-border);
	background: transparent;
	color: var(--text-muted);
}
.dmPinMark {
	color: var(--notify);
	font-weight: 700;
}
.dmPinned .dmBubble {
	box-shadow: inset 3px 0 0 var(--notify);
}
.dmFlash .dmBubble {
	animation: dmFlash 2s ease-out;
}
@keyframes dmFlash {
	0%,
	40% {
		outline: 2px solid var(--link-hover);
		outline-offset: 2px;
	}
	100% {
		outline: 2px solid transparent;
		outline-offset: 2px;
	}
}
.dmPinsCard {
	width: min(520px, calc(100vw - 32px));
	text-align: left;
}
.dmPinsTitle {
	margin: 0 0 10px;
	padding-right: 30px;
}
.dmPinList {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 60vh;
	overflow-y: auto;
}
.dmPinItem {
	padding: 8px;
	border: 1px solid var(--table-border);
	border-radius: 6px;
	background: var(--panel-bg);
}
.dmPinHead {
	margin-bottom: 4px;
	font-size: 8pt;
}
.dmPinBody {
	overflow-wrap: anywhere;
}
.dmPinBody img {
	max-width: 100%;
	height: auto;
}
.dmPinActs {
	display: flex;
	gap: 4px;
	margin-top: 6px;
}
.dmPinActs button {
	margin: 0;
	padding: 1px 8px;
	font-size: 8pt;
	cursor: pointer;
}
.dmStaffLabels {
	margin-top: 6px;
	padding-top: 4px;
	border-top: 1px dashed var(--input-border);
	color: var(--text-muted);
	font-size: 8pt;
}
.dmSubject {
	margin-bottom: 3px;
	font-size: 8pt;
	font-weight: 700;
	color: var(--text-muted);
}
.dmMeta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	font-size: 7pt;
	color: var(--text-muted);
}
.dmActs {
	display: flex;
	gap: 3px;
	opacity: 0;
}
.dmMsg:hover .dmActs,
.dmMsg:focus-within .dmActs,
.dmDelMenu {
	opacity: 1;
}
.dmActs[hidden] {
	display: none;
}
.dmReacts {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	max-width: 80%;
	margin-top: 3px;
}
.dmMine .dmReacts {
	justify-content: flex-end;
}
.dmReacts:empty {
	display: none;
}
.dmReacts .dmReact {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 0;
	margin: 0;
	padding: 1px 7px;
	background: var(--panel-bg);
	border: 1px solid var(--table-border);
	border-radius: 999px;
	color: var(--text);
	font-size: 8pt;
	line-height: 1.4;
	cursor: pointer;
}
.dmReacts .dmReact:hover {
	border-color: color-mix(in srgb, var(--link) 50%, transparent);
}
.dmReacts .dmReactMine {
	background: color-mix(in srgb, var(--link) 22%, var(--panel-bg));
	border-color: color-mix(in srgb, var(--link) 70%, transparent);
}
.dmReact .bbEmoji,
.dmReactWho .bbEmoji {
	font-size: 14px;
	line-height: 1;
}
.dmReact img.ctEmoji,
.dmReactWho img.ctEmoji {
	width: 16px;
	height: 16px;
	object-fit: contain;
	vertical-align: middle;
}
.dmReactN {
	font-weight: 700;
}
.dmReactWho {
	position: fixed;
	z-index: 4000;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	max-width: min(280px, calc(100vw - 16px));
	padding: 8px 10px;
	background: var(--table-row-bg);
	border: 1px solid var(--input-border);
	border-radius: 6px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
	color: var(--text);
	font-size: 12px;
	overflow-wrap: anywhere;
}
.dmReactWho .button {
	margin: 0;
}
.dmActs button {
	margin: 0;
	padding: 0 5px;
	font-size: 7pt;
	cursor: pointer;
}
.dmEmpty,
.dmReadOnly {
	padding: 10px;
	color: var(--text-muted);
	text-align: center;
	-webkit-user-select: none;
	user-select: none;
}
.dmForm {
	padding: 8px;
	border-top: 1px solid var(--table-border);
}
.dmForm textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	resize: vertical;
}
.dmSend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	font-size: 8pt;
}
.dmSend button {
	margin: 0 0 0 auto;
}
.dmError {
	color: var(--bad);
}
.dmStarredList {
	text-align: left;
}
.dmStarred {
	margin-bottom: 10px;
	padding: 8px;
	border: 1px solid var(--table-border);
	border-radius: 4px;
}
.dmStarred .dmActs {
	opacity: 1;
}
@media (max-width: 700px) {
	.dmBox {
		display: block;
		height: calc(100svh - 230px);
		min-height: 380px;
	}
	.dmSide,
	.dmPane {
		height: 100%;
	}
	.dmBox.dmOpen .dmSide,
	.dmBox:not(.dmOpen) .dmPane {
		display: none;
	}
	.dmBack {
		display: inline-block;
	}
	.dmActs {
		opacity: 1;
	}
	.dmBubble {
		max-width: 90%;
	}
	.dmHead {
		flex-wrap: wrap;
	}
	.dmHeadActs {
		flex-basis: 100%;
		justify-content: flex-start;
	}
	.dmHead button,
	.dmActs button,
	.dmMemberActs button,
	.dmPinActs button,
	.dmChipX {
		min-height: 0;
	}
}
.progress {
	margin: 0 auto;
	width: 300px;
	max-width: 300px;
	background: var(--meter-empty);
	padding: 2px;
	border-radius: 6px;
	overflow: hidden;
}
.progress-bar {
	position: relative;
	max-width: 300px;
	height: 18px;
	line-height: 16px;
	border-radius: 4px;
	background: var(--meter-fill);
	transition: .4s linear;
	transition-property: width, background-color;
	white-space: nowrap;
	text-align: left;
	text-indent: 2px;
}
.progress .progress-bar span {
	width: 55px;
	display: inline-block;
	font-weight: 700;
}
#ticker ul {
	height: 24px;
	overflow: hidden;
	list-style: none;
}
#ticker li {
	height: 26px;
}
.adminTables,
.tables {
	width: 90%;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 2px;
}
.adminTables th,
.tables th {
	background: var(--table-head-bg);
	color: var(--table-head-text);
	border: 1px solid var(--table-border);
	padding: 4px 5px;
}
.adminTables td,
.tables td {
	background: var(--table-row-bg);
	border: 1px solid var(--table-border);
	padding: 4px 5px;
}
.tableAlign th {
	text-align: right;
	padding-right: 10px;
}
.tableAlign td {
	text-align: left;
	padding-left: 10px;
}
.verticalh th {
	width: 15%;
}
.rightAlign th {
	text-align: right;
}
.petBack {
	background: var(--box-bg);
	padding: 10px;
	border-radius: 10px;
	border: 1px solid var(--panel-border);
}
.petHead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 10px 24px;
	align-items: center;
}
.petInfo {
	display: grid;
	gap: 6px;
}
.petInfo > div > span {
	display: inline-block;
	width: 60px;
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .4px;
}
.petBars {
	display: grid;
	gap: 8px;
	padding-left: 24px;
	border-left: 1px solid var(--input-border);
}
.petBar {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr) 128px;
	gap: 10px;
	align-items: center;
}
.petBar .barLabel {
	font-size: 12px;
	font-weight: 800;
	color: var(--text-muted);
	white-space: nowrap;
}
.petBar .hdrIcon {
	width: 13px;
	height: 13px;
	margin-right: 4px;
	vertical-align: -2px;
}
.petBar .meter {
	width: 100%;
	height: 8px;
	overflow: hidden;
	border: 0;
	border-radius: 99px;
	background: var(--ph-track);
}
.petBar .meter span {
	border-radius: inherit;
}
.petBarExp .meter span {
	background: var(--my-bar-exp, var(--meter-fill));
}
.petBar button.petRefill {
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--link);
	text-align: left;
	cursor: pointer;
}
.petBar button.petRefill:hover {
	text-decoration: underline;
}
.petName {
	display: flex;
	align-items: center;
}
.petName b {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.petSwitch {
	max-width: 100%;
	min-width: 0;
}
.petNav {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 10px;
	border-top: 1px solid var(--input-border);
}
.petNav a {
	padding: 4px 10px;
	border: 1px solid var(--menu-divider);
	border-radius: 99px;
	font-size: 12px;
	text-decoration: none;
}
.petNav a.on {
	border-color: var(--link);
	background: color-mix(in srgb, var(--link) 18%, transparent);
}
#petHeader {
	margin-bottom: 12px;
}
#petRtn {
	min-height: 42px;
	margin: 0 0 10px;
	font-weight: 700;
}
#petRtn > * {
	margin: 0;
}
#petRtn .petBribe,
#petRtn .petBreakout {
	min-height: 0;
	margin-left: 6px;
	padding: 2px 10px;
	font-size: 12px;
}
#rtn,
#petRtn {
	position: relative;
}
.rtnSpin {
	position: absolute;
	top: 50%;
	left: 50%;
	line-height: 0;
	transform: translate(-50%, -50%);
}
[data-hold-repeat] {
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	touch-action: manipulation;
}
.holdRepeating {
	filter: brightness(1.25);
}
.rtnBusy {
	opacity: 0.55;
	cursor: progress;
	transition: opacity 0.1s;
}
.msgBox .petBribe,
.msgBox .petBreakout {
	min-height: 0;
	margin: -4px 0 -4px 6px;
	padding: 1px 10px;
	font-size: 12px;
	line-height: 1.4;
	vertical-align: baseline;
}
.petBar .barText {
	font-size: 11px;
	white-space: nowrap;
	opacity: .85;
}
.petBar .barShort {
	display: none;
}
@media (max-width: 700px) {
	.petHead {
		grid-template-columns: 1fr;
	}
	.petInfo {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}
	.petBars {
		padding: 10px 0 0;
		border-left: 0;
		border-top: 1px solid var(--input-border);
	}
	.petInfo > div {
		display: block;
		min-width: 0;
		line-height: 30px;
		text-align: center;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	.petInfo > div > span {
		display: block;
		width: auto;
		line-height: 1.4;
		margin-bottom: 2px;
		font-size: 10px;
	}
	.petName b .petImg {
		width: 22px;
		height: 22px;
	}
	.petName b {
		justify-content: center;
		gap: 4px;
	}
	.petSwitch {
		width: 100%;
		height: 30px;
		min-height: 0;
		padding: 2px 4px;
		font-size: 13px;
	}
	.petNav {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.petNav a {
		flex: none;
		padding: 3px 9px;
	}
	.petBar {
		grid-template-columns: 72px minmax(0, 1fr) 92px;
	}
	#petRtn {
		min-height: 48px;
	}
	#petRtn .msgBox {
		padding: 5px 10px 5px 32px;
		font-size: 12px;
		line-height: 1.4;
	}
	#petRtn .msgBox::before {
		top: 6px;
	}
	.petBar .barFull {
		display: none;
	}
	.petBar .barShort {
		display: inline;
	}
}
.petImg {
	vertical-align: middle;
}
.petType {
	white-space: nowrap;
}
.petPortrait {
	text-align: center;
	margin-bottom: 8px;
}
.petPicks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 6px;
	margin: 10px 0;
}
.petPick {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 6px 4px;
	background: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-radius: 5px;
	font-size: 11px;
	text-align: center;
	cursor: pointer;
}
.petPick input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.petPick:has(input:checked) {
	border-color: var(--link);
	outline: 1px solid var(--link);
}
.petPick:has(input:focus-visible) {
	outline: 2px solid var(--link);
}
.petBuy {
	text-align: center;
}
.petHouseImg img {
	display: block;
	max-width: 100%;
	height: auto;
}
.petCrimeGo {
	grid-area: go;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}
.petCrimeGo button {
	margin: 0;
}
.good {
	color: var(--good) !important;
}
.bad {
	color: var(--bad) !important;
}
.themeGroup {
	display: inline-block;
	vertical-align: top;
	width: 31%;
	margin: 1%;
}
.themeGroup td {
	font-size: 9pt;
	padding: 2px 4px;
}
.b {
	font-weight: 700;
}
#topBar {
	display: flex;
	justify-content: flex-start;
	gap: 4px;
	margin: 6px 0 4px;
	font-size: 9pt;
}
#topBar .topLink {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 24px;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--box-bg);
	color: var(--link);
	font-weight: 700;
	text-decoration: none;
}
#topBar .topLink .hdrIcon,
#topBar .topIcon {
	margin-right: -2px;
}
.hdrIcon {
	flex: none;
	width: 13px;
	height: 13px;
	margin-right: 4px;
	vertical-align: -2px;
	fill: currentColor;
	opacity: .8;
}
#genBars .hdrIcon {
	width: 12px;
	height: 12px;
	margin-right: 3px;
}
#topBar .topLink:hover {
	background: var(--menu-hover-bg);
	color: var(--link-hover);
}
#topBar .topNew {
	color: var(--notify);
}
#topBar [hidden] {
	display: none;
}
#topBar .topLink.topReward {
	background: var(--notify);
	color: var(--page-bg);
}
#topBar .topLink.topReward:hover {
	background: var(--link-hover);
	color: var(--page-bg);
}
#topBar .topReward * {
	color: inherit;
}
#topBar .topReward .hdrIcon {
	opacity: 1;
}
#topBar .topCount {
	min-width: 18px;
	padding: 1px 5px;
	border-radius: 9px;
	background: var(--notify);
	color: var(--page-bg);
	font-size: 8pt;
	line-height: 14px;
	text-align: center;
}
.regenTimer {
	margin-left: 12px;
	white-space: nowrap;
}
.regenTimer b,
#topBar .topCount[data-f="u"] {
	font-variant-numeric: tabular-nums;
}
#profiler {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 2147483647;
	max-width: 600px;
	max-height: 85vh;
	overflow: auto;
	background: var(--box-bg);
	color: var(--text);
	border: 1px solid var(--panel-border);
	border-top-left-radius: 6px;
	font: 11px/1.5 monospace;
}
#profiler summary {
	cursor: pointer;
	padding: 5px 12px;
	color: var(--link);
	font-weight: 700;
	white-space: nowrap;
	user-select: none;
}
#profiler .profBody {
	padding: 2px 12px 10px;
}
#profiler .profHead {
	color: var(--link);
	font-weight: 700;
	margin: 2px 0 6px;
}
#profiler .profEnv {
	color: var(--text-muted);
	padding-bottom: 6px;
	border-bottom: 1px solid var(--panel-border);
}
#profiler .profTitle {
	color: var(--link);
	margin-top: 8px;
}
#profiler table {
	width: 100%;
	border-collapse: collapse;
	margin: 4px 0;
}
#profiler td {
	padding: 1px 8px;
	border-bottom: 1px solid var(--menu-divider);
	vertical-align: top;
	color: var(--text);
}
#profiler .profNum {
	text-align: right;
	white-space: nowrap;
}
#profiler .profBad {
	color: var(--bad);
}
#profiler .profWarn {
	color: var(--notify);
}
body.noAnim *,
body.noAnim *::before,
body.noAnim *::after {
	animation: none !important;
	transition: none !important;
}
body.noAnimNames .fxName *,
body.noAnimNames .fxName *::before,
body.noAnimNames .fxName *::after,
body.noAnimTags .fxTag *,
body.noAnimTags .fxTag *::before,
body.noAnimTags .fxTag *::after,
body.noAnimGangs .fxGang *,
body.noAnimGangs .fxGang *::before,
body.noAnimGangs .fxGang *::after,
body.noAnimPets .fxPet *,
body.noAnimPets .fxPet *::before,
body.noAnimPets .fxPet *::after,
body.noAnimGlow .passWBadge,
body.noAnimGlow .arenaLive,
body.noAnimFlash .msgPulse,
body.noAnimFlash .dmFlash .dmBubble,
body.noAnimFlash .msnCard:target,
body.noAnimFlash .bustToast,
body.noAnimGames .slotReel span {
	animation: none !important;
}
.nameGrad {
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.nameCycle {
	background-size: 200% auto;
	animation: nameCycle var(--cs, 3s) linear infinite;
}
@keyframes nameCycle {
	to {
		background-position: -200% center;
	}
}
.nameFx {
	position: relative;
	display: inline-block;
	isolation: isolate;
}
.nameFx::before {
	content: attr(data-shadow);
	position: absolute;
	left: var(--sx, 0px);
	top: var(--sy, 0px);
	z-index: -1;
	width: 100%;
	background-image: var(--sg);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: blur(var(--sb, 2px));
	pointer-events: none;
}
.nameShadowCycle::before {
	background-size: 200% auto;
	animation: nameCycle var(--cs, 3s) linear infinite;
}
.nameRev .nameCycle,
.nameRev .nameShadowCycle::before,
.nameRev .nameMid::before,
.nameRev .nameMid::after,
.nameRev .nameShadowMid::before,
.nameRev .nameShadowMid::after {
	animation-direction: reverse;
}
@keyframes nameCycleMirror {
	from {
		background-position: right 0 center;
	}
	to {
		background-position: right -200% center;
	}
}
.nameMid {
	position: relative;
	display: inline-block;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.nameMid::before,
.nameMid::after {
	content: attr(data-mid);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	pointer-events: none;
}
.nameMid::before {
	background-image: linear-gradient(90deg, var(--gs));
	clip-path: inset(-20px 50% -20px -20px);
	animation: nameCycle var(--cs, 3s) linear infinite;
}
.nameMid::after {
	background-image: linear-gradient(270deg, var(--gs));
	clip-path: inset(-20px -20px -20px 50%);
	animation: nameCycleMirror var(--cs, 3s) linear infinite;
}
.nameShadowMid::before {
	background-size: 200% auto;
	animation: nameCycle var(--cs, 3s) linear infinite;
}
.nameShadowMid::before,
.nameShadowMid::after {
	left: calc(var(--sx, 0px) - 20px);
	top: calc(var(--sy, 0px) - 20px);
	padding: 20px;
	background-origin: content-box;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(50% - var(--sb, 2px)), transparent calc(50% + var(--sb, 2px)));
	mask-image: linear-gradient(90deg, #000 calc(50% - var(--sb, 2px)), transparent calc(50% + var(--sb, 2px)));
}
.nameShadowMid::after {
	content: attr(data-shadow);
	position: absolute;
	z-index: -1;
	width: 100%;
	background-image: linear-gradient(270deg, var(--sgs));
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: blur(var(--sb, 2px));
	-webkit-mask-image: linear-gradient(90deg, transparent calc(50% - var(--sb, 2px)), #000 calc(50% + var(--sb, 2px)));
	mask-image: linear-gradient(90deg, transparent calc(50% - var(--sb, 2px)), #000 calc(50% + var(--sb, 2px)));
	animation: nameCycleMirror var(--cs, 3s) linear infinite;
	pointer-events: none;
}
.cnForm {
	margin: 12px auto;
	border: 1px solid var(--panel-border);
	background: var(--panel-bg);
	text-align: left;
}
.cnHead {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 13px 20px;
	border-bottom: 1px solid var(--table-border);
	font-size: 14px;
}
.cnHead span {
	color: var(--text-muted);
	font-size: 11px;
}
.cnHead span b {
	color: var(--link);
}
.cnEmpty {
	padding: 16px 20px;
	margin: 0;
}
.cnStage {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 108px;
	padding: 20px;
	background: repeating-linear-gradient(135deg, var(--input-bg) 0 10px, var(--panel-stripe) 10px 20px);
	border-bottom: 1px solid var(--input-border);
}
.cnStageName {
	flex: 1;
	text-align: center;
	font-size: 28px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.cnBody {
	padding: 0 20px;
}
.cnSec {
	padding: 18px 0;
	border-bottom: 1px solid var(--input-border);
}
.cnSec:last-child {
	border-bottom: 0;
}
.cnSecTitle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}
.cnSecTitle h3 {
	font-size: 12px;
	margin: 0;
}
.cnSecTitle h3 span {
	font-size: 10px;
	font-weight: 400;
	color: var(--link);
	margin-right: 10px;
}
.cnRow {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 32px;
	margin-top: 9px;
}
.cnLabel {
	width: 126px;
	flex-shrink: 0;
	color: var(--text-muted);
}
.cnCtl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	min-width: 0;
}
.cnHint {
	font-size: 10px;
	color: var(--text-muted);
}
.cnSeg {
	display: inline-flex;
	border: 1px solid var(--input-border);
	border-radius: 3px;
	overflow: hidden;
	background: var(--input-bg);
}
.cnSeg label {
	cursor: pointer;
}
.cnSeg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.cnSeg span {
	display: block;
	padding: 7px 17px;
	color: var(--text-muted);
	border-left: 1px solid var(--input-border);
}
.cnSeg label:first-child span {
	border-left: 0;
}
.cnSeg label:hover span {
	color: var(--text);
	background: var(--button-bg);
}
.cnSeg input:checked + span {
	background: var(--link);
	color: var(--page-bg);
	font-weight: 700;
}
.cnSeg input:focus-visible + span {
	outline: 2px solid var(--link-hover);
	outline-offset: -2px;
}
.cnCount span {
	padding: 6px 11px;
}
.cnPalette {
	display: flex;
	gap: 7px;
}
.cnSwatch {
	width: 33px;
	height: 30px;
	padding: 3px;
	background: var(--input-bg);
	border: 1px solid var(--input-border);
	border-radius: 3px;
	cursor: pointer;
}
.cnSwatch::-webkit-color-swatch-wrapper {
	padding: 0;
}
.cnSwatch::-webkit-color-swatch {
	border: 0;
	border-radius: 1px;
}
.cnSwatch::-moz-color-swatch {
	border: 0;
	border-radius: 1px;
}
.cnCheck {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--input-border);
	border-radius: 3px;
	background: var(--input-bg);
	cursor: pointer;
}
.cnCheck:has(input:checked) {
	border-color: var(--link);
}
.cnForm input[type=checkbox] {
	accent-color: var(--link);
	width: 13px;
	height: 13px;
	margin: 0;
	cursor: pointer;
}
.cnForm input[type=range] {
	accent-color: var(--link);
	width: 110px;
	height: 16px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.cnSlider {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text-muted);
	font-size: 11px;
}
.cnSpacing {
	margin-left: 14px;
}
.cnForm output {
	min-width: 30px;
	color: var(--text);
	font: 11px monospace;
	white-space: nowrap;
}
.cnCycle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 12px;
	cursor: pointer;
}
.cnNote {
	margin: 0 0 14px 26px;
	font-size: 11px;
	color: var(--text-muted);
}
.cnMatrix {
	display: flex;
	gap: 12px;
}
.cnMatrixLabels {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 130px;
	flex-shrink: 0;
	font-size: 10px;
	color: var(--text-muted);
}
.cnMatrixGroup {
	display: flex;
	flex-direction: column;
}
.cnMatrixGroup span {
	height: 35px;
	display: flex;
	align-items: center;
}
.cnMatrixGroup span:first-child {
	height: 28px;
}
.cnGrid {
	flex: 1;
	max-width: 596px;
	display: grid;
	grid-template-columns: repeat(var(--cols, 10), 52px);
	gap: 12px 7px;
	align-items: start;
}
.cnCell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 0 0 5px;
	background: var(--input-bg);
	border: 1px solid var(--input-border);
	border-radius: 3px;
}
.cnCellLetter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 23px;
	font-size: 14px;
	font-weight: 700;
	border-bottom: 1px solid var(--table-border);
}
.cnCell span[data-letter-shadow] {
	display: block;
	width: 100%;
	text-align: center;
}
.cnCell .cnSwatch {
	width: calc(100% - 10px);
	height: 30px;
	border-color: var(--table-border);
}
.cnFoot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	background: var(--panel-stripe);
	border-top: 1px solid var(--input-border);
}
.cnFoot span {
	font-size: 11px;
	color: var(--text-muted);
}
.cnSave {
	background: var(--button-bg);
	color: var(--button-text);
	border: 1px solid var(--input-border);
	border-radius: 3px;
	font-weight: 700;
	padding: 9px 20px;
	cursor: pointer;
}
.cnSave:hover {
	border-color: var(--link);
	color: var(--link-hover);
}

.rtBadge {
	display: inline-block;
	padding: 0 3px;
	border-radius: 2px;
	background: #e8b020;
	color: #1b1300;
	font: bold 9px/12px Verdana, Tahoma, Arial, sans-serif;
	vertical-align: 1px;
	text-decoration: none;
}
a .rtBadge:hover {
	background: #ffc93a;
}
.hereBadge {
	display: inline-block;
	padding: 0 3px;
	border-radius: 2px;
	background: var(--good);
	color: #08140a;
	font: bold 9px/12px Verdana, Tahoma, Arial, sans-serif;
	vertical-align: 1px;
}
.npcBadge {
	display: inline-block;
	padding: 0 3px;
	border-radius: 2px;
	background: #6b7a8f;
	color: #fff;
	font: bold 9px/12px Verdana, Tahoma, Arial, sans-serif;
	vertical-align: 1px;
}
.protectBadge {
	display: inline-block;
	padding: 0 3px;
	border-radius: 2px;
	background: #3a8fd8;
	color: #fff;
	font: bold 9px/12px Verdana, Tahoma, Arial, sans-serif;
	vertical-align: 1px;
}
.houseSoon td {
	color: var(--text-muted);
}
.houseSoonImg {
	width: 200px;
	height: 110px;
	line-height: 110px;
	border: 1px dashed var(--panel-border);
	border-radius: 6px;
	box-sizing: border-box;
	font: bold 48px/108px Verdana, Tahoma, Arial, sans-serif;
	text-align: center;
}
.terrList {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}
.terrCard {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 12px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
}
.terrPic {
	flex: 0 0 200px;
}
.terrPic img {
	display: block;
	width: 100%;
	height: auto;
}
.terrBody {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.terrHead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
}
.terrBoost {
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}
.terrInfo,
.terrProg {
	color: var(--text-muted);
}
.terrProg {
	font-size: 11px;
}
.terrFacts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
}
.terrFacts em {
	display: block;
	margin-bottom: 2px;
	font-style: normal;
	font-size: 9px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--text-muted);
}
.terrActions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.terrSoon {
	border-style: dashed;
	color: var(--text-muted);
}
.navSeperator.navRule {
	line-height: 0;
	height: 0;
	border-width: 1px;
}
#navBlock .navIcon {
	width: 14px;
	height: 14px;
	margin-right: 4px;
	vertical-align: -2px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.menuEditorForm {
	margin: 0 0 24px;
	border: 1px solid var(--panel-border);
	border-radius: 4px;
	background: var(--table-row-bg);
}
.meHead {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	align-items: baseline;
	justify-content: space-between;
	padding: 10px 12px;
	border-bottom: 1px solid var(--panel-border);
}
.meHead span,
.meHint,
.meItem small {
	color: var(--text-muted);
	font-size: 8pt;
}
.menuEditor {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 10px 12px;
}
.menuEditor.meThree {
	grid-template-columns: 1fr 1fr 1fr;
}
.mePane {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.meList {
	flex: 1;
	list-style: none;
	margin: 0;
	padding: 4px;
	min-height: 60px;
	max-height: 520px;
	overflow-y: auto;
	border: 1px dashed var(--panel-border);
	border-radius: 4px;
}
.meItem {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 4px;
	padding: 6px 8px;
	border: 1px solid var(--panel-border);
	border-radius: 4px;
	background: var(--menu-bg);
	color: var(--menu-link);
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}
.meItem small {
	margin-left: auto;
}
.meDivider,
.meNew {
	background: var(--menu-head-bg);
	color: var(--menu-head-text);
}
.meNew {
	border-style: dashed;
}
.meName {
	flex: 1;
	min-width: 0;
}
.meGrip {
	flex: none;
	width: 10px;
	height: 16px;
	background: radial-gradient(currentColor 1px, transparent 1.5px) 0 0 / 5px 5px;
	opacity: .6;
	touch-action: none;
}
.mePlace {
	border-style: dashed;
	background: none;
}
.meDragging {
	position: fixed;
	z-index: 100;
	margin: 0;
	pointer-events: none;
	opacity: .9;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}
.meIcon {
	flex: none;
	width: 18px;
	height: 18px;
	fill: currentColor;
}
.menuEditorForm > .meHint {
	margin: 0;
	padding: 0 12px 8px;
}
.meFoot {
	position: sticky;
	bottom: 0;
	z-index: 5;
	margin: 0;
	padding: 10px 12px;
	border-top: 1px solid var(--panel-border);
	border-radius: 0 0 4px 4px;
	background: var(--table-row-bg);
	text-align: right;
	box-shadow: 0 -6px 14px rgba(0, 0, 0, .35);
}
.meTabs {
	display: flex;
	gap: 6px;
	margin: 0 0 12px;
	border-bottom: 1px solid var(--panel-border);
}
.meTabs button {
	margin: 0 0 -1px;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-radius: 6px 6px 0 0;
	background: none;
	color: var(--text-muted);
	font-weight: 700;
	cursor: pointer;
}
.meTabs button[aria-selected=true] {
	border-color: var(--panel-border);
	border-bottom-color: var(--panel-bg);
	background: var(--panel-bg);
	color: var(--link);
}
.meTab[hidden] {
	display: none;
}
.meLayout {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	padding: 8px 12px;
}
.meLayout label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.hofKind {
	display: flex;
	justify-content: center;
	margin: 10px 0 0;
}
.hofKind a {
	padding: 6px 22px;
	border: 1px solid var(--input-border);
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 700;
}
.hofKind a:first-child {
	border-radius: 4px 0 0 4px;
}
.hofKind a:last-child {
	border-left: 0;
	border-radius: 0 4px 4px 0;
}
.hofKind a:hover {
	color: var(--text);
}
.hofKind a.active {
	background: var(--link);
	border-color: var(--link);
	color: var(--table-row-bg);
}
.hofNav {
	margin: 10px 0 14px;
	background: var(--table-row-bg);
	border-radius: 4px;
	overflow: hidden;
}
.hofTabs {
	display: flex;
	overflow-x: auto;
	border-bottom: 1px solid var(--input-border);
	scrollbar-width: none;
}
.hofTabs::-webkit-scrollbar {
	display: none;
}
a.hofTab {
	flex: 1 0 auto;
	padding: 9px 12px;
	text-align: center;
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 700;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
a.hofTab:hover {
	color: var(--text);
}
a.hofTab.active {
	color: var(--link);
	border-bottom-color: var(--link);
}
.hofChips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	min-width: 0;
}
.hofSub {
	padding: 10px;
}
.hofCity {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	padding: 7px 10px;
	border-top: 1px solid var(--input-border);
	font-size: 11px;
}
.hofCity span {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-muted);
}
.hofCity a {
	color: var(--text-muted);
	text-decoration: none;
}
.hofCity a:hover,
.hofCity a.active {
	color: var(--link);
}
.hofCity a.active {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
a.hofChip {
	padding: 4px 11px;
	border: 1px solid var(--input-border);
	border-radius: 12px;
	background: var(--input-bg);
	color: var(--text-muted);
	text-decoration: none;
	white-space: nowrap;
}
a.hofChip:hover {
	color: var(--text);
	background: var(--button-bg);
}
a.hofChip.active {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
	font-weight: 700;
}
.hofHeading {
	margin: 0 0 6px;
	font-weight: 700;
	font-size: 11pt;
	color: var(--title-text);
}
.hofHeading span {
	color: var(--text-muted);
	font-weight: 400;
}
.storeSection {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0 12px;
	color: var(--link);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.storeIcons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 8px;
	color: var(--text-muted);
	font-size: 11px;
}
.storeIcons > span {
	flex-basis: 100%;
	text-align: center;
}
.confirmImg {
	margin: 4px 0 10px;
	text-align: center;
}
.confirmImg img {
	width: 48px;
	height: 48px;
	image-rendering: pixelated;
}
.storeIcons form {
	margin: 0;
}
.storeIcons .storeIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	line-height: 0;
}
.storeSection::after {
	flex: 1;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--link), transparent);
	content: "";
}
.hofTable .hofRank {
	width: 40px;
	text-align: center;
	font-weight: 700;
}
.hofTop .hofRank {
	color: var(--link);
	font-size: 11pt;
}
.hofNote {
	text-align: center;
	color: var(--text-muted);
	font-size: 10px;
}
a.hofChip.hofStaff {
	border-style: dashed;
}
.othBadge {
	vertical-align: -3px;
	margin-left: 1px;
}
a.othBadgeLink {
	text-decoration: none;
}
.profNote {
	max-width: 520px;
	margin: 14px auto 0;
}
.profNote label {
	font-weight: 700;
}
.profNoteHint {
	color: var(--text-muted);
	font-size: 12px;
}
.profNote textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 6px 0;
}
.profStats {
	margin: 14px 0 0;
	background: var(--table-row-bg);
	border-radius: 4px;
}
.profStats summary {
	padding: 9px 12px;
	font-weight: 700;
	font-size: 11pt;
	color: var(--title-text);
	cursor: pointer;
}
.profStats[open] summary {
	border-bottom: 1px solid var(--input-border);
}
.profStatGrid {
	column-width: 230px;
	column-gap: 22px;
	padding: 12px;
}
.profStatGroup {
	break-inside: avoid;
	margin-bottom: 14px;
}
.profStatName {
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--link);
}
.profStat {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 3px 0;
	border-bottom: 1px dotted var(--input-border);
}
.profStat span {
	color: var(--text-muted);
}
.profStatStaff span {
	font-style: italic;
}
.gmMsg {
	text-align: center;
	font-weight: 700;
}
.gmList {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px;
	margin: 12px 0;
}
.gmCard {
	background: var(--table-row-bg);
	border: 1px solid var(--input-border);
	border-radius: 6px;
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.gmCard.gmActive {
	border-color: var(--link);
	margin: 12px 0;
}
.gmCard.gmSyndicate {
	border-style: dashed;
}
.gmHead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
}
.gmHead span {
	color: var(--text-muted);
	font-size: 11px;
}
.gmTag,
.gmHead .gmTag {
	color: var(--link);
	border: 1px solid var(--link);
	border-radius: 3px;
	padding: 0 5px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	vertical-align: middle;
}
.gcIntro {
	color: var(--text-muted);
}
.gcStats {
	display: flex;
	gap: 18px;
	margin: 10px 0;
	color: var(--text-muted);
}
.gcStats b {
	color: var(--text);
}
.gcTable {
	width: 100%;
	border-collapse: collapse;
	margin: 6px 0 12px;
}
.gcTable td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--table-border);
	vertical-align: middle;
}
.gcTable tr.gcHead td {
	background: var(--table-head-bg);
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.gcTable tr:not(.gcHead):hover td {
	background: var(--box-bg);
}
.gcTable .gcNum {
	text-align: right;
	white-space: nowrap;
}
.gcTable .gcPick {
	width: 24px;
}
.gcTable .gcName {
	min-width: 160px;
	font-weight: 600;
}
@media (min-width: 701px) and (max-width: 1100px) {
	.gcTable td {
		padding: 8px 5px;
	}
	.gcTable tr.gcHead td {
		letter-spacing: 0;
	}
	.gcTable .gcName {
		min-width: 120px;
	}
}
.gcTable .gcGain {
	color: var(--good);
}
.gcTable tr.gcLocked td,
.gcTable tr.gcLocked .gcGain {
	color: var(--text-muted);
}
.gcTable tr.gcLocked label {
	cursor: not-allowed;
}
.gcTable label {
	cursor: pointer;
}
.gcTable .gcWhy {
	margin-top: 2px;
	color: var(--bad);
	font-size: 11px;
	font-weight: 400;
}
.gcTable .gcSub {
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 400;
}
.gcTable .gcEmpty {
	text-align: center;
	color: var(--text-muted);
	padding: 16px;
}
.gcOk {
	color: var(--good);
	font-weight: 600;
}
.gcFail {
	color: var(--bad);
	font-weight: 600;
}
.gcStartBtn {
	margin: 4px 0 16px;
}
.gcTitle {
	margin: 18px 0 4px;
}
.gcTitle .gcSub {
	color: var(--text-muted);
	font-size: 12px;
	font-weight: 400;
}
.gcRun {
	background: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	padding: 12px 14px;
	margin: 10px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.gcRun.gcIdle {
	color: var(--text-muted);
	text-align: center;
}
.gcRunHead {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 15px;
}
.gcRunHead span {
	color: var(--link);
	white-space: nowrap;
}
.gcRunMeta {
	color: var(--text-muted);
	font-size: 12px;
}
.gcRunMeta b {
	color: var(--text);
}
.gcBar {
	position: relative;
	height: 20px;
	border-radius: 4px;
	background: var(--input-bg);
	overflow: hidden;
}
.gcBar span {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--meter-fill);
}
.gcBar em {
	position: relative;
	display: block;
	text-align: center;
	line-height: 20px;
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
}
.gcRun form {
	margin: 0;
}
.gCard {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 360px;
	margin: 6px 0;
	padding: 8px 10px;
	background: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-left: 3px solid var(--link);
	border-radius: 6px;
	text-align: left;
	box-sizing: border-box;
}
.gCardHead {
	font-size: 8pt;
	font-weight: 700;
	overflow-wrap: anywhere;
}
.gCardKind {
	margin-right: 4px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.gCardLine {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}
.gCardLine span {
	color: var(--text-muted);
	white-space: nowrap;
}
.gCardNote,
.gCardOut .gCardBody,
.gCardGone .gCardBody {
	color: var(--text-muted);
	font-size: 8pt;
}
.gCardActs .button {
	display: inline-block;
	margin: 0;
	text-decoration: none;
}
.gmGoal {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 8px;
	font-size: 12px;
}
.gmBar {
	grid-column: 1 / -1;
	height: 6px;
	background: var(--input-border);
	border-radius: 3px;
	overflow: hidden;
}
.gmBar i {
	display: block;
	height: 100%;
	background: var(--link);
}
.gmReward {
	color: var(--text-muted);
	font-size: 11px;
}
.gmAct {
	margin-top: auto;
	font-size: 11px;
	color: var(--text-muted);
}
.ghPanels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 10px;
	margin: 12px 0 16px;
}
.ghPanel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid var(--panel-border);
	border-left: 4px solid var(--input-border);
	border-radius: 6px;
	background: var(--box-bg);
}
.ghPanel.ghDue {
	border-left-color: var(--link);
}
.ghHead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
}
.ghHead span {
	color: var(--link);
	font-size: 11px;
	font-weight: 400;
	white-space: nowrap;
}
.ghIdle .ghHead span {
	color: var(--text-muted);
}
.ghName {
	font-weight: 600;
}
.ghNote {
	margin: 0;
	color: var(--text-muted);
	font-size: 12px;
}
.ghNote b {
	color: var(--text);
}
.ghGoals,
.ghRows {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ghRow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding-top: 4px;
	border-top: 1px solid var(--table-border);
	font-size: 12px;
}
.ghLab > span:last-child {
	text-align: right;
	white-space: nowrap;
}
.ghActs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: auto;
}
.ghPanel form {
	margin: 0;
}
.ghPanel .button {
	display: inline-block;
	margin: 0;
}
.ghActs a.button {
	color: var(--button-text);
}
.synCard {
	background: var(--table-row-bg);
	border: 1px solid var(--input-border);
	border-radius: 6px;
	padding: 12px 16px;
	max-width: 560px;
	margin: 0 auto;
}
.synName {
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 6px;
}
.synPerks {
	margin: 8px 0;
	padding-left: 18px;
}
.synPinned {
	width: 80%;
	margin: 0 auto 14px;
	background: var(--table-row-bg);
	border: 1px solid var(--link);
	border-radius: 6px;
	padding: 8px 12px;
}
.synPinnedHead {
	margin-bottom: 6px;
	font-size: 12px;
	color: var(--text-muted);
}
form.synCard p label {
	white-space: nowrap;
	margin-right: 8px;
}
.gmShares {
	border-top: 1px solid var(--input-border);
	padding-top: 6px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.gmShares > b,
.gmShares > span {
	font-size: 11px;
	color: var(--text-muted);
}
.gmStats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0;
}
.gmStats span {
	flex: 1 1 120px;
	background: var(--table-row-bg);
	border: 1px solid var(--input-border);
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 11px;
	color: var(--text-muted);
}
.gmStats b {
	display: block;
	font-size: 16px;
	color: var(--text);
}
.gdHero {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 12px 0;
	padding: 14px 16px;
	border: 1px solid var(--panel-border);
	border-left: 4px solid var(--link);
	border-radius: 6px;
	background: var(--box-bg);
}
.gdBanner {
	text-align: center;
}
.gdBanner img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}
.gdTitle {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}
.gdTitle b {
	font-size: 20px;
}
.gdTag {
	color: var(--text-muted);
	font-size: 14px;
}
.gdLevel {
	margin-left: auto;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--button-bg);
	color: var(--button-text);
	font-size: 12px;
	font-weight: 700;
}
.gvFunds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 10px;
	margin: 12px 0;
}
.gvFund,
.gvCard {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	background: var(--box-bg);
}
.gvCard {
	margin: 12px 0;
}
.gvLabel {
	color: var(--text-muted);
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.gvAmount {
	font-size: 22px;
}
.gvDonate {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.gvDonate input[type="text"] {
	flex: 1 1 140px;
	width: auto;
	min-width: 0;
}
.gvDonateItem {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--table-border);
	border-radius: 6px;
	background: var(--input-bg);
}
.gvDonateItem select {
	flex: 1 1 200px;
	width: auto;
	min-width: 0;
}
.gvQty {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--text-muted);
	font-size: 12px;
}
.gvDonateItem .gvQty input[type="text"] {
	flex: none;
	width: 64px;
	text-align: center;
}
a.gvBtn.gvSend {
	align-self: flex-start;
	margin: 0;
	padding: 6px 12px;
	font-size: 12px;
}
.ajaxPager {
	transition: opacity 0.15s;
}
.ajaxPager.apLoading {
	opacity: 0.5;
	pointer-events: none;
}
.gvHead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 14px;
	font-weight: 700;
}
.gvHead span {
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 400;
}
.pmIntro {
	color: var(--text-muted);
}
.pmList {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
}
.pmList .gvCard {
	margin: 0;
}
.pmGoals {
	margin: 0;
	padding: 0;
	list-style: none;
}
.pmGoals li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
}
.pmLabel {
	flex: 1;
	min-width: 0;
}
.pmGoals .meter {
	flex: 0 0 90px;
	width: 90px;
}
.pmCount {
	font-weight: 700;
	white-space: nowrap;
}
.pmPay {
	color: var(--good);
	white-space: nowrap;
}
.pmDone .pmLabel {
	text-decoration: line-through;
	color: var(--text-muted);
}
.pmReward,
.pmWait {
	margin: 0;
}
.pmWait {
	color: var(--text-muted);
}
.gvItems {
	width: 100%;
	border-collapse: collapse;
}
.gvItems td {
	padding: 7px 6px;
	border-top: 1px solid var(--table-border);
	background: none;
	text-align: left;
	vertical-align: middle;
}
.gvItems tr.gvTh td {
	border-top: 0;
	color: var(--text-muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.gvItems small {
	display: block;
	color: var(--text-muted);
	font-size: 11px;
}
.gvItems .gvNum {
	text-align: right;
	white-space: nowrap;
}
.gvLoaned {
	color: var(--notify);
	font-weight: 700;
}
.gvNone {
	color: var(--text-muted);
}
.gvActs {
	text-align: right;
	white-space: nowrap;
}
a.gvBtn {
	display: inline-block;
	margin: 2px 0 2px 4px;
	padding: 3px 9px;
	border-radius: 4px;
	background: var(--button-bg);
	color: var(--button-text);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}
a.gvBtn.gvBad {
	background: color-mix(in srgb, var(--bad) 30%, var(--button-bg));
	color: #fff;
}
a.gvBtn.gvGood {
	background: color-mix(in srgb, var(--good) 30%, var(--button-bg));
	color: #fff;
}
.gvNote {
	color: var(--text-muted);
	font-size: 12px;
	overflow-wrap: anywhere;
}
a.gvBtn:hover {
	filter: brightness(1.2);
}
.gvEmpty {
	margin: 0;
	color: var(--text-muted);
}
.gvLog {
	display: flex;
	flex-direction: column;
}
.gvLogRow {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	border-top: 1px solid var(--table-border);
	font-size: 12px;
}
.gvLogRow:first-child {
	border-top: 0;
}
.gvLogRow time {
	flex: none;
	color: var(--text-muted);
	font-size: 11px;
	white-space: nowrap;
}
.glogTable {
	width: 100%;
	margin: 12px 0;
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--box-bg);
	font-size: 12px;
}
.glogTable td {
	padding: 6px 8px;
	border-top: 1px solid var(--table-border);
	background: none;
	text-align: left;
	vertical-align: middle;
}
.glogTable tr.glogTh td {
	border-top: 0;
	color: var(--text-muted);
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.glogTable tr.glogIsWon td:first-child {
	box-shadow: inset 3px 0 var(--good);
}
.glogTable tr.glogIsLost td:first-child {
	box-shadow: inset 3px 0 var(--bad);
}
.glogRes {
	width: 1%;
	white-space: nowrap;
}
.glogRes small {
	margin-left: 6px;
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
}
.glogBadge {
	display: inline-block;
	min-width: 38px;
	padding: 1px 6px;
	border-radius: 4px;
	background: color-mix(in srgb, var(--bad) 22%, transparent);
	color: var(--bad);
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}
.glogIsWon .glogBadge {
	background: color-mix(in srgb, var(--good) 22%, transparent);
	color: var(--good);
}
.glogWho.glogUs {
	background: color-mix(in srgb, var(--link) 8%, transparent);
}
.glogArrow {
	width: 1%;
	padding: 6px 0;
	color: var(--text-muted);
	font-size: 14px;
	text-align: center;
}
.glogInfo {
	color: var(--text-muted);
	white-space: nowrap;
}
.glogDot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 6px;
	border-radius: 50%;
	background: var(--text-muted);
	vertical-align: middle;
}
.glogDot.glogOn {
	background: var(--good);
}
.glogInfo > * {
	margin-right: 6px;
}
.glogInfo a.gvBtn {
	margin: 0;
	padding: 1px 7px;
}
.glogWhen {
	width: 1%;
	color: var(--text-muted);
	white-space: nowrap;
	text-align: right !important;
}
.glogNone {
	margin: 12px 0;
	padding: 12px;
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	background: var(--box-bg);
}
.glogChip {
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--table-row-bg);
	color: var(--text);
}
.logsGroup {
	margin: 14px 0;
}
.logsGroup h2 {
	margin: 0 0 8px;
	color: var(--text-muted);
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.logsGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 8px;
}
a.logsCard {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	background: var(--box-bg);
	color: var(--text);
	text-decoration: none;
}
a.logsCard:hover,
a.logsCard:focus-visible {
	border-color: var(--link);
	background: color-mix(in srgb, var(--link) 8%, var(--box-bg));
}
.logsIcon {
	flex: none;
	width: 26px;
	height: 26px;
	fill: var(--link);
}
a.logsCard b {
	display: block;
	color: var(--link);
	font-size: 14px;
}
a.logsCard small {
	display: block;
	margin-top: 2px;
	color: var(--text-muted);
	font-size: 11px;
	line-height: 1.35;
}
.egFields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}
.egField {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: var(--text-muted);
	font-size: 12px;
}
.egField input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--input-border);
	border-radius: 6px;
	background: var(--input-bg);
	color: var(--text);
	font-size: 14px;
}
.egField small,
.egPage small,
.egSlot small {
	color: var(--text-muted);
	font-size: 11px;
}
.egBanner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 14px;
}
.egBannerNow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 265px;
	max-width: 100%;
	min-height: 100px;
	border: 1px dashed var(--input-border);
	border-radius: 6px;
}
.egBannerNow img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}
.egBannerPick {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.egBannerPick input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--input-border);
	border-radius: 6px;
	background: var(--input-bg);
	color: var(--text);
}
.egCheck {
	font-size: 12px;
}
.egPage {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 10px;
	border-top: 1px solid var(--table-border);
}
.gvHead + .egPage {
	padding-top: 0;
	border-top: 0;
}
.egPage label {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.egPage textarea {
	box-sizing: border-box;
	width: 100%;
}
.egSave {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 12px;
}
.egSave .button,
.egSlot .button {
	padding: 8px 20px;
	font-size: 13px;
}
.egSlot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.contribTable td {
	white-space: nowrap;
}
.contribTable tr:first-child td {
	white-space: normal;
}
.contribTable tr.contribIdle td {
	background: color-mix(in srgb, var(--bad) 12%, transparent);
}
.tableScroll {
	overflow-x: auto;
}
img.bbImg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
img.bbImg[style*="--w"] {
	width: min(100%, calc(var(--w) * 1px));
	aspect-ratio: var(--w) / var(--h);
}
img.ctEmoji {
	max-width: 32px;
	max-height: 32px;
	vertical-align: middle;
}
.bbEmoji {
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 1.3em;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	vertical-align: -0.1em;
}
ul.bbList,
ol.bbList {
	margin: 4px 0;
	padding-left: 24px;
	text-align: left;
}
ul.bbList {
	list-style: disc outside;
}
ul.bbList ul.bbList {
	list-style-type: circle;
}
ol.bbList {
	list-style: decimal outside;
}
ul.bbList li,
ol.bbList li {
	display: list-item;
	margin: 2px 0;
	padding: 0;
	border: 0;
	background: none;
}
.emojiTable {
	margin: auto;
	text-align: center;
}
.emojiTable td {
	padding: 6px;
	vertical-align: middle;
}
.emojiTable input[name="code"] {
	width: 140px;
}
.bbVideo {
	width: 100%;
	max-width: 560px;
	aspect-ratio: 16 / 9;
	margin: 6px 0;
}
.bbVideo iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
.bbBar img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
.imgDlg {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.6);
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.imgDlgBox {
	font: 12px Verdana, Tahoma, Arial, sans-serif;
	color: var(--text);
	background: var(--table-row-bg);
	border: 1px solid var(--input-border);
	border-radius: 6px;
	padding: 14px 16px;
	width: 100%;
	max-width: 380px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.imgDlgBox label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
}
.imgDlgBox input[type=url] {
	width: 100%;
	box-sizing: border-box;
}
.imgDlgOr {
	color: var(--text-muted);
	font-size: 11px;
	text-align: center;
}
.imgDlgMsg {
	min-height: 1em;
	margin: 0;
	font-size: 12px;
	color: var(--text-muted);
}
.imgPasteMsg {
	display: block;
	min-height: 1em;
	margin-top: 3px;
	font-size: 8pt;
	color: var(--text-muted);
}
.imgPasteMsg:empty {
	display: none;
}
.imgPasteMsg.imgPasteBad {
	color: var(--bad);
}
textarea.imgPasting {
	cursor: progress;
}
.imgPick {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 360px;
	margin: 0 auto;
	text-align: left;
}
.imgPick label {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 12px;
}
.imgPick input[type=url] {
	width: 100%;
	box-sizing: border-box;
}
.imgPick small {
	color: var(--text-muted);
}
.bmTabs {
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.bmTabs a,
.bmTabs a:first-child,
.bmTabs a:last-child {
	padding: 6px 16px;
	border: 1px solid var(--input-border);
	border-radius: 4px;
}
.bmIntro {
	margin: 0 0 10px;
}
.bmPay {
	align-items: center;
}
.bmPay > span {
	color: var(--text-muted);
	font-size: 12px;
}
.bmPay a span {
	font-weight: 400;
	opacity: 0.8;
}
.bmPay a.active span {
	color: var(--table-row-bg);
}
.bmHead {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
	margin-bottom: 12px;
}
.bmName {
	flex: 1 1 100%;
	font-size: 18px;
	font-weight: 700;
}
.bmStat {
	flex: 1 1 120px;
	padding: 8px 10px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 4px;
}
.bmStat span {
	display: block;
	font-size: 11px;
	color: var(--text-muted);
	text-transform: uppercase;
}
.bmStat b {
	font-size: 14px;
}
.bmGrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
	gap: 12px;
	align-items: start;
}
.bmBook {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bmLevel {
	cursor: pointer;
}
.bmLevel:hover td {
	background: var(--menu-hover-bg);
}
.bmAsk {
	color: var(--bad);
	font-weight: 700;
}
.bmBid {
	color: var(--good);
	font-weight: 700;
}
.bmEmpty {
	text-align: center;
	color: var(--text-muted);
}
.bmForm {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 4px;
}
.bmForm label {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 12px;
	color: var(--text-muted);
}
.bmForm input[type="text"] {
	padding: 6px 8px;
	font-size: 14px;
}
.bmForm .bmCheck {
	flex-direction: row;
	align-items: center;
	gap: 6px;
}
.bmSides {
	display: flex;
}
.bmSides label {
	flex: 1;
}
.bmSides input {
	position: absolute;
	opacity: 0;
}
.bmSides span {
	display: block;
	padding: 7px;
	text-align: center;
	font-weight: 700;
	font-size: 13px;
	border: 1px solid var(--input-border);
	cursor: pointer;
}
.bmSides label:first-child span {
	border-radius: 4px 0 0 4px;
}
.bmSides label:last-child span {
	border-left: 0;
	border-radius: 0 4px 4px 0;
}
.bmSides input[value="buy"]:checked + span {
	background: var(--success-bg);
	border-color: var(--good);
	color: var(--good);
}
.bmSides input[value="sell"]:checked + span {
	background: var(--error-bg);
	border-color: var(--bad);
	color: var(--bad);
}
.bmTotal {
	font-size: 13px;
}
.bmHint {
	margin: 0;
	font-size: 11px;
	color: var(--text-muted);
}
.bmPick {
	margin: 12px 0;
}
.bmChips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.bmChips a {
	padding: 4px 10px;
	background: var(--box-bg);
	border: 1px solid var(--input-border);
	border-radius: 12px;
	text-decoration: none;
}
.bmChips span {
	color: var(--text-muted);
}
.bmJump {
	margin-bottom: 10px;
}
.bmGroup td {
	padding-top: 10px;
	font-weight: 700;
	color: var(--title-text);
	border-bottom: 1px solid var(--input-border);
}
.bmChipHead {
	margin: 8px 0 4px;
	font-size: 12px;
	color: var(--text-muted);
}
@media (max-width: 700px) {
	.bmGrid {
		grid-template-columns: minmax(0, 1fr);
	}
}
.bmSub {
	font-size: 12px;
	font-weight: 400;
	color: var(--text-muted);
}
.bmForm select {
	padding: 6px;
}
.bmForm:has(input[value="buy"]:checked) .bmSellOnly,
.bmForm:has(input[value="sell"]:checked) .bmBuyOnly {
	display: none;
}
.drugActive {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}
.drugActive em {
	display: block;
	font-size: 12px;
	font-style: normal;
	color: var(--good);
}
.drugGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
}
.drugCard {
	padding: 10px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 4px;
}
.drugHead {
	display: flex;
	justify-content: space-between;
	font-size: 15px;
}
.drugCard ul {
	margin: 6px 0;
	padding-left: 18px;
}
.drugRow {
	margin: 10px 0;
}
.upgCard {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.upgCard form {
	margin-top: auto;
	padding-top: 6px;
}
.upgEffect {
	font-weight: 700;
	color: var(--good);
}
.upgState {
	font-size: 12px;
	color: var(--text-muted);
}
.upgActive {
	border-color: var(--good);
}
.upgStored,
.upgLocked {
	opacity: 0.6;
}
.upgMine td {
	font-weight: 700;
}
.drugSwapForm {
	max-width: 420px;
	margin-bottom: 12px;
}
.labTend {
	margin: 0 0 12px;
}
.labBar {
	height: 6px;
	margin: 8px 0 6px;
	background: var(--input-bg);
	border-radius: 3px;
	overflow: hidden;
}
.labBar i {
	display: block;
	height: 100%;
	background: var(--link);
}
.labHours {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
}
.labHours span {
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: var(--input-border);
}
.labHours span.on {
	background: var(--good);
}
.labHours span.miss {
	background: var(--bad);
}
.labHours span.now {
	outline: 2px solid var(--link);
}
.labSlots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 8px;
	margin: 0 0 14px;
}
.labSlot {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 0;
	padding: 10px 8px 8px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
	color: var(--text);
	text-align: center;
	text-decoration: none;
}
.labSlot:hover,
.labSlot:focus-visible {
	background: var(--menu-hover-bg);
	text-decoration: none;
}
.labSlot b {
	display: block;
	max-width: 100%;
	overflow: hidden;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.labSlot .labBar {
	display: block;
	width: 100%;
	margin: 2px 0;
}
.labSlotNo {
	position: absolute;
	top: 3px;
	left: 6px;
	font-size: 10px;
	color: var(--text-muted);
}
.labSlotState {
	font-size: 11px;
	color: var(--text-muted);
}
.labPlus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 2px dashed var(--input-border);
	border-radius: 6px;
	font-size: 22px;
	color: var(--text-muted);
}
.labEmpty {
	border-style: dashed;
}
.labReady {
	border-color: var(--good);
}
.labReady .labSlotState {
	color: var(--good);
	font-weight: 700;
}
.labDue {
	border-color: var(--link);
}
.labDue .labSlotState {
	color: var(--link);
	font-weight: 700;
}
.labFailed {
	border-color: var(--bad);
}
.labFailed .labSlotState {
	color: var(--bad);
	font-weight: 700;
}
.labChoices {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}
.labChoice {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding: 8px;
	background: var(--table-row-bg);
	border-radius: 6px;
}
.labChoice img {
	flex: none;
}
.labChoiceText {
	display: flex;
	flex: 1 1 160px;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.labChoice form {
	display: flex;
	gap: 6px;
	align-items: center;
	margin-left: auto;
}
.labChoice input[type=number] {
	width: 56px;
}
.bmSideHead {
	font-size: 14px;
}
.showcase {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(2, minmax(0, 1.6fr));
	gap: 8px;
	margin: 14px 0 4px;
}
.showcaseSlot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 8px 6px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 4px;
	text-align: center;
	min-width: 0;
}
.showcaseImg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 90px;
}
.showcaseImg img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.showcaseSlot span {
	font-size: 11px;
	color: var(--text-muted);
	text-transform: uppercase;
}
.showcaseSlot b {
	font-size: 12px;
	overflow-wrap: anywhere;
}
.showcaseEmpty b {
	color: var(--text-muted);
	font-weight: 400;
}
.showcaseEmpty .showcaseImg img {
	opacity: 0.5;
}
.showcaseCar.showcaseEmpty .showcaseImg img,
.showcaseHouse.showcaseEmpty .showcaseImg img {
	opacity: 0.85;
}
@media (max-width: 700px) {
	.showcase {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.showcaseItem {
		grid-column: span 2;
	}
	.showcaseCar,
	.showcaseHouse {
		grid-column: span 3;
	}
}
.arenaGrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 10px 0;
}
.arenaPanel {
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	padding: 8px;
}
.arenaPanel td {
	padding: 3px 0;
	vertical-align: middle;
}
.arenaPanelHead {
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 10px;
	margin-bottom: 6px;
}
.arenaNote {
	color: var(--text-muted);
	font-size: 10px;
}
.arenaYours {
	border-top: 1px solid var(--table-border);
	padding-top: 5px !important;
}
.arenaLive {
	color: var(--bad);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
	animation: arenaPulse 2s infinite;
}
@keyframes arenaPulse {
	50% {
		opacity: .35;
	}
}
.arenaAmount {
	text-align: right;
	white-space: nowrap;
}
.arenaMine td {
	background-color: var(--table-row-bg);
}
.arenaPlace {
	display: inline-block;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 10px;
	text-align: center;
	font-weight: 700;
	font-size: 11px;
}
.arenaPlace1,
.arenaPlace2,
.arenaPlace3 {
	color: #1a1a1a;
}
.arenaPlace1 {
	background: #f2c230;
}
.arenaPlace2 {
	background: #c4c9cf;
}
.arenaPlace3 {
	background: #cd8a4b;
}
.staffHero {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 14px 0 18px;
	padding: 14px 16px;
	background: linear-gradient(120deg, var(--box-bg), var(--panel-stripe));
	border: 1px solid var(--table-border);
	border-left: 3px solid var(--link);
	border-radius: 6px;
}
.staffHero > div:first-child {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.staffHero > div:first-child b {
	font-size: 14px;
}
.staffHero > div:first-child span {
	color: var(--text-muted);
}
.staffStats {
	display: flex;
	gap: 18px;
	text-align: center;
}
.staffStats b {
	display: block;
	font-size: 20px;
}
.staffStats span {
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.staffLive {
	color: var(--good);
}
.staffRank {
	margin-bottom: 18px;
}
.staffRankHead {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--table-border);
}
.staffRankHead b {
	color: var(--rank);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.staffRankHead span {
	color: var(--text-muted);
}
.staffGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 10px;
}
.staffCard {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-top: 2px solid var(--rank);
	border-radius: 6px;
	transition: transform .15s, box-shadow .15s;
}
.staffCard:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}
.staffPic {
	position: relative;
	flex: none;
}
.staffAvatar {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border: 2px solid var(--rank);
}
.staffInitial {
	box-sizing: border-box;
	background: var(--panel-stripe);
	color: var(--rank);
	font: bold 24px/52px Verdana, Tahoma, Arial, sans-serif;
	text-align: center;
}
.staffPic i {
	position: absolute;
	right: 1px;
	bottom: 1px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--text-muted);
	border: 2px solid var(--box-bg);
}
.isOnline .staffPic i {
	background: var(--good);
	box-shadow: 0 0 6px var(--good);
}
.staffInfo {
	flex: 1;
	min-width: 0;
}
.staffName {
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.staffSeen {
	color: var(--text-muted);
	font-size: 10px;
	margin-top: 2px;
}
.isOnline .staffSeen {
	color: var(--good);
}
.staffStatus {
	margin-top: 4px;
	color: var(--text-muted);
	font-style: italic;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow-wrap: anywhere;
}
.staffMail {
	flex: none;
	align-self: flex-start;
	padding: 3px 7px;
	border: 1px solid var(--input-border);
	border-radius: 4px;
	font-size: 10px;
	white-space: nowrap;
}
.staffMail img {
	vertical-align: -2px;
}
.staffMail:hover {
	border-color: var(--link);
}
.onStats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 10px;
	margin: 14px 0;
}
.onStats div {
	padding: 10px 12px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
	text-align: center;
}
.onStats b {
	display: block;
	font-size: 20px;
}
.onStats span {
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.onLive {
	color: var(--good);
}
.onTable {
	border-collapse: separate;
	border-spacing: 0;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
	overflow: hidden;
}
.onTable th {
	padding: 8px 10px;
	background: var(--table-head-bg);
	color: var(--text-muted);
	font-size: 10px;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 2px solid var(--link);
}
.onTable td {
	padding: 7px 10px;
	border-bottom: 1px solid var(--table-border);
}
.onTable tr:last-child td {
	border-bottom: 0;
}
.onTable tr:nth-child(even) td {
	background: rgba(255, 255, 255, .025);
}
.onTable tr:hover td {
	background: rgba(240, 163, 10, .08);
}
.onTable .onMe td {
	background: rgba(240, 163, 10, .12);
}
.onTable .onMe td:first-child {
	box-shadow: inset 3px 0 0 var(--link);
}
.onPic {
	width: 45px;
}
.onPic a {
	position: relative;
	display: block;
	width: 45px;
	height: 45px;
}
.onAvatar {
	display: block;
	box-sizing: border-box;
	width: 45px;
	height: 45px;
	object-fit: cover;
	border: 1px solid var(--input-border);
}
.onInitial {
	background: var(--panel-stripe);
	color: var(--link);
	font: bold 18px/43px Verdana, Tahoma, Arial, sans-serif;
	text-align: center;
}
.onPic i {
	position: absolute;
	right: -1px;
	bottom: -1px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #c9a227;
	border: 2px solid var(--box-bg);
}
.onNow .onPic i {
	background: var(--good);
	box-shadow: 0 0 6px var(--good);
}
.onIdle td {
	color: var(--text-muted);
}
.onHere {
	color: var(--link) !important;
	font-weight: bold;
}
.onMoney,
.onAgo {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.onAct {
	width: 20px;
	text-align: right;
}
.onEmpty {
	text-align: center;
	color: var(--text-muted);
	padding: 18px !important;
}
@media (max-width: 600px) {
	.onTable th,
	.onTable td {
		padding: 7px 5px;
	}
	.onTable th {
		letter-spacing: 0;
	}
}
.mlBar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.mlBar .bmTabs {
	margin-bottom: 0;
}
.mlRange,
.mlId {
	color: var(--text-muted);
	font-size: 10px;
}
.mlNewest {
	font-size: 14px !important;
	line-height: 24px;
}
.mlMoney {
	font-variant-numeric: tabular-nums;
}
.mlState {
	font-size: 11px;
}
.onNow .mlState {
	color: var(--good);
}
.onAway .onPic i {
	background: #c9a227;
}
.onOff .onPic i {
	background: var(--bad);
}
.onGone .onPic i {
	background: #555;
}
.onGone td {
	color: var(--text-muted);
}
.pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 16px 0 8px;
}
.pgBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	box-sizing: border-box;
	border: 1px solid var(--input-border);
	border-radius: 99px;
	background: var(--box-bg);
	color: var(--text-muted);
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}
a.pgBtn:hover,
a.pgBtn:focus-visible {
	border-color: var(--link);
	background: color-mix(in srgb, var(--link) 16%, var(--box-bg));
	color: var(--text);
}
a.pgBtn:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: 2px;
}
.pgNow {
	border-color: var(--link);
	background: var(--link);
	color: var(--page-bg);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 25%, transparent);
}
.pgStep {
	color: var(--text);
	font-size: 20px;
	font-weight: 400;
}
.pgOff {
	opacity: .35;
	cursor: default;
}
.pgGap {
	min-width: 14px;
	color: var(--text-muted);
	text-align: center;
}
.pgOf {
	flex-basis: 100%;
	color: var(--text-muted);
	font-size: 11px;
	text-align: center;
}
.logRows {
	margin: 6px 0 10px;
	color: var(--text-muted);
	font-size: 12px;
	text-align: center;
}
.logRows select {
	margin-left: 4px;
	padding: 3px 6px;
	border: 1px solid var(--input-border);
	border-radius: 4px;
	background: var(--box-bg);
	color: var(--text);
}
@media (max-width: 700px) {
	.pager {
		gap: 4px;
	}
	.pgBtn {
		height: 40px;
		padding: 0 8px;
	}
}
.othHero {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin: 14px 0 6px;
	padding: 14px 16px;
	background: linear-gradient(120deg, var(--box-bg), var(--panel-stripe));
	border: 1px solid var(--table-border);
	border-left: 3px solid var(--link);
	border-radius: 6px;
}
.othHero > div:first-child {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.othHero > div:first-child b {
	font-size: 14px;
}
.othHero > div:first-child span,
.othClock span {
	color: var(--text-muted);
}
.othClock {
	flex: 1 1 160px;
	max-width: 220px;
	margin: 0 auto;
	text-align: center;
}
.othClock span {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.othClock b {
	display: block;
	font-size: 26px;
	font-variant-numeric: tabular-nums;
	color: var(--link);
}
.othBar {
	height: 5px;
	margin-top: 4px;
	background: var(--input-bg);
	border-radius: 3px;
	overflow: hidden;
}
.othBar i {
	display: block;
	height: 100%;
	background: var(--link);
}
.othGrid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	container-type: inline-size;
}
.othCard {
	flex: 1 1 calc(50% - 5px);
	min-width: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-top: 2px solid var(--link);
	border-radius: 6px;
}
.othHead {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--table-border);
}
.othHead b {
	font-size: 12px;
}
.othRow {
	display: flex;
	align-items: center;
	gap: 8px;
}
.othPos {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--input-bg);
	color: var(--text-muted);
	font: bold 10px/20px Verdana, Tahoma, Arial, sans-serif;
	text-align: center;
}
.othTop .othPos {
	background: var(--link);
	color: #111;
}
.othWho {
	flex: 1;
	min-width: 0;
	margin: -12px 0;
	padding: 12px 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.othRow .othWho:not(:has(> .mlId)) {
	display: flex;
	align-items: center;
	gap: 3px;
}
.othRow .othWho:not(:has(> .mlId)) > * {
	flex: 0 1 auto;
	min-width: 0;
	margin-right: -4px;
	padding-right: 4px;
	overflow: hidden;
	text-overflow: clip;
}
.othRow .othWho:not(:has(> .mlId)) > a:first-child[href*="/gang/"],
.othRow .othWho:not(:has(> .mlId)) > .passBadgeBox,
.othRow .othWho:not(:has(> .mlId)) > .othBadgeLink {
	flex: none;
}
.othAmt {
	font-weight: bold;
	font-variant-numeric: tabular-nums;
}
.othTop .othAmt {
	color: var(--link);
}
.othAmtSm {
	flex: none;
	color: var(--text-muted);
	font-size: 10px;
}
.othResults {
	table-layout: fixed;
	width: 100%;
}
.othResults th:first-child {
	width: 64px;
}
.othResults td,
.othResults th {
	overflow: hidden;
}
.othResults .othBadgeLink {
	display: none;
}
.othEmpty {
	padding: 8px 0;
	color: var(--text-muted);
	text-align: center;
}
.othMine {
	margin-top: auto;
	padding-top: 6px;
	border-top: 1px dashed var(--table-border);
	color: var(--text-muted);
	font-size: 10px;
}
.othHour {
	white-space: nowrap;
	font-weight: bold;
}
.onTable td.othCell,
.onTable td.othHour {
	vertical-align: top;
}
.othCell .othRow + .othRow {
	margin-top: 3px;
}
.othCell .othPos {
	width: 16px;
	height: 16px;
	line-height: 16px;
	font-size: 9px;
}
.onTable th img {
	width: 14px;
	height: 14px;
	vertical-align: -3px;
}
.othHero ~ .hofHeading {
	margin: 18px 0 8px;
}
.jbTracks,
.jbLadder {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}
.jbTrack,
.jbJob {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-top: 2px solid var(--link);
	border-radius: 6px;
}
.jbTrack > b {
	font-size: 14px;
}
.jbTrack ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: jb;
}
.jbTrack li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 5px 0;
	border-bottom: 1px solid var(--table-border);
}
.jbTrack li em {
	color: var(--good);
	font-style: normal;
}
.jbTrack li span {
	display: flex;
	align-items: center;
	gap: 6px;
}
.jobIcon {
	flex: none;
}
.jbTrack .button {
	margin-top: auto;
	align-self: flex-start;
}
.jbHero {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin: 14px 0 6px;
	padding: 14px 16px;
	background: linear-gradient(120deg, var(--box-bg), var(--panel-stripe));
	border: 1px solid var(--table-border);
	border-left: 3px solid var(--link);
	border-radius: 6px;
}
.jbNow {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.jbNow span,
.jbWait {
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.jbNow b {
	font-size: 20px;
}
.jbNow em {
	color: var(--text-muted);
	font-style: normal;
}
.jbClock {
	flex: 0 1 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
}
.jbClock b {
	font-size: 18px;
	color: var(--link);
}
.jbClockBtn {
	padding: 8px 26px !important;
	font-size: 14px !important;
}
.jbClock form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}
.jbPick {
	flex-basis: 100%;
	color: var(--text-muted);
	font-size: 12px;
}
.jbPick ~ .jbClockBtn {
	flex: 0 1 auto;
	padding: 8px 10px !important;
	white-space: nowrap;
}
.jbPref {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 16px;
}
.jbPrefBtn {
	padding: 3px 10px;
	border: 1px solid var(--table-border);
	border-radius: 12px;
	background: var(--input-bg);
	color: var(--text);
	font: inherit;
	font-size: 11px;
	cursor: pointer;
}
.jbPrefBtn.jbSaved {
	border-color: var(--link);
	color: var(--link);
	font-weight: bold;
}
.jbClockBtn.jbSaved {
	box-shadow: 0 0 0 2px var(--link);
}
.jbNote {
	margin: 0 0 16px;
}
.jbHead {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--table-border);
}
.jbHead b {
	flex: 1;
	font-size: 13px;
}
.jbLabel {
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.jbGains {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.jbGains li {
	padding: 2px 6px;
	background: var(--input-bg);
	border-radius: 3px;
	color: var(--good);
	font-size: 11px;
}
.jbGains .jbPay {
	color: var(--link);
	font-weight: bold;
}
.jbReqs {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.jbReqs li {
	position: relative;
	display: flex;
	justify-content: space-between;
	padding-bottom: 5px;
	font-size: 11px;
}
.jbReqs li::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--input-bg);
	border-radius: 2px;
}
.jbReqs i {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	height: 3px;
	border-radius: 2px;
	background: var(--bad);
}
.jbMet i {
	background: var(--good);
}
.jbMet b {
	color: var(--good);
}
.jbMiss b {
	color: var(--bad);
}
.jbAct {
	margin-top: auto;
	padding-top: 4px;
}
.jbMine {
	border-color: var(--link);
	box-shadow: 0 0 0 1px var(--link);
}
.jbLocked {
	border-top-color: var(--input-border);
}
.jbLocked .jbHead b {
	color: var(--text-muted);
}
.jbNext {
	color: var(--good) !important;
}
.jbToday {
	margin: 0 0 16px;
	padding: 12px 14px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
}
.jbTodayHead {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 10px;
	margin-bottom: 10px;
}
.jbTodayHead b {
	font-size: 14px;
}
.jbSlots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.jbSlots li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
	background: var(--input-bg);
	border: 1px solid var(--table-border);
	border-radius: 5px;
	font-size: 11px;
}
.jbSlots li span {
	color: var(--text-muted);
}
.jbSlots li em {
	color: var(--good);
	font-style: normal;
	font-weight: bold;
}
.jbSlots li i {
	font-style: normal;
	font-weight: bold;
}
.jbSlots .jbSlotDone {
	border-color: var(--good);
}
.jbSlots .jbSlotDone i {
	color: var(--good);
}
.jbSlots .jbSlotNext {
	border-color: var(--link);
	box-shadow: 0 0 0 1px var(--link);
}
.jbSlots .jbSlotNext i {
	color: var(--link);
}
.jbSlots .jbSlotMiss {
	opacity: .7;
}
.jbSlots .jbSlotMiss i {
	color: var(--bad);
}
.jbAdvice {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.5;
}
.jbShifts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}
.jbDay {
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-left: 3px solid var(--input-border);
	border-radius: 6px;
}
.jbDayFull {
	border-left-color: var(--good);
}
.jbDayShort {
	border-left-color: var(--bad);
}
.jbDayHead {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 12px;
	border-bottom: 1px solid var(--table-border);
	font-size: 12px;
}
.jbDayHead span {
	color: var(--text-muted);
}
.jbDayFull .jbDayHead span {
	color: var(--good);
}
.jbDayShort .jbDayHead span {
	color: var(--bad);
}
.jbDay ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.jbDay li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 12px;
	font-size: 12px;
}
.jbDay li + li {
	border-top: 1px dashed var(--table-border);
}
.jbDay li div {
	flex: 1;
	min-width: 0;
}
.jbDay li em {
	margin-left: 4px;
	padding: 1px 6px;
	background: var(--input-bg);
	border-radius: 3px;
	color: var(--text-muted);
	font-size: 10px;
	font-style: normal;
}
.jbDay li em.jbTagGood {
	color: var(--good);
}
.jbDay li em.jbTagBad {
	color: var(--bad);
}
.jbDay li .bmSub {
	display: block;
	margin-top: 2px;
}
.jbShiftTime {
	flex: none;
	width: 40px;
	font-weight: bold;
	font-variant-numeric: tabular-nums;
}
.jbShiftPay {
	flex: none;
	color: var(--good);
	font-weight: bold;
	font-variant-numeric: tabular-nums;
}
.jbNextOne {
	grid-template-columns: minmax(200px, 360px);
}
.jbAll {
	margin-bottom: 14px;
}
.jbAll summary {
	margin-bottom: 10px;
	color: var(--link);
	font-weight: bold;
	cursor: pointer;
}
@media (max-width: 500px) {
	.jbSlots {
		gap: 5px;
	}
	.jbSlots li {
		padding: 6px;
	}
}
.jbSwitch {
	text-align: center;
	font-size: 11px;
}
.jbConfirm {
	max-width: 420px;
	margin: 20px auto;
	padding: 16px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
	text-align: center;
}
.msgBox {
	position: relative;
	margin: 0 0 12px;
	padding: 9px 12px 9px 36px;
	border: 1px solid;
	border-left-width: 4px;
	border-radius: 4px;
	text-align: left;
	line-height: 1.5;
}
.msgBox::before {
	position: absolute;
	left: 10px;
	top: 9px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	color: #111;
	font: bold 11px/16px Verdana, Tahoma, Arial, sans-serif;
	text-align: center;
}
.msgSuccess {
	background: rgba(51, 221, 51, .1);
	border-color: var(--good);
}
.msgSuccess::before {
	content: "\2713";
	background: var(--good);
}
.msgSuccess {
	--msg-icon: "\2713";
	--msg-icon-bg: var(--good);
}
.msgError {
	background: rgba(255, 59, 59, .1);
	border-color: var(--bad);
}
.msgError::before {
	content: "!";
	background: var(--bad);
}
.msgError {
	--msg-icon: "!";
	--msg-icon-bg: var(--bad);
}
.msgWarning {
	background: rgba(240, 163, 10, .1);
	border-color: var(--link);
}
.msgWarning::before {
	content: "!";
	background: var(--link);
}
.msgWarning {
	--msg-icon: "!";
	--msg-icon-bg: var(--link);
}
.msgInfo {
	background: rgba(90, 160, 255, .1);
	border-color: #5aa0ff;
}
.msgInfo::before {
	content: "i";
	background: #5aa0ff;
	font-style: italic;
	font-family: Georgia, serif;
}
.msgInfo {
	--msg-icon: "i";
	--msg-icon-bg: #5aa0ff;
	--msg-icon-style: italic;
	--msg-icon-family: Georgia, serif;
}
#flash {
	margin-top: 10px;
}
.msnTabs {
	margin-top: 12px;
}
.msnHero {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 6px;
	padding: 14px 16px;
	background: linear-gradient(120deg, var(--box-bg), var(--panel-stripe));
	border: 1px solid var(--table-border);
	border-left: 3px solid var(--link);
	border-radius: 6px;
}
.msnInfo {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.msnInfo > span,
.msnSide > span {
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.msnInfo > b {
	font-size: 16px;
}
.msnInfo em {
	color: var(--text-muted);
	font-style: normal;
}
.msnRules {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--text-muted);
}
.msnRules b {
	color: var(--text);
}
.msnSide {
	flex: 0 1 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 0 auto;
	text-align: center;
}
.msnSide b {
	font-size: 16px;
	color: var(--link);
}
.msnOthChange {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin-top: 6px;
}
.msnOthChange small {
	color: var(--text-muted);
}
.msnOthChange small b {
	font-size: inherit;
}
.msnStart {
	padding: 8px 26px !important;
	font-size: 14px !important;
}
.msnConfirm {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 6px;
}
.msnHero ~ .hofHeading {
	margin: 18px 0 8px;
}
.msnBox {
	margin: 18px 0 0;
}
.msnBox .msnBoxHead {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	cursor: pointer;
	user-select: none;
}
.msnBoxHead::before {
	content: '';
	flex: none;
	width: 6px;
	height: 6px;
	margin: 0 3px 3px 1px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.msnShut .msnBoxHead::before {
	margin-bottom: 0;
	transform: rotate(-45deg);
}
.msnShut .msnBoxBody {
	display: none;
}
.msnGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 10px;
}
.msnCard {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-top: 2px solid var(--input-border);
	border-radius: 6px;
}
a.msnCard,
a.msnCard:link,
a.msnCard:visited {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
a.msnCard:hover,
a.msnCard:focus-visible {
	border-color: var(--link-hover);
}
a.msnCard:hover .msnHead b,
a.msnCard:focus-visible .msnHead b {
	text-decoration: underline;
}
.msnCard:target {
	scroll-margin-top: 80px;
	animation: achLinked 1.2s ease-in-out 4;
	border-color: var(--link-hover);
}
@keyframes achLinked {
	0%,
	100% {
		box-shadow: 0 0 0 0 transparent;
	}
	50% {
		box-shadow: 0 0 0 3px var(--link-hover), 0 0 14px var(--link-hover);
	}
}
.msnHead {
	display: flex;
	align-items: center;
	gap: 6px;
}
.msnHead b {
	flex: 1;
	font-size: 13px;
}
.msnReward {
	color: var(--link);
	font-weight: bold;
}
.msnProg {
	margin-top: auto;
	font-size: 11px;
	color: var(--text-muted);
}
.msnDone {
	border-top-color: var(--good);
}
.msnDone .msnProg {
	color: var(--good);
}
.msnDone .othBar i {
	background: var(--good);
}
.msnTick {
	color: var(--good);
	font-weight: bold;
}
.msnFinal {
	border-top-color: var(--link);
	background: linear-gradient(160deg, var(--box-bg), rgba(240, 163, 10, .08));
}
.msnBonus {
	border-top-color: var(--good);
	border-style: dashed;
	border-top-style: solid;
}
.msnChoice form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}
.msnBest {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	counter-reset: msnBest;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
}
.msnBest li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 12px;
	border-bottom: 1px solid var(--table-border);
	counter-increment: msnBest;
}
.msnBest li::before {
	content: counter(msnBest);
	width: 18px;
	color: var(--text-muted);
	font-weight: bold;
}
.msnBest li:last-child {
	border-bottom: 0;
}
.msnBest li span {
	flex: 1;
	min-width: 0;
}
.msnBest li b {
	color: var(--link);
}
.msnBest .msnBestMine {
	background: var(--panel-stripe);
}
.msnLog {
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
}
.msnLogRow {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 12px;
	border-bottom: 1px solid var(--table-border);
}
.msnLogRow:last-child {
	border-bottom: 0;
}
.msnLogRow em {
	flex: none;
	color: var(--text-muted);
	font-style: normal;
	font-size: 10px;
}
.slotWrap {
	max-width: 520px;
	margin: 14px auto 0;
}
.slotStats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}
.slotStats div {
	padding: 10px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
	text-align: center;
}
.slotStats b {
	display: block;
	font-size: 20px;
}
.slotStats span {
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.slotMachine {
	margin-bottom: 12px;
	padding: 18px;
	background: linear-gradient(180deg, #3a2a10, #1c1408);
	border: 3px solid var(--link);
	border-radius: 14px;
	box-shadow: inset 0 0 24px rgba(0, 0, 0, .6), 0 0 18px rgba(240, 163, 10, .15);
}
.slotReels {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.slotReel {
	height: 96px;
	overflow: hidden;
	background: linear-gradient(180deg, #d8d8d8, #fff 30%, #fff 70%, #c8c8c8);
	border: 2px solid #111;
	border-radius: 8px;
	box-shadow: inset 0 6px 10px rgba(0, 0, 0, .35), inset 0 -6px 10px rgba(0, 0, 0, .35);
	text-align: center;
}
.slotReel span {
	display: block;
	color: #c21a1a;
	font: bold 52px/96px Georgia, serif;
}
.slotWin .slotReel span,
.slotLose .slotReel span {
	animation: slotSpin .6s ease-out both;
}
@keyframes slotSpin {
	0% {
		transform: translateY(-220%);
		filter: blur(3px);
	}
	70% {
		transform: translateY(8%);
		filter: blur(0);
	}
	100% {
		transform: translateY(0);
	}
}
.slotResult {
	margin-top: 14px;
	text-align: center;
}
.slotResult b {
	display: block;
	font-size: 26px;
}
.slotWin .slotResult b {
	color: var(--good);
	text-shadow: 0 0 10px rgba(51, 221, 51, .4);
}
.slotLose .slotResult b {
	color: var(--bad);
}
.slotResult span {
	color: #e8d9b8;
}
.slotForm {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
}
.slotForm label {
	display: grid;
	grid-template-columns: 110px 1fr auto;
	align-items: center;
	gap: 8px;
}
.slotForm label span {
	color: var(--text-muted);
}
.slotForm input[type=text] {
	width: 100%;
	box-sizing: border-box;
	padding: 6px 8px;
	font-size: 14px;
}
.slotQuick {
	padding: 5px 10px;
	background: var(--button-bg);
	color: var(--button-text);
	border: 1px solid var(--button-border);
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
}
.slotCost {
	text-align: right;
	color: var(--text-muted);
}
.slotCost b {
	color: var(--link);
	font-size: 14px;
}
.slotSpin {
	padding: 10px !important;
	font-size: 16px !important;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.gangBanner {
	margin: 12px 0 14px;
	text-align: center;
}
.gangBanner img {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--table-border);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}
.chHead {
	margin: 18px 0 8px;
	font-size: 13px;
}
.chProg {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
}
.chProg small {
	color: var(--text-muted);
}
.chForm {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
}
.chForm input[type="text"] {
	flex: 1 1 100px;
	min-width: 0;
}
.chStart {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
}
.chStart label {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 11px;
	color: var(--text-muted);
}
.chBackers {
	width: 100%;
	margin-top: 6px;
}
.chBackers small {
	color: var(--text-muted);
}
.imgHeld {
	display: inline-block;
	padding: 6px 10px;
	border: 1px dashed var(--notify);
	color: var(--notify);
	font-size: 8pt;
}
.imgReviews {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}
.imgReview {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 8px;
	background: var(--box-bg);
	border-radius: 4px;
}
.imgReview img {
	max-width: 100%;
	max-height: 260px;
	object-fit: contain;
}
.balWrap {
	overflow-x: auto;
	margin-bottom: 14px;
}
.balTable {
	width: 100%;
	border-collapse: collapse;
	font-size: 8pt;
}
.balTable th {
	padding: 4px 6px;
	background: var(--box-bg);
	text-align: right;
	white-space: nowrap;
}
.balTable th:first-child {
	text-align: left;
}
.balTable td {
	padding: 3px 6px;
	border-top: 1px solid var(--box-bg);
}
.balTable td.n {
	text-align: right;
	white-space: nowrap;
}
.balTable .balTotal td {
	font-weight: 700;
}
.balHigh,
.balTable tr.balHigh td {
	color: var(--notify);
	font-weight: 700;
}
.balLow,
.balTable tr.balLow td {
	opacity: 0.5;
}
.balNote {
	font-size: 8pt;
	opacity: 0.8;
}
.npcSig {
	text-align: center;
}
.npcSig img {
	max-width: 100%;
	height: auto;
}
.itemModalOpen {
	overflow: hidden;
}
.itemModal {
	position: fixed;
	inset: 0;
	height: 100dvh;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.6);
}
.itemModalCard {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 18px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 8px;
	color: var(--text);
	font-size: 10pt;
	font-family: Verdana, Tahoma, Arial, sans-serif;
	text-align: left;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.itemModalCard:focus {
	outline: none;
}
.itemModalX {
	position: sticky;
	top: -12px;
	z-index: 2;
	float: right;
	margin: -12px -10px 0 6px;
	padding: 2px 8px;
	background: var(--box-bg);
	border: 0;
	border-radius: 6px;
	color: var(--text-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.confirmTitle {
	margin: 0 0 10px;
	font-size: 13pt;
}
.confirmText {
	margin: 0 0 6px;
	font-weight: 700;
}
.confirmNote {
	margin: 0 0 6px;
	color: var(--text-muted);
}
.confirmShort {
	margin: 0 0 6px;
	color: var(--bad);
	font-weight: 700;
}
.confirmActions .button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.confirmActions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 14px;
}
.itemModalX:hover {
	color: var(--text);
}
.imgModalCard {
	width: auto;
	max-width: calc(100vw - 32px);
	padding: 36px 12px 12px;
	text-align: center;
}
.imgModalImg {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 82px);
	max-height: calc(100dvh - 82px);
	margin: 0 auto;
}
.itemModalHead {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding-right: 20px;
}
.itemModalHead img {
	flex: none;
	border-radius: 6px;
	background: var(--table-row-bg);
}
.itemModalHead h3 {
	margin: 0 0 6px;
	font-size: 16px;
	color: var(--title-text);
}
.itemModalHead p {
	margin: 0;
	line-height: 1.4;
}
.gymRoundTitle {
	margin: 0 0 10px;
	padding-right: 24px;
	font-size: 16px;
	color: var(--title-text);
}
.gymRoundHelp {
	margin: 0 0 12px;
	line-height: 1.4;
}
.gymRoundStat {
	padding: 10px 0;
	border-top: 1px solid var(--table-border);
}
.gymRoundHead {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
}
.gymRoundBtns {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.gymRoundBtns button {
	margin: 0;
}
.gymRoundNone {
	margin: 0;
	color: var(--text-muted);
}
.headQuick {
	display: inline;
	margin: 0;
}
.headQuickBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin: 0 0 0 4px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--link);
	border-radius: 4px;
	color: var(--link);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
	cursor: pointer;
}
.headQuickBtn:hover {
	background: var(--link);
	color: var(--page-bg);
}
.headDepBtn {
	padding: 0;
	margin: 0;
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	pointer-events: none;
}
.headQuickBusy .headDepBtn {
	opacity: 0.5;
}
.headQuickBusy .headQuickBtn {
	opacity: 0.5;
	pointer-events: none;
}
a.headQuickCog {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-left: 2px;
	color: var(--text-muted);
	vertical-align: middle;
}
a.headQuickCog:hover {
	color: var(--link);
}
.headQuickCog .bankSvg {
	width: 13px;
	height: 13px;
}
.bankMuted {
	color: var(--text-muted);
	font-size: 8.5pt;
}
.bankChip {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 5px 11px;
	background: var(--panel-stripe);
	border: 1px solid var(--input-border);
	border-radius: 999px;
	color: var(--link);
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
}
button.bankChip:hover {
	background: var(--panel-stripe);
	border-color: var(--link);
}
.bankChipStatic {
	color: var(--text-muted);
	cursor: default;
}
.bankGroup {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background: var(--input-bg);
	border: 1px solid var(--input-border);
	border-radius: 8px;
}
.bankGroup:focus-within {
	border-color: var(--link);
}
.bankPre {
	display: flex;
	align-items: center;
	padding: 0 4px 0 12px;
	color: var(--text-muted);
	font-weight: 700;
}
.bankGroup .bankInput,
.bankGroup .bankInput:focus {
	flex: 1;
	min-width: 0;
	margin: 0;
	height: auto;
	padding: 9px 8px;
	background: transparent;
	line-height: 1.3;
	border: 0;
	border-radius: 0;
	outline: none;
	color: var(--input-text);
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}
.bankGo {
	margin: 0;
	padding: 0 18px;
	background: var(--link);
	border: 0;
	color: var(--page-bg);
	font-weight: 700;
	cursor: pointer;
}
.bankGo:hover {
	background: var(--link-hover);
}
.bankLink {
	align-self: flex-start;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: var(--link);
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}
.bankLink:hover {
	background: none;
	color: var(--link-hover);
}
.bankSetTitle {
	margin: 0 0 12px;
	padding-right: 24px;
	font-size: 16px;
	color: var(--title-text);
}
.bankSetForm {
	margin: 0 0 12px;
}
.bankSetList {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bankSetList li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	border-bottom: 1px solid var(--table-border);
}
.bankSetFull {
	flex: 1;
	font-variant-numeric: tabular-nums;
}
.bankSetRemove {
	margin: 0;
	font-size: 11px;
}
.bankSetLabel {
	display: block;
	margin: 4px 0 6px;
	font-weight: 700;
}
.bankSetHelp {
	margin: 0 0 6px;
}
.bankSetDoneRow {
	text-align: right;
}
.bankSetDone {
	display: inline-block;
	margin: 0;
	padding: 5px 18px;
}
.bankBusy button,
.bankBusy .button {
	pointer-events: none;
	opacity: 0.7;
}
.itemModalFacts {
	width: 100%;
	margin: 14px 0 0;
	border-collapse: collapse;
}
.itemModalFacts th,
.itemModalFacts td {
	padding: 6px 4px;
	border-top: 1px solid var(--table-border);
	text-align: left;
	vertical-align: top;
}
.itemModalFacts th {
	width: 40%;
	color: var(--text-muted);
	font-weight: normal;
}
.itemModalFacts small {
	color: var(--text-muted);
}
.itemModalShop {
	margin-top: 14px;
	padding: 10px 12px;
	background: var(--table-row-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
}
.itemModalShop small {
	color: var(--text-muted);
}
.itemModalPack {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 8px;
}
.itemModalPack form {
	margin: 0;
}
.itemModalLinks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.itemModalLinks a {
	padding: 6px 12px;
	background: var(--button-bg);
	border: 1px solid var(--button-border);
	border-radius: 4px;
	color: var(--button-text);
	font-weight: bold;
}
.itemModalEmpty {
	margin: 20px 0;
	text-align: center;
}
.itemModalNote {
	margin: 14px 0 0;
	line-height: 1.4;
}
.itemModalPerks {
	margin: 8px 0 0;
	padding-left: 18px;
	line-height: 1.4;
}
.itemModalPerks li {
	margin-bottom: 4px;
}
.donateInfo .itemLink,
.donateInfo .infoLink {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 4px;
	border: 1px solid var(--button-border);
	border-radius: 50%;
	background: var(--button-bg);
	color: var(--button-text);
	font: bold italic 11px/16px Georgia, serif;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
}
#crimePage,
#prisonPage,
#petPoundPage {
	--ly-room: var(--ly-room-w, 0px);
}
@media (max-width: 1099px) {
	#crimePage,
	#prisonPage,
	#petPoundPage {
		--ly-room: var(--ly-room-d, 0px);
	}
}
@media (max-width: 899px) {
	#crimePage,
	#prisonPage,
	#petPoundPage {
		--ly-room: var(--ly-room-m, 0px);
	}
}
@media (max-width: 700px) {
	#crimePage,
	#prisonPage,
	#petPoundPage {
		--ly-room: var(--ly-room-q, 0px);
	}
}
@media (max-width: 479px) {
	#crimePage,
	#prisonPage,
	#petPoundPage {
		--ly-room: var(--ly-room-p, 0px);
	}
}
@media (max-width: 399px) {
	#crimePage,
	#prisonPage,
	#petPoundPage {
		--ly-room: var(--ly-room-x, 0px);
	}
}
#crimeMsg {
	min-height: max(44px, var(--ly-room, 0px));
}
#crimeMsg > .msgBox {
	margin-bottom: 0;
}
#crimePage.crimeTap #crimeMsg {
	min-height: max(64px, var(--ly-room, 0px));
}
@media (max-width: 700px) {
	#crimeMsg,
	#crimePage.crimeTap #crimeMsg {
		min-height: max(80px, var(--ly-room, 0px));
	}
}
@media (min-width: 701px) and (max-width: 899px) {
	#prisonMsg,
	#petPoundMsg,
	#crimeMsg,
	#crimePage.crimeTap #crimeMsg {
		min-height: max(60px, var(--ly-room, 0px));
	}
	.msgBox .prisonActions.prisonInline {
		display: flex;
		margin: -1px 0 -2px;
	}
}
#crimePage.crimeTap .crime input[type=button] {
	min-height: 44px;
	min-width: 110px;
	touch-action: manipulation;
}
#crimePage.crimeTap .crime input[type=button]:disabled {
	opacity: .4;
}
.autoStatus {
	text-align: center;
	color: var(--text-muted);
	font-size: 11px;
}
.autoPanel {
	margin: 0 0 16px;
	padding: 10px 14px;
	background-color: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-radius: 5px;
	line-height: 2;
}
.autoPanel h3 {
	margin: 0;
}
.msnScale {
	text-align: center;
	color: var(--text-muted);
	margin: 8px 0;
}
.donatePointsNote {
	text-align: center;
	font-size: 0.9em;
	color: var(--text-muted);
	padding: 6px 8px;
}
.ctEditor.sceditor-container {
	z-index: auto;
	max-width: 100%;
	box-sizing: border-box;
	background: var(--input-bg);
	border: 1px solid var(--input-border);
	border-radius: 3px;
	color: var(--text);
	font-family: Verdana, Tahoma, Arial, sans-serif;
	font-weight: 400;
	text-align: left;
}
.chatForm .ctEditor.sceditor-container {
	margin-top: 4px;
}
.ctEditor div.sceditor-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 4px;
	padding: 3px 4px;
	background: var(--table-head-bg);
	border-bottom: 1px solid var(--input-border);
	border-radius: 3px 3px 0 0;
	overflow: visible;
}
.ctEditor div.sceditor-group {
	display: flex;
	gap: 1px;
	margin: 0;
	padding: 0 4px 0 0;
	background: none;
	border: 0;
	border-right: 1px solid var(--input-border);
	border-radius: 0;
}
.ctEditor div.sceditor-group:last-child {
	border-right: 0;
}
.ctEditor.ctCompact div.sceditor-group:not(:first-child) {
	display: none;
}
.ctEditor.ctCompact.ctOpen div.sceditor-group {
	display: flex;
}
.ctEditor .sceditor-button,
.ctEditor .sceditor-button:hover,
.ctEditor .sceditor-button.active,
.ctEditor .sceditor-button.disabled:hover {
	float: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 3px;
	background: none;
	box-shadow: none;
}
.ctEditor .sceditor-button:hover,
.ctEditor .sceditor-button.active {
	background: var(--menu-hover-bg);
	border-color: var(--input-border);
}
.ctEditor .sceditor-button div,
.ctEditor div.sceditor-grip {
	background-image: none;
}
.ctEditor .sceditor-button svg,
.ctEditor div.sceditor-grip svg {
	fill: var(--text);
}
.ctEditor .sceditor-button.active svg,
.ctEditor.ctOpen .sceditor-button-ctmore svg {
	fill: var(--link);
}
.ctEditor.sceditor-container iframe,
.ctEditor.sceditor-container textarea {
	background: var(--input-bg);
	color: var(--input-text);
}
.ctEditor.sceditor-container textarea {
	margin: 0;
	padding: 5px;
	font-family: Consolas, "DejaVu Sans Mono", monospace;
	font-size: 12px;
}
.ctEditor.ctUploading iframe {
	opacity: 0.7;
	cursor: progress;
}
.ctEditor div.sceditor-dropdown {
	max-width: min(320px, calc(100vw - 40px));
	padding: 8px;
	background: var(--table-row-bg);
	border: 1px solid var(--input-border);
	border-radius: 4px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
	color: var(--text);
	font-size: 12px;
}
.ctEditor div.sceditor-dropdown label {
	color: var(--text);
	padding: 0;
}
.ctEditor div.sceditor-dropdown input {
	margin: 0;
	background: var(--input-bg);
	color: var(--input-text);
	border: 1px solid var(--input-border);
}
.ctEditor div.sceditor-dropdown a,
.ctEditor div.sceditor-dropdown a:link {
	color: var(--link);
}
.ctEditor div.sceditor-dropdown a:hover {
	background: var(--menu-hover-bg);
}
.ctEditor div.sceditor-dropdown .button {
	margin: 2px 0 0;
	padding: 4px 10px;
	background: var(--button-bg);
	color: var(--button-text);
	border: 1px solid var(--button-border);
}
.ctEditor div.sceditor-ctemoji {
	box-sizing: border-box;
	max-width: none;
	padding: 0;
	overflow: hidden;
	z-index: 4000;
}
.ctEmojiPick {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}
.ctEmojiTabs {
	display: flex;
	flex: none;
	border-bottom: 1px solid var(--input-border);
	background: var(--table-head-bg);
}
.ctEmojiPick .ctEmojiTab {
	flex: 1 1 0;
	min-width: 0;
	height: 36px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
}
.ctEmojiPick .ctEmojiTab:hover,
.ctEmojiPick .ctEmojiTab.ctOn {
	opacity: 1;
}
.ctEmojiPick .ctEmojiTab.ctOn {
	border-bottom-color: var(--link);
}
.ctEmojiPick .ctEmojiTop {
	display: flex;
	flex: none;
	gap: 6px;
	align-items: center;
	padding: 6px 8px;
}
.ctEmojiPop {
	position: fixed;
	z-index: 4000;
	box-sizing: border-box;
	background: var(--table-row-bg);
	border: 1px solid var(--input-border);
	border-radius: 4px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
	color: var(--text);
	font-size: 12px;
	overflow: hidden;
}
.ctEmojiPop input.ctEmojiFind {
	margin: 0;
	background: var(--input-bg);
	color: var(--input-text);
	border: 1px solid var(--input-border);
}
.ctEmojiPop input.ctEmojiFind,
.ctEditor div.sceditor-dropdown input.ctEmojiFind {
	flex: 1;
	min-width: 0;
	box-sizing: border-box;
	height: 30px;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 14px;
}
.ctEmojiPick .ctEmojiClose {
	flex: none;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	background: none;
	border: 1px solid transparent;
	border-radius: 4px;
	color: var(--text-muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.ctEmojiPick .ctEmojiClose:hover {
	background: var(--menu-hover-bg);
	color: var(--text);
}
.ctEmojiPick .ctEmojiBody {
	position: relative;
	flex: 1;
	min-height: 0;
	padding: 0 8px 8px;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.ctEmojiPick .ctEmojiHead {
	padding: 6px 2px 4px;
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.ctEmojiGrid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 2px;
}
.ctEmojiPick .ctEmojiCell {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 38px;
	margin: 0;
	padding: 0;
	background: none;
	border: 1px solid transparent;
	border-radius: 6px;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.ctEmojiPick .ctEmojiCell img {
	max-width: 30px;
	max-height: 30px;
	object-fit: contain;
}
.ctEmojiPick .ctEmojiCell:hover,
.ctEmojiPick .ctEmojiCell:focus-visible {
	background: color-mix(in srgb, var(--link) 18%, transparent);
	border-color: color-mix(in srgb, var(--link) 50%, transparent);
	outline: none;
}
.ctEmojiPick .ctEmojiNone {
	padding: 16px 4px;
	color: var(--text-muted);
	text-align: center;
}
.ctDrop {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 190px;
}
.ctDrop .ctPick {
	display: block;
	margin: 0;
	padding: 5px 8px;
	background: none;
	border: 1px solid transparent;
	color: var(--text);
	font-weight: 400;
	text-align: left;
}
.ctDrop .ctPick:hover {
	background: var(--menu-hover-bg);
	border-color: var(--input-border);
}
.ctDrop .ctH1 {
	font-size: 2em;
}
.ctDrop .ctH2 {
	font-size: 1.5em;
}
.ctDrop .ctH3 {
	font-size: 1.17em;
}
.ctDrop .ctH5 {
	font-size: 0.83em;
}
.ctDrop .ctH6 {
	font-size: 0.67em;
}
.ctSwatches {
	display: grid;
	grid-template-columns: repeat(6, 28px);
	gap: 4px;
}
.ctDrop .ctSwatch {
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--input-border);
	border-radius: 3px;
}
.ctField {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-weight: 700;
}
.ctField input[type=text],
.ctField input[type=url] {
	width: 100%;
	height: auto;
	padding: 4px;
}
.ctField input[type=color] {
	width: 100%;
	height: 28px;
	padding: 0;
}
.ctDrop .ctCheck {
	display: flex;
	align-items: center;
	gap: 6px;
}
.ctLookupList {
	display: flex;
	flex-direction: column;
	max-height: 160px;
	overflow-y: auto;
	color: var(--text-muted);
}
.ctLookupPreview {
	display: block;
	max-width: 100%;
	height: auto;
}
.ctLookupPreview[hidden] {
	display: none;
}
.ctDropMsg {
	min-height: 1em;
	margin: 0;
	color: var(--bad);
}
.ctDropNote {
	max-width: 220px;
	margin: 0;
	color: var(--text-muted);
}
.ctDrop .ctGcardPick small {
	display: block;
	color: var(--text-muted);
	font-size: 8pt;
}
.ctEdStatus {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin-top: 2px;
	font-size: 8pt;
	color: var(--text-muted);
	text-align: left;
}
.ctEdStatus span:empty {
	display: none;
}
.ctEdCount {
	margin-left: auto;
}
.ctEdBad {
	color: var(--bad);
}
.srchWrap {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 16px;
}
.srchForm {
	flex: 1 1 380px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px 14px;
	padding: 12px;
	background: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-radius: 6px;
}
.srchRow,
.srchSave {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.srchLabel {
	font-weight: 700;
	font-size: 9pt;
	color: var(--text-muted);
}
.srchField {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.srchField input.text,
.srchField select {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}
.srchField input[type="submit"] {
	flex: 0 0 auto;
}
.srchActions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.srchSave {
	grid-column: 1 / -1;
}
.srchSaved {
	flex: 0 1 320px;
	text-align: center;
}
.srchKillBtn {
	margin: 2px 0;
	padding: 3px 12px;
	font-size: 11px;
	line-height: 1.4;
}
@media (max-width: 700px) {
	.srchForm {
		grid-template-columns: 1fr 1fr;
	}
	.srchSaved {
		flex-basis: 100%;
	}
	.srchResults,
	.srchResults tbody {
		display: block;
	}
	.srchResults tr.srchHead {
		display: none;
	}
	.srchResults tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px 10px;
		padding: 8px 4px;
		border-bottom: 1px solid var(--table-border);
	}
	.srchResults td {
		display: block;
		padding: 0;
	}
	.srchResults td:first-child,
	.srchResults td.srchAct {
		grid-column: 1 / -1;
	}
	.srchResults td:first-child {
		font-weight: 700;
	}
	.srchResults td[data-label]::before {
		content: attr(data-label) ": ";
		color: var(--text-muted);
	}
	.srchResults tr.srchKill {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
	.srchResults tr.srchKill td {
		grid-column: auto;
		font-weight: 400;
	}
}
[data-layout-page].lySelf-na [data-self-opt]:not([data-self-opt="na"]),
[data-layout-page].lySelf-bribe [data-self-opt]:not([data-self-opt="bribe"]),
[data-layout-page].lySelf-breakout [data-self-opt]:not([data-self-opt="breakout"]) {
	display: none;
}
.prisonSelf.prisonBusy {
	opacity: .6;
	pointer-events: none;
}
.petPrisonActs button:disabled,
.petPrisonNa {
	opacity: .5;
	cursor: default;
	pointer-events: none;
}
.petPrisonTools {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 6px;
}
.petPrisonNote {
	text-align: center;
	color: var(--text-muted);
	margin-top: 4px;
}
.petPrisonList {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
}
.petPrisonList td {
	padding: 6px 4px;
	vertical-align: middle;
}
.petPrisonRow td {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.petPrisonMine td {
	background: rgba(255, 255, 255, 0.06);
}
.petPrisonTag {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 8px;
	font-size: 10px;
	background: var(--notify);
	color: #000;
	vertical-align: middle;
}
.petPrisonTime,
.petPrisonActs,
.petPrisonEmpty {
	text-align: center;
}
.petPrisonActs button {
	margin: 2px;
}
.staffCtl {
	position: sticky;
	top: 0;
	z-index: 1000;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 12px;
	margin: 0;
	padding: 6px 12px;
	background: var(--bad);
	color: #fff;
	font-size: 13px;
}
.staffCtl input[type=submit] {
	padding: 2px 10px;
}
.admControl {
	display: inline;
	margin: 0;
}
.pnIntro {
	color: var(--text-muted);
}
.pnList {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 12px 0;
}
.pnCard {
	background: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-left: 4px solid var(--panel-border);
	border-radius: 6px;
	padding: 12px 16px;
}
.pnCard.pnFresh {
	border-left-color: var(--link);
}
.pnHead {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 4px 12px;
	margin-bottom: 8px;
}
.pnHead h2 {
	margin: 0;
	font-size: 15px;
}
.pnDate {
	color: var(--text-muted);
	font-size: 12px;
	white-space: nowrap;
}
.pnNew {
	margin-right: 8px;
	color: var(--link);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: .6px;
}
.pnGroup {
	margin: 8px 0 0;
}
.pnGroup ul {
	margin: 6px 0 0;
	padding-left: 20px;
}
.pnGroup li {
	margin: 3px 0;
	line-height: 1.45;
}
.pnKind {
	display: inline-block;
	padding: 1px 9px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
}
.pnKind-new {
	color: var(--good);
}
.pnKind-changed {
	color: var(--link);
}
.pnKind-balance {
	color: var(--link-hover);
}
.pnKind-fixed {
	color: #5fb8c9;
}
.pnKind-removed {
	color: var(--bad);
}
.pnEmpty {
	text-align: center;
	color: var(--text-muted);
}
.pnEdit {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 720px;
}
.pnEdit label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.pnEdit label .pnKind {
	align-self: flex-start;
}
.pnEdit textarea,
.pnEdit input[type=text] {
	width: 100%;
	box-sizing: border-box;
}
.pnHelp {
	margin: 0;
	color: var(--text-muted);
	font-size: 12px;
}
.pnDelete {
	margin: 10px 0;
}
.friendAct {
	display: inline;
	margin: 0;
}
.friendNote {
	color: var(--good);
	font-weight: 700;
	margin-right: 6px;
}
.friendIntro {
	color: var(--text-muted);
}
.friendHead {
	margin: 16px 0 6px;
}
.friendList {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--table-border);
}
.friendRow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	padding: 8px 4px;
	border-bottom: 1px solid var(--table-border);
}
.friendMeta {
	color: var(--text-muted);
	font-size: 12px;
	margin-left: 6px;
}
.friendActs {
	display: flex;
	gap: 6px;
	align-items: center;
}
.friendRank {
	display: inline-block;
	min-width: 22px;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
}
.friendOrder .friendRow[data-id] {
	justify-content: flex-start;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}
.friendOrder .friendWho {
	flex: 1;
	min-width: 0;
}
.friendOrder .friendRow.mePlace {
	border: 1px dashed var(--panel-border);
	background: none;
}
.friendOrder .friendRow.meDragging {
	border: 1px solid var(--panel-border);
	background: var(--table-row-bg);
}
.friendSaved {
	color: var(--good);
	font-size: 12px;
	font-weight: normal;
}
.friendEmpty {
	padding: 10px 4px;
	color: var(--text-muted);
}

.lbIntro {
	max-width: 520px;
	margin: 10px auto 20px;
	padding: 22px 20px;
	border: 1px solid var(--panel-border);
	border-radius: 10px;
	background: var(--box-bg);
	text-align: center;
}
.sdFacts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 14px;
}
.sdFacts div {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px 6px;
	border: 1px solid var(--menu-divider);
	border-radius: 8px;
	background: var(--table-row-bg);
}
.sdFacts b {
	font-size: 17px;
}
.sdFacts span {
	color: var(--text-muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
	text-align: center;
}
.sdCash {
	color: #ffd84a;
}
.sdPoints {
	color: var(--good);
}
.sdItem {
	color: var(--bad);
}
.sdFinds {
	background: var(--table-row-bg);
	border-radius: 4px;
}
.sdFinds h3 {
	margin: 0;
	padding: 9px 12px;
	font-size: 14px;
	color: var(--title-text);
}
.sdFinds > div {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	gap: 4px 12px;
	padding: 10px 12px;
	border-top: 1px solid var(--input-border);
}
.sdFinds span {
	white-space: nowrap;
}
.sdFinds i {
	font-style: normal;
	color: var(--text-muted);
	font-size: 11px;
}
@media (max-width: 600px) {
	.sdFacts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.lbIntro h2 {
	margin: 8px 0 6px;
	font-size: 20px;
	color: var(--title-text);
}
.lbIntro p {
	margin: 0 0 14px;
	color: var(--text-muted);
	line-height: 1.5;
}
.lbCases {
	display: flex;
	justify-content: center;
	gap: 8px;
}
.lbCases span {
	position: relative;
	width: 40px;
	height: 28px;
	margin-top: 6px;
	border-radius: 5px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--link) 85%, #fff) 0%, var(--link) 55%, color-mix(in srgb, var(--link) 70%, #000) 100%);
}
.lbCases span::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 13px;
	width: 14px;
	height: 6px;
	border: 2px solid color-mix(in srgb, var(--link) 70%, #000);
	border-bottom: 0;
	border-radius: 4px 4px 0 0;
}
.lbCases span:nth-child(2) {
	transform: translateY(-4px);
}
.lbFacts {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0 0 16px;
}
.lbFacts div {
	display: flex;
	flex-direction: column;
	min-width: 96px;
	padding: 8px 10px;
	border: 1px solid var(--menu-divider);
	border-radius: 8px;
}
.lbFacts b {
	font-size: 15px;
	color: var(--link);
}
.lbFacts span {
	color: var(--text-muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.lbPlay,
.lbOffer .button {
	display: inline-block;
	padding: 8px 26px;
	border-radius: 6px;
	font-size: 14px;
	text-decoration: none;
}
.lbStatus {
	margin: 4px 0 12px;
	color: var(--text-muted);
	text-align: center;
}
.lbOffer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	max-width: 360px;
	margin: 6px auto 14px;
	padding: 14px;
	border: 1px solid var(--link);
	border-radius: 10px;
	background: color-mix(in srgb, var(--link) 10%, var(--box-bg));
}
.lbOffer > span {
	color: var(--text-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .6px;
}
.lbOffer > b {
	font-size: 26px;
	color: var(--good);
}
.lbOffer div {
	display: flex;
	gap: 10px;
	margin-top: 4px;
}
.lbGame {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) 120px;
	gap: 14px;
	align-items: start;
}
.lbLadder {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lbLadder li {
	padding: 4px 8px;
	border-radius: 4px;
	background: color-mix(in srgb, #3b82f6 22%, var(--box-bg));
	font-size: 12px;
	font-weight: 700;
	text-align: right;
}
.lbHigh li {
	background: color-mix(in srgb, #dc2626 25%, var(--box-bg));
}
.lbLadder li.lbGone {
	background: transparent;
	color: var(--text-muted);
	text-decoration: line-through;
	opacity: .45;
}
.lbBoard {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
}
.lbBox {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	margin-top: 7px;
	padding: 6px 4px;
	border: 1px solid color-mix(in srgb, var(--link) 45%, #000);
	border-radius: 7px;
	background: linear-gradient(180deg, #4a4a4a 0%, #2c2c2c 60%, #222 100%);
	color: var(--text);
	text-decoration: none;
	transition: transform .12s, border-color .12s;
}
.lbBox::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 50%;
	width: 22px;
	height: 7px;
	margin-left: -13px;
	border: 2px solid color-mix(in srgb, var(--link) 45%, #000);
	border-bottom: 0;
	border-radius: 5px 5px 0 0;
}
.lbBox b {
	font-size: 22px;
	line-height: 1.1;
}
.lbBox span {
	min-height: 13px;
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .4px;
}
a.lbBox:hover {
	transform: translateY(-2px);
	border-color: var(--link);
	text-decoration: none;
}
.lbMine {
	border-color: var(--link);
	background: linear-gradient(180deg, color-mix(in srgb, var(--link) 85%, #fff) 0%, var(--link) 55%, color-mix(in srgb, var(--link) 70%, #000) 100%);
	color: #1a1a1a;
	box-shadow: 0 0 12px color-mix(in srgb, var(--link) 45%, transparent);
}
.lbMine::before {
	border-color: var(--link);
}
.lbMine span {
	color: #1a1a1a;
	font-weight: 700;
}
.lbOpen {
	border-style: dashed;
	border-color: var(--menu-divider);
	background: transparent;
}
.lbOpen::before {
	border-color: var(--menu-divider);
	border-style: dashed;
}
.lbOpen b {
	font-size: 13px;
	color: var(--text-muted);
}
.lbReveal {
	margin-bottom: 4px;
}
.lbReveal .lbBox b {
	font-size: 13px;
}
.lbLeft b {
	color: var(--link);
}
@media (max-width: 700px) {
	.lbGame {
		grid-template-columns: 1fr 1fr;
	}
	.lbBoard {
		grid-column: 1 / -1;
		grid-row: 1;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 8px;
	}
	.lbBox {
		min-height: 54px;
	}
	.lbBox b {
		font-size: 18px;
	}
	.lbOpen b {
		font-size: 10px;
		letter-spacing: -.2px;
	}
	.lbReveal .lbBox b {
		font-size: 10px;
		letter-spacing: -.2px;
	}
	.lbBox span {
		font-size: 8px;
		white-space: nowrap;
	}
	.lbLadder {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.lbFacts div {
		min-width: 0;
		flex: 1;
	}
}
.clCard {
	max-width: 460px;
	margin: 10px auto 20px;
	padding: 22px 20px;
	border: 1px solid var(--link);
	border-radius: 10px;
	background: color-mix(in srgb, var(--link) 8%, var(--box-bg));
	text-align: center;
}
.clCard h2 {
	margin: 0 0 14px;
	font-size: 18px;
	color: var(--title-text);
}
.clList {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}
.clList li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px;
	border: 1px solid var(--menu-divider);
	border-radius: 8px;
	background: var(--box-bg);
}
.clList b {
	font-size: 17px;
	color: var(--link);
}
.clList span {
	color: var(--text-muted);
	font-size: 11px;
}
.clCard .clBtn {
	padding: 9px 34px;
	border-radius: 6px;
	font-size: 15px;
}
.clNote {
	margin: 12px 0 0;
	color: var(--text-muted);
	font-size: 12px;
}
.gdIntro {
	margin: 0 0 14px;
	color: var(--text-muted);
	text-align: center;
}
.gdSearch {
	display: block;
	width: 100%;
	max-width: 520px;
	height: 36px;
	margin: 0 auto 18px;
	padding: 0 12px;
	box-sizing: border-box;
	border-radius: 6px;
}
.gdNone {
	color: var(--text-muted);
	text-align: center;
}
.gdSection {
	margin: 0 0 20px;
}
.gdSection h2 {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .7px;
}
.gdCards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}
.gdCard {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	background: var(--box-bg);
	text-decoration: none;
	transition: border-color .15s, transform .15s;
}
.gdCard:hover {
	border-color: var(--link);
	transform: translateY(-1px);
	text-decoration: none;
}
.gdCard b {
	color: var(--link);
	font-size: 14px;
}
.gdCard span {
	color: var(--text-muted);
	font-size: 12px;
	line-height: 1.4;
}
.gdWrap {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}
.gdSide {
	position: sticky;
	top: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	padding: 12px;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	background: var(--box-bg);
	font-size: 12px;
}
.gdHome {
	font-weight: 700;
	font-size: 14px;
}
.gdSideSection {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.gdSideSection span {
	margin-bottom: 2px;
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .6px;
}
.gdSideSection a {
	padding: 3px 6px;
	border-radius: 4px;
	text-decoration: none;
}
.gdSideSection a[aria-current] {
	background: color-mix(in srgb, var(--link) 15%, transparent);
	font-weight: 700;
}
.gdPage {
	min-width: 0;
}
.gdTitle {
	margin: 4px 0 14px;
	font-size: 24px;
	color: var(--title-text);
}
.gdBody {
	line-height: 1.6;
}
.gdBody h2 {
	margin: 22px 0 8px;
	font-size: 17px;
	color: var(--title-text);
}
.gdBody h3 {
	margin: 16px 0 6px;
	font-size: 14px;
}
.gdBody ul {
	padding-left: 20px;
}
.gdBody li {
	margin: 4px 0;
}
.gdLead {
	font-size: 15px;
	color: var(--text);
}
.gdTip {
	padding: 10px 14px;
	border-left: 3px solid var(--link);
	border-radius: 4px;
	background: color-mix(in srgb, var(--link) 8%, var(--box-bg));
}
.gdPager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 28px;
}
.gdPager a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	background: var(--box-bg);
	text-decoration: none;
}
.gdPager a span {
	color: var(--text-muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.gdPager .gdNext {
	text-align: right;
}
@media (max-width: 700px) {
	.gdWrap {
		grid-template-columns: minmax(0, 1fr);
	}
	.gdSide {
		display: none;
	}
	.gdPager {
		grid-template-columns: minmax(0, 1fr);
	}
}
.useAgain {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 12px 0;
}
.useEach {
	margin-top: 6px;
}
.useEach summary {
	cursor: pointer;
}
.useEach ol {
	max-height: 260px;
	overflow-y: auto;
	margin: 6px 0 0;
	padding-left: 28px;
}
.useEach p {
	margin: 4px 0 0;
}
#lbWrap.lbBusy {
	opacity: .7;
	pointer-events: none;
}
#petPrisonWrap.lbBusy {
	opacity: .7;
	pointer-events: none;
}
.storeList {
	border-collapse: collapse;
}
.storeList tr + tr td {
	border-top: 1px solid var(--input-border);
}
.storeList td {
	padding: 6px 4px;
}
.daysRoundRow {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.emojiTable tr.emojiOff img {
	opacity: .4;
}
.emojiLocked {
	color: var(--text-muted);
}
#bsWrap.bsBusy {
	opacity: .6;
	pointer-events: none;
}
.bsIntro {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}
.bsBag {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 10px 0;
}
.bsStat {
	padding: 8px 10px;
	border: 1px solid var(--table-border);
	border-radius: 8px;
	background: var(--box-bg);
}
.bsStat span {
	display: block;
	color: var(--text-muted);
	font-size: 8pt;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.bsStat b {
	font-size: 14pt;
}
.bsStat small {
	display: block;
	color: var(--text-muted);
}
.bsHeat .meter {
	width: 100%;
	margin-top: 8px;
}
.bsHeat .meter span {
	background: var(--bad);
}
.bsItems {
	margin: 0 0 10px;
	color: var(--text-muted);
}
.bsEnc {
	padding: 14px;
	border: 1px solid var(--table-border);
	border-radius: 8px;
	background: var(--box-bg);
	text-align: center;
}
.bsEnc h3 {
	margin: 0 0 6px;
}
.bsChoices,
.bsNext {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}
.bsChoices .button,
.bsNext .button {
	min-width: 150px;
	margin: 0;
}
.bsNext .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 35px;
	box-sizing: border-box;
}
.bsChoice small {
	display: block;
	font-weight: 400;
	color: var(--text-muted);
}
.bsTierRisky {
	border-color: var(--bad);
}
#bsWrap .bsNoEnergy,
#bsWrap .bsNoEnergy:hover {
	background: #7a1c17;
	border-color: var(--bad);
	color: #fff;
	opacity: 1;
	cursor: not-allowed;
}
.bsRule {
	margin: 16px auto;
	max-width: 320px;
	border: 0;
	border-top: 1px solid var(--panel-border);
}
.bsRefillRow {
	text-align: center;
}
.bsRefill {
	padding: 8px 18px;
	border: 2px dashed var(--link);
	border-radius: 999px;
	background: transparent;
	color: var(--link);
	font-weight: 700;
	cursor: pointer;
}
.bsRefill:hover {
	background: var(--link);
	color: var(--page-bg);
}
.bsAutoDock {
	position: sticky;
	bottom: 12px;
	z-index: 34;
	width: fit-content;
	max-width: 260px;
	margin-top: 16px;
	padding: 8px 12px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	text-align: left;
}
body.menu-open .bsAutoDock {
	display: none;
}
.bsAuto {
	cursor: pointer;
	color: var(--text);
	white-space: nowrap;
}
.bsAutoNeed {
	margin-top: 4px;
	font-size: 12px;
	color: var(--text-muted);
}
.bsHosp {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: 6px;
	text-align: center;
}
.bsHosp > .lyAlertText {
	margin: 1em 0;
}
.bsHosp[data-ly-type] > .lyAlertBtns {
	gap: 4px;
	margin: 0;
}
.bsHosp > .lyAlertBtns.lyPlace-below {
	flex: 1 1 100%;
	justify-content: center;
}
.bsHosp:has(> .lyAlertBtns.lyPlace-right:not(.lySlotNone)) {
	justify-content: flex-start;
}
.bsHosp > .lyAlertBtns.lyPlace-right {
	margin-left: auto;
}
.bsHosp .lyHospBtns .button {
	margin: 2px;
	text-decoration: none;
}
.lyHosp-md .bsHosp .lyHospBtns .button {
	padding: 3px 8px;
	font-size: inherit;
	line-height: inherit;
}
.lyEditing #bsWrap > .bsHosp[data-ly-type="hosp"] {
	display: none;
}
.lyEditing .bsLyEx {
	margin: 0 0 10px;
}
.bsAuto:has(:disabled) {
	opacity: .45;
	cursor: not-allowed;
}
#statusBar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 8px;
}
#statusBar > :last-child {
	justify-self: end;
}
#statusBar .statusMid {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 0;
	align-self: center;
}
.jailNotice {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 10px;
	border-radius: 4px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.jailNotice[hidden],
.jailTop {
	display: none !important;
}
.jailNotice,
#statusBar .jailNotice {
	background: rgba(255, 59, 59, .1);
	border: 1px solid var(--bad);
	border-left-width: 4px;
}
.jailNotice,
.jailNotice *,
#statusBar .jailNotice,
#statusBar .jailNotice *,
#statusBar a.jailNotice:link,
#statusBar a.jailNotice:visited {
	color: var(--text);
}
.rcBox {
	margin-bottom: 14px;
}
.rcBox p {
	margin: 4px 0;
	color: var(--text-muted);
}
.rcBox .gvLabel {
	margin-top: 8px;
}
.rcPlace {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--button-bg);
	font-size: 12px;
	font-weight: 700;
}
.rcP1 {
	background: #d4a017;
	color: #1a1a1a;
}
.rcP2 {
	background: #b8bec6;
	color: #1a1a1a;
}
.rcP3 {
	background: #b0703c;
	color: #1a1a1a;
}
.rcPrizeGrid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}
.rcPrize {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 12px 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.03);
	font-size: 12px;
	text-align: center;
}
.rcPrize .rcPlace {
	margin-bottom: 4px;
}
.rcPrize b {
	font-size: 20px;
	line-height: 1.1;
}
.rcPrize small {
	margin-bottom: 4px;
	color: var(--text-muted);
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.rcT1 {
	border-color: rgba(212, 160, 23, 0.6);
	background: rgba(212, 160, 23, 0.1);
}
.rcT2 {
	border-color: rgba(184, 190, 198, 0.45);
	background: rgba(184, 190, 198, 0.07);
}
.rcT3 {
	border-color: rgba(176, 112, 60, 0.55);
	background: rgba(176, 112, 60, 0.08);
}
.rcBonus {
	margin-top: 6px;
	color: var(--text-muted);
	font-size: 12px;
	text-align: center;
}
.rcBonus b {
	color: var(--text);
}
.rfTable {
	width: 100%;
	margin-top: 6px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	font-size: 13px;
}
.rfTable th {
	padding: 9px 12px;
	background: rgba(255, 255, 255, 0.07);
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}
.rfTable td {
	padding: 10px 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.rfTable tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.025);
}
.rfTable tbody tr:hover {
	background: rgba(255, 255, 255, 0.06);
}
.rfTable th:first-child, .rfTable td:first-child {
	width: 36px;
}
.rfTable th:nth-child(2), .rfTable td:nth-child(2), .rfMine th:first-child, .rfMine td:first-child {
	width: 100%;
	text-align: left;
}
.rfMine th:nth-child(2), .rfMine td:nth-child(2) {
	width: auto;
	text-align: center;
}
.rfTable .rcWho {
	display: block;
	overflow: hidden;
	max-width: 420px;
	text-overflow: ellipsis;
}
.rfTable tbody tr.rcMe {
	background: rgba(240, 163, 10, 0.14);
}
.rfTable tbody tr.rcMe td:first-child {
	box-shadow: inset 3px 0 0 var(--link);
}
.rfGood {
	color: var(--good);
	font-size: 15px;
}
.rcEmpty {
	color: var(--text-muted);
	text-align: center;
}
.rcMine {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	margin-top: 10px;
	padding: 8px 10px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-muted);
}
.rcMine b {
	color: var(--text);
}
.rfCard .gvHead a {
	font-size: 12px;
	font-weight: 400;
}
.rfLink {
	display: flex;
	gap: 8px;
}
.rfLink input.text {
	flex: 1;
	min-width: 0;
	height: auto;
	padding: 8px 10px;
	font-family: monospace;
	font-size: 13px;
}
.rfLink .button {
	margin: 0;
	padding: 6px 16px;
}
.rfHint {
	margin: 2px 0;
	color: var(--text-muted);
	line-height: 1.5;
}
.rfHint b {
	color: var(--text);
}
.rfStats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.rfStats div {
	padding: 10px 12px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-muted);
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.rfStats span {
	display: block;
	margin-bottom: 2px;
	color: var(--text);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0;
}
.rfTag {
	display: inline-block;
	margin-top: 3px;
	padding: 1px 7px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-muted);
	font-size: 11px;
}
.rfTag.rfPaid {
	background: rgba(51, 221, 51, 0.15);
	color: var(--good);
}
.rfTag.rfNext {
	background: rgba(240, 163, 10, 0.15);
	color: var(--link);
}
.cosTabs,
.evTabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 14px auto;
	max-width: 720px;
}
.cosTabs a,
.evTabs a {
	padding: 5px 12px;
	border: 1px solid var(--table-border);
	border-radius: 14px;
	background: var(--box-bg);
	font-size: 11px;
	font-weight: 700;
}
.cosTabs a.active,
.evTabs a.active {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
}
.evTotal {
	margin: 0 0 12px;
	color: var(--text-muted);
	text-align: center;
}
.evNone {
	padding: 14px 6px;
	color: var(--text-muted);
	text-align: center;
}
@media (max-width: 700px) {
	.evTabs {
		gap: 8px;
	}
	.evTabs a {
		padding: 8px 14px;
		font-size: 12px;
	}
}
.cosForm {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
}
.cosPicks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 12px 0;
}
.cosPick {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 140px;
	padding: 10px;
	border: 1px solid var(--table-border);
	border-radius: 6px;
	background: var(--box-bg);
	cursor: pointer;
}
.cosPick:has(input:checked) {
	border-color: var(--link);
	box-shadow: 0 0 0 1px var(--link);
}
.cosPick span {
	font-size: 11px;
}
.namePlate {
	display: inline-block;
	line-height: 14px;
	padding: 2px;
	margin: -2px 0;
	border-style: solid;
	border-color: transparent;
	border-width: 0 13px;
	border-image: var(--np) 0 26 fill / 0 13px / 0 round;
	white-space: nowrap;
}
.namePlate > a,
.namePlate > span {
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9));
}
.cosPick.cosPlate {
	width: auto;
	min-width: 140px;
}
.namePlate[data-plate="gold"] {
	--np: url(../img/plate/gold.png);
}
.namePlate[data-plate="cash"] {
	--np: url(../img/plate/cash.png);
}
.namePlate[data-plate="diamond-plate"] {
	--np: url(../img/plate/diamond-plate.png);
}
.namePlate[data-plate="carbon"] {
	--np: url(../img/plate/carbon.png);
}
.namePlate[data-plate="flames"] {
	--np: url(../img/plate/flames.png);
}
.namePlate[data-plate="neon"] {
	--np: url(../img/plate/neon.png);
}
.namePlate[data-plate="camo"] {
	--np: url(../img/plate/camo.png);
}
.namePlate[data-plate="hazard"] {
	--np: url(../img/plate/hazard.png);
}
.namePlate[data-plate="marble"] {
	--np: url(../img/plate/marble.png);
}
.namePlate[data-plate="ice"] {
	--np: url(../img/plate/ice.png);
}
.namePlate[data-plate="frost"] {
	--np: url(../img/plate/frost.png);
}
.namePlate[data-plate="midnight-frost"] {
	--np: url(../img/plate/midnight-frost.png);
}
.passPlate {
	display: inline-block;
	padding: 2px 0;
	font-size: 12px;
}
.passChip .passPlate img {
	width: 16px;
	height: 16px;
}

.petRespectCard {
	margin-top: 16px;
}
.petRespectCard p {
	margin: 8px 0;
}
.petRespectTag,
.petTag {
	font-size: 11px;
	padding: 1px 6px;
	border-radius: 8px;
	border: 1px solid var(--link);
	color: var(--link);
}
#petHeader[data-view=""] + #petRtn:empty {
	min-height: 0;
}
.petHero {
	margin-bottom: 10px;
}
.petHeroImg .petImg {
	display: block;
}
.petHeroInfo {
	flex: 1 1 160px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.petHeroName {
	font-size: 16pt;
	font-weight: 700;
	overflow-wrap: anywhere;
}
.petHeroMeta {
	color: var(--text-muted);
}
.petHeroActs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.petProfGrid {
	margin-bottom: 10px;
}
.petProfBar .profStat {
	border-bottom: 0;
}
.petProfBar + .petProfBar {
	margin-top: 4px;
}
.petShowcase {
	grid-template-columns: minmax(0, 300px);
	justify-content: center;
}
.petShowcase .showcaseSlot {
	grid-column: auto;
}
.petShowcase .button {
	margin-top: 4px;
}
.petBribeForm {
	margin-top: 6px;
}
.pmLocked {
	opacity: .65;
}
.petAutoRefill {
	display: inline;
}
.petAutoRefill button.on {
	border-color: var(--good);
	color: var(--good);
}
.petMsnBar {
	margin: 0 0 10px;
}

.cityRef {
	margin: 0 0 6px;
}
.cityTools {
	display: flex;
	justify-content: flex-end;
	margin: 10px 0 0;
}
.cityEdit {
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
}
#cityGrid[hidden],
#cityEditor[hidden],
.cityTools[hidden],
.cityEditor .ceLink[hidden] {
	display: none !important;
}
.ceTop {
	margin: 0 0 12px;
}
.ceTop b {
	display: block;
	font-size: 12pt;
}
.ceTop span {
	color: var(--text-muted);
}
.ceGrid .ceBox {
	display: flex;
	flex-direction: column;
	min-height: 120px;
	padding: 0 0 8px;
	border: 1px dashed var(--link);
	border-radius: 8px;
	background: var(--box-bg);
}
.ceHead {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	border-bottom: 1px solid var(--table-border);
}
.ceGrip {
	width: 12px;
	height: 18px;
	flex: none;
	cursor: grab;
	background: radial-gradient(circle, var(--text-muted) 1.5px, transparent 2px) 0 0 / 6px 6px;
}
.ceName {
	flex: 1;
	min-width: 0;
	font-weight: 700;
	text-align: center;
}
.ceDrop {
	flex: none;
	padding: 0 7px;
	line-height: 20px;
}
.ceGrid .ceWidget {
	min-height: 0;
	border-style: solid;
	background: var(--menu-bg);
}
.ceNote {
	margin: 8px;
	color: var(--text-muted);
	text-align: center;
}
.ceWidgets span {
	display: block;
	margin: 0 0 6px;
	color: var(--text-muted);
}
.ceWidgetList {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ceList {
	flex: 1;
	margin: 0;
	padding: 6px 8px 0;
	list-style: none;
	min-height: 40px;
}
.ceLink {
	margin: 0 0 4px;
	padding: 5px 8px;
	border: 1px solid var(--table-border);
	border-radius: 6px;
	background: var(--table-row-bg);
	color: var(--link);
	font-weight: 700;
	text-align: center;
	cursor: grab;
	user-select: none;
	touch-action: none;
}
.ceLink:hover {
	border-color: var(--link);
}
.cePlace {
	border: 1px dashed var(--link);
	background: none;
}
.ceDragging {
	position: fixed;
	z-index: 1000;
	pointer-events: none;
	opacity: .9;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}
.ceAdd {
	margin: 10px 0 0;
}
.ceTray {
	margin: 14px 0 0;
	padding: 10px;
	border: 1px solid var(--table-border);
	border-radius: 8px;
}
.ceSpare {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	min-height: 44px;
	padding: 8px 0 0;
}
.ceSpare .ceLink {
	margin: 0;
}
.ceSpare:not(:has(.ceLink:not([hidden])))::before {
	content: attr(data-empty);
	color: var(--text-muted);
	align-self: center;
}
.ceFoot {
	position: sticky;
	bottom: 0;
	margin: 12px 0 0;
	padding: 10px 0;
	text-align: right;
	background: var(--page-bg);
}
@media (max-width: 700px) {
	.cityTools,
	#cityEditor {
		display: none !important;
	}
}

.passBadge {
	vertical-align: -3px;
	margin-left: 1px;
}
.cosPick.cosOth {
	width: 76px;
	padding: 8px 6px;
}
.passXpList {
	list-style: none;
	margin: 8px 0;
	padding: 0;
	display: grid;
	gap: 3px;
	font-size: 9pt;
}
.passXpList li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 2px 0;
	border-bottom: 1px solid var(--table-border);
}
.passXpList li:last-child {
	border-bottom: 0;
}
.passXpList small {
	display: block;
	color: var(--text-muted);
	font-size: 8pt;
}
.passXpList b {
	color: var(--link);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.passOthSet {
	display: inline-flex;
	gap: 4px;
	align-items: center;
}
.passSwatch {
	display: inline-block;
	width: 40px;
	height: 24px;
	border-radius: 4px;
	background: linear-gradient(135deg, #9a9aa3, #4a4a52);
	vertical-align: middle;
}
.passOwned {
	color: var(--good) !important;
	font-weight: bold;
}
.passNote {
	color: var(--text-muted);
	text-align: center;
	margin: 10px 0;
}
.passClaim {
	text-align: center;
	margin: 0 0 10px;
}
.passTrack {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.passRow {
	display: grid;
	grid-template-columns: 48px 1fr 1fr 72px;
	gap: 8px;
	align-items: center;
	padding: 6px 8px;
	background: var(--box-bg);
	border: 1px solid var(--table-border);
	border-radius: 6px;
}
.passRow > b {
	text-align: center;
	font-size: 15px;
	color: var(--text-muted);
}
.passRow > div {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	min-width: 0;
}
.passLvlClaim {
	margin: 0;
	text-align: right;
}
.passLvlClaim .button {
	margin: 0;
	padding: 3px 10px;
	font-weight: 700;
}
.passHead {
	background: none;
	border: 0;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-muted);
}
.passHead > span:first-child {
	text-align: center;
}
.passReached {
	border-left: 3px solid var(--good);
}
.passReached > b {
	color: var(--good);
}
.passNext {
	border-left: 3px solid var(--link);
}
.passPremium .passChip {
	border-color: rgba(242, 184, 31, 0.45);
}
.passChip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 7px;
	font-size: 11px;
	border: 1px solid var(--table-border);
	border-radius: 12px;
	background: var(--panel-stripe);
}
.passChip img {
	width: auto;
	height: 24px;
}
.passZoom {
	display: inline-flex;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}
.passZoom:hover img,
.passZoom:focus-visible img {
	outline: 2px solid var(--link);
	outline-offset: 1px;
}
.passZoom.cosZoom {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 26px;
	height: 26px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--panel-stripe);
	color: var(--text-muted);
}
.passZoom.cosZoom:hover,
.passZoom.cosZoom:focus-visible {
	color: var(--link);
}
.cosOth .passZoom.cosZoom {
	top: 2px;
	right: 2px;
	width: 20px;
	height: 20px;
}
.cosOth .passZoom.cosZoom svg {
	width: 11px;
	height: 11px;
}
.passZoomImg {
	width: 300px;
	height: auto;
}
.passZoomImgCar,
.passZoomImgHouse {
	width: 400px;
}
.passZoomImgBadge {
	width: 160px;
	image-rendering: pixelated;
}
.cmpCard {
	width: 760px;
}
.cmpRow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.cmpSide {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}
.cmpPics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.cmpPics .cmpImg {
	max-width: 100%;
	height: auto;
}
.cmpSide figcaption {
	margin-top: 8px;
	color: var(--text-muted);
	font-size: 11px;
}
.cmpNew figcaption {
	color: var(--link);
	font-weight: 700;
}
.cmpArrow {
	flex: 0 0 auto;
	color: var(--text-muted);
	font-size: 22px;
}
.cmpItem {
	margin: 10px 0 0;
	font-weight: bold;
	text-align: center;
}
.cmpThumbs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}
.cmpThumb {
	padding: 4px;
	border: 2px solid transparent;
	border-radius: 8px;
	background: var(--panel-stripe);
	cursor: pointer;
}
.cmpThumb:hover,
.cmpThumb:focus-visible {
	border-color: var(--text-muted);
}
.cmpThumb[aria-pressed="true"] {
	border-color: var(--link);
}
.cmpThumb img {
	display: block;
	width: auto;
	height: 48px;
}
.cmpPics .passZoomImgOth {
	width: 64px;
	image-rendering: pixelated;
}
.imgModalCap {
	margin: 10px 0 0;
	font-weight: bold;
}
.passChip .passSwatch {
	width: 24px;
	height: 24px;
}
.passChipDone {
	opacity: 0.5;
}
.passChipDone > span:last-child::after {
	content: ' \2713';
	color: var(--good);
}
.passChipReady {
	border-color: var(--good) !important;
	box-shadow: 0 0 0 1px var(--good);
}
.passChipLocked {
	opacity: 0.75;
}
.passGear {
	align-items: center;
	text-align: center;
}
.passQty {
	width: 52px;
}
.storeRep {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 0 0 10px;
	padding: 12px 16px;
	background: linear-gradient(120deg, var(--box-bg), var(--panel-stripe));
	border: 1px solid var(--table-border);
	border-radius: 6px;
}
.storeRep > span {
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.storeRep > b {
	font-size: 22px;
	font-variant-numeric: tabular-nums;
}
.storeRep > em {
	flex: 1 1 260px;
	font-style: normal;
	color: var(--text-muted);
}
.storeConvert {
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-top: 6px;
	padding-top: 10px;
	border-top: 1px solid var(--table-border);
}
.storeConvert label {
	color: var(--text-muted);
}
.storeConvert small {
	color: var(--text-muted);
}
.storeCard {
	align-items: center;
	text-align: center;
}
.storeCard .msnHead {
	align-self: stretch;
}
.storePic {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
}
.storePicPlate {
	font-size: 12px;
}
.storePicBadge img {
	width: 32px;
	height: 32px;
	image-rendering: pixelated;
}
.storeNamePreview {
	max-width: 100%;
	padding: 10px 14px;
	border-radius: 6px;
	background: var(--panel-stripe);
	font-size: 14px;
	white-space: nowrap;
	overflow-x: auto;
	text-align: center;
}
.storePrevBtn {
	align-self: center;
}
.storeNamePreview .passBadge {
	image-rendering: pixelated;
}
.storePicOth .passOthSet img {
	width: 32px;
	height: 32px;
}
.storePicWeapon img,
.storePicArmor img,
.storePicShoes img {
	width: 80px;
	height: 80px;
}
.storePicCar img,
.storePicHouse img {
	width: 160px;
	height: 88px;
}
.storeAlso {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 2px 0 6px;
}
.storeAlso > span {
	color: var(--text-muted);
	font-size: 11px;
}
.storeAlso .passZoom {
	padding: 3px;
	border-radius: 6px;
	background: var(--panel-stripe);
}
.storeCard form {
	margin-top: auto;
}
.cosStore {
	color: var(--text-muted);
	text-align: center;
	margin: 12px 0 0;
}
.gmemWeeks {
	flex-wrap: wrap;
}
.passSkinSlot {
	margin: 10px 0;
}
.passAdmForm {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: flex-end;
	margin: 8px 0 16px;
}
.passAdmForm p {
	flex-basis: 100%;
	margin: 0;
}
.passAdmField {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 11px;
}
.passAdmField input[type='text'] {
	width: 150px;
}
.passAdmField input[type='number'] {
	width: 90px;
}
@media (max-width: 700px) {
	.passRow {
		grid-template-columns: 34px 1fr;
	}
	.passRow > .passPremium {
		grid-column: 2;
	}
	.passRow > .passLvlClaim {
		grid-column: 2;
		text-align: left;
	}
	.passHead {
		display: none;
	}
}
.passSkinNote {
	font-size: 10px;
	font-style: normal;
	color: var(--text-muted);
}
.bcCalc {
	max-width: 760px;
	margin: 0 auto;
}
.bcLead,
.bcNote {
	color: var(--text-muted);
	text-align: center;
}
.bcInputs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px 12px;
	margin: 12px 0;
}
.bcField {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted);
}
.bcField input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	padding: 6px 8px;
	height: auto;
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.bcField small {
	font-size: 10px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}
.bcCards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0;
}
.bcCard {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	background: var(--box-bg);
}
.bcCard b {
	font-size: 20px;
	font-variant-numeric: tabular-nums;
	color: var(--text);
}
.bcCard span {
	font-size: 11px;
	color: var(--text-muted);
}
.bcCard.bcMain {
	border-color: var(--link);
}
.bcCard.bcMain b {
	color: var(--link);
}
.bcHead {
	margin: 16px 0 6px;
}
.bcScroll {
	overflow-x: auto;
}
.bcTable td {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
@media (max-width: 700px) {
	.bcInputs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.bcCards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.bcCard b {
		font-size: 17px;
	}
}
.bjHand h3 {
	margin-bottom: 4px;
}
.bjSplit {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.bjSplit .bjHand {
	flex: 1 1 0;
	min-width: 150px;
	padding: 0 10px 10px;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
}
.bjSplit .bjHand.bjOn {
	border-color: var(--link);
}
.bjSplit .bjHand.bjOn h3 {
	color: var(--link);
}
@media (max-width: 700px) {
	.bjSplit .bjHand img {
		width: 48px;
		height: auto;
	}
}
.bjBet {
	margin-top: 0;
	font-size: 12px;
	color: var(--text-muted);
}
.bcCalc {
	max-width: 760px;
	margin: 0 auto;
}
.bcLead,
.bcNote {
	color: var(--text-muted);
	text-align: center;
}
.bcInputs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px 12px;
	margin: 12px 0;
}
.bcField {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted);
}
.bcField input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	padding: 6px 8px;
	height: auto;
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.bcField small {
	font-size: 10px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}
.bcCards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0;
}
.bcCard {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	background: var(--box-bg);
}
.bcCard b {
	font-size: 20px;
	font-variant-numeric: tabular-nums;
	color: var(--text);
}
.bcCard span {
	font-size: 11px;
	color: var(--text-muted);
}
.bcCard.bcMain {
	border-color: var(--link);
}
.bcCard.bcMain b {
	color: var(--link);
}
.bcHead {
	margin: 16px 0 6px;
}
.bcScroll {
	overflow-x: auto;
}
.bcTable td {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
@media (max-width: 700px) {
	.bcInputs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.bcCards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.bcCard b {
		font-size: 17px;
	}
}
.lyZone:empty {
	display: none;
}
.lyZone-bottom .lyPart {
	margin-top: 8px;
}
#crimePage:not(.lyEditing) .lyZone-top {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-bottom: 3px;
}
#prisonBar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 6px 0 10px;
}
#prisonBar .button {
	margin: 0;
	padding: 4px 12px;
	font-size: 12px;
}
#petPoundBar,
#petParkBar {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 6px;
}
#petPoundBar button,
#petParkBar button {
	margin: 0;
}
#prisonBar .button,
.lyJailBtns .button,
.lyResultBtns .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.prisonBust {
	opacity: .8;
	padding: 10px;
}
#prisonRows tr[data-k] > td {
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
#prisonRows tr[data-k]:has(+ .prisonNone) > td {
	border-bottom: 0;
}
.prisonFavs {
	margin: 0 0 12px;
	padding: 6px 8px;
	border: 1px solid var(--panel-border);
	border-radius: 6px;
	background: var(--box-bg);
}
.prisonFavs[hidden] {
	display: none;
}
#prisonPage:not(.lyEditing) .lyPart-favs:has(> .prisonFavs[hidden]) {
	display: none;
}
#prisonPage.lyEditing .prisonFavs[hidden],
.prisonDragging .prisonFavs[hidden] {
	display: block;
}

.prisonFavsHead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	padding: 0 0 4px;
}
.prisonFavAdd {
	margin: 0;
	padding: 2px 10px;
	font-size: 12px;
}
.prisonFavAddPop {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin: 0 0 6px;
}
.prisonFavAddPop[hidden] {
	display: none;
}
.prisonFavAddPop input {
	width: 8em;
	margin: 0;
}
.prisonFavAddPop button {
	margin: 0;
}
.prisonFavCards {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}
.prisonFavSlot {
	display: flex;
	min-width: 0;
	min-height: 64px;
	border-radius: 5px;
}
.prisonFavSlot > .prisonFavCard {
	flex: 1 1 auto;
}
.prisonFavSlot:empty::before {
	content: attr(data-empty);
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed var(--panel-border);
	border-radius: 5px;
	color: var(--text-muted);
	font-size: 11px;
}
.prisonFavSlot.prisonFavSlotOn {
	outline: 2px dashed var(--link);
	outline-offset: 1px;
	background-color: color-mix(in srgb, var(--link) 18%, transparent);
}
.prisonFavCard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 8px 22px 8px 20px;
	background-color: var(--box-bg);
	border: 1px solid var(--panel-border);
	border-radius: 5px;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: border-color .12s, background-color .12s, transform .08s;
}
#prisonPage:not(.lyEditing) .prisonFavCard:hover {
	border-color: var(--link);
}
#prisonPage:not(.lyEditing) .prisonFavCard:active,
.prisonFavCard.prisonFavHolding {
	border-color: var(--link);
	background-color: color-mix(in srgb, var(--link) 16%, var(--box-bg));
	transform: scale(.98);
}
.prisonFavSort {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 3px;
	width: 12px;
	background: radial-gradient(circle, var(--text-muted) 1.3px, transparent 1.8px) 0 0 / 6px 6px repeat;
	cursor: grab;
	touch-action: none;
	opacity: .7;
}
.prisonFavCard.prisonFavSorting {
	z-index: 2;
	border-color: var(--link);
	pointer-events: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.prisonFavCard:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: 2px;
}
#prisonPage.lyEditing .prisonFavCard {
	cursor: grab;
	touch-action: none;
	border-style: dashed;
}
#prisonPage.lyEditing .prisonFavCard.prisonFavSorting {
	border-style: solid;
}
.prisonFavName,
.prisonFavReason {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.prisonFavName {
	font-size: 13px;
	color: var(--link);
}
.prisonFavReason,
.prisonFavTime {
	font-size: 11px;
	color: var(--text-muted);
}
.prisonFavTime:empty::before {
	content: "\00a0";
}
.prisonFavCard.prisonFavBusy {
	border-color: var(--link);
}
.prisonFavOut .prisonFavName,
.prisonFavOut .prisonFavReason {
	opacity: .6;
}
.prisonFavOff {
	position: absolute;
	top: 2px;
	right: 2px;
	margin: 0;
	padding: 2px 5px;
	background: none;
	border: 0;
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1;
}
.prisonGrip {
	display: inline-block;
	width: 14px;
	height: 18px;
	margin: 0 6px 0 0;
	padding: 0;
	vertical-align: middle;
	border: 0;
	background: radial-gradient(circle, var(--text-muted) 1.5px, transparent 2px) 0 0 / 7px 6px;
	cursor: grab;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}
.prisonGrip:hover {
	background-color: transparent;
}
.prisonDragging,
.prisonDragging * {
	cursor: grabbing;
	-webkit-user-select: none;
	user-select: none;
}
.prisonFavGhost {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1000;
	padding: 6px 10px;
	border: 1px solid var(--link);
	border-radius: 6px;
	background: var(--box-bg);
	color: var(--text);
	pointer-events: none;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}
.prisonHideBox input[type=text] {
	width: 8em;
	padding: 3px 6px;
	font-size: 12px;
}
.prisonHideName {
	margin: 2px 0 6px;
	font-size: 12px;
}
.prisonHideName:empty {
	display: none;
}
.prisonHideName .msgBox {
	margin: 0;
}
.prisonHiddenList {
	margin: 6px 0 0;
	padding: 0;
	max-height: 260px;
	overflow-y: auto;
	list-style: none;
}
.prisonHiddenList:empty::before {
	content: attr(data-empty);
	color: var(--text-muted);
	font-size: 11px;
}
.prisonHiddenList li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 3px 0;
	border-bottom: 1px solid var(--menu-divider);
	font-size: 12px;
}
.prisonHiddenList button {
	margin: 0;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 11px;
}
a.prisonBust {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	vertical-align: middle;
	line-height: normal;
}
.lyGrip {
	display: none;
}
.lyTools {
	display: flex;
	justify-content: flex-end;
	margin: 12px 0 0;
}
.lyCustomize {
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	scroll-margin-top: 16px;
}
.lyCustomize[aria-pressed=true] {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
}
.lyPanel {
	max-width: 680px;
	margin: 8px 0 12px auto;
	padding: 10px 12px;
	border: 1px dashed var(--panel-border);
	border-radius: 6px;
	background: var(--panel-bg);
}
.lyPanel[hidden] {
	display: none;
}
#prisonPage .lyTools,
#petPoundPage .lyTools,
#mugPage .lyTools {
	justify-content: flex-start;
}
#prisonPage .lyPanel,
#petPoundPage .lyPanel,
#mugPage .lyPanel {
	margin: 8px auto 12px 0;
}
#prisonList[hidden] {
	display: none;
}
.bustArena {
	position: relative;
	height: clamp(320px, 62vh, 560px);
	margin: 6px 0 10px;
	overflow: hidden;
	border: 1px solid var(--table-border);
	border-radius: 8px;
	background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(128, 128, 128, .12) 46px 52px), linear-gradient(180deg, var(--box-bg), var(--page-bg));
	-webkit-user-select: none;
	user-select: none;
}
.bustCanvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: crosshair;
}
.bustTop {
	position: absolute;
	z-index: 2;
	top: 6px;
	left: 8px;
	right: 8px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	pointer-events: none;
}
.bustHud {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--text-muted);
	font-size: 12px;
}
.bustStats {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 2px 14px;
	min-width: 0;
	padding-top: 4px;
}
.bustStats span {
	color: var(--text-muted);
}
.bustHudBtns {
	display: flex;
	flex: none;
	gap: 6px;
}
.bustHud b {
	color: var(--text);
	font-variant-numeric: tabular-nums;
}
.bustBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	min-height: 26px;
	padding: 2px 8px;
	border: 1px solid var(--table-border);
	border-radius: 4px;
	background: var(--box-bg);
	color: var(--text);
	font-size: 11px;
	cursor: pointer;
	pointer-events: auto;
}
.bustFullBtn[aria-pressed=true],
.bustGoalsBtn[aria-pressed=true] {
	border-color: var(--link);
	color: var(--link);
}
.bustArena.bustFull {
	position: fixed;
	inset: 0;
	z-index: 100000;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	margin: 0;
	border: 0;
	border-radius: 0;
}
.bustFull .bustTop {
	top: calc(6px + env(safe-area-inset-top));
	left: calc(8px + env(safe-area-inset-left));
	right: calc(8px + env(safe-area-inset-right));
}
.bustFull .bustHud {
	font-size: 13px;
}
.bustFull .bustBtn {
	min-width: 38px;
	min-height: 34px;
}
html.bustLock,
html.bustLock body {
	overflow: hidden;
	overscroll-behavior: none;
}
.bustGoals {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	font-size: 11px;
	line-height: 1.35;
}
.bustGoals[hidden] {
	display: none;
}
.bustGoalRow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 1px 9px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 3px 8px;
	border-radius: 5px;
	background: rgba(0, 0, 0, .55);
	color: #eee;
}
.bustGoalRow b {
	color: #fff;
}
.bustGoal {
	color: #ddd;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.bustGoal.bustGoalDone {
	color: #6fd36f;
}
.bustGoal.bustGoalOpt {
	opacity: .75;
}
.bustGoalTime {
	color: #aaa;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.bustFull .bustGoals {
	font-size: 12px;
}
.bustToast {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	box-sizing: border-box;
	width: max-content;
	max-width: 100%;
	padding: 6px 14px;
	border: 1px solid var(--table-border);
	border-radius: 999px;
	background: var(--box-bg);
	color: var(--text);
	font-size: 12px;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
	transform: translateX(-50%);
	animation: bustToastIn .25s ease-out;
}
.bustToast[hidden] {
	display: none;
}
@keyframes bustToastIn {
	from {
		opacity: 0;
		transform: translate(-50%, -8px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.bustToast {
		animation: none;
	}
}
.bustCaught {
	font-weight: 700;
}
.bustNote {
	min-height: 1.5em;
	margin: 6px 0 4px;
	overflow: hidden;
	color: var(--bad);
	font-size: 12px;
	line-height: 1.5;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.bustNote.bustNoteGood {
	color: var(--good);
}
.bustJailRefill {
	visibility: hidden;
}
.bustJailRefill.bustOn {
	visibility: visible;
}
.bustCover {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .55);
	text-align: center;
}
.bustCover[hidden] {
	display: none;
}
.bustCover > div {
	box-sizing: border-box;
	width: min(420px, 100%);
	padding: 14px 16px;
	border: 1px solid var(--table-border);
	border-radius: 8px;
	background: var(--box-bg);
	color: var(--text);
}
.bustCover p {
	margin: 0 0 10px;
}
.bustCover .button {
	margin: 2px;
}
.bustCover.bustJailBar {
	inset: auto 0 0;
	padding: 8px;
	background: none;
	pointer-events: none;
}
.bustJailBar > div {
	padding: 8px 12px;
	font-size: 12px;
	pointer-events: auto;
}
.bustJailBar p {
	margin: 0 0 4px;
}
.bustJailBar .prisonActions {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.bustJailBar .prisonActions p {
	margin: 0;
}
.bustJailBar .prisonButtons:not(:focus-within) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.bustJailBar .prisonButtons:focus-within {
	margin-top: 6px;
}
.bustJailBar .bustNote {
	margin: 4px 0 2px;
}
.lyPanel #crimeTools {
	margin: 0 0 8px;
	padding: 0 0 8px;
	border: 0;
	border-bottom: 1px solid var(--menu-divider);
	border-radius: 0;
}
.lyRow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin: 6px 0;
}
.lyLabel {
	min-width: 140px;
	margin-right: 4px;
	color: var(--text-muted);
	font-size: 11px;
	text-transform: uppercase;
}
.lyRow button {
	margin: 0;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 11px;
}
.lyRow button[aria-pressed=true] {
	background: var(--link);
	border-color: var(--link);
	color: var(--page-bg);
}
.lySizes {
	margin: 10px 0 0;
	padding: 6px 10px 8px;
	border: 1px solid var(--menu-divider);
	border-radius: 6px;
}
.lySizes legend {
	padding: 0 4px;
	font-weight: 700;
}
.lyEx {
	display: none;
}
.lyEditing .lyEx {
	display: block;
	margin: 6px 0 0;
}
.lyExName {
	display: block;
	margin: 0 0 4px;
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
}
.lyEx .msgBox {
	margin: 0;
}
.lyEx .lySlot:empty {
	display: none;
}
.lyChip {
	pointer-events: none;
}
.lySlotNone {
	display: none !important;
}
.lyGrip {
	width: 12px;
	height: 18px;
	cursor: grab;
	touch-action: none;
	background: radial-gradient(circle, var(--text-muted) 1.4px, transparent 1.6px) 0 0 / 6px 6px;
}
.lyHint {
	margin: 10px 0 0;
	color: var(--text-muted);
	font-size: 11px;
}
.lyHint.lyLead {
	margin: 0 0 10px;
}
.lyFoot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin: 10px 0 0;
}
.lyEditing .lyZone {
	display: block;
	min-height: 36px;
	margin: 6px 0;
	padding: 4px;
	border: 1px dashed var(--panel-border);
	border-radius: 6px;
}
.lyEditing .lyZone::before {
	content: attr(data-label);
	display: block;
	margin: 0 0 4px;
	color: var(--text-muted);
	font-size: 10px;
	text-transform: uppercase;
}
.lyEditing .lyZone.lyOver {
	border-color: var(--link);
	background: color-mix(in srgb, var(--link) 12%, transparent);
}
.lyEditing .lyPart {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px;
}
.lyAlertBtns [hidden] {
	display: none !important;
}
.lyEditing .lyPart > :not(.lyGrip) {
	flex: 1 1 auto;
	min-width: 0;
}
.lyEditing #crimeRefillBar,
.lyEditing #prisonRefill,
.lyEditing #petPoundRefill,
.lyEditing #petParkRefill {
	flex: 0 1 auto;
}
.lyEditing .lyGrip {
	display: block;
	flex: 0 0 12px;
	margin-top: 6px;
}
.lyPart.lyDragging {
	outline: 2px solid var(--link);
	opacity: .85;
}
.lyAlertBtns {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	vertical-align: middle;
}
.lyAlertBtns .button {
	display: inline-block;
	margin: 0;
	padding: 2px 10px;
	font-size: 12px;
	line-height: 1.4;
	text-decoration: none;
}
.lyAlertBtns.lyPlace-end {
	margin: -2px 0 -2px 6px;
}
.lyAlertBtns.lyPlace-start {
	margin: -2px 8px -2px 0;
}
.msgBox .lyAlertBtns.lyPlace-below {
	display: flex;
	width: 100%;
	margin: 6px 0 0;
}
.msgBox:has(> .lyAlertText) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}
.msgBox > .lyAlertText {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
}
.msgBox:has(> .lyAlertBtns:not(.lyPlace-below):not(.lySlotNone) > .button ~ .button) > .lyAlertText {
	flex-basis: 55%;
}
.msgBox > .lyAlertBtns {
	flex-wrap: nowrap;
	align-items: stretch;
}
.msgBox > .lyAlertBtns:not(.lyPlace-below) {
	flex: 0 0 auto;
	margin: 0;
}
.msgBox > .lyAlertBtns:is(.lyPlace-end, .lyPlace-right) {
	margin-left: auto;
}
.msgBox > .lyAlertBtns.lyPlace-below {
	flex: 1 1 100%;
	margin: 0;
}
.msgBox > .lyAlertBtns .button {
	display: block;
	align-content: center;
	text-align: center;
	white-space: nowrap;
}
.msgBox:has(> .lyAlertBtns.lyPlace-start:not(.lySlotNone) > .button ~ .button) {
	flex-wrap: wrap-reverse;
}
.msgBox:has(> .lyAlertBtns.lyPlace-start:not(.lySlotNone) > .button ~ .button) > .lyPlace-below {
	order: -1;
}
.lyJail-full .msgBox > .lyJailBtns,
.lyResult-full .msgBox > .lyResultBtns {
	margin: 0;
}
.msgBox:has(> .lyAlertText):has(> .lyAlertBtns.lyPlace-start:not(.lySlotNone))::before {
	top: 50%;
	margin-top: -8px;
}
.msgBox:has(> .lyAlertText):not(:has(> .lyAlertBtns.lyPlace-start:not(.lySlotNone)))::before {
	content: none;
}
.msgBox:has(> .lyAlertText):not(:has(> .lyAlertBtns.lyPlace-start:not(.lySlotNone))) > .lyAlertText::before {
	content: var(--msg-icon, "");
	position: absolute;
	left: -26px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border-radius: 50%;
	background: var(--msg-icon-bg, transparent);
	color: #111;
	font: var(--msg-icon-style, normal) bold 11px/16px var(--msg-icon-family, Verdana, Tahoma, Arial, sans-serif);
	text-align: center;
}
.lyList-sm .crime .crimeGo,
.lyList-sm .prisonBust,
.lyList-sm .petPrisonActs .button {
	min-height: 0;
	padding: 2px 8px;
	font-size: 11px;
}
.lyList-lg .crime .crimeGo,
.lyList-lg .prisonBust,
.lyList-lg .petPrisonActs .button {
	min-height: 44px;
	padding: 10px 22px;
	font-size: 15px;
}
.lyList-full .crime {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "main" "go";
}
:is(.lyList-sm, .lyList-lg, .lyList-full) .petPrisonActs .button {
	display: inline-block;
	box-sizing: border-box;
	align-content: center;
	text-align: center;
}
.lyList-full .crime .crimeGo,
.lyList-full .prisonBust,
.lyList-full .petPrisonActs .button {
	width: 100%;
	min-height: 44px;
	font-size: 15px;
}
.lyBar-sm #crimeBar button:not([data-ly-refill]),
.lyBar-sm #prisonBar .button:not([data-ly-refill]),
.lyBar-sm #petPoundBar button:not([data-ly-refill]),
.lyBar-sm #petParkBar button:not([data-ly-refill]) {
	padding: 1px 7px;
	font-size: 10px;
}
.lyBar-lg #crimeBar button:not([data-ly-refill]),
.lyBar-lg #prisonBar .button:not([data-ly-refill]),
.lyBar-lg #petPoundBar button:not([data-ly-refill]),
.lyBar-lg #petParkBar button:not([data-ly-refill]) {
	padding: 8px 16px;
	font-size: 13px;
}
.lyBar-full #crimeBar,
.lyBar-full #prisonBar,
.lyBar-full #petPoundBar,
.lyBar-full #petParkBar {
	flex-wrap: wrap;
}
.lyBar-full #crimeBar > :not([data-ly-refill]),
.lyBar-full #prisonBar > :not([data-ly-refill]),
.lyBar-full #petPoundBar > :not([data-ly-refill]),
.lyBar-full #petParkBar > :not([data-ly-refill]) {
	flex: 1 1 100%;
	margin: 0;
}
.lyBar-full .crimeMode {
	display: flex;
}
.lyBar-full #crimeBar button:not([data-ly-refill]),
.lyBar-full #prisonBar .button:not([data-ly-refill]),
.lyBar-full #petPoundBar button:not([data-ly-refill]),
.lyBar-full #petParkBar button:not([data-ly-refill]) {
	flex: 1 1 auto;
	padding: 8px 12px;
	font-size: 13px;
	text-align: center;
}
.lyRefillJoined {
	display: none;
}
.lyBar-full #petParkBar .petAutoRefill {
	display: flex;
}
#petParkPage.lyList-sm .npcActs .npcAct {
	padding: 1px 7px;
	font-size: 10px;
}
#petParkPage.lyList-lg .npcActs .npcAct {
	min-height: 36px;
	padding: 8px 16px;
	font-size: 13px;
}
#petParkPage.lyList-full .npcActs {
	width: 40%;
}
#petParkPage.lyList-full .npcActs .npcAct {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 2px 0;
	padding: 8px 12px;
	font-size: 15px;
}
#petParkPage.lyEditing :is(#petHeader, #localsTable, #petParkBar) :is(button, .button),
#petParkPage.lyEditing #petParkRefill {
	opacity: .45;
	cursor: not-allowed;
}
#petParkPage.lyEditing :is(#petHeader, #localsTable, .pager) a[href] {
	cursor: not-allowed;
}
#petPoundPage.lyNoBribe .petPoundBribe,
#petPoundPage.lyNoBreakout .petPoundOut,
#petPoundPage:has(#petPoundMsg .lyAlertBtns:not(.lySlotNone) .petBribe) .petPoundSelf,
#petPoundPage:has(#petPoundMsg .lyAlertBtns:not(.lySlotNone) .petBreakout) .petPoundSelfOut {
	display: none;
}
#petPoundPage:not(.lyEditing) .lyPart-bar:not(:has(button)),
#petPoundPage.lyNoBribe.lyNoBreakout:not(.lyEditing) .lyPart-bar:not(:has(#petPoundRefill)),
#petPoundPage:not(.lyEditing):has(#petPoundMsg .lyAlertBtns:not(.lySlotNone) .petBribe):has(#petPoundMsg .lyAlertBtns:not(.lySlotNone) .petBreakout) .lyPart-bar:not(:has(button:not(.petPoundSelf):not(.petPoundSelfOut))),
#petPoundPage.lyNoBribe:not(.lyEditing):has(#petPoundMsg .lyAlertBtns:not(.lySlotNone) .petBreakout) .lyPart-bar:not(:has(button:not(.petPoundBribe):not(.petPoundSelfOut))),
#petPoundPage.lyNoBreakout:not(.lyEditing):has(#petPoundMsg .lyAlertBtns:not(.lySlotNone) .petBribe) .lyPart-bar:not(:has(button:not(.petPoundOut):not(.petPoundSelf))) {
	display: none;
}
#petPoundPage.lyBarAlign-center .lyBarItems,
#petParkPage.lyBarAlign-center .lyBarItems {
	justify-content: center;
}
#petPoundPage.lyBarAlign-right .lyBarItems,
#petParkPage.lyBarAlign-right .lyBarItems {
	justify-content: flex-end;
}
.lyEditing #petPoundBar .lyBarItems:empty::before {
	content: attr(data-hint);
	color: var(--text-muted);
	font-size: 11px;
}
#crimePage:not(.lyEditing) .lyZone:not(:has(.lyPart > :not(.lyGrip):not([hidden]:not([data-ly-refill])))),
#prisonPage:not(.lyEditing) .lyZone:not(:has(.lyPart > :not(.lyGrip):not([hidden]:not([data-ly-refill])))),
#petPoundPage:not(.lyEditing) .lyZone:not(:has(.lyPart > :not(.lyGrip):not([hidden]:not([data-ly-refill])))),
#petParkPage:not(.lyEditing) .lyZone:not(:has(.lyPart > :not(.lyGrip):not([hidden]:not([data-ly-refill])))) {
	display: none;
}
.lyEditing #crimeRefillBar[hidden] {
	display: inline-block;
	visibility: visible;
	opacity: .55;
}
.lyPart-refill {
	text-align: center;
}
#prisonRefill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	vertical-align: middle;
	margin: 0;
	padding: 4px 12px;
	font-size: 12px;
}
.lyPart-favs {
	margin-top: 8px;
}
#petPoundRefill,
#petParkRefill {
	margin: 0;
}
.lyPart-refill #crimeRefillBar {
	margin: 0;
}
.lyRefill-sm #crimeRefillBar,
.lyRefill-sm #prisonRefill,
.lyRefill-sm #petPoundRefill,
.lyRefill-sm #petParkRefill {
	padding: 1px 7px;
	font-size: 10px;
}
.lyRefill-lg #crimeRefillBar,
.lyRefill-lg #prisonRefill,
.lyRefill-lg #petPoundRefill,
.lyRefill-lg #petParkRefill {
	padding: 8px 16px;
	font-size: 13px;
}
.lyRefill-full #crimeRefillBar,
.lyRefill-full #prisonRefill,
.lyRefill-full #petPoundRefill,
.lyRefill-full #petParkRefill {
	flex: 1 1 100%;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 8px 12px;
	font-size: 13px;
	text-align: center;
}
.lyJail-sm .lyJailBtns .button,
.lyResult-sm .lyResultBtns .button,
.lyHosp-sm .lyHospBtns .button {
	padding: 1px 6px;
	font-size: 10px;
}
.lyJail-lg .lyJailBtns .button,
.lyResult-lg .lyResultBtns .button,
.lyHosp-lg .lyHospBtns .button {
	padding: 8px 16px;
	font-size: 14px;
}
.lyJail-full .lyJailBtns,
.lyResult-full .lyResultBtns,
.lyHosp-full .lyHospBtns {
	display: flex;
	width: 100%;
	margin: 6px 0 0;
}
.lyJail-full .lyJailBtns .button,
.lyResult-full .lyResultBtns .button,
.lyHosp-full .lyHospBtns .button {
	flex: 1 1 0;
	padding: 8px 12px;
	font-size: 14px;
	text-align: center;
}
@media (max-width: 700px) {
	.lyLabel {
		min-width: 100%;
	}
	.lyTools {
		margin-bottom: 8px;
	}
	.lyCustomize {
		scroll-margin-top: 88px;
	}
	.lyRow button,
	.lyChip,
	.lyFoot .button,
	.lyCustomize {
		min-height: 40px;
	}
	#crimePage .crime .crimeGo,
	#prisonPage .prisonBust,
	#petPoundPage .petPrisonActs .button,
	#crimeRefillBar,
	#prisonRefill,
	#petPoundRefill,
	#crimeBar button,
	#prisonBar .button,
	#petPoundBar button,
	#crimePage .lyAlertBtns .button,
	#prisonPage .lyAlertBtns .button,
	#petPoundPage .lyAlertBtns .button {
		min-height: 40px;
	}
	#prisonBar .button,
	.lyAlertBtns .button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}
.lyBarItems {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
#prisonBar .lyBarItems,
#petPoundBar .lyBarItems,
#petParkBar .lyBarItems {
	gap: 8px;
}
.lyBar-full .lyBarItems > * {
	flex: 1 1 100%;
}
.lyBarAlign-left .lyBarItems,
.lyRefillAlign-left :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill] {
	order: 1;
}
.lyBarAlign-center .lyBarItems,
.lyRefillAlign-center :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill] {
	order: 2;
}
.lyBarAlign-right .lyBarItems,
.lyRefillAlign-right :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill] {
	order: 3;
}
.lyBarAlign-left :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) {
	justify-content: flex-start;
}
.lyBarAlign-center :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) {
	justify-content: center;
}
.lyBarAlign-right :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) {
	justify-content: flex-end;
}
:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit) :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill] {
	margin: 0;
}
:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):is(.lyAlign-left-right, .lyAlign-right-left) :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) {
	justify-content: flex-start;
}
:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit).lyAlign-left-right :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill],
:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit).lyAlign-right-left :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > .lyBarItems {
	margin-left: auto;
}
:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit).lyAlign-center-left :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) {
	justify-content: flex-start;
}
:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit).lyAlign-center-right :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) {
	justify-content: flex-end;
}
:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):is(.lyAlign-left-center, .lyAlign-right-center) :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill],
:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):is(.lyAlign-center-left, .lyAlign-center-right) :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > .lyBarItems {
	margin-left: auto;
	margin-right: auto;
}
.lyRefillAlign-left .lyPart-refill {
	text-align: left;
}
.lyRefillAlign-center .lyPart-refill {
	text-align: center;
}
.lyRefillAlign-right .lyPart-refill {
	text-align: right;
}
@media (min-width: 701px) {
	:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):not(.lyBar-full):not(.lyRefill-full):is(.lyAlign-left-center, .lyAlign-right-center, .lyAlign-center-left, .lyAlign-center-right) :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}
	:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):not(.lyBar-full):not(.lyRefill-full):is(.lyAlign-left-center, .lyAlign-right-center, .lyAlign-center-left, .lyAlign-center-right) :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > * {
		grid-row: 1;
		margin: 0;
	}
	:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):not(.lyBar-full):not(.lyRefill-full).lyAlign-left-center :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > .lyBarItems,
	:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):not(.lyBar-full):not(.lyRefill-full).lyAlign-center-left :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill] {
		grid-column: 1;
		justify-self: start;
	}
	:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):not(.lyBar-full):not(.lyRefill-full):is(.lyAlign-left-center, .lyAlign-right-center) :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill],
	:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):not(.lyBar-full):not(.lyRefill-full):is(.lyAlign-center-left, .lyAlign-center-right) :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > .lyBarItems {
		grid-column: 2;
	}
	:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):not(.lyBar-full):not(.lyRefill-full).lyAlign-right-center :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > .lyBarItems,
	:is(#crimePage, #prisonPage, #petPoundPage, #petParkPage):not(.lyRefillSplit):not(.lyBar-full):not(.lyRefill-full).lyAlign-center-right :is(#crimeBar, #prisonBar, #petPoundBar, #petParkBar) > [data-ly-refill] {
		grid-column: 3;
		justify-self: end;
	}
}
.lyEditing.lyRefillAlign-center .lyPart-refill > :is(#crimeRefillBar, #prisonRefill, #petPoundRefill, #petParkRefill) {
	margin-left: auto;
	margin-right: auto;
}
.lyEditing.lyRefillAlign-right .lyPart-refill > :is(#crimeRefillBar, #prisonRefill, #petPoundRefill, #petParkRefill) {
	margin-left: auto;
}
.lyEditing :is(.crimeGo, .prisonBust, .petPrisonActs .button, #crimeBar button, #prisonBar .button, #petPoundBar button, .lyAlertBtns .button, .crimeHoldTipActs .button, #bsWrap .button, #bsWrap button):not(.lyChip) {
	opacity: .45;
	cursor: not-allowed;
}
.lyEditing :is(#crimeList, #prisonList, #petPoundList, .lyZone, #bsWrap) a[href] {
	cursor: not-allowed;
}
#crimePage.lyCardGo:not(.crimeEditing) .crime.crimeCard {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "main";
}
#crimePage .crime.crimeCard {
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: border-color .12s, background-color .12s, transform .08s;
}
#crimePage:not(.lyEditing) .crime.crimeCard:not([aria-disabled="true"]):hover {
	border-color: var(--link);
}
#crimePage:not(.lyEditing) .crime.crimeCard:not([aria-disabled="true"]):active,
#crimePage .crime.crimeCard.crimeHolding {
	border-color: var(--link);
	background-color: color-mix(in srgb, var(--link) 16%, var(--box-bg));
	transform: scale(.99);
}
#crimePage .crime.crimeCard:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: 2px;
}
#crimePage .crime.crimeCard[aria-disabled="true"] {
	cursor: default;
}
#crimePage:not(.lyEditing) .crime.crimeCard[aria-disabled="true"] {
	opacity: .5;
}
#crimePage.lyEditing .crime.crimeCard {
	cursor: default;
}
#crimePage.lyEditing #crimeMsg,
#prisonPage.lyEditing #prisonMsg,
#petPoundPage.lyEditing #petPoundMsg {
	min-height: 0;
}
.lyEditing :is(#crimeMsg, #prisonMsg, #petPoundMsg, #bsMsg) > .msgBox[data-ly-type="jail"] {
	display: none;
}
.lyEditing .lyZone {
	position: relative;
	inset: auto;
}
.lyEditing .lyPart {
	touch-action: none;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}
.lyEditing .lyPart :is(#crimeBar button, #prisonBar .button, #petPoundBar button, [data-ly-refill], .msgBox) {
	cursor: grab;
}
.lyEditing [data-ly-refill].lyDragging {
	outline: 2px solid var(--link);
	outline-offset: 2px;
}
.lyTargets {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: flex;
	gap: 4px;
	padding: 4px;
	box-sizing: border-box;
	pointer-events: none;
}
.lyTargets > span {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	min-width: 0;
	border: 1px dashed var(--panel-border);
	border-radius: 5px;
	background: color-mix(in srgb, var(--panel-bg) 78%, transparent);
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}
.lyTargets > span.lyOn {
	border: 2px solid var(--link);
	background: color-mix(in srgb, var(--link) 30%, var(--panel-bg));
	color: var(--text);
}
.lyEditing .lyPart {
	position: relative;
}
.lyGap {
	position: absolute;
	left: 4px;
	right: 4px;
	z-index: 8;
	display: flex;
	gap: 6px;
	height: 0;
	pointer-events: none;
}
.lyGap > span {
	position: relative;
	flex: 1 1 0;
	border-top: 2px dashed color-mix(in srgb, var(--link) 40%, transparent);
}
.lyGap.lyOn > span {
	border-top: 3px solid color-mix(in srgb, var(--link) 55%, transparent);
}
.lyGap.lyOn > span.lyOn {
	border-top-color: var(--link);
}
.lyGap.lyOn > span.lyOn::after {
	content: attr(data-label);
	position: absolute;
	left: 50%;
	top: -11px;
	padding: 1px 8px;
	transform: translateX(-50%);
	border-radius: 10px;
	background: var(--link);
	color: var(--page-bg);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}
.lyPart > .lyTargets {
	z-index: 7;
}
.lyPart > .lyTargets:not(.lyOn) > span {
	background: transparent;
	color: transparent;
	border-color: color-mix(in srgb, var(--link) 25%, transparent);
}
.petToName {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.6em;
	margin: 12px 0;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--panel-stripe);
	text-align: center;
	overflow-wrap: anywhere;
}
.petToName:empty::before {
	content: attr(data-empty);
	opacity: 0.6;
}
.petSendConfirm form {
	text-align: center;
}
.mbById {
	margin: 8px 0 0;
}
.mbPreview {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 12px 0;
	padding: 8px 12px;
	border-radius: 6px;
	background: var(--panel-stripe);
}
.mbPreview .avatar {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
}
.mbPreviewWho {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	overflow-wrap: anywhere;
}
.mbPreviewWho .friendMeta {
	margin-left: 0;
}

.adventCalendar {
	--adventGold: #f4d38d;
	--adventPine: #102720;
	--adventCranberry: #401d28;
	container-type: inline-size;
}
.adventHero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 0 12px;
	padding: clamp(22px, 4.5cqi, 42px);
	border: 1px solid #466157;
	border-radius: 12px;
	background:
		radial-gradient(circle at 80% 24%, #fcdfa8 0 1px, transparent 2px),
		radial-gradient(circle at 92% 31%, #fcdfa88c 0 2px, transparent 3px),
		radial-gradient(circle at 73% 64%, #fcdfa880 0 1px, transparent 2px),
		radial-gradient(circle at 94% 75%, #fcdfa899 0 1px, transparent 2px),
		radial-gradient(circle at 78% 86%, #fcdfa86b 0 1px, transparent 2px),
		radial-gradient(ellipse at 86% 45%, #426451, transparent 54%),
		linear-gradient(125deg, #101d19, var(--adventPine) 65%, #111d1a);
	box-shadow: inset 0 0 0 5px #101b1670;
}
.adventHero::after {
	position: absolute;
	inset: auto 0 0;
	height: 4px;
	background: repeating-linear-gradient(125deg, #a84e5c 0 9px, #efd6ac 9px 16px, #35574b 16px 25px);
	content: "";
}
.adventHeroCopy {
	position: relative;
	z-index: 1;
	max-width: 77%;
	overflow-wrap: anywhere;
}
.adventSeason {
	margin: 0 0 8px;
	color: var(--adventGold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
}
.adventSeason span {
	margin-inline-end: 5px;
	color: inherit;
}
.adventHero h1 {
	margin: 0;
	color: #fff2d8;
	font: 700 clamp(34px, 6.2cqi, 62px)/1.04 Georgia, serif;
	letter-spacing: -.035em;
}
.adventIntro {
	margin: 10px 0 0;
	color: #d9e4dd;
	font-size: 14px;
	line-height: 1.5;
}
.adventPresent {
	position: absolute;
	top: 50%;
	right: 9%;
	width: clamp(84px, 19cqi, 170px);
	aspect-ratio: 1;
	transform: translateY(-50%) rotate(10deg);
	background: url(../img/advent/present.png) center / contain no-repeat;
	background-image: image-set(url(../img/advent/present.png) 1x, url(../img/advent/2x/present.png) 2x);
	filter: drop-shadow(0 6px 8px #0b1314a6);
}
.adventPerk {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	margin: 0 0 14px;
	padding: 10px 14px;
	border: 1px solid color-mix(in srgb, var(--text) 13%, transparent);
	border-radius: 8px;
	background: var(--panel-stripe);
	color: var(--text-muted);
	font-size: 12px;
	line-height: 1.5;
}
.adventPerk a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.adventGrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(8px, 1.5cqi, 14px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.adventDoor {
	--adventEdge: #414843;
	--adventInk: var(--text-muted);
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
	min-height: 90px;
	box-sizing: border-box;
	padding: 12px;
	border: 1px solid var(--adventEdge);
	border-radius: 9px;
	background: linear-gradient(145deg, var(--panel-bg), var(--panel-stripe));
	overflow-wrap: anywhere;
}
.adventDoor::before {
	position: absolute;
	inset: 4px;
	z-index: -1;
	border: 1px solid color-mix(in srgb, var(--adventEdge) 64%, transparent);
	border-radius: 5px;
	content: "";
}
.adventNumber {
	color: #d6dcd8;
	font: 700 clamp(27px, 4.3cqi, 39px)/1 Georgia, serif;
	font-variant-numeric: lining-nums tabular-nums;
}
.adventMark {
	position: absolute;
	top: 14px;
	right: 13px;
	width: 12px;
	height: 12px;
	color: var(--adventInk);
}
.adventLocked .adventMark::before {
	position: absolute;
	inset: 4px 0 0;
	border: 1px solid currentColor;
	border-radius: 2px;
	content: "";
}
.adventLocked .adventMark::after {
	position: absolute;
	inset: 0 2px auto;
	height: 5px;
	border: 1px solid currentColor;
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
	content: "";
}
.adventStatus {
	margin-top: auto;
	color: var(--adventInk);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.adventMissed {
	--adventEdge: #41413f;
	background: var(--panel-stripe);
}
.adventMissed::before {
	border-style: dashed;
}
.adventMissed .adventNumber {
	color: var(--text-muted);
}
.adventMissed .adventMark::before {
	content: "−";
}
.adventOpened {
	--adventEdge: #517361;
	--adventInk: #b7dfc7;
	background: linear-gradient(145deg, #233d31, var(--adventPine));
}
.adventOpened .adventNumber {
	color: #e4f5e9;
}
.adventOpened .adventMark::before {
	content: "✓";
}
.adventGift {
	color: #e4f5e9;
	font-size: 12px;
	line-height: 1.3;
}
.adventReady {
	--adventEdge: var(--adventGold);
	--adventInk: var(--adventGold);
	background: radial-gradient(ellipse at top right, #5d5331, transparent 82%), #32301f;
	box-shadow: 0 0 15px #f4c76d40, inset 0 0 12px #f4c76d1a;
}
.adventReady .adventNumber {
	color: var(--adventGold);
}
.adventReady .adventMark::before {
	content: "✦";
}
.adventReady form {
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.adventClaim {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	margin: 0;
	padding: 10px 11px;
	border: 0;
	border-radius: inherit;
	background: transparent;
	font: inherit;
	text-align: left;
}
.adventReady:not(.adventFinale) {
	padding-bottom: 42px;
}
.adventClaim span {
	padding: 4px 7px;
	border-radius: 4px;
	background: var(--adventGold);
	color: #231807;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
}
.adventClaim:hover,
.adventClaim:focus-visible {
	background: #ffdf981a;
}
.adventClaim:focus-visible {
	outline: 2px solid var(--link-hover);
	outline-offset: 2px;
}
.adventFinale {
	--adventEdge: #a56f66;
	--adventInk: #f1c9b7;
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 3px 14px;
	min-height: 94px;
	padding: 14px 18px;
	background:
		radial-gradient(circle at 67% 24%, #f8c39270 0 1px, transparent 2px),
		radial-gradient(circle at 52% 79%, #f8c39270 0 1px, transparent 2px),
		radial-gradient(circle at 80% 63%, #f8c39270 0 2px, transparent 3px),
		linear-gradient(110deg, var(--adventCranberry), #2b1b22 80%);
}
.adventFinale .adventNumber {
	grid-row: span 2;
	color: var(--adventGold);
	font-size: clamp(42px, 7cqi, 64px);
}
.adventFinaleTitle {
	grid-column: 2;
	grid-row: 1 / span 2;
	color: #fff0df;
	font: 700 clamp(20px, 3.7cqi, 32px)/1.05 Georgia, serif;
}
.adventFinale .adventMark {
	position: relative;
	inset: auto;
	grid-column: 3;
	justify-self: end;
	align-self: end;
}
.adventFinale .adventStatus {
	grid-column: 3;
	margin: 0;
	text-align: right;
	align-self: start;
}
.adventFinale .adventGift {
	grid-column: 2 / -1;
}
.adventFinale.adventReady {
	--adventEdge: var(--adventGold);
}
.adventFinale .adventClaim {
	align-items: center;
	justify-content: flex-end;
	padding-inline: 16px;
}
.adventFinale.adventReady .adventFinaleTitle {
	padding-inline-end: 78px;
}
.adventFinale.adventReady .adventMark {
	display: none;
}
@container (min-width: 330px) {
	.adventGrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@container (min-width: 535px) {
	.adventGrid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@container (min-width: 765px) {
	.adventGrid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}
@container (max-width: 480px) {
	.adventHeroCopy {
		max-width: 100%;
	}
	.adventSeason,
	.adventIntro {
		max-width: 77%;
	}
	.adventHero h1 {
		max-width: 85%;
	}
	.adventPresent {
		right: 4%;
		top: 50%;
		width: 58px;
		opacity: .85;
	}
}
