#tabs li.tab a[href*='mode=bank'],
#tabs li.tab a[href*='mode=robbery'] {
    display: none;
}
/* ==========================================================================
   ULTIMATE POINTS — SCOPED TO .rs-up-wrap ONLY
   ========================================================================== */

.rs-up-wrap {
	margin: 12px 0 20px;
}

/* Tabs scoped to Ultimate Points — flush against panel below */
.rs-up-wrap #tabs.tabs {
	margin: 0;
	padding: 0;
	border-bottom: 0;
	position: relative;
	z-index: 2;
}
.rs-up-wrap #tabs.tabs ul {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 6px;
	margin: 0;
	padding: 0 12px;
	list-style: none;
}
.rs-up-wrap #tabs.tabs .tab {
	float: none;
	margin: 0;
}
.rs-up-wrap #tabs.tabs .tab a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 10px 10px 0 0;
	border: 1px solid #c8d0d3;
	border-bottom: 0;
	background: linear-gradient(180deg, #ffffff 0%, #f4f6f7 100%);
	color: #111111;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.03);
}
.rs-up-wrap #tabs.tabs .tab.activetab a,
.rs-up-wrap #tabs.tabs .tab a:hover {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
	border-color: #c8d0d3;
	border-bottom: 1px solid #ffffff;
	margin-bottom: -1px;
	color: #111111;
}
html.darkmode .rs-up-wrap #tabs.tabs .tab a {
	background: linear-gradient(180deg, #1e2224 0%, #16191a 100%);
	border-color: #2b2f32;
	border-bottom: 0;
	color: #d6dde1;
}
html.darkmode .rs-up-wrap #tabs.tabs .tab.activetab a,
html.darkmode .rs-up-wrap #tabs.tabs .tab a:hover {
	background: linear-gradient(180deg, #252a2d 0%, #1a1e20 100%);
	border-color: #2b2f32;
	border-bottom: 1px solid #1a1e20;
	margin-bottom: -1px;
	color: #ffffff;
}

/* Outer Shell Panel */
.rs-up-wrap .rs-up-shell.panel {
	margin-top: 0;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
	border: 1px solid #c8d0d3;
	border-radius: 14px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	padding: 16px;
	position: relative;
	z-index: 1;
}
html.darkmode .rs-up-wrap .rs-up-shell.panel {
	background: linear-gradient(180deg, #1a1e20 0%, #111415 100%);
	border-color: #2b2f32;
	color: #e8ecef;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(165, 172, 175, 0.08);
}

.rs-up-wrap .rs-up-heading {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e2e7e9;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #111111;
}
html.darkmode .rs-up-wrap .rs-up-heading {
	border-bottom-color: #2b2f32;
	color: #ffffff;
}

/* Hero Card (Overview) */
.rs-up-wrap .rs-up-hero-card.panel {
	margin: 0 0 16px;
	padding: 16px;
	border-radius: 12px;
	border: 1px solid #c8d0d3;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
	color: #111111;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
html.darkmode .rs-up-wrap .rs-up-hero-card.panel {
	border-color: #a5acaf;
	background: linear-gradient(180deg, #262a2d 0%, #141719 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.rs-up-wrap .rs-up-hero-fields {
	margin: 0;
	padding: 0;
	border: 0;
}
.rs-up-wrap .rs-up-greeting {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 800;
	color: #111111;
}
html.darkmode .rs-up-wrap .rs-up-greeting {
	color: #ffffff;
}
.rs-up-wrap .rs-up-locked {
	margin: 0 0 10px;
	color: #b91c1c;
}
html.darkmode .rs-up-wrap .rs-up-locked {
	color: #ff7b7b;
}
.rs-up-wrap .rs-up-stat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.rs-up-wrap .rs-up-stat-box {
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #c8d0d3;
	background: #f4f6f7;
	font-size: 14px;
	font-weight: 700;
	color: #111111;
	font-variant-numeric: tabular-nums;
}
.rs-up-wrap .rs-up-stat-box,
.rs-up-wrap .rs-up-stat-box p,
.rs-up-wrap .rs-up-stat-box span,
.rs-up-wrap .rs-up-stat-box strong {
	color: #111111;
}
html.darkmode .rs-up-wrap .rs-up-stat-box {
	border-color: rgba(165, 172, 175, 0.45);
	background: rgba(255, 255, 255, 0.06);
	color: #f0f3f5;
}
html.darkmode .rs-up-wrap .rs-up-stat-box,
html.darkmode .rs-up-wrap .rs-up-stat-box p,
html.darkmode .rs-up-wrap .rs-up-stat-box span,
html.darkmode .rs-up-wrap .rs-up-stat-box strong {
	color: #f0f3f5;
}

/* Leaderboard Grid (Overview) */
.rs-up-wrap .rs-up-lists-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
}
.rs-up-wrap .rs-up-list-card.panel {
	margin: 0;
	padding: 14px;
	border-radius: 12px;
	border: 1px solid #c8d0d3;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
html.darkmode .rs-up-wrap .rs-up-list-card.panel {
	background: linear-gradient(180deg, #1e2224 0%, #16191a 100%);
	border-color: #2b2f32;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(165, 172, 175, 0.08);
}
.rs-up-wrap .rs-up-list-card h3 {
	margin: 0 0 10px;
	padding-bottom: 6px;
	border-bottom: 2px solid #a5acaf;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #111111;
}
html.darkmode .rs-up-wrap .rs-up-list-card h3 {
	color: #ffffff;
}

.rs-up-wrap .rs-up-list-rows {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.rs-up-wrap .rs-up-list-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 9px;
	border: 1px solid #d5dce0;
	background: #f8fafa;
}
html.darkmode .rs-up-wrap .rs-up-list-row {
	border-color: #2b2f32;
	background: #171a1c;
}

/* 1st / 2nd / 3rd Place Medal Panels — Light Mode */
.rs-up-wrap .rs-up-list-row.rs-up-rank-1 {
	background: linear-gradient(180deg, #fff9db 0%, #f5e29c 100%);
	border-color: #d4af37;
}
.rs-up-wrap .rs-up-list-row.rs-up-rank-2 {
	background: linear-gradient(180deg, #f7f9fa 0%, #dce2e6 100%);
	border-color: #a5acaf;
}
.rs-up-wrap .rs-up-list-row.rs-up-rank-3 {
	background: linear-gradient(180deg, #fdf0e6 0%, #e5b892 100%);
	border-color: #b87333;
}

/* 1st / 2nd / 3rd Place Medal Panels — Dark Mode */
html.darkmode .rs-up-wrap .rs-up-list-row.rs-up-rank-1 {
	background: linear-gradient(180deg, #3a3114 0%, #241e0b 100%);
	border-color: #c9a227;
}
html.darkmode .rs-up-wrap .rs-up-list-row.rs-up-rank-2 {
	background: linear-gradient(180deg, #2b3034 0%, #1a1e20 100%);
	border-color: #9aa3a8;
}
html.darkmode .rs-up-wrap .rs-up-list-row.rs-up-rank-3 {
	background: linear-gradient(180deg, #382315 0%, #21140b 100%);
	border-color: #a8642c;
}

.rs-up-wrap .rs-up-col-user {
	font-weight: 700;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rs-up-wrap .rs-up-col-val {
	font-weight: 800;
	font-size: 12px;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: #111111;
}
html.darkmode .rs-up-wrap .rs-up-col-val {
	color: #ffffff;
}
.rs-up-wrap .rs-up-empty {
	margin: 0;
	padding: 10px;
	border-radius: 8px;
	border: 1px dashed #c8d0d3;
	font-size: 12px;
	color: #666666;
}
html.darkmode .rs-up-wrap .rs-up-empty {
	border-color: #2b2f32;
	color: #9aa3a8;
}

/* Info Page Layout & Cards */
.rs-up-wrap .rs-up-info-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
.rs-up-wrap .rs-up-side-card.cp-mini {
	float: none;
	width: auto;
	margin: 0;
	padding: 14px;
	border-radius: 12px;
	border: 1px solid #c8d0d3;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
}
html.darkmode .rs-up-wrap .rs-up-side-card.cp-mini {
	background: linear-gradient(180deg, #1e2224 0%, #16191a 100%);
	border-color: #2b2f32;
}
.rs-up-wrap .rs-up-side-card dl.mini dd {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.5;
}
.rs-up-wrap .rs-up-info-main.ucp-main {
	float: none;
	width: auto;
	margin: 0;
}
.rs-up-wrap .rs-up-info-card.panel {
	margin: 0;
	padding: 16px;
	border-radius: 12px;
	border: 1px solid #c8d0d3;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafa 100%);
}
html.darkmode .rs-up-wrap .rs-up-info-card.panel {
	background: linear-gradient(180deg, #1e2224 0%, #16191a 100%);
	border-color: #2b2f32;
}
.rs-up-wrap .rs-up-balance-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	margin-bottom: 14px;
	border-radius: 10px;
	border: 1px solid #a5acaf;
	background: linear-gradient(180deg, #262a2d 0%, #141719 100%);
	color: #ffffff;
	font-weight: 700;
}
.rs-up-wrap .rs-up-rates-list {
	margin: 0;
	padding: 0;
	border: 0;
}
.rs-up-wrap .rs-up-rates-list h3 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.rs-up-wrap .rs-up-rates-list dl {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 9px 10px;
	border-bottom: 1px solid #e6ebed;
}
html.darkmode .rs-up-wrap .rs-up-rates-list dl {
	border-bottom-color: #2b2f32;
}
.rs-up-wrap .rs-up-rates-list dl:last-child {
	border-bottom: 0;
}
.rs-up-wrap .rs-up-rates-list dt {
	float: none;
	width: auto;
	font-weight: 700;
}
.rs-up-wrap .rs-up-rates-list dd {
	float: none;
	margin: 0;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 820px) {
	.rs-up-wrap .rs-up-info-layout {
		grid-template-columns: 1fr;
	}
	.rs-up-wrap .rs-up-stat-grid {
		grid-template-columns: 1fr;
	}
}