/** Vice 2026 profile — isolated summary-route owner. */

body.vice-action-profile {
	--vpr-bg: #070b13;
	--vpr-surface: rgba(10, 16, 28, 0.94);
	--vpr-surface-2: rgba(13, 21, 35, 0.92);
	--vpr-border: rgba(125, 151, 188, 0.16);
	--vpr-border-strong: rgba(174, 188, 209, 0.22);
	--vpr-text: #eef4ff;
	--vpr-muted: #8996aa;
	--vpr-pink: #bd7898;
	--vpr-cyan: #73a8b2;
	--vpr-gold: #b99b68;
}

body.vice-action-profile #main_content_section {
	width: min(1280px, calc(100% - 36px));
	max-width: none;
	margin-inline: auto;
	padding: 0 0 64px;
}

.vpr-profile,
.vpr-profile * {
	box-sizing: border-box;
}

.vpr-profile {
	position: relative;
	width: 100%;
	color: var(--vpr-text);
	font-family: "Inter", "Nunito", system-ui, sans-serif;
}

.vpr-profile a {
	text-decoration: none;
}

.vpr-hero {
	position: relative;
	isolation: isolate;
	min-height: 410px;
	margin-bottom: 18px;
	overflow: hidden;
	border: 1px solid var(--vpr-border);
	border-radius: 20px;
	background: var(--vpr-bg);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(174, 188, 209, 0.025);
}

.vpr-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 2px;
	z-index: 3;
	background: linear-gradient(90deg, transparent, var(--vpr-pink) 22%, var(--vpr-cyan) 78%, transparent);
	opacity: 0.7;
}

.vpr-hero__cover,
.vpr-hero__cover img,
.vpr-hero__shade {
	position: absolute;
	inset: 0;
}

.vpr-hero__cover {
	z-index: -3;
}

.vpr-hero__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: saturate(0.92) contrast(1.08) brightness(0.62);
	transform: scale(1.01);
}

.vpr-hero__shade {
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(5, 8, 16, 0.9), rgba(5, 8, 16, 0.38) 48%, rgba(5, 8, 16, 0.68)),
		linear-gradient(180deg, rgba(5, 8, 16, 0.06), rgba(5, 8, 16, 0.2) 43%, #070b13 92%),
		radial-gradient(circle at 14% 30%, rgba(155, 119, 138, 0.08), transparent 34%);
}

.vpr-hero__actions {
	position: absolute;
	top: 22px;
	right: 22px;
	z-index: 5;
}

.vpr-hero__actions a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 10px;
	color: #f7fbff;
	background: rgba(6, 10, 18, 0.58);
	backdrop-filter: blur(12px);
	font-size: clamp(13px, 1vw, 14px);
	font-weight: 700;
}

.vpr-hero__actions a:hover {
	border-color: rgba(174, 188, 209, 0.22);
	background: rgba(174, 188, 209, 0.08);
}

.vpr-identity {
	position: absolute;
	left: 36px;
	bottom: 116px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 22px;
	max-width: calc(100% - 72px);
}

.vpr-identity__avatar {
	position: relative;
	flex: 0 0 132px;
	width: 132px;
	height: 132px;
	padding: 4px;
	border: 1px solid rgba(189, 120, 152, 0.34);
	border-radius: 50%;
	background: rgba(174, 188, 209, 0.09);
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
}

.vpr-identity__avatar .vp-aside-avatar__inner,
.vpr-identity__avatar .vice-avatar-deco,
.vpr-identity__avatar .vice-avatar-deco__frame {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
}

.vpr-identity__avatar .vp-forum-avatar-img,
.vpr-identity__avatar img:not(.vice-avatar-deco__overlay) {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 50%;
}

.vpr-identity__avatar .vice-avatar-deco__overlay {
	position: absolute;
	inset: -9%;
	width: 118%;
	height: 118%;
	pointer-events: none;
}

.vpr-presence {
	position: absolute;
	right: 7px;
	bottom: 10px;
	width: 16px;
	height: 16px;
	border: 3px solid #08101b;
	border-radius: 50%;
	background: #64748b;
}

.vpr-presence.is-online {
	background: #31d58b;
	box-shadow: 0 0 14px rgba(49, 213, 139, 0.62);
}

.vpr-identity__copy {
	min-width: 0;
	padding-top: 6px;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.68);
}

.vpr-identity__name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.vpr-identity__name h1 {
	margin: 0;
	color: #fff;
	font-family: "Chakra Petch", system-ui, sans-serif;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
}

.vpr-identity__name .vp-badge {
	font-size: 16px;
}

.vpr-identity__copy p {
	margin: 11px 0 4px;
	color: #d6dfed;
	font-size: clamp(15px, 1.2vw, 17px);
}

.vpr-identity__copy p strong {
	color: var(--vpr-pink);
}

.vpr-identity__copy > span {
	color: rgba(226, 235, 247, 0.7);
	font-size: clamp(13px, 1vw, 14px);
}

.vpr-hero__stats {
	position: absolute;
	right: 30px;
	bottom: 118px;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(92px, 1fr));
	min-width: 470px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 14px;
	background: rgba(6, 10, 18, 0.58);
	backdrop-filter: blur(14px);
}

.vpr-hero__stats div {
	display: grid;
	gap: 3px;
	padding: 0 15px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.vpr-hero__stats div:last-child {
	border-right: 0;
}

.vpr-hero__stats b {
	color: #f2f7ff;
	font-size: clamp(16px, 1.3vw, 18px);
	font-weight: 750;
}

.vpr-hero__stats span {
	color: var(--vpr-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vpr-nav {
	position: absolute;
	inset: auto 0 0;
	z-index: 4;
	display: flex;
	align-items: stretch;
	gap: 3px;
	height: 72px;
	padding: 14px 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(6, 10, 18, 0.9);
	backdrop-filter: blur(16px);
}

.vpr-nav__item,
.vpr-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 112px;
	padding: 0 15px;
	border: 0;
	color: #7f8ba0;
	background: transparent;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	cursor: pointer;
}

.vpr-nav__item::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 0;
	height: 2px;
	border-radius: 3px 3px 0 0;
	background: linear-gradient(90deg, var(--vpr-pink), var(--vpr-cyan));
	transform: scaleX(0);
	transition: transform 0.18s ease;
}

.vpr-nav__item:hover,
.vpr-nav__item.is-active,
.vpr-nav__link:hover {
	color: #f4f8ff;
}

.vpr-nav__item.is-active::after {
	transform: scaleX(1);
}

.vpr-nav__link {
	margin-left: auto;
}

.vpr-content {
	min-height: 340px;
}

.vpr-tab-panel {
	display: none;
}

.vpr-tab-panel.is-active {
	display: block;
	animation: vpr-fade 0.22s ease both;
}

@keyframes vpr-fade {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

.vpr-dashboard {
	display: grid;
	grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
	gap: 18px;
}

.vpr-stack {
	display: grid;
	align-content: start;
	gap: 18px;
}

.vpr-card {
	overflow: hidden;
	border: 1px solid var(--vpr-border);
	border-radius: 16px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 42%),
		var(--vpr-surface);
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.vpr-card > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 54px;
	padding: 13px 17px;
	border-bottom: 1px solid rgba(125, 151, 188, 0.1);
}

.vpr-card > header h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: #dfe8f5;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.03em;
}

.vpr-card > header h2 i {
	color: var(--vpr-cyan);
}

.vpr-card > header > span {
	color: var(--vpr-muted);
	font-size: 12px;
}

.vpr-about {
	padding-bottom: 16px;
}

.vpr-about > p {
	margin: 0;
	padding: 20px 18px 16px;
	color: #b8c3d3;
	font-size: 15px;
	font-style: italic;
	line-height: 1.75;
}

.vpr-about ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0 18px 18px;
	list-style: none;
}

.vpr-about li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--vpr-muted);
	font-size: 13px;
}

.vpr-about li i {
	width: 14px;
	color: #6f7cf0;
	text-align: center;
}

.vpr-socials {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 18px;
}

.vpr-socials a,
.vpr-socials > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--vpr-border);
	border-radius: 9px;
	color: #d5deec;
	background: rgba(255, 255, 255, 0.025);
}

.vpr-socials a:hover {
	border-color: rgba(174, 188, 209, 0.2);
	color: #fff;
	background: rgba(174, 188, 209, 0.07);
}

.vpr-socials small {
	color: var(--vpr-muted);
	font-size: 12px;
}

.vpr-quicklinks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
	padding: 15px;
}

.vpr-quicklinks a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px;
	border: 1px solid var(--vpr-border);
	border-radius: 10px;
	color: #aeb9c9;
	font-size: 13px;
	font-weight: 600;
}

.vpr-quicklinks a:hover {
	color: #fff;
	border-color: var(--vpr-border-strong);
}

.vpr-awards {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	min-height: 100px;
	padding: 18px;
}

.vpr-awards .vp-award,
.vpr-awards .vp-award-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	margin: 0;
	border: 1px solid rgba(230, 184, 92, 0.2);
	border-radius: 14px;
	background: radial-gradient(circle, rgba(230, 184, 92, 0.1), rgba(255, 255, 255, 0.015));
}

.vpr-awards .vp-award img {
	display: block;
	max-width: 52px;
	max-height: 52px;
}

.vpr-awards .vp-award-more {
	color: var(--vpr-gold);
	font-weight: 800;
}

.vpr-visitors {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	padding: 16px;
}

.vpr-visitors > a {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	padding: 9px;
	border: 1px solid transparent;
	border-radius: 11px;
	color: #b9c4d4;
}

.vpr-visitors > a:hover {
	border-color: var(--vpr-border);
	background: rgba(255, 255, 255, 0.025);
}

.vpr-visitors .vp-member-avatar__inner,
.vpr-visitors .vice-avatar-deco {
	flex: 0 0 38px;
	display: block;
	width: 38px;
	height: 38px;
	margin: 0;
}

.vpr-visitors img:not(.vice-avatar-deco__overlay) {
	display: block;
	width: 38px;
	height: 38px;
	object-fit: cover;
	border-radius: 50%;
}

.vpr-visitors > a > span {
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vpr-characters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 16px;
}

.vpr-character {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	min-height: 174px;
	overflow: hidden;
	border: 1px solid var(--vpr-border);
	border-radius: 14px;
	background: var(--vpr-surface-2);
}

.vpr-character.is-online {
	border-color: rgba(49, 213, 139, 0.26);
	box-shadow: inset 2px 0 0 #31d58b;
}

.vpr-character__portrait {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 174px;
	background: linear-gradient(160deg, rgba(115, 168, 178, 0.045), rgba(155, 119, 138, 0.025));
}

.vpr-character__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
}

.vpr-character__portrait.is-empty i {
	color: #536075;
	font-size: 28px;
}

.vpr-character__body {
	min-width: 0;
	padding: 14px;
}

.vpr-character__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.vpr-character__head h3 {
	margin: 0;
	color: #eef4ff;
	font-size: 16px;
}

.vpr-character__head p {
	margin: 4px 0 0;
	color: var(--vpr-muted);
	font-size: 12px;
}

.vpr-level {
	flex: 0 0 auto;
	padding: 4px 7px;
	border: 1px solid rgba(115, 168, 178, 0.2);
	border-radius: 7px;
	color: var(--vpr-cyan);
	font-size: 11px;
	font-weight: 800;
}

.vpr-character__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 12px;
	margin-top: 13px;
}

.vpr-character__facts span {
	display: grid;
	gap: 2px;
	color: #c1cad8;
	font-size: 12px;
}

.vpr-character__facts b {
	color: #68758a;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vpr-character__meters {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 12px;
}

.vpr-character__meters div {
	display: grid;
	gap: 4px;
}

.vpr-character__meters span {
	color: var(--vpr-muted);
	font-size: 10px;
}

.vpr-character__meters i {
	display: block;
	height: 3px;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.07);
}

.vpr-character__meters b {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--vpr-pink), #766af7, var(--vpr-cyan));
}

.vpr-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 18px;
}

.vpr-info-grid div {
	display: grid;
	gap: 7px;
	min-height: 82px;
	padding: 15px;
	border: 1px solid var(--vpr-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.018);
}

.vpr-info-grid span {
	color: var(--vpr-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vpr-info-grid b {
	color: #dfe8f5;
	font-size: 15px;
}

.vpr-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 90px;
	padding: 18px;
	color: var(--vpr-muted);
	font-size: 13px;
}

/* Existing record renderer, visually owned by the new profile shell. */
.vpr-profile .vp-records {
	display: grid;
	gap: 10px;
	padding: 16px;
}

.vpr-profile .vp-record-block {
	overflow: hidden;
	border: 1px solid var(--vpr-border);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.018);
}

.vpr-profile .vp-record-block summary {
	padding: 13px 15px;
	color: #cbd5e3;
	background: transparent;
	cursor: pointer;
}

.vpr-profile .vp-record-body {
	padding: 0 14px 14px;
}

.vpr-profile .vp-record-table-wrap {
	overflow-x: auto;
}

.vpr-profile .vp-record-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.vpr-profile .vp-record-table th,
.vpr-profile .vp-record-table td {
	padding: 10px;
	border-bottom: 1px solid rgba(125, 151, 188, 0.1);
	color: #aeb9ca;
	text-align: left;
}

.vpr-profile .vp-record-table th {
	color: #748198;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

@media (max-width: 1050px) {
	.vpr-hero {
		min-height: 480px;
	}

	.vpr-identity {
		bottom: 190px;
	}

	.vpr-hero__stats {
		left: 32px;
		right: 32px;
		bottom: 92px;
		min-width: 0;
	}

	.vpr-characters {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	body.vice-action-profile #main_content_section {
		width: min(100% - 20px, 1280px);
	}

	.vpr-hero {
		min-height: 610px;
		border-radius: 15px;
	}

	.vpr-hero__actions {
		top: 14px;
		right: 14px;
	}

	.vpr-hero__actions span {
		display: none;
	}

	.vpr-identity {
		left: 22px;
		right: 22px;
		bottom: 292px;
		align-items: flex-end;
		gap: 15px;
	}

	.vpr-identity__avatar {
		flex-basis: 96px;
		width: 96px;
		height: 96px;
	}

	.vpr-identity__name h1 {
		font-size: 25px;
	}

	.vpr-hero__stats {
		left: 18px;
		right: 18px;
		bottom: 154px;
		grid-template-columns: 1fr 1fr;
		gap: 12px 0;
	}

	.vpr-hero__stats div:nth-child(2) {
		border-right: 0;
	}

	.vpr-nav {
		height: 130px;
		flex-wrap: wrap;
		align-content: center;
		padding: 11px;
	}

	.vpr-nav__item,
	.vpr-nav__link {
		flex: 1 1 30%;
		min-width: 0;
		height: 47px;
		padding: 0 8px;
	}

	.vpr-nav__link {
		margin-left: 0;
	}

	.vpr-dashboard {
		grid-template-columns: 1fr;
	}

	.vpr-visitors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vpr-info-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.vpr-identity__copy > span,
	.vpr-identity__copy p {
		display: none;
	}

	.vpr-character {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.vpr-character__facts,
	.vpr-info-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vpr-tab-panel.is-active {
		animation: none;
	}
}
