:root {
	--ph-line: color-mix(in srgb, var(--text) 13%, transparent);
	--ph-card: color-mix(in srgb, var(--text) 5%, var(--page-bg));
	--ph-card-hi: color-mix(in srgb, var(--text) 10%, var(--page-bg));
	--ph-track: color-mix(in srgb, var(--text) 18%, transparent);
	--ph-glow: color-mix(in srgb, var(--link) 22%, transparent);
}
#mainBlock {
	width: calc(100% - 40px);
	max-width: 1240px;
	min-width: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.45;
}
#topBar .topLogo {
	display: flex;
	align-items: center;
	margin-left: auto;
	line-height: 0;
}
#topBar .topLogo img {
	display: block;
	height: 24px;
	width: auto;
}
#headerBlock {
	display: grid;
	grid-template-columns: 238px minmax(0, 1fr);
	grid-template-areas: "details bars";
	align-items: stretch;
	gap: 0;
	padding: 6px;
	overflow: hidden;
	border: 1px solid var(--ph-line);
	border-bottom: 3px solid var(--link);
	border-radius: 14px;
	background: var(--header-bg);
}
#headerBlock:not(.guest) .hdrLogo {
	display: none;
}
#headerBlock.guest {
	padding: 0;
	border: 0;
	background: none;
}
#headerBlock > div {
	padding: 0;
}
#headerBlock .hdrLogo {
	grid-area: logo;
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	min-height: 118px;
	padding: 12px 24px;
	overflow: hidden;
	border: 1px solid var(--ph-line);
	border-bottom: 3px solid var(--link);
	border-radius: 14px;
	background: var(--header-bg);
	text-align: left;
}
#headerBlock .hdrLogo a {
	flex: none;
}
#headerBlock .hdrLogo img {
	display: block;
	width: 400px;
	max-width: 52vw;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .8));
}
#headerBlock.guest {
	display: block;
}
#headerBlock .hdrDetails,
#headerBlock .hdrBars {
	box-sizing: border-box;
	padding: 14px 18px;
	border: 0;
	background: none;
}
#headerBlock .hdrBars {
	border-left: 1px solid var(--ph-line);
}
#headerBlock .hdrDetails {
	grid-area: details;
	max-width: none;
	padding-top: 0;
	padding-bottom: 0;
	display: flex;
	align-items: center;
}
#headerBlock .hdrBars {
	grid-area: bars;
	display: flex;
	align-items: center;
}
.topDetails {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	border-collapse: collapse;
}
.topDetails tbody {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	column-gap: 12px;
}
.topDetails tr {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.topDetails tr:first-child {
	display: contents;
}
.topDetails tr:nth-child(2) {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-bottom: 6px;
}
#headerBlock .topDetails tr:nth-child(2) td {
	font-size: 13px;
	font-weight: 800;
	color: var(--my-bar-label, var(--text-muted));
}
#headerBlock .topDetails tr:nth-child(2) td:last-child {
	color: var(--link);
}
.topDetails tr:nth-child(2) .hdrIcon {
	width: 15px;
	height: 15px;
	margin-right: 4px;
	fill: var(--text);
	opacity: 1;
}
.topDetails td {
	padding: 0;
	font-size: 13px;
}
.topDetails tr:first-child td:first-child {
	display: none;
}
.topDetails tr:first-child td:last-child {
	grid-column: 1 / -1;
	grid-row: 1;
	max-width: 225px;
	margin-bottom: 6px;
	overflow: hidden;
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.topDetails tr:nth-child(3) {
	grid-column: 1 / -1;
	grid-row: 3;
}
.topDetails tr:nth-child(4) {
	grid-column: 1;
	grid-row: 4;
	margin-top: 5px;
}
.topDetails tr:nth-child(5) {
	grid-column: 2;
	justify-self: start;
	grid-row: 4;
	margin-top: 5px;
	padding-left: 12px;
	border-left: 1px solid var(--ph-line);
}
.topDetails tr:nth-child(n+3) td:first-child {
	font-size: 0;
}
.topDetails tr:nth-child(n+3) td:last-child {
	display: flex;
	align-items: center;
	font-size: 0;
}
.topDetails tr:nth-child(n+3) a {
	display: none;
}
.topDetails tr:nth-child(n+3) .hdrIcon {
	width: 15px;
	height: 15px;
	margin: 0;
	vertical-align: middle;
	fill: var(--text);
	opacity: .9;
}
#headmoney,
#headpts,
.topDetails [data-c=dealer_points] {
	font-size: 13px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.topDetails tr:nth-child(3) td:last-child:before {
	content: '$';
	font-size: 13px;
	font-weight: 800;
}
.topDetails tr:nth-child(5) td:first-child {
	display: flex;
	align-items: center;
}
.topDetails tr:nth-child(5) .hdrIcon {
	display: none;
}
.topDetails tr:nth-child(5) td:first-child:after {
	content: 'DP';
	margin-left: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--text-muted);
}
#headerBlock .headDepBtn {
	pointer-events: auto;
	cursor: pointer;
}
#headerBlock .headDepBtn:hover #headmoney {
	color: var(--link-hover);
}
.topDetails .headDep {
	display: inline-flex;
}
#headerBlock .topDetails a.headQuickCog {
	display: inline-flex;
	width: 18px;
	height: 18px;
	margin-left: 2px;
}
#headerBlock .headQuickBtn {
	width: 18px;
	height: 18px;
	min-height: 0;
	margin-left: 6px;
	padding: 0;
	font-size: 13px;
	line-height: 1;
	vertical-align: middle;
}
#genBars,
#genBars tbody {
	display: block;
	width: 100%;
}
#genBars tbody {
	display: flex;
}
#genBars tr {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 0 12px;
	border-left: 1px solid var(--ph-line);
}
#genBars tr:first-child {
	padding-left: 0;
	border-left: 0;
}
#genBars tr:last-child {
	padding-right: 0;
}
#genBars td {
	padding: 0;
}
#genBars td.barLabel {
	padding: 0 0 8px;
	overflow: hidden;
	font-size: 12px;
	font-weight: 800;
	color: var(--my-bar-label, var(--text-muted));
	white-space: nowrap;
	text-overflow: ellipsis;
}
#genBars .hdrIcon {
	width: 13px;
	height: 13px;
	margin-right: 4px;
	vertical-align: -2px;
	opacity: 1;
}
#genBars td.barText {
	padding: 7px 0 0;
	overflow: hidden;
	font-size: 11px;
	color: var(--text);
	opacity: .85;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.meter {
	width: 100%;
	height: 8px;
	overflow: hidden;
	border: 0;
	border-radius: 99px;
	background: var(--ph-track);
}
.meter span {
	border-radius: inherit;
	background: var(--meter-fill);
}
#genBars tr:first-child .meter span {
	background: var(--my-bar-exp, var(--meter-fill));
}
#statusBar,
#footerBlock {
	padding: 6px 16px;
	border: 1px solid var(--ph-line);
	border-radius: 10px;
	font-size: 11px;
}
#statusBar {
	margin: 12px 0;
	border-color: var(--status-border);
}
#navBlock,
#rightBlock {
	width: 220px;
	padding: 8px;
	border: 1px solid var(--my-menu-divider, var(--ph-line));
	border-radius: 14px;
	background: var(--my-menu-bg, linear-gradient(160deg, var(--ph-card-hi), var(--ph-card)));
}
#navBlock .navSeperator,
#rightBlock > .navSeperator {
	margin: 14px 2px 5px;
	padding: var(--my-menu-head-pad, 2px 6px);
	border: 0;
	border-radius: 6px;
	box-shadow: inset 0 -1px 0 var(--my-menu-head-border, transparent);
	background: var(--my-menu-head-bg, none);
	color: var(--my-menu-head-text, var(--text-muted));
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.4;
	text-align: var(--my-menu-head-align, left);
	text-indent: var(--my-menu-head-indent, 0);
	text-transform: uppercase;
}
#navBlock .navSeperator:first-child,
#navBlock .sheetMore + .navSeperator,
#rightBlock > .navSeperator:first-child {
	margin-top: 6px;
}
#navBlock a,
#rightBlock > a {
	margin: 1px 0;
	padding: 6px 10px;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--my-menu-link, var(--text));
	font-size: 12.5px;
	font-weight: 600;
	line-height: 18px;
}
#navBlock a:before,
#rightBlock > a:before {
	content: none;
}
#navBlock a:hover,
#rightBlock > a:hover {
	background: var(--my-menu-hover-bg, var(--ph-card-hi));
	color: var(--link-hover);
}
#navBlock a[aria-current],
#rightBlock > a[aria-current] {
	background: var(--ph-glow);
	color: var(--link);
	box-shadow: inset 3px 0 0 var(--link);
}
#navBlock a > span[data-f=b],
#rightBlock > a > span[data-f=b] {
	margin-left: 2px;
	font-size: 11px;
	color: var(--my-menu-notify, var(--text-muted));
}
#navBlock a > span[data-act],
#rightBlock > a > span[data-act] {
	color: var(--my-menu-action, var(--my-menu-notify, var(--text-muted)));
}
#contentBlock {
	width: calc(100% - 238px);
	padding: 24px 28px 28px;
	border: 1px solid var(--ph-line);
	border-radius: 14px;
	background: linear-gradient(160deg, var(--ph-card), var(--page-bg) 420px);
}
#contentBlock:before {
	display: none;
}
#mainBlock.withRight {
	max-width: 1460px;
}
#mainBlock.withRight #contentBlock {
	width: calc(100% - 476px);
	margin-left: 18px;
}
@media (max-width: 1099px) {
	#mainBlock.withRight #contentBlock {
		float: right;
		width: calc(100% - 238px);
		margin-left: 0;
	}
	#rightBlock {
		float: left;
		clear: left;
		width: 220px;
		margin-top: 14px;
	}
}
body[data-page=index] #contentBlock > br {
	display: none;
}
.pageTitle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.8px;
	line-height: 1.15;
	text-align: left;
}
.pageTitle:after {
	content: '';
	flex: 0 0 100%;
	box-sizing: border-box;
	height: 6px;
	border-left: 48px solid var(--link);
	background: repeating-linear-gradient(135deg, var(--status-bg) 0 6px, var(--status-stripe) 6px 12px);
}
.titleIcon {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
}
.titleIcon svg {
	width: 30px;
	height: 30px;
	fill: var(--link);
	filter: drop-shadow(0 0 6px var(--ph-glow));
}
.gangbus {
	border: 1px solid var(--ph-line);
	border-radius: 12px;
	background: var(--ph-card);
}
.gangbus .seperator {
	border: 0;
	border-bottom: 1px solid var(--ph-line);
	border-radius: 0;
	background: none;
	color: var(--text-muted);
	font-size: 11px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}
body[data-page=index] #contentBlock .gangbus:has(td:nth-child(5)) {
	display: block;
	width: 100% !important;
	box-sizing: border-box;
	margin: 0 0 16px;
	padding: 14px 12px 8px;
	border-radius: 14px;
	background: linear-gradient(145deg, var(--ph-card), var(--page-bg));
}
body[data-page=index] .gangbus:has(td:nth-child(5)) tbody {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 8px;
}
body[data-page=index] .gangbus:has(td:nth-child(5)) tr:first-child {
	display: block;
	grid-column: 1 / -1;
}
body[data-page=index] .gangbus:has(td:nth-child(5)) .seperator {
	display: block;
	padding: 0 4px 12px;
	border: 0;
	text-align: left;
}
body[data-page=index] .gangbus:has(td:nth-child(5)) tr:not(:first-child) {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto;
	grid-auto-flow: column;
	column-gap: 8px;
	margin-bottom: 8px;
}
body[data-page=index] .gangbus:has(td:nth-child(5)) td:nth-child(3) {
	display: none;
}
body[data-page=index] .gangbus:has(td:nth-child(5)) tr:not(:first-child) td:empty {
	visibility: hidden;
}
body[data-page=index] .gangbus:has(td:nth-child(5)) tr:not(:first-child) td {
	width: auto !important;
	padding: 9px 10px 0 var(--dpad, 14px);
	border: 1px solid var(--ph-line);
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	background: var(--ph-card);
	font-size: 11px;
	font-weight: 400;
	color: var(--text-muted);
	text-align: left;
	white-space: nowrap;
}
body[data-page=index] .gangbus:has(td:nth-child(5)) tr:not(:first-child) td:is(:nth-child(2), :nth-child(5)) {
	padding: 2px 10px 10px var(--dpad, 14px);
	border: 1px solid var(--ph-line);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	white-space: normal;
	overflow-wrap: anywhere;
}
body[data-page=index] .gangbus:has(.detailIcon) {
	--dpad: 46px;
}
.detailIcon {
	position: absolute;
	top: 50%;
	left: 11px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	color: var(--text-muted);
}
td:nth-child(4) > .detailIcon {
	left: calc(50% + 15px);
}
.detailIcon svg {
	width: 22px;
	height: 22px;
	margin: 0;
	fill: currentColor;
	opacity: 1;
}
.mbWide .mbBox {
	padding: 13px 16px 15px;
	border: 1px solid var(--ph-line);
	border-left: 5px solid var(--link);
	border-radius: 14px;
	background: linear-gradient(145deg, var(--ph-card-hi), var(--ph-card));
	box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.mbWide .mbTrack {
	height: 7px;
	border-radius: 99px;
	background: var(--ph-track);
}
.mbWide .mbTrack i {
	border-radius: inherit;
}
input[type=button],
input[type=submit],
button,
.button {
	border-radius: 7px;
}
@media (max-width: 1000px) {
	#navBlock,
	#rightBlock {
		width: 190px;
	}
	#contentBlock,
	#mainBlock.withRight #contentBlock {
		width: calc(100% - 204px);
		padding: 20px 18px 24px;
	}
	#headerBlock {
		grid-template-areas: "details" "bars";
		grid-template-columns: minmax(0, 1fr);
	}
	.topDetails tr:nth-child(3) {
		order: 1;
	}
	.topDetails tbody {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px;
	}
	.topDetails tr:nth-child(n+2),
	.topDetails tr:first-child td:last-child {
		box-sizing: border-box;
		min-height: 28px;
		margin: 0;
		padding: 0 9px;
		border: 1px solid var(--ph-line);
		border-radius: 8px;
		background: var(--ph-card);
	}
	.topDetails tr:first-child td:last-child {
		display: block;
		max-width: 100%;
		line-height: 26px;
	}
	#headerBlock .hdrDetails {
		padding-top: 6px;
		padding-bottom: 12px;
	}
	#headerBlock .hdrBars {
		border-left: 0;
		border-top: 1px solid var(--ph-line);
	}
}
