@import url("../../prosilver/theme/stylesheet.css");
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Chakra+Petch:wght@500;600;700&display=swap");

:root {
	--unsz-bg: #060708;
	--unsz-panel: #101216;
	--unsz-panel-2: #171a1f;
	--unsz-line: rgba(255, 255, 255, 0.08);
	--unsz-text: #f3f0ea;
	--unsz-muted: #9b9da3;
	--unsz-red: #d3142e;
	--unsz-red-deep: #7d0a1a;
	--unsz-sand: #c4ad82;
	--unsz-sand-deep: #5c4a30;
	--unsz-radius: 16px;
	--unsz-max: 1320px;
}

html {
	background: var(--unsz-bg);
	font-size: 16px;
}

body {
	min-height: 100vh;
	margin: 0;
	background:
		radial-gradient(60% 34% at 15% -8%, rgba(255, 255, 255, 0.055), transparent 72%),
		radial-gradient(60% 34% at 85% -8%, rgba(255, 255, 255, 0.055), transparent 72%),
		var(--unsz-bg);
	color: var(--unsz-text);
	font-family: "Barlow", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	font-kerning: normal;
	font-feature-settings: "kern" 1, "liga" 1;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--unsz-sand);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--unsz-text);
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--unsz-red);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
.forum-title,
.topic-title {
	color: var(--unsz-text);
	font-family: "Chakra Petch", sans-serif;
	font-weight: 600;
	font-style: normal;
	line-height: 1.15;
	hyphens: none;
}

.wrap {
	max-width: var(--unsz-max);
	min-width: 290px;
	margin: 0 auto;
	padding: 0 32px;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.unsz-sitebar {
	position: relative;
	padding: 24px 0 22px;
	border-bottom: 3px solid var(--unsz-sand);
}

.unsz-sitebar::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -3px;
	width: 46%;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--unsz-bg));
}

.unsz-sitebar-inner {
	display: flex;
	align-items: center;
	gap: 28px;
}

.unsz-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	color: var(--unsz-text);
	text-decoration: none;
}

.unsz-brand img {
	display: block;
	width: 46px;
	height: 40px;
	object-fit: contain;
}

.unsz-brand-text {
	display: flex;
	flex-direction: column;
	font-family: "Chakra Petch", sans-serif;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
}

.unsz-brand-text small {
	margin-top: 4px;
	color: var(--unsz-sand);
	font-size: 10px;
	letter-spacing: 0.32em;
}

.unsz-site-nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-width: 0;
	font-family: "Chakra Petch", sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.unsz-site-nav a {
	position: relative;
	padding: 14px 0;
	color: var(--unsz-muted);
	text-decoration: none;
	white-space: nowrap;
}

.unsz-site-nav a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 7px;
	left: 0;
	height: 2px;
	background: var(--unsz-sand);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 150ms ease-out;
}

.unsz-site-nav a:hover,
.unsz-site-nav a:focus,
.unsz-site-nav a.is-active {
	color: var(--unsz-text);
}

.unsz-site-nav a:hover::after,
.unsz-site-nav a:focus::after,
.unsz-site-nav a.is-active::after {
	transform: scaleX(1);
}

.search-header {
	flex: 0 0 256px;
	display: flex;
	align-items: center;
	width: 256px;
	height: 44px;
	margin: 0;
	overflow: hidden;
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
	border-radius: 6px;
	box-shadow: none;
}

.search-header form {
	display: block;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
}

.search-header fieldset {
	display: grid;
	grid-template-columns: minmax(130px, 170px) 42px 42px;
	align-items: stretch;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
}

.search-header .inputbox {
	width: 170px;
	min-width: 0;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 0 12px;
	float: none;
	color: var(--unsz-text);
	background: var(--unsz-panel);
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	font-size: 15px;
}

.navbar {
	margin: 18px 0 30px;
	padding: 8px 14px;
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
	border-radius: 8px;
}

.navbar a,
.navbar .icon {
	color: var(--unsz-muted);
}

.navbar a:hover,
.navbar a:hover .icon,
.navbar a:focus,
.navbar a:focus .icon {
	color: var(--unsz-sand);
}

.nav-breadcrumbs .crumb a {
	color: var(--unsz-muted);
}

.nav-breadcrumbs .crumb:last-child a {
	color: var(--unsz-text);
}

#page-body {
	min-height: 52vh;
}

.page-body h2,
.page-body h2 a {
	color: var(--unsz-text);
}

.page-body h2 {
	font-size: clamp(25px, 3vw, 36px);
	letter-spacing: 0.04em;
}

.forabg,
.forumbg {
	margin-bottom: 18px;
	padding: 0;
	overflow: hidden;
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
	border-radius: var(--unsz-radius);
}

.forabg .inner,
.forumbg .inner {
	margin: 0;
}

ul.topiclist li.header {
	padding: 12px 18px;
	background: var(--unsz-panel-2);
	border-bottom: 1px solid var(--unsz-line);
}

ul.topiclist li.header dt,
ul.topiclist li.header dd {
	color: var(--unsz-muted);
	font-family: "Chakra Petch", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

ul.topiclist li.header a {
	color: var(--unsz-text);
}

ul.topiclist li.row {
	background: var(--unsz-panel);
	border-top-color: transparent;
	border-bottom: 1px solid var(--unsz-line);
	transition: background-color 150ms ease-out;
}

ul.topiclist li.row:last-child {
	border-bottom: 0;
}

ul.topiclist li.row:hover {
	background: var(--unsz-panel-2);
}

ul.topiclist dd {
	border-left-color: var(--unsz-line);
}

li.row strong,
li.row b,
.topics,
.posts,
.views,
.lastpost {
	color: var(--unsz-muted);
}

a.forumtitle,
a.topictitle {
	color: var(--unsz-text);
	font-family: "Chakra Petch", sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
}

a.forumtitle:hover,
a.topictitle:hover {
	color: var(--unsz-sand);
	text-decoration: none;
}

.forum-description,
.topic-poster,
.responsive-show,
.responsive-hide,
.lastpost,
.lastpost a {
	color: var(--unsz-muted);
}

.forum-description {
	max-width: 72ch;
	font-size: 15px;
	line-height: 1.4;
}

.panel,
.post,
.post.bg1,
.post.bg2,
.post.bg3,
.cp-main .panel,
.cp-mini {
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
	border-radius: var(--unsz-radius);
}

.panel {
	padding: 20px;
}

.post {
	margin-bottom: 18px;
	padding: 18px;
	color: var(--unsz-text);
}

.post:target {
	border-color: var(--unsz-sand);
	box-shadow: none;
}

.postbody {
	color: var(--unsz-text);
	font-size: 16px;
	line-height: 1.45;
}

.postbody .content {
	max-width: 90ch;
	color: var(--unsz-text);
	font-family: "Barlow", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.45;
}

.postbody h3,
.postbody h3 a {
	color: var(--unsz-text);
	font-size: 20px;
}

.postprofile {
	color: var(--unsz-muted);
	border-color: var(--unsz-line);
}

.postprofile strong,
.postprofile dt,
.postprofile a {
	color: var(--unsz-sand);
}

.signature {
	color: var(--unsz-muted);
	border-top-color: var(--unsz-line);
}

.content blockquote {
	margin: 1em 0;
	padding: 16px 20px;
	background: var(--unsz-panel-2);
	border: 0;
	border-left: 2px solid var(--unsz-sand);
	font-size: 15px;
}

.content blockquote blockquote {
	background: var(--unsz-panel);
}

.codebox {
	background: #0b0d10;
	border-color: var(--unsz-line);
}

.codebox code {
	color: #d6d2ca;
}

.rules {
	color: var(--unsz-text);
	background: rgba(211, 20, 46, 0.12);
	border: 1px solid rgba(211, 20, 46, 0.45);
	border-radius: 8px;
}

.rules a,
.rules strong {
	color: #f2a4ae;
}

.inputbox,
input.inputbox,
textarea.inputbox,
select {
	min-height: 42px;
	padding: 9px 12px;
	color: var(--unsz-text);
	background: var(--unsz-panel-2);
	border: 1px solid var(--unsz-line);
	border-radius: 5px;
	font-family: "Barlow", system-ui, sans-serif;
	font-size: 16px;
}

textarea.inputbox {
	line-height: 1.4;
}

.inputbox:hover,
.inputbox:focus,
select:hover,
select:focus {
	color: var(--unsz-text);
	background: #1d2026;
	border-color: var(--unsz-sand);
}

.inputbox::placeholder {
	color: var(--unsz-muted);
	opacity: 1;
}

.button,
.button1,
.button2,
input.button1,
input.button2,
a.button1,
a.button2 {
	min-height: 40px;
	padding: 9px 18px;
	color: #08090a;
	background: var(--unsz-text);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
	font-family: "Chakra Petch", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color 150ms ease-out, color 150ms ease-out, transform 150ms ease-out;
}

.button:hover,
.button1:hover,
.button2:hover,
input.button1:hover,
input.button2:hover,
a.button1:hover,
a.button2:hover,
.button:focus,
.button1:focus,
.button2:focus {
	color: #050505;
	background: #ffffff;
	border: 0;
	box-shadow: none;
	text-shadow: none;
	transform: translateY(-1px);
}

.button-secondary {
	color: var(--unsz-text);
	background: var(--unsz-panel-2);
}

.button .icon,
.button1 .icon,
.button2 .icon {
	color: currentColor;
}

.search-box .inputbox {
	border-radius: 0;
}

.search-box .button-search,
.search-box .button-search-end {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	min-width: 42px;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 0;
	float: none;
	color: var(--unsz-muted);
	background: var(--unsz-panel);
	border: 0;
	border-left: 1px solid var(--unsz-line);
	border-radius: 0;
	box-shadow: none;
	clip-path: none;
	line-height: 1;
	transform: none;
}

.search-box .button-search:hover,
.search-box .button-search-end:hover,
.search-box .button-search:focus,
.search-box .button-search-end:focus {
	color: var(--unsz-sand);
	background: var(--unsz-panel-2);
	border-color: var(--unsz-line);
	box-shadow: none;
	transform: none;
}

.search-box .button-search .icon,
.search-box .button-search-end .icon {
	width: auto;
	margin: 0;
	color: currentColor;
	font-size: 15px;
	line-height: 1;
}

form.headerspace {
	margin: 28px 0 0;
	padding: 22px 24px;
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
	border-radius: 12px;
}

form.headerspace h3 {
	margin: 0 0 16px;
	color: var(--unsz-muted);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.3;
}

form.headerspace h3 a {
	color: var(--unsz-text);
}

form.headerspace h3 a:hover,
form.headerspace h3 a:focus {
	color: var(--unsz-sand);
}

fieldset.quick-login {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px 16px;
	margin: 0;
}

fieldset.quick-login label {
	padding: 0;
	color: var(--unsz-muted);
	font-size: 14px;
	line-height: 1.3;
	white-space: normal;
}

fieldset.quick-login label[for="username"],
fieldset.quick-login label[for="password"] {
	display: grid;
	flex: 0 1 220px;
	gap: 7px;
}

fieldset.quick-login label > span {
	display: block;
	min-width: 0;
	color: var(--unsz-muted);
}

fieldset.quick-login input.inputbox {
	width: 100%;
	max-width: none;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 10px 13px;
	color: var(--unsz-text);
	background: var(--unsz-panel-2);
	border: 1px solid var(--unsz-line);
	border-radius: 5px;
	box-sizing: border-box;
	font-family: "Barlow", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.3;
}

fieldset.quick-login input.inputbox:hover,
fieldset.quick-login input.inputbox:focus {
	color: var(--unsz-text);
	background: #1d2026;
	border-color: var(--unsz-sand);
}

fieldset.quick-login > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

fieldset.quick-login > .responsive-hide {
	display: none;
}

fieldset.quick-login label[for="autologin"] {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	min-height: 44px;
	text-align: left;
}

fieldset.quick-login input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--unsz-sand);
}

fieldset.quick-login .button2 {
	min-height: 44px;
	margin: 0;
}

.pagination li a,
.pagination li span {
	min-width: 36px;
	padding: 5px 10px;
	color: var(--unsz-muted);
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
	border-radius: 4px;
	font-variant-numeric: tabular-nums lining-nums;
}

.pagination li.active span,
.pagination li a:hover,
.pagination li a:focus {
	color: var(--unsz-sand);
	background: var(--unsz-panel-2);
	border-color: var(--unsz-sand);
}

.dropdown .dropdown-contents,
.dropdown-extended .header,
.dropdown-extended .footer {
	color: var(--unsz-text);
	background: var(--unsz-panel-2);
	border-color: var(--unsz-line);
	box-shadow: none;
}

.dropdown-extended ul li {
	background: var(--unsz-panel);
	border-color: var(--unsz-line);
}

.dropdown-extended ul li:hover {
	background: var(--unsz-panel-2);
}

.tabs .tab > a,
.minitabs .tab > a {
	color: var(--unsz-muted);
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
}

.tabs .activetab > a,
.tabs .tab > a:hover,
.minitabs .activetab > a,
.minitabs .tab > a:hover {
	color: var(--unsz-sand);
	background: var(--unsz-panel-2);
	border-color: var(--unsz-sand);
}

#navigation a {
	color: var(--unsz-muted);
	background: var(--unsz-panel);
}

#navigation a:hover,
#navigation #active-subsection a {
	color: var(--unsz-sand);
	background: var(--unsz-panel-2);
}

fieldset.fields1 dt,
fieldset.fields2 dt,
dl.details dt,
dl.details dd,
.attachbox,
.pm-message {
	color: var(--unsz-muted);
}

hr,
.stat-block,
.jumpbox-cat-link,
.jumpbox-forum-link {
	border-color: var(--unsz-line);
}

.jumpbox-cat-link,
.jumpbox-forum-link {
	color: var(--unsz-muted);
	background: var(--unsz-panel);
}

.jumpbox-cat-link:hover,
.jumpbox-forum-link:hover {
	color: var(--unsz-sand);
	background: var(--unsz-panel-2);
}

.page-footer {
	margin-top: 64px;
	padding: 26px 0 34px;
	color: var(--unsz-muted);
	border-top: 1px solid var(--unsz-line);
}

.page-footer .navbar {
	display: none;
}

.copyright,
.copyright a,
.footer-link {
	color: var(--unsz-muted);
	font-size: 13px;
}

.copyright a:hover,
.footer-link:hover {
	color: var(--unsz-sand);
}

@media (max-width: 1080px) {
	.unsz-sitebar-inner {
		flex-wrap: wrap;
	}

	.unsz-site-nav {
		order: 3;
		flex-basis: 100%;
		justify-content: flex-start;
		overflow-x: auto;
	}

	.search-header {
		margin-left: auto;
	}
}

@media (max-width: 700px) {
	.wrap {
		padding: 0 16px;
	}

	.unsz-sitebar {
		padding-top: 18px;
	}

	.unsz-brand-text {
		font-size: 22px;
	}

	.search-header {
		flex-basis: 100%;
		width: 100%;
		height: 44px;
		margin-left: 0;
	}

	.search-header form {
		display: block;
		width: 100%;
	}

	.search-header fieldset {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 42px 42px;
		width: 100%;
	}

	.search-header .inputbox {
		width: 100%;
	}

	form.headerspace {
		padding: 20px;
	}

	fieldset.quick-login {
		align-items: stretch;
	}

	fieldset.quick-login label[for="username"],
	fieldset.quick-login label[for="password"] {
		flex-basis: 100%;
	}

	fieldset.quick-login input.inputbox {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	fieldset.quick-login label[for="autologin"] {
		display: inline-flex;
		min-width: 0;
		text-align: left;
	}

	.unsz-site-nav {
		gap: 18px;
		font-size: 13px;
	}

	.navbar {
		margin-bottom: 22px;
	}

	.forabg,
	.forumbg,
	.panel,
	.post {
		border-radius: 10px;
	}

	.postprofile {
		border-color: var(--unsz-line);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* --- Claude 2026-10-13: poprawki paska akcji tematu i posta z kotwicy (#p…) --- */

/* prosilver maluje treść posta-celu (wejście z linku #p123) na czarno — u nas ma być jak reszta */
.post:target .content,
.post:target .postbody,
.post:target h3 a,
.post:target h3.first a {
	color: var(--unsz-text);
}

/* przyciski i wyszukiwarka w pasku nad i pod postami: jedna wysokość, tekst na środku */
.action-bar .button,
.action-bar .dropdown-container > .button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	min-height: 42px;
	padding: 0 18px;
	vertical-align: middle;
}

.action-bar .search-box .inputbox {
	box-sizing: border-box;
	height: 42px;
	background: var(--unsz-panel-2);
	border-color: var(--unsz-line);
}

.action-bar .search-box .inputbox:hover,
.action-bar .search-box .inputbox:focus {
	border-color: var(--unsz-sand);
}

.action-bar .search-box .button-search,
.action-bar .search-box .button-search-end {
	box-sizing: border-box;
	height: 42px;
	justify-content: center;
	padding: 0 12px;
}

.action-bar > .button,
.action-bar > .dropdown-container,
.action-bar > .search-box {
	vertical-align: middle;
}

/* --- Claude 2026-10-13: nagłówek forum 1:1 jak na stronie (globals.css .header/.brand/.nav + site-frame.css) --- */
body {
	padding: 0;
}

/* szerokość jak .page na stronie: 1320 px RAZEM z paddingiem 32 px */
.wrap {
	box-sizing: border-box;
	border: 0;
}

.unsz-sitebar {
	padding: 26px 0;
	border-bottom: 0;
}

.unsz-sitebar::after {
	display: none;
}

.unsz-sitebar-inner {
	gap: 20px;
}

.unsz-brand-text {
	text-transform: none;
}

.unsz-brand-text small {
	letter-spacing: 0.42em;
}

.unsz-site-nav {
	gap: 17px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.unsz-site-nav a {
	padding: 14px 0;
	color: #8e9198;
	border-bottom: 2px solid transparent;
	transition: color 0.15s;
}

.unsz-site-nav a::after {
	display: none;
}

.unsz-site-nav a:hover,
.unsz-site-nav a:focus {
	color: var(--unsz-text);
}

.unsz-site-nav a.is-active {
	color: var(--unsz-sand);
	border-bottom-color: var(--unsz-sand);
}

.unsz-header-actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 10px;
}

.unsz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 49px; /* jak .btn na stronie: 13 + 15×1,55 + 13 */
	padding: 0 19px;
	font-family: "Chakra Petch", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
	transition: transform 0.15s, background 0.15s, color 0.15s;
}

.unsz-btn:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.unsz-btn-light,
.unsz-btn-light:visited {
	color: #050505;
	background: var(--unsz-text);
}

.unsz-btn-light:hover {
	color: #050505;
	background: #ffffff;
}

.unsz-btn-ghost,
.unsz-btn-ghost:visited {
	color: #8e9198;
	background: var(--unsz-panel-2);
}

.unsz-btn-ghost:hover {
	color: var(--unsz-text);
	background: #20242a;
}

.unsz-lang-switcher {
	position: relative;
	display: inline-flex;
}

.unsz-lang-switcher::after {
	content: "⌄";
	position: absolute;
	top: 50%;
	right: 10px;
	color: var(--unsz-sand);
	font-size: 12px;
	line-height: 1;
	transform: translateY(-58%);
	pointer-events: none;
}

.unsz-lang-switcher select {
	min-width: 78px;
	min-height: 44px;
	padding: 9px 26px 9px 11px;
	color: var(--unsz-text);
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
	border-radius: 5px;
	appearance: none;
	font: 600 12px/1 "Chakra Petch", sans-serif;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.unsz-lang-switcher select:hover,
.unsz-lang-switcher select:focus-visible {
	border-color: var(--unsz-sand);
}

.unsz-account-chip,
.unsz-account-chip:visited {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 165px;
	min-height: 44px;
	padding: 6px 14px 6px 6px;
	color: var(--unsz-text);
	background: var(--unsz-panel-2);
	border: 1px solid var(--unsz-line);
	border-radius: 999px;
	font-family: "Chakra Petch", sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.unsz-account-chip:hover {
	color: var(--unsz-text);
	border-color: rgba(255, 255, 255, 0.2);
	text-decoration: none;
}

.unsz-account-chip img {
	border-radius: 50%;
}

.unsz-account-chip span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.unsz-nav-toggle {
	display: none;
	min-height: 44px;
	padding: 10px 14px;
	color: var(--unsz-text);
	background: var(--unsz-panel);
	border: 1px solid var(--unsz-line);
	border-radius: 5px;
	font: inherit;
	cursor: pointer;
}

/* wyszukiwarka forum: w pasku forum pod nagłówkiem, po prawej */
.unsz-forum-search.search-header {
	float: none;
	margin: 0 0 14px auto;
}

@media (max-width: 1180px) {
	.unsz-sitebar-inner {
		flex-wrap: wrap;
	}

	.unsz-header-actions {
		margin-left: auto;
	}

	.unsz-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.unsz-site-nav {
		display: none;
		order: 3;
		flex-basis: 100%;
		overflow: visible;
	}

	.unsz-site-nav.is-open {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		padding-top: 12px;
	}

	.unsz-site-nav a {
		min-height: 44px;
		padding: 12px 16px;
		background: var(--unsz-panel);
		border-radius: 4px;
	}
}

@media (max-width: 700px) {
	.unsz-forum-search.search-header {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.unsz-sitebar {
		padding: 20px 0;
	}

	.unsz-sitebar-inner {
		gap: 12px;
	}

	.unsz-brand {
		gap: 8px;
	}

	.unsz-brand img {
		width: 34px;
		height: auto;
	}

	.unsz-brand-text {
		font-size: 21px;
	}

	.unsz-brand-text small {
		font-size: 8px;
		letter-spacing: 0.28em;
	}

	.unsz-header-actions {
		gap: 8px;
	}

	.unsz-lang-switcher select {
		min-width: 68px;
		padding-inline: 9px 22px;
	}

	.unsz-header-play {
		display: none;
	}

	.unsz-header-login {
		padding-inline: 12px;
		font-size: 13px;
	}

	.unsz-nav-toggle {
		padding-inline: 10px;
		font-size: 14px;
	}

	.unsz-site-nav.is-open {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --- Codex 2026-10-14: czytelny unread i małe kontrolki postów/edytora --- */
.post h3 a.first-unread {
	color: var(--unsz-text);
}

label,
dd label,
fieldset dl dt label,
fieldset dl:hover dt label,
fieldset.fields2 dl:hover dt label,
.smiley-box h3 {
	color: var(--unsz-text);
}

.post-buttons .button,
.format-buttons .button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 26px;
	min-height: 26px;
	padding: 0 6px;
	vertical-align: middle;
	clip-path: none;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0;
}

.post-buttons .button-icon-only,
.format-buttons .button-icon-only {
	width: 26px;
	padding: 0;
}

.post-buttons .button:hover,
.post-buttons .button:focus,
.format-buttons .button:hover,
.format-buttons .button:focus {
	transform: none;
}

.post-buttons .button .icon,
.post-buttons .button:hover .icon,
.post-buttons .button:focus .icon,
.format-buttons .button .icon,
.format-buttons .button:hover .icon,
.format-buttons .button:focus .icon {
	margin: 0;
	color: currentColor;
	font-size: 14px;
	line-height: 1;
}

.format-buttons .bbcode-size {
	box-sizing: border-box;
	height: 26px;
	min-height: 26px;
	padding: 0 6px;
	vertical-align: middle;
	font-size: 14px;
}

/* UNSZ 2026-10-15: native forum images, one icon column, gold forum labels. */
.forabg .unsz-category-heading {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 24px;
    max-width: 100%;
}
.forabg .unsz-category-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}
.forabg .unsz-category-image img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.forabg .row-item.unsz-forum-custom-icon { background-image: none; }
.forabg .unsz-forum-custom-icon .forum-image {
    position: absolute;
    inset-inline-start: 10px;
    top: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    float: none;
    transform: translateY(-50%);
    pointer-events: none;
}
.forabg .unsz-forum-custom-icon .forum-image img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.forabg .unsz-forum-custom-icon .unsz-forum-unread-dot {
    position: absolute;
    inset-inline-end: -3px;
    top: -3px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--unsz-panel);
    border-radius: 50%;
    background: var(--unsz-sand);
}
.forabg .unsz-forum-custom-icon .unsz-forum-lock {
    position: absolute;
    inset-inline-end: -5px;
    bottom: -4px;
    padding: 2px;
    border-radius: 3px;
    background: var(--unsz-panel);
    color: var(--unsz-sand);
    font-size: 11px;
    line-height: 1;
}
.forabg .unsz-category-heading a,
.forabg .unsz-forum-description,
.forabg .unsz-forum-description p,
.forabg .unsz-forum-description span,
.forabg .unsz-forum-description a,
a.forumtitle,
a.topictitle {
    color: var(--unsz-sand);
}
.forabg .unsz-forum-description { margin-top: 4px; }
a.forumtitle:hover,
a.forumtitle:focus-visible,
a.topictitle:hover,
a.topictitle:focus-visible,
.forabg .unsz-forum-description a:hover,
.forabg .unsz-category-heading a:hover { color: var(--unsz-text); }
.rtl .forabg .unsz-forum-custom-icon .forum-image { float: none; }
