/**
 * Bractwo Profil Społeczność v1.3.39
 *
 * Styles use the theme variables first. If a different theme is active, the
 * fallback colors keep the interface readable without taking over the page.
 */

.bractwo-profil,
.bractwo-profil-widget {
	--bps-bg: var(--ba-bg, #080d0b);
	--bps-panel: var(--ba-panel, #121815);
	--bps-panel-strong: var(--ba-panel-strong, #1a231e);
	--bps-text: var(--ba-text, #f4efe3);
	--bps-muted: var(--ba-muted, #b8b09f);
	--bps-gold: var(--ba-gold, #d6b35a);
	--bps-line: var(--ba-line, rgba(214, 179, 90, 0.24));
	color: var(--bps-text);
}

.bractwo-profil a,
.bractwo-profil-widget a {
	color: var(--bps-gold);
}

.bractwo-profil-head,
.bractwo-profil-panel,
.bractwo-profil-user-card,
.bractwo-profil-item {
	background: var(--bps-panel);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
}

.bractwo-profil-rank-counts {
	display: grid !important;
	gap: 24px !important;
}

.bractwo-profil-rank-counts section {
	display: grid !important;
	gap: 12px !important;
	min-width: 0;
}

.bractwo-profil-rank-counts h3 {
	margin: 0;
	color: var(--ba-text, #f4f0df);
	font-size: 20px;
	line-height: 1.3;
}

.bractwo-profil-rank-counts ul {
	display: grid !important;
	gap: 8px !important;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bractwo-profil-rank-counts li {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) max-content !important;
	align-items: center;
	gap: 16px;
	padding: 9px 12px;
	border: 1px solid var(--ba-line, rgba(224, 183, 92, 0.28));
	border-radius: 8px;
	background: var(--ba-panel, rgba(8, 30, 20, 0.72));
}

.bractwo-profil-rank-counts span {
	color: var(--ba-text, #f4f0df);
	display: block;
	font-weight: 700;
	max-width: none !important;
	min-width: 0;
	overflow-wrap: normal !important;
	width: auto !important;
	word-break: normal !important;
}

.bractwo-profil-rank-counts strong {
	color: var(--ba-gold, #e0b75c);
	display: block;
	font-variant-numeric: tabular-nums;
	margin-left: auto;
	max-width: none !important;
	min-width: 2ch;
	white-space: nowrap;
	width: auto !important;
}

.bractwo-profil-item {
	scroll-margin-top: 24px;
}

.bractwo-profil-head {
	background:
		linear-gradient(135deg, rgba(214, 179, 90, 0.07), transparent 34%),
		linear-gradient(180deg, rgba(21, 43, 31, 0.96), rgba(10, 18, 14, 0.98));
	display: grid;
	grid-template-columns: minmax(160px, 220px) minmax(280px, 1fr);
	gap: 18px;
	align-items: start;
	padding: 18px;
	margin-bottom: 14px;
}

.bractwo-profil-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	grid-column: 1 / -1;
}

.bractwo-profil-layout {
	display: grid;
	grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.bractwo-profil-side {
	position: sticky;
	top: 18px;
}

.bractwo-profil-main {
	min-width: 0;
}

.bractwo-profil-avatar-img {
	display: block;
	border-radius: 8px;
	object-fit: cover;
}

.bractwo-profil-avatar {
	display: grid;
	gap: 12px;
	justify-items: center;
}

.bractwo-profil-head > .bractwo-profil-avatar {
	width: 100%;
	max-width: 280px;
}

.bractwo-profil-head > .bractwo-profil-avatar > .bractwo-profil-avatar-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
}

.bractwo-profil-avatar-form {
	display: grid;
	gap: 10px;
	margin: 0;
	max-width: 280px;
}

.bractwo-profil-avatar-form label {
	font-size: 0.88rem;
}

.bractwo-profil-avatar-details {
	width: 100%;
	max-width: 280px;
}

.bractwo-profil-avatar-cropper {
	display: grid;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	background: var(--bps-panel-strong);
}

.bractwo-profil-avatar-cropper[hidden] {
	display: none;
}

.bractwo-profil-avatar-cropper canvas {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border: 2px solid var(--bps-gold);
	border-radius: 8px;
	background: #07130d;
	cursor: grab;
	touch-action: none;
}

.bractwo-profil-avatar-cropper canvas:active {
	cursor: grabbing;
}

.bractwo-profil-avatar-crop-title,
.bractwo-profil-avatar-crop-hint {
	margin: 0;
}

.bractwo-profil-avatar-crop-title {
	color: var(--bps-text);
	font-weight: 700;
}

.bractwo-profil-avatar-crop-hint {
	color: var(--bps-muted);
	font-size: 0.82rem;
	line-height: 1.4;
}

.bractwo-profil-avatar-zoom {
	display: grid;
	gap: 5px;
}

.bractwo-profil-avatar-zoom input[type="range"] {
	width: 100%;
}

.bractwo-profil-avatar-details summary {
	align-items: center;
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	list-style: none;
	min-height: 42px;
	padding: 10px 14px;
	width: 100%;
}

.bractwo-profil-avatar-details summary::-webkit-details-marker {
	display: none;
}

.bractwo-profil-avatar-details summary:hover,
.bractwo-profil-avatar-details[open] summary {
	border-color: var(--bps-gold);
	color: var(--bps-gold);
}

.bractwo-profil-avatar-details[open] summary {
	margin-bottom: 10px;
}

.bractwo-profil-head h2 {
	margin: 0 0 6px;
}

.bractwo-profil-info-grid {
	display: grid;
	gap: 8px;
	margin-top: 14px;
	max-width: 620px;
	min-width: 0;
}

.bractwo-profil-info-row {
	display: grid;
	grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
	gap: 14px;
	padding: 4px 0;
}

.bractwo-profil-info-row.has-reset {
	align-items: center;
	grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr) auto;
}

.bractwo-profil-info-row span {
	color: var(--bps-muted);
	font-weight: 700;
}

.bractwo-profil-info-row strong {
	color: var(--bps-text);
	font-weight: 700;
	min-width: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

.bractwo-profil-master-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--bps-gold);
	text-underline-offset: 3px;
}

.bractwo-profil-master-link:hover,
.bractwo-profil-master-link:focus {
	color: var(--bps-gold);
}

.bractwo-profil-muted {
	color: var(--bps-muted);
}

.bractwo-profil-stats {
	background: var(--bps-panel);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	margin: 0 0 14px;
	padding: 14px;
}

.bractwo-profil-stats h3 {
	color: var(--bps-text);
	font-size: 1.05rem;
	margin: 0 0 10px;
}

.bractwo-profil-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.bractwo-profil-stat {
	background: var(--bps-panel-strong);
	border: 1px solid rgba(214, 179, 90, 0.16);
	border-radius: 8px;
	padding: 10px;
	text-align: center;
}

.bractwo-profil-stat strong {
	color: var(--bps-gold);
	display: block;
	font-size: 1.35rem;
	line-height: 1.1;
}

.bractwo-profil-stat span {
	color: var(--bps-muted);
	display: block;
	font-size: 0.88rem;
	line-height: 1.25;
	margin-top: 6px;
}

.bractwo-profil-admin-preview {
	background: linear-gradient(180deg, rgba(214, 179, 90, 0.08), rgba(14, 31, 23, 0.72));
	border: 1px solid rgba(214, 179, 90, 0.28);
	border-radius: 8px;
	margin: 0 0 14px;
	padding: 14px;
}

.bractwo-profil-admin-preview h3 {
	color: var(--bps-text);
	font-size: 1.05rem;
	margin: 0 0 8px;
}

.bractwo-profil-admin-preview-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.bractwo-profil-admin-preview-nav a {
	align-items: center;
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	display: inline-flex;
	font-weight: 700;
	min-height: 42px;
	padding: 8px 12px;
	text-decoration: none;
}

.bractwo-profil-admin-preview-nav a:hover,
.bractwo-profil-admin-preview-nav a:focus,
.bractwo-profil-admin-preview-nav a.is-active {
	border-color: var(--bps-gold);
	color: var(--bps-gold);
}

.bractwo-profil-admin-preview-content {
	margin-top: 14px;
	overflow-x: auto;
}

.bractwo-profil-admin-preview-table {
	min-width: 680px;
}

.bractwo-profil-sep {
	color: var(--bps-muted);
	margin: 0 8px;
}

.bractwo-profil-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}

.bractwo-profil-tabs a,
.bractwo-profil button,
.bractwo-profil-widget-grid a,
.bractwo-profil-side-nav a,
.bractwo-profil-table-actions .bractwo-profil-mini-link {
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bractwo-profil-tabs a.is-active,
.bractwo-profil button:hover,
.bractwo-profil-widget-grid a:hover,
.bractwo-profil-side-nav a:hover,
.bractwo-profil-table-actions .bractwo-profil-mini-link:hover {
	border-color: var(--bps-gold);
	color: var(--bps-gold);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(214, 179, 90, 0.22);
	transform: translateY(-1px);
}

.bractwo-profil-tabs a:active,
.bractwo-profil button:active,
.bractwo-profil-widget-grid a:active,
.bractwo-profil-side-nav a:active,
.bractwo-profil-table-actions .bractwo-profil-mini-link:active {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(214, 179, 90, 0.18);
	transform: translateY(0);
}

.bractwo-profil-tabs .bractwo-profil-send-message-link {
	border-color: rgba(214, 179, 90, 0.55);
	color: var(--bps-gold);
}

.bractwo-profil-tabs .bractwo-profil-inline-form {
	margin: 0;
}

.bractwo-profil-panel {
	container-type: inline-size;
	padding: 18px;
}

.bractwo-profil-widget {
	background: transparent;
	border: 0;
	container-type: inline-size;
	padding: 0;
}

.bractwo-profil-side-panel,
.bractwo-profil-widget .bractwo-profil-side-panel,
.widget .bractwo-profil-widget,
.wp-block-widget .bractwo-profil-widget {
	background: transparent;
	border: 0;
	padding: 0;
}

.bractwo-profil-widget .bractwo-profil-side-panel {
	padding: 14px;
}

.bractwo-profil-side-panel > .bractwo-profil-side-nav:last-child {
	margin-bottom: 0;
}

.bractwo-profil-side-name {
	color: var(--bps-text);
	font-size: 1.08rem;
	margin: 0 0 12px;
	text-align: center;
}

.bractwo-profil-side-avatar {
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 2;
}

.bractwo-profil-side-avatar .bractwo-profil-avatar-img {
	border-radius: 999px;
	width: 128px;
	height: 128px;
}

.bractwo-profil-side-avatar-row {
	align-items: center;
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
	min-height: 184px;
	position: relative;
	width: 100%;
}

.bractwo-profil-side-rank-slot {
	align-items: center;
	display: flex;
	justify-content: flex-end;
	left: 0;
	min-height: 178px;
	position: absolute;
	right: calc(50% + 74px);
	top: 50%;
	transform: translateY(-50%);
}

.bractwo-profil-side-faction-slot {
	align-items: center;
	display: flex;
	justify-content: flex-start;
	left: calc(50% + 74px);
	min-height: 178px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.bractwo-profil-side-rank-icon {
	display: block;
	filter: brightness(1.18) contrast(1.04);
	height: 178px;
	object-fit: contain;
	opacity: 1;
	width: 178px;
}

.bractwo-profil-side-faction-icon {
	display: block;
	filter: brightness(1.18) contrast(1.04);
	height: 178px;
	object-fit: contain;
	opacity: 1;
	width: 178px;
}

.bractwo-profil-side-council {
	color: var(--bps-muted);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 2px 0 14px;
	text-align: center;
}

.bractwo-profil-side-grandmaster-title {
	color: var(--bps-gold);
	font-size: 1.02rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1.3;
	margin: 0 0 10px;
	text-align: center;
	text-transform: uppercase;
}

.bractwo-profil-side-grandmaster-title + .bractwo-profil-side-council {
	margin-top: 0;
}

.bractwo-profil-side-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.bractwo-profil-side-nav a {
	position: relative;
	font-size: 1rem;
	font-weight: 700;
	min-height: 56px;
	padding-left: 8px;
	padding-right: 8px;
	text-align: center;
}

.bractwo-profil-side-nav a.bractwo-profil-side-nav-wide {
	grid-column: 1 / -1;
	min-height: 64px !important;
	font-size: 1.08rem;
}

.bractwo-profil-side-nav a.is-alert {
	background: rgba(214, 179, 90, 0.16);
	border-color: var(--bps-gold);
	box-shadow: 0 0 0 2px rgba(214, 179, 90, 0.12);
	color: var(--bps-gold);
}

.bractwo-profil-side-nav .bractwo-profil-side-badge {
	background: #c93f3f;
	border-radius: 999px;
	color: #fff;
	font-size: 0.78rem;
	margin-left: 6px;
	padding: 1px 6px;
}

.bractwo-profil-side-nav .bractwo-profil-side-nav-label {
	background: transparent;
	border-radius: 6px;
	color: inherit;
	font-size: inherit;
	margin: 0;
	padding: 5px 10px;
}

.bractwo-profil-side-ranking {
	margin-top: 16px;
	padding: 14px;
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(19, 40, 29, 0.92), rgba(5, 19, 13, 0.72));
}

.bractwo-profil-side-ranking h4 {
	margin: 0 0 12px;
	color: var(--bps-text);
	font-size: 1rem;
	font-weight: 850;
	line-height: 1.2;
}

.bractwo-profil-side-ranking p {
	margin: 0;
	color: var(--bps-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.bractwo-profil-side-ranking ol {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: bractwo-points-ranking;
}

.bractwo-profil-side-ranking li {
	counter-increment: bractwo-points-ranking;
}

.bractwo-profil-side-ranking a {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid rgba(214, 179, 90, 0.18);
	border-radius: 8px;
	background: rgba(5, 19, 13, 0.5);
	color: var(--bps-text);
	text-decoration: none;
}

.bractwo-profil-side-ranking a::before {
	content: counter(bractwo-points-ranking) ".";
	color: var(--bps-gold);
	font-weight: 850;
}

.bractwo-profil-side-ranking a:hover {
	border-color: rgba(214, 179, 90, 0.42);
	background: rgba(214, 179, 90, 0.1);
	color: #fff;
}

.bractwo-profil-side-ranking span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bractwo-profil-side-ranking strong {
	color: var(--bps-gold);
	font-size: 0.95rem;
	font-weight: 850;
	white-space: nowrap;
}

.bractwo-profil-side-ranking li.is-podium a {
	border-width: 1px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 8px 18px rgba(0, 0, 0, 0.16);
}

.bractwo-profil-side-ranking li.is-place-1 a {
	background: linear-gradient(135deg, rgba(214, 179, 90, 0.3), rgba(5, 19, 13, 0.64));
	border-color: rgba(240, 207, 122, 0.72);
}

.bractwo-profil-side-ranking li.is-place-2 a {
	background: linear-gradient(135deg, rgba(206, 215, 210, 0.22), rgba(5, 19, 13, 0.62));
	border-color: rgba(226, 234, 230, 0.56);
}

.bractwo-profil-side-ranking li.is-place-3 a {
	background: linear-gradient(135deg, rgba(176, 116, 65, 0.25), rgba(5, 19, 13, 0.62));
	border-color: rgba(205, 139, 82, 0.58);
}

.bractwo-profil-side-ranking li.is-place-1 a::before,
.bractwo-profil-side-ranking li.is-place-1 strong {
	color: #f6d87d;
}

.bractwo-profil-side-ranking li.is-place-2 a::before,
.bractwo-profil-side-ranking li.is-place-2 strong {
	color: #e8eee9;
}

.bractwo-profil-side-ranking li.is-place-3 a::before,
.bractwo-profil-side-ranking li.is-place-3 strong {
	color: #d39056;
}

@container (max-width: 360px) {
	.bractwo-profil-side-nav {
		grid-template-columns: 1fr;
	}

	.bractwo-profil-side-nav a {
		font-size: 1.06rem;
	}
}

.bractwo-profil-side-rank {
	color: var(--bps-muted);
	margin: 0 0 18px;
	text-align: center;
}

.bractwo-profil-side-rank strong {
	color: var(--bps-text);
}

.bractwo-profil-reset-name-form {
	margin: 0;
}

.bractwo-profil-reset-name-form button {
	border-radius: 999px;
	font-size: 1rem;
	min-height: 30px;
	padding: 0;
	width: 34px;
}

.bractwo-profil-wall-section {
	display: grid;
	gap: 16px;
	margin-top: 18px;
	padding-top: 0;
}

.bractwo-profil-info-card {
	display: grid;
	gap: 12px;
}

.bractwo-profil-info-card .bractwo-profil-grid {
	gap: 12px;
}

.bractwo-profil-info-card .bractwo-profil-grid section {
	background:
		linear-gradient(135deg, rgba(214, 179, 90, 0.04), transparent 34%),
		linear-gradient(180deg, rgba(26, 55, 39, 0.96), rgba(14, 31, 23, 0.98));
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	padding: 18px;
}

.bractwo-profil-wall-compose-card,
.bractwo-profil-wall-posts-card {
	background: var(--bps-panel);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	padding: 18px;
}

.bractwo-profil-wall-compose-card > h3,
.bractwo-profil-wall-posts-card > h3 {
	margin: 0 0 14px;
}

.bractwo-profil-info-card .bractwo-profil-grid section > h3,
.bractwo-profil-wall-compose-card > h3 {
	font-size: calc(1.17em + 6px);
}

.bractwo-profil-wall-compose-card > .bractwo-profil-form {
	margin-bottom: 0;
}

.bractwo-profil-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.bractwo-profil-grid section {
	display: grid;
	gap: 10px;
}

.bractwo-profil-grid section h3 {
	margin: 0;
}

.bractwo-profil-text-box {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 2px 0 0;
}

.bractwo-profil-text-box p {
	margin: 0;
}

.bractwo-profil-form,
.bractwo-profil-avatar-form,
.bractwo-profil-search {
	display: grid;
	gap: 12px;
	margin: 0 0 18px;
}

.bractwo-profil-edit-form {
	background: rgba(0, 0, 0, 0.14);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	margin-top: 18px;
	padding: 14px;
}

.bractwo-profil-edit-form h3 {
	margin: 0;
}

.bractwo-profil-search {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: end;
}

.bractwo-profil label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.bractwo-profil input,
.bractwo-profil textarea,
.bractwo-profil select {
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 6px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
	color: var(--bps-text);
	padding: 10px 12px;
	width: 100%;
}

.bractwo-profil input::placeholder,
.bractwo-profil textarea::placeholder {
	color: var(--bps-muted);
	opacity: 0.82;
}

.bractwo-profil input:focus,
.bractwo-profil textarea:focus,
.bractwo-profil select:focus {
	border-color: var(--bps-gold);
	box-shadow: 0 0 0 2px rgba(214, 179, 90, 0.2);
	outline: none;
}

.bractwo-profil-list,
.bractwo-profil-users {
	display: grid;
	gap: 12px;
}

.bractwo-profil-table {
	border-collapse: collapse;
	table-layout: fixed;
	margin-top: 14px;
	width: 100%;
}

.bractwo-profil-table th,
.bractwo-profil-table td {
	border-bottom: 1px solid var(--bps-line);
	padding: 10px;
	text-align: left;
	vertical-align: top;
	overflow-wrap: break-word;
	word-break: normal;
}

.bractwo-profil-table th {
	color: var(--bps-muted);
	font-size: 0.9rem;
}

.bractwo-profil-table th:nth-child(1),
.bractwo-profil-table td:nth-child(1) {
	width: 18%;
}

.bractwo-profil-table th:nth-child(2),
.bractwo-profil-table td:nth-child(2) {
	width: 23%;
}

.bractwo-profil-table th:nth-child(3),
.bractwo-profil-table td:nth-child(3) {
	width: 17%;
}

.bractwo-profil-table th:nth-child(4),
.bractwo-profil-table td:nth-child(4) {
	width: 19%;
}

.bractwo-profil-table th:nth-child(5),
.bractwo-profil-table td:nth-child(5) {
	width: 23%;
}

.bractwo-profil-task-history-table th:nth-child(1),
.bractwo-profil-task-history-table td:nth-child(1) { width: 32%; }
.bractwo-profil-task-history-table th:nth-child(2),
.bractwo-profil-task-history-table td:nth-child(2) { width: 25%; }
.bractwo-profil-task-history-table th:nth-child(3),
.bractwo-profil-task-history-table td:nth-child(3) { width: 16%; }
.bractwo-profil-task-history-table th:nth-child(4),
.bractwo-profil-task-history-table td:nth-child(4) { width: 15%; }
.bractwo-profil-task-history-table th:nth-child(5),
.bractwo-profil-task-history-table td:nth-child(5) {
	text-align: center;
	width: 12%;
}

.bractwo-profil-message-table th:nth-child(1),
.bractwo-profil-message-table td:nth-child(1) {
	width: 17%;
}

.bractwo-profil-message-table th:nth-child(2),
.bractwo-profil-message-table td:nth-child(2) {
	width: 22%;
}

.bractwo-profil-message-table th:nth-child(3),
.bractwo-profil-message-table td:nth-child(3) {
	width: 16%;
}

.bractwo-profil-message-table th:nth-child(4),
.bractwo-profil-message-table td:nth-child(4) {
	width: 22%;
}

.bractwo-profil-message-table th:nth-child(5),
.bractwo-profil-message-table td:nth-child(5) {
	width: 23%;
}

.bractwo-profil-notification-table th:nth-child(1),
.bractwo-profil-notification-table td:nth-child(1) {
	width: 18%;
}

.bractwo-profil-notification-table th:nth-child(2),
.bractwo-profil-notification-table td:nth-child(2) {
	width: 38%;
}

.bractwo-profil-notification-table th:nth-child(3),
.bractwo-profil-notification-table td:nth-child(3) {
	width: 20%;
}

.bractwo-profil-notification-table th:nth-child(4),
.bractwo-profil-notification-table td:nth-child(4) {
	width: 24%;
}

.bractwo-profil-points-head {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 16px;
}

.bractwo-profil-points-head h3 {
	margin: 0 0 6px;
}

.bractwo-profil-points-total {
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	min-width: 150px;
	padding: 14px;
	text-align: center;
}

.bractwo-profil-points-total strong {
	color: var(--bps-gold);
	display: block;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1;
}

.bractwo-profil-points-total span {
	color: var(--bps-muted);
	display: block;
	font-size: 0.9rem;
	margin-top: 6px;
}

.bractwo-profil-points-table th:nth-child(1),
.bractwo-profil-points-table td:nth-child(1) {
	width: 42%;
}

.bractwo-profil-points-table th:nth-child(2),
.bractwo-profil-points-table td:nth-child(2),
.bractwo-profil-points-table th:nth-child(3),
.bractwo-profil-points-table td:nth-child(3),
.bractwo-profil-points-table th:nth-child(4),
.bractwo-profil-points-table td:nth-child(4) {
	width: 19.33%;
}

.bractwo-profil-points-table td strong {
	color: var(--bps-gold);
}

.bractwo-profil-points-notice {
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	margin: 0 0 16px;
	padding: 12px 14px;
}

.bractwo-profil-points-notice.is-success {
	background: rgba(61, 153, 112, 0.14);
	border-color: rgba(77, 200, 147, 0.55);
	color: #bcebd6;
}

.bractwo-profil-points-notice.is-error {
	background: rgba(176, 54, 54, 0.14);
	border-color: rgba(221, 91, 91, 0.55);
	color: #ffc0c0;
}

.bractwo-profil-manual-points-form {
	background: rgba(0, 0, 0, 0.16);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	padding: 16px;
}

.bractwo-profil-manual-points-form h4,
.bractwo-profil-manual-points-history h4 {
	margin: 0;
}

.bractwo-profil-manual-points-fields {
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(190px, 0.55fr) minmax(150px, 0.35fr) minmax(260px, 1fr);
	align-items: start;
}

.bractwo-profil-manual-points-fields > label {
	align-content: start;
	grid-auto-rows: max-content;
	min-width: 0;
}

.bractwo-profil .bractwo-profil-manual-points-fields select,
.bractwo-profil .bractwo-profil-manual-points-fields input[type="number"] {
	height: 52px;
	min-height: 52px;
}

.bractwo-profil .bractwo-profil-manual-points-fields textarea {
	height: 112px;
	min-height: 112px;
	resize: vertical;
}

.bractwo-profil-manual-points-fields .bractwo-profil-muted {
	line-height: 1.45;
	margin: 2px 0 0;
}

.bractwo-profil-manual-points-form button {
	justify-self: start;
}

.bractwo-profil-manual-points-history {
	border-top: 1px solid var(--bps-line);
	margin-top: 24px;
	padding-top: 20px;
}

.bractwo-profil-manual-points-table th:nth-child(1),
.bractwo-profil-manual-points-table td:nth-child(1) {
	width: 20%;
}

.bractwo-profil-manual-points-table th:nth-child(2),
.bractwo-profil-manual-points-table td:nth-child(2) {
	width: 12%;
}

.bractwo-profil-manual-points-table th:nth-child(3),
.bractwo-profil-manual-points-table td:nth-child(3) {
	width: 48%;
}

.bractwo-profil-manual-points-table th:nth-child(4),
.bractwo-profil-manual-points-table td:nth-child(4) {
	width: 20%;
}

.bractwo-profil-manual-points-table td:nth-child(2) strong {
	color: var(--bps-gold);
}

.bractwo-profil-report {
	border: 1px solid var(--bps-line);
	border-radius: 10px;
	margin-top: 24px;
	overflow: hidden;
}

.bractwo-profil-report > summary {
	color: var(--bps-muted);
	cursor: pointer;
	font-weight: 700;
	list-style-position: inside;
	padding: 14px 16px;
}

.bractwo-profil-report > summary:hover,
.bractwo-profil-report[open] > summary {
	background: rgba(0, 0, 0, 0.16);
	color: var(--bps-text);
}

.bractwo-profil-report-body {
	border-top: 1px solid var(--bps-line);
	padding: 16px;
}

.bractwo-profil-report-form {
	margin-top: 14px;
}

.bractwo-profil-report-form button {
	justify-self: start;
}

.bractwo-profil-table tr.is-unread td {
	background: rgba(214, 179, 90, 0.08);
}

.bractwo-profil-notification-open {
	color: var(--bps-text);
	font-weight: 700;
	text-decoration: none;
}

.bractwo-profil-notification-open:hover {
	color: var(--bps-gold);
}

.bractwo-profil-notification-detail {
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	display: grid;
	gap: 14px;
	padding: 18px;
}

.bractwo-profil-notification-detail h3,
.bractwo-profil-notification-detail p {
	margin: 0;
}

.bractwo-profil-notification-body {
	color: var(--bps-text);
	font-size: 1.04rem;
	line-height: 1.7;
	overflow-wrap: break-word;
}

.bractwo-profil-table-actions {
	min-width: 0;
}

.bractwo-profil-table-actions .bractwo-profil-mini-link,
.bractwo-profil-table-actions button,
.bractwo-profil-table-more button {
	min-width: 104px;
	overflow-wrap: normal;
	white-space: nowrap;
	word-break: normal;
}

.bractwo-profil-table-actions form,
.bractwo-profil-table-more form,
.bractwo-profil-inline-create {
	display: flex;
	gap: 8px;
	margin: 0;
}

.bractwo-profil-table-actions form {
	max-width: 100%;
	width: max-content;
}

.bractwo-profil-table-actions > * + * {
	margin-top: 10px;
}

.bractwo-profil-table-actions .bractwo-profil-mini-link + form,
.bractwo-profil-table-actions form + form {
	margin-top: 12px !important;
}

.bractwo-profil-table-actions form {
	align-items: flex-start;
}

.bractwo-profil-table-actions .bractwo-profil-mini-link,
.bractwo-profil-table-actions button {
	margin-bottom: 0;
}

.bractwo-profil-table-actions .bractwo-profil-mini-link,
.bractwo-profil-table-actions form {
	position: relative;
	z-index: 1;
}

.bractwo-profil-table-more {
	min-width: 0;
}

.bractwo-profil-table-more form {
	align-items: flex-start;
	flex-direction: column;
}

.bractwo-profil-table-more select {
	min-width: 130px;
}

.bractwo-profil-table-more select + button {
	margin-top: 10px;
}

.bractwo-profil-message-table .bractwo-profil-table-actions > *,
.bractwo-profil-message-table .bractwo-profil-table-actions form,
.bractwo-profil-message-table .bractwo-profil-table-more form {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

.bractwo-profil-message-table .bractwo-profil-table-actions .bractwo-profil-mini-link,
.bractwo-profil-message-table .bractwo-profil-table-actions button,
.bractwo-profil-message-table .bractwo-profil-table-more select,
.bractwo-profil-message-table .bractwo-profil-table-more button {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.bractwo-profil-message-table .bractwo-profil-table-actions .bractwo-profil-mini-link,
.bractwo-profil-message-table .bractwo-profil-table-actions button {
	padding-left: 8px;
	padding-right: 8px;
}

.bractwo-profil-message-toolbar {
	display: grid;
	gap: 10px;
	margin-bottom: 12px;
}

.bractwo-profil-folder-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.bractwo-profil-folder-tab {
	display: inline-flex;
	align-items: stretch;
	gap: 4px;
}

.bractwo-profil-folder-delete {
	display: flex;
	margin: 0;
}

.bractwo-profil-folder-delete button {
	align-items: center;
	background: var(--bps-panel-strong);
	border: 1px solid rgba(255, 120, 120, 0.55);
	border-radius: 8px;
	color: #ffaaaa;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-height: 0;
	padding: 8px 11px;
	white-space: nowrap;
}

.bractwo-profil-folder-delete button:hover,
.bractwo-profil-folder-delete button:focus-visible {
	background: rgba(130, 32, 32, 0.3);
	border-color: #ff8585;
	box-shadow: none;
	color: #ffffff;
	transform: none;
}

.bractwo-profil-message-toolbar .bractwo-profil-inline-create {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.bractwo-profil-message-toolbar .bractwo-profil-inline-create input {
	max-width: 260px;
}

.bractwo-profil-folder-tabs a {
	display: inline-flex;
	align-items: center;
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	padding: 8px 12px;
	text-decoration: none;
}

.bractwo-profil-folder-tabs a.is-active,
.bractwo-profil-folder-tabs a:hover {
	border-color: var(--bps-gold);
	color: var(--bps-gold);
}

@container (max-width: 520px) {
	.bractwo-profil-message-table,
	.bractwo-profil-notification-table,
	.bractwo-profil-message-table tbody,
	.bractwo-profil-notification-table tbody,
	.bractwo-profil-message-table tr,
	.bractwo-profil-notification-table tr,
	.bractwo-profil-message-table td {
		display: block;
		width: 100%;
	}

	.bractwo-profil-notification-table td {
		display: block;
		width: 100%;
	}

	.bractwo-profil-message-table,
	.bractwo-profil-notification-table {
		table-layout: auto;
	}

	.bractwo-profil-message-table thead,
	.bractwo-profil-notification-table thead {
		display: none;
	}

	.bractwo-profil-message-table tr,
	.bractwo-profil-notification-table tr {
		border-bottom: 1px solid var(--bps-line);
		padding: 12px 0;
	}

	.bractwo-profil-message-table td,
	.bractwo-profil-notification-table td {
		border-bottom: 0;
		display: grid;
		gap: 6px;
		grid-template-columns: 96px minmax(0, 1fr);
		padding: 6px 0;
		width: 100% !important;
	}

	.bractwo-profil-message-table td::before,
	.bractwo-profil-notification-table td::before {
		color: var(--bps-muted);
		font-weight: 700;
	}

	.bractwo-profil-message-table td:nth-child(1)::before {
		content: "Rozmówca";
	}

	.bractwo-profil-message-table td:nth-child(2)::before {
		content: "Wiadomość";
	}

	.bractwo-profil-message-table td:nth-child(3)::before {
		content: "Data";
	}

	.bractwo-profil-message-table td:nth-child(4)::before {
		content: "Akcje";
	}

	.bractwo-profil-message-table td:nth-child(5)::before {
		content: "Więcej";
	}

	.bractwo-profil-notification-table td:nth-child(1)::before {
		content: "Status";
	}

	.bractwo-profil-notification-table td:nth-child(2)::before {
		content: "Powiadomienie";
	}

	.bractwo-profil-notification-table td:nth-child(3)::before {
		content: "Data";
	}

	.bractwo-profil-notification-table td:nth-child(4)::before {
		content: "Akcje";
	}

	.bractwo-profil-message-table .bractwo-profil-table-actions,
	.bractwo-profil-notification-table .bractwo-profil-table-actions,
	.bractwo-profil-message-table .bractwo-profil-table-more form {
		align-items: flex-start;
	}
}

.bractwo-profil-chat-thread {
	display: grid;
	gap: 10px;
	margin: 14px 0;
}

.bractwo-profil-typing-indicator {
	align-items: center;
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 999px;
	display: inline-flex;
	gap: 5px;
	margin: 0 0 12px;
	padding: 9px 12px;
	width: max-content;
}

.bractwo-profil-typing-indicator[hidden] {
	display: none;
}

.bractwo-profil-typing-indicator span {
	animation: bractwoProfilTyping 1.2s infinite ease-in-out;
	background: var(--bps-gold);
	border-radius: 999px;
	display: block;
	height: 7px;
	opacity: 0.35;
	width: 7px;
}

.bractwo-profil-typing-indicator span:nth-child(2) {
	animation-delay: 0.16s;
}

.bractwo-profil-typing-indicator span:nth-child(3) {
	animation-delay: 0.32s;
}

@keyframes bractwoProfilTyping {
	0%,
	80%,
	100% {
		opacity: 0.28;
		transform: translateY(0);
	}

	40% {
		opacity: 1;
		transform: translateY(-3px);
	}
}

.bractwo-profil-chat-bubble {
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	max-width: 74%;
	padding: 10px 12px;
}

.bractwo-profil-chat-bubble.is-mine {
	justify-self: end;
	border-color: var(--bps-gold);
}

.bractwo-profil-chat-bubble time {
	color: var(--bps-muted);
	display: block;
	font-size: 0.82rem;
	margin-top: 6px;
}

.bractwo-profil-message-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.bractwo-profil-file-control {
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	display: inline-flex;
	flex: 1 1 260px;
	gap: 10px;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
}

.bractwo-profil-file-control input {
	border: 0;
	box-shadow: none;
	color: var(--bps-muted);
	padding: 0;
}

.bractwo-profil-file-control input::file-selector-button {
	background: var(--bps-panel);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	cursor: pointer;
	font: inherit;
	margin-right: 10px;
	min-height: 34px;
	padding: 6px 10px;
}

.bractwo-profil-file-control input::file-selector-button:hover {
	border-color: var(--bps-gold);
	color: var(--bps-gold);
}

.bractwo-profil-emoji-bar {
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px;
}

.bractwo-profil-emoji-bar[hidden] {
	display: none;
}

.bractwo-profil .bractwo-profil-emoji-btn {
	font-size: 1.15rem;
	min-height: 34px;
	padding: 4px 8px;
}

.bractwo-profil-wall-editor {
	display: grid;
	gap: 10px;
}

.bractwo-profil-field-title {
	display: block;
}

.bractwo-profil-rich-toolbar {
	align-items: center;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 8px;
}

.bractwo-profil-rich-toolbar label {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	margin: 0;
}

.bractwo-profil-rich-toolbar span {
	color: var(--bps-muted);
	font-size: 0.88rem;
}

.bractwo-profil .bractwo-profil-rich-toolbar button,
.bractwo-profil .bractwo-profil-rich-toolbar select,
.bractwo-profil .bractwo-profil-rich-toolbar input[type="color"] {
	background: var(--bps-panel);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	min-height: 38px;
}

.bractwo-profil .bractwo-profil-rich-toolbar button {
	cursor: pointer;
	padding: 6px 10px;
}

.bractwo-profil .bractwo-profil-rich-toolbar button:hover,
.bractwo-profil .bractwo-profil-rich-toolbar select:hover,
.bractwo-profil .bractwo-profil-rich-toolbar input[type="color"]:hover {
	border-color: var(--bps-gold);
	color: var(--bps-gold);
}

.bractwo-profil .bractwo-profil-rich-toolbar select {
	padding: 6px 28px 6px 10px;
}

.bractwo-profil .bractwo-profil-rich-toolbar input[type="color"] {
	cursor: pointer;
	padding: 3px;
	width: 46px;
}

.bractwo-profil-rich-input {
	background: var(--bps-panel);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	line-height: 1.65;
	min-height: 128px;
	outline: none;
	overflow-wrap: anywhere;
	padding: 12px;
	white-space: pre-wrap;
}

.bractwo-profil-rich-input:focus {
	border-color: var(--bps-gold);
	box-shadow: 0 0 0 2px rgba(215, 181, 87, 0.15);
}

.bractwo-profil-rich-input:empty::before {
	color: var(--bps-muted);
	content: attr(data-placeholder);
	pointer-events: none;
}

.bractwo-profil-wall-image-field {
	display: grid;
	gap: 6px;
	margin: 0;
}

.bractwo-profil-wall-image-field small {
	color: var(--bps-muted);
}

.bractwo-profil-wall-body {
	line-height: 1.65;
	margin-top: 18px;
	overflow-wrap: anywhere;
}

.bractwo-profil-wall-title {
	color: var(--bps-text);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	line-height: 1.25;
	margin: 0 0 8px;
	overflow-wrap: anywhere;
}

.bractwo-profil-wall-title-field {
	display: grid;
	gap: 6px;
}

.bractwo-profil-wall-body p,
.bractwo-profil-wall-body div {
	margin: 0 0 0.8em;
}

.bractwo-profil-wall-image {
	margin: 14px 0 0;
}

.bractwo-profil-wall-image img {
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	display: block;
	height: auto;
	max-height: 520px;
	max-width: 100%;
	object-fit: contain;
}

.bractwo-profil-wall-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.bractwo-profil-wall-comments {
	border-top: 1px solid var(--bps-line);
	margin-top: 18px;
	padding-top: 16px;
}

.bractwo-profil-wall-comments h5 {
	color: var(--bps-text);
	font-size: 1.05rem;
	margin: 0 0 12px;
}

.bractwo-profil-wall-comments-empty {
	color: var(--bps-muted);
	margin: 0 0 14px;
}

.bractwo-profil-wall-comment-list {
	display: grid;
	gap: 10px;
	margin-bottom: 14px;
}

.bractwo-profil-wall-comment {
	background: var(--bps-panel-strong);
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	padding: 12px;
}

.bractwo-profil-wall-comment-meta {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.bractwo-profil-wall-comment-meta a {
	color: var(--bps-gold);
	font-weight: 800;
}

.bractwo-profil-wall-comment-meta time {
	display: inline;
	margin: 0;
}

.bractwo-profil-wall-comment p {
	margin: 8px 0 0;
	overflow-wrap: anywhere;
}

.bractwo-profil-wall-comment-form {
	display: grid;
	gap: 10px;
}

.bractwo-profil-wall-comment-form label {
	display: grid;
	gap: 6px;
}

.bractwo-profil-wall-comment-form button {
	justify-self: start;
}

.bractwo-profil-wall-comments-more {
	margin: 0 0 14px;
}

.bractwo-profil-wall-comments-more > summary,
.bractwo-profil-wall-comment-edit > summary {
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-gold);
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	padding: 9px 12px;
}

.bractwo-profil-wall-comments-more[open] > summary,
.bractwo-profil-wall-comment-edit[open] > summary {
	border-color: var(--bps-gold);
	margin-bottom: 10px;
}

.bractwo-profil-wall-comments-more > .bractwo-profil-wall-comment-list {
	margin: 0;
}

.bractwo-profil-wall-comment-actions {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.bractwo-profil-wall-comment-actions > .bractwo-profil-inline-form {
	margin: 0;
}

.bractwo-profil-wall-comment-edit {
	margin: 0;
}

.bractwo-profil-wall-comment-edit[open] {
	flex-basis: 100%;
}

.bractwo-profil-wall-comment-edit form {
	display: grid;
	gap: 10px;
}

.bractwo-profil-wall-comment-edit button {
	justify-self: start;
}

.bractwo-profil-wall-edit {
	margin: 0;
}

.bractwo-profil-wall-edit summary {
	align-items: center;
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-gold);
	cursor: pointer;
	display: inline-flex;
	font-weight: 700;
	min-height: 42px;
	margin: 0;
	padding: 10px 14px;
}

.bractwo-profil-wall-edit[open] summary {
	border-color: var(--bps-gold);
}

.bractwo-profil-wall-edit[open] {
	flex-basis: 100%;
}

.bractwo-profil-wall-edit[open] summary {
	margin-bottom: 12px;
}

.bractwo-profil-message-attachment {
	margin-top: 8px;
}

.bractwo-profil-message-image {
	border-radius: 8px;
	display: block;
	height: auto;
	max-width: 100%;
}

.bractwo-profil-users {
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.bractwo-profil-item,
.bractwo-profil-user-card {
	padding: 14px;
}

.bractwo-profil-user-card {
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bractwo-profil-user-card:hover,
.bractwo-profil-user-card:focus-within {
	border-color: var(--bps-gold);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(214, 179, 90, 0.22);
	transform: translateY(-1px);
}

.bractwo-profil-item time {
	color: var(--bps-muted);
	display: block;
	font-size: 0.88rem;
	margin-top: 4px;
}

.bractwo-profil-item.is-unread {
	border-color: var(--bps-gold);
}

.bractwo-profil-user-card a:first-child {
	display: grid;
	gap: 8px;
	text-decoration: none;
}

.bractwo-profil-user-card small {
	color: var(--bps-muted);
}

.bractwo-profil-inline-form {
	display: inline-flex;
	margin: 6px 6px 0 0;
}

.bractwo-profil-wall-actions > .bractwo-profil-inline-form {
	margin: 0;
}

.bractwo-profil-like-control {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	margin: 0;
}

.bractwo-profil-like-control .bractwo-profil-inline-form {
	margin: 0;
}

.bractwo-profil-like-control button {
	min-height: 42px;
	min-width: 50px;
	padding: 8px 14px;
}

.bractwo-profil-like-control button.is-liked {
	border-color: var(--bps-gold);
	color: var(--bps-gold);
}

.bractwo-profil-like-count {
	align-items: center;
	border: 1px solid var(--bps-line);
	border-radius: 8px;
	color: var(--bps-text);
	display: inline-flex;
	font-weight: 800;
	min-height: 42px;
	min-width: 48px;
	justify-content: center;
	padding: 8px 14px;
	text-decoration: none;
}

.bractwo-profil-like-count:hover {
	border-color: var(--bps-gold);
	color: var(--bps-gold);
}

.bractwo-profil-back-link {
	color: var(--bps-gold);
	display: inline-flex;
	font-weight: 700;
	margin-bottom: 18px;
	text-decoration: none;
}

.bractwo-profil-widget-avatar {
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
}

.bractwo-profil-widget-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.bractwo-profil-widget-grid span {
	background: #c93f3f;
	border-radius: 999px;
	color: #fff;
	font-size: 0.78rem;
	margin-left: 4px;
	padding: 1px 6px;
}

.bractwo-profil-lunar-practice .kalareta-lunar-practice__summary {
	margin-top: 16px;
	padding: 18px;
	border: 1px solid rgba(116, 154, 118, 0.32);
	border-radius: 8px;
	background:
		radial-gradient(circle at 84% 0%, rgba(205, 225, 236, 0.1), transparent 20%),
		linear-gradient(140deg, rgba(18, 38, 28, 0.92), rgba(4, 14, 11, 0.98));
}

.bractwo-profil-lunar-practice .kalareta-lunar-practice__summary > h3,
.bractwo-profil-lunar-practice .kalareta-lunar-practice__completed-col-title {
	margin: 0 0 14px;
	color: var(--bps-text);
}

.bractwo-profil-lunar-practice .kalareta-lunar-practice__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.bractwo-profil-lunar-practice .kalareta-lunar-practice__completed-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bractwo-profil-lunar-practice .kalareta-lunar-practice__completed-entry,
.bractwo-profil-lunar-practice .kalareta-lunar-practice__empty {
	margin: 0 0 12px;
	padding: 12px;
	border: 1px solid rgba(116, 154, 118, 0.32);
	border-radius: 8px;
	background: rgba(2, 10, 8, 0.55);
}

.bractwo-profil-lunar-practice .kalareta-lunar-practice__completed-phase {
	margin: 0 0 6px;
	color: var(--bps-gold);
	font-weight: 800;
}

.bractwo-profil-lunar-practice .kalareta-lunar-practice__completed-main {
	margin: 0 0 6px;
	color: var(--bps-text);
	font-weight: 800;
}

.bractwo-profil-lunar-practice .kalareta-lunar-practice__completed-comment,
.bractwo-profil-lunar-practice .kalareta-lunar-practice__empty {
	color: var(--bps-muted);
}

@media (max-width: 760px) {
	.bractwo-profil-head,
	.bractwo-profil-grid,
	.bractwo-profil-layout,
	.bractwo-profil-search {
		grid-template-columns: 1fr;
	}

	.bractwo-profil-table:not(.bractwo-profil-message-table):not(.bractwo-profil-notification-table),
	.bractwo-profil-table:not(.bractwo-profil-message-table):not(.bractwo-profil-notification-table) tbody,
	.bractwo-profil-table:not(.bractwo-profil-message-table):not(.bractwo-profil-notification-table) tr,
	.bractwo-profil-table:not(.bractwo-profil-message-table):not(.bractwo-profil-notification-table) td {
		display: block;
		width: 100%;
	}

	.bractwo-profil-table:not(.bractwo-profil-message-table):not(.bractwo-profil-notification-table) thead {
		display: none;
	}

	.bractwo-profil-task-history-table tr {
		border-bottom: 1px solid var(--bps-line);
		padding: 10px 0;
	}

	.bractwo-profil-task-history-table td {
		border-bottom: 0;
		display: grid !important;
		gap: 8px;
		grid-template-columns: 92px minmax(0, 1fr);
		padding: 7px 0;
		text-align: left !important;
	}

	.bractwo-profil-task-history-table td::before {
		color: var(--bps-muted);
		font-weight: 700;
	}

	.bractwo-profil-task-history-table td:nth-child(1)::before { content: "Zadanie"; }
	.bractwo-profil-task-history-table td:nth-child(2)::before { content: "Rodzaj"; }
	.bractwo-profil-task-history-table td:nth-child(3)::before { content: "Data"; }
	.bractwo-profil-task-history-table td:nth-child(4)::before { content: "Godzina"; }
	.bractwo-profil-task-history-table td:nth-child(5)::before { content: "Punkty"; }

	.bractwo-profil-points-head {
		grid-template-columns: 1fr;
	}

	.bractwo-profil-points-total {
		text-align: left;
	}

	.bractwo-profil-points-table td {
		border-bottom: 0;
		display: grid !important;
		gap: 6px;
		grid-template-columns: 132px minmax(0, 1fr);
		padding: 8px 0;
	}

	.bractwo-profil-points-table tr {
		border-bottom: 1px solid var(--bps-line);
		padding: 12px 0;
	}

	.bractwo-profil-points-table td::before {
		color: var(--bps-muted);
		font-weight: 700;
	}

	.bractwo-profil-points-table td:nth-child(1)::before {
		content: "Aktywność";
	}

	.bractwo-profil-points-table td:nth-child(2)::before {
		content: "Ilość";
	}

	.bractwo-profil-points-table td:nth-child(3)::before {
		content: "Punkty za sztukę";
	}

	.bractwo-profil-points-table td:nth-child(4)::before {
		content: "Razem";
	}

	.bractwo-profil-manual-points-fields {
		grid-template-columns: 1fr;
	}

	.bractwo-profil-manual-points-table td {
		border-bottom: 0;
		display: grid !important;
		gap: 6px;
		grid-template-columns: 110px minmax(0, 1fr);
		padding: 8px 0;
	}

	.bractwo-profil-manual-points-table tr {
		border-bottom: 1px solid var(--bps-line);
		padding: 12px 0;
	}

	.bractwo-profil-manual-points-table td::before {
		color: var(--bps-muted);
		font-weight: 700;
	}

	.bractwo-profil-manual-points-table td:nth-child(1)::before {
		content: "Data";
	}

	.bractwo-profil-manual-points-table td:nth-child(2)::before {
		content: "Punkty";
	}

	.bractwo-profil-manual-points-table td:nth-child(3)::before {
		content: "Powód";
	}

	.bractwo-profil-manual-points-table td:nth-child(4)::before {
		content: "Przyznał";
	}

	.bractwo-profil-chat-bubble {
		max-width: 100%;
	}

	.bractwo-profil-info-row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.bractwo-profil-info-row.has-reset {
		grid-template-columns: 1fr;
	}

	.bractwo-profil-side {
		position: static;
	}

	.bractwo-profil-side-avatar-row {
		min-height: 150px;
	}

	.bractwo-profil-side-avatar .bractwo-profil-avatar-img {
		height: 112px;
		width: 112px;
	}

	.bractwo-profil-side-rank-slot,
	.bractwo-profil-side-faction-slot {
		min-height: 136px;
	}

	.bractwo-profil-side-rank-slot {
		right: calc(50% + 62px);
	}

	.bractwo-profil-side-faction-slot {
		left: calc(50% + 62px);
	}

	.bractwo-profil-side-rank-icon,
	.bractwo-profil-side-faction-icon {
		height: 136px;
		width: 136px;
	}

	.bractwo-profil-head {
		text-align: left;
	}

	.bractwo-profil-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bractwo-profil-lunar-practice .kalareta-lunar-practice__columns {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 460px) {
	.bractwo-profil-side-avatar-row {
		min-height: 126px;
	}

	.bractwo-profil-side-avatar .bractwo-profil-avatar-img {
		height: 96px;
		width: 96px;
	}

	.bractwo-profil-side-rank-slot,
	.bractwo-profil-side-faction-slot {
		min-height: 116px;
	}

	.bractwo-profil-side-rank-slot {
		right: calc(50% + 54px);
	}

	.bractwo-profil-side-faction-slot {
		left: calc(50% + 54px);
	}

	.bractwo-profil-side-rank-icon,
.bractwo-profil-side-faction-icon {
	height: 116px;
	width: 116px;
}

	.bractwo-profil-stats-grid {
		grid-template-columns: 1fr;
	}
}
