/* Profil użytkownika (Nedds24.pl) — Ostateczna, idealnie równa wersja */
.nedds-profile-card, .nedds-profile-grid {
	max-width: 1470px;
	width: 99%;
	margin: 0 auto;
}
.nedds-profile-card {
	background: #14161a;
	border: 1px solid #2a2d36;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.nedds-profile-cover {
	height: 175px;
	background: radial-gradient(circle at 50% 45%, rgba(226, 184, 121, 0.22) 0%, transparent 65%), linear-gradient(180deg, rgba(20, 22, 26, 0.15) 0%, rgba(20, 22, 26, 0.95) 100%), url(../../../images/cover_bg.jpg) center / cover no-repeat, #1c1f26;
	border-bottom: 1px solid rgba(226, 184, 121, 0.35);
	position: relative;
}
.nedds-cover-actions {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: flex !important;
	flex-wrap: nowrap !important;
	justify-content: flex-end !important;
	align-items: center !important;
	gap: 4px !important;
	max-width: calc(50% - 62px);
	z-index: 4;
}
/* 100% identyczny kolor, rozmiar i wyrównanie co do piksela dla WSZYSTKICH 4 przycisków */
.nedds-cover-actions a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	height: 26px !important;
	margin: 0 !important;
	padding: 0 8px !important;
	background-color: #171513 !important;
	background-image: linear-gradient(180deg, #211e1b 0%, #171513 100%) !important;
	border: 1px solid #3c362e !important;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.75), 0 3px 10px rgba(0, 0, 0, 0.5) !important;
	color: #f4f4f5 !important;
	border-radius: 6px !important;
	font-size: 9px !important;
	font-weight: bold !important;
	text-transform: uppercase !important;
	letter-spacing: 0.2px !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	line-height: 26px !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
}
.nedds-cover-actions a:hover {
	border-color: #e2b879 !important;
	color: #e2b879 !important;
	background-color: #1d1a17 !important;
	background-image: linear-gradient(180deg, #2a2621 0%, #1d1a17 100%) !important;
}
.nedds-cover-actions a i {
	color: #fbbf24 !important;
	font-size: 10px !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.nedds-cover-actions a:nth-of-type(2):not(:has(i))::before {
	content: "\f234";
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
	font-weight: 900;
	color: #fbbf24;
	font-size: 10px;
	line-height: 1;
}
.nedds-cover-actions a:nth-of-type(3):not(:has(i))::before {
	content: "\f05e";
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
	font-weight: 900;
	color: #fbbf24;
	font-size: 10px;
	line-height: 1;
}
.nedds-cover-actions a:nth-of-type(4):not(:has(i))::before {
	content: "\f024";
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
	font-weight: 900;
	color: #fbbf24;
	font-size: 10px;
	line-height: 1;
}
.nedds-profile-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: start;
	gap: 24px;
	padding: 16px 32px 20px;
	background: #14161a;
}
.nedds-stats-side {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	text-align: center;
	padding-top: 4px;
}
.nedds-stat-label {
	font-size: 10.5px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #8e929b;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	white-space: nowrap;
}
.nedds-stats-side:first-of-type .nedds-stat-item:nth-child(1) .nedds-stat-label i { color: #38bdf8 !important; }
.nedds-stats-side:first-of-type .nedds-stat-item:nth-child(2) .nedds-stat-label i { color: #c084fc !important; }
.nedds-stats-side:first-of-type .nedds-stat-item:nth-child(3) .nedds-stat-label i { color: #34d399 !important; }
.nedds-stats-side:last-of-type .nedds-stat-item:nth-child(1) .nedds-stat-label i { color: #fbbf24 !important; }
.nedds-stats-side:last-of-type .nedds-stat-item:nth-child(2) .nedds-stat-label i { color: #fb7185 !important; }
.nedds-stats-side:last-of-type .nedds-stat-item:nth-child(3) .nedds-stat-label i { color: #2dd4bf !important; }
.nedds-stat-value {
	font-size: 13.5px;
	font-weight: bold;
	color: #ffffff;
}
.nedds-stat-value.green { color: #34d399; }
.nedds-stat-value.gold { color: #fbbf24; }
.nedds-profile-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-top: -72px;
	min-width: 190px;
	z-index: 6;
}
.nedds-profile-avatar img {
	width: 108px;
	height: 108px;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid #14161a;
	box-shadow: 0 0 0 2px #e2b879, 0 8px 22px rgba(0, 0, 0, 0.75);
	margin-bottom: 8px;
}
.nedds-profile-name {
	font-size: 19px;
	font-weight: bold;
	margin-bottom: 6px;
}
.nedds-profile-badges {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.nedds-profile-badges img {
	border: none !important;
	box-shadow: none !important;
	max-height: 28px;
}
.nedds-profile-grid {
	display: grid;
	grid-template-columns: 460px 1fr;
	gap: 20px;
	align-items: start;
}
.nedds-profile-col br:not(td br) {
	display: none !important;
}
.nedds-profile-col table.tborder {
	table-layout: auto !important;
	width: 100% !important;
	border-radius: 10px !important;
	overflow: hidden;
	border: 1px solid #2a2d35 !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
	margin-top: 0 !important;
	margin-bottom: 14px !important;
}
.nedds-profile-col table.tborder td.thead {
	padding: 10px 14px !important;
	font-size: 13.5px !important;
}
.nedds-profile-col table.tborder td.thead i {
	color: #e2b879;
	margin-right: 6px;
}
.nedds-profile-col table.tborder td.thead:not(:has(i))::before {
	content: "\f05a";
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
	font-weight: 900;
	color: #e2b879;
	margin-right: 7px;
}
.nedds-profile-col table.tborder:has(a[href*="private.php"], a[href*="emailuser"]) td.thead:not(:has(i))::before {
	content: "\f0e0";
}
.nedds-profile-col:last-child table.tborder:not(:has(a[href*="modcp.php"])):not(:has(a[href*="admin"])) td.thead:not(:has(i))::before {
	content: "\f304";
}
.nedds-profile-col table.tborder:has(a[href*="modcp.php"]) td.thead:not(:has(i))::before {
	content: "\f3ed";
}
.nedds-profile-col table.tborder:has(a[href*="admin"]) td.thead:not(:has(i))::before {
	content: "\f085";
}
.nedds-profile-col table.tborder td.trow1,
.nedds-profile-col table.tborder td.trow2 {
	padding: 9px 14px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.nedds-profile-col:first-child table.tborder tr:not(:first-child) td:first-child {
	width: 180px !important;
	min-width: 180px !important;
	max-width: 180px !important;
	white-space: nowrap !important;
}
.nedds-profile-col:first-child table.tborder tr:not(:first-child) td:last-child {
	width: auto !important;
}
.nedds-profile-col:first-child tr:first-of-type td.trow1:last-child {
	line-height: 1.5;
	font-size: 12px;
	color: #a1a1aa;
}
.nedds-profile-col:first-child td.trow1 .online,
.nedds-profile-col:first-child td.trow1 span[style*="green"] {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(16, 185, 129, 0.14);
	border: 1px solid rgba(52, 211, 153, 0.45);
	color: #34d399 !important;
	font-weight: bold;
	font-size: 11.5px;
	padding: 2px 9px;
	border-radius: 999px;
	margin-right: 4px;
	vertical-align: middle;
}
.nedds-profile-col:first-child td.trow1 .online::before,
.nedds-profile-col:first-child td.trow1 span[style*="green"]::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 6px #34d399;
}
.nedds-profile-col:first-child td.trow1 .offline,
.nedds-profile-col:first-child td.trow1 span[style*="red"] {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(248, 113, 113, 0.35);
	color: #f87171 !important;
	font-weight: bold;
	font-size: 11.5px;
	padding: 2px 9px;
	border-radius: 999px;
}
.nedds-profile-col:first-child td.trow1 .offline::before,
.nedds-profile-col:first-child td.trow1 span[style*="red"]::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f87171;
}
.nedds-profile-col:first-child td a[href^="http"] {
	color: #e2b879 !important;
	text-decoration: none;
	margin-left: 8px !important;
}
.nedds-visitors-box {
	font-size: 12.5px;
	color: #d4d4d8;
	line-height: 1.5;
}
.nedds-profile-col table.tborder td img {
	border-radius: 50%;
	border: 1px solid rgba(226, 184, 121, 0.45);
	object-fit: cover;
	vertical-align: middle;
}
@media (hover: none) and (pointer: coarse) {
	.nedds-profile-card, .nedds-profile-grid { width: 98% !important; }
	.nedds-profile-cover { height: 135px; }
	.nedds-cover-actions { right: 10px; left: 10px; top: 10px; bottom: auto; max-width: none; flex-wrap: wrap !important; justify-content: center !important; }
	.nedds-profile-bar { grid-template-columns: 1fr; gap: 12px; padding: 14px 16px 18px; }
	.nedds-profile-center { order: -1; margin-top: -62px; }
	.nedds-profile-avatar img { width: 100px; height: 100px; }
	.nedds-stats-side { gap: 8px; padding-top: 0; }
	.nedds-stat-item { background: #1b1e24; border: 1px solid #282c35; border-radius: 8px; padding: 8px 6px; }
	.nedds-profile-grid { grid-template-columns: 1fr; gap: 12px; }
}
