body {
	margin: 0px;
	padding: 0px;
	background-color: #E9CD80;
	background-repeat: repeat-x;
}
.darklink {
	font-size:12px !important;
}

.maintable {
	width: 100%;
	margin: 0px;
	padding: 0px;
	font-family: Verdana;
	font-size: 12px;
}

.toplinks {
	background-image: url(img/toplinks.jpg);
	height: 46px;
	color: #FFFFFF;
	text-align: center;
}

.topmenulink:hover {
        color: #FFFFFF;
        text-decoration: none;
        font-weight: bold;
}

.topmenulink, .topmenulink {
        color: #FFFFFF;
        text-decoration: underline;
        font-weight: bold;
}

.toplinks-lang-current {
	text-decoration: none;
	cursor: default;
	color: #FFFACD;
}

.header {
	background-image: url(img/header.jpg);
	height: 65px;
}

.trans {
	height: 4px;
	background-image: url(img/slowgrad.jpg);
}

.contentarea {
	background-color: #EDDDAF;
	text-align: center;
}

.contentarea a:link, .contentarea a:visited{
	color: #bb0f0f;
	text-decoration: underline;
	border-style:none;
}

.contentarea a:hover{
color: #FF4800;
}

.leftside {
	background-image: url(img/maincontenttop.jpg);
	background-repeat: repeat-x;
	background-color: #EBD79D;
	font-size: 12px;
	font-family: Verdana;
	color: #524d3f;
	padding-top: 3px;
	padding: 3px;
}


.leftsidelinklist a:hover {
	color: #D5A540;
	text-decoration: none;
	font-weight: bold;
}

.leftsidelinklist a {
	color: #D5A540;
	text-decoration: underline;
	font-weight: bold;
}

.leftsidelinklist {
	color: #886D24;
}

.pagelist {	
	font-family: Verdana;
	font-size: 11px;
	width: 530px;
	color: #D7AA49;
}

.pagelist a:hover {	
	color: #85691F;
	font-weight: bold;
	text-decoration: underline;
}

.pagelist a {	
	color: #85691F;
	font-weight: bold;
	text-decoration: none;
}

.browntext {	
	color: #85691F;
	font-weight: bold;
}


.pageleft {
	background-image: url(img/pageleft.jpg);
	width: 10px;
	height: 30px;
}

.pageright {
	background-image: url(img/pageright.jpg);
	width: 10px;
	height: 30px;
}

.pagelistleftsec {
	text-align: left;
	background-image: url(img/pagebkg.jpg);
}

.pagelistrightsec {
	text-align: right;
	background-image: url(img/pagebkg.jpg);
}


.item {
	background-image: url(img/gradient5.jpg);
	height: 75px;
	margin: 0px;
}

.itemimg {
	border: 1px solid #E0BE72;
}

.item a:hover {
	color: #FF4800;
	text-decoration: underline;
	font-size: 18px;
	font-family: Verdana;
}

.item a {
	color: #bb0f0f;
	text-decoration: underline;
	font-size: 18px;
	font-family: Verdana;
}

.item .thedate {
	color: #886C23;
	font-family: Verdana;
	font-size: 9px;
}

.item .thedesc {
	color: #404040;
	font-size: 11px;
	height: 48px;
}

.item .rightlowlinks {
	text-align: right;
	font-size: 11px;
	padding-right: 16px;
	float:right;
}

.rightlowlinks a:hover {
	color: #FF4800;
	text-decoration: underline;
	font-size: 11px;
}

.rightlowlinks a {
	color: #bb0f0f;
	text-decoration: underline;
	font-size: 11px;
}



.footer {
	color: #FFFFFF;
	background-color: #D7AA49;
	text-align: center;
	height: 40px;
}

.footer a:link, .footer a:visited{
color:#ffffcc;
text-decoration:underline;
}

.footer a:hover{
color:#ffcc66;
text-decoration:underline;
}


.sidemenucontent a:link, .sidemenucontent a:visited{
color:#cc6600;
text-decoration:underline;
}

.sidemenucontent a:hover{
color:#cc3333;
text-decoration:underline;
}

.gameTitle{
font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:22px;
letter-spacing:2px;
}

.gameTitle a:link, .gameTitle a:visited{
color:#957c40;
text-decoration:none;
}

.gameTitle a:hover{
color:#cc3333;
text-decoration:none;
}

.gamedesc{
font-size:11px;
}

.subTitleText{
color:#FFFFFF;
font-weight:bold;
}

.gamethumb{
border-style:none;
border-width:0px;
padding:4px 3px 1px 3px;
}

.customcontent{
background-image: url(img/gradient4.jpg);
background-position:top;
background-repeat:repeat-x;
min-height:120px;
padding:3px;
font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
text-align:justify;
}

.customtitle{
font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
font-size:22px;
letter-spacing:2px;
color:#BB0F0F;
}

.sideMenu{
border:#524d3f solid 1px;
margin:0px 5px 5px 5px;
padding:3px;
background-color:#f0e1b6;
text-align: left;
}

.sideMenuTitle{
background-color:#524d3f;
color:#FFFFFF;
margin:5px 5px 0px 5px;
padding:3px;
text-align: left;
}
/* Линкове в кафявото заглавие на сайдбара — винаги бели (надстройка на .contentarea a) */
.sideMenuTitle .sideMenuTitle-link,
.sideMenuTitle .sideMenuTitle-link:link,
.sideMenuTitle .sideMenuTitle-link:visited,
.sideMenuTitle .sideMenuTitle-link:hover,
.sideMenuTitle .sideMenuTitle-link:active {
	color: #FFFFFF;
	text-decoration: none;
}
.sideMenuTitle .sideMenuTitle-link:hover,
.sideMenuTitle .sideMenuTitle-link:active {
	text-decoration: underline;
}
/* Наскоро играни: таблица с фиксирани едноредови записи, без празни втори редове при BG. */
.sideMenu.sideMenu-recent .sideMenuRecentTable,
.sideMenu.sideMenu-recent .sideMenuRecentTable tr,
.sideMenu.sideMenu-recent .sideMenuRecentTable td {
	margin: 0;
	padding: 0;
	border: 0;
}
.sideMenu.sideMenu-recent .sideMenuRecentTable a.cmenulink {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.contentarea .sideMenuTitle .sideMenuTitle-link,
.contentarea .sideMenuTitle .sideMenuTitle-link:link,
.contentarea .sideMenuTitle .sideMenuTitle-link:visited,
.contentarea .sideMenuTitle .sideMenuTitle-link:hover,
.contentarea .sideMenuTitle .sideMenuTitle-link:active {
	color: #FFFFFF !important;
	text-decoration: none;
}
.contentarea .sideMenuTitle .sideMenuTitle-link:hover,
.contentarea .sideMenuTitle .sideMenuTitle-link:active {
	text-decoration: underline;
}

/* Форми за вход/регистрация – подравняване на полетата */
.sideMenu form input[type="text"],
.sideMenu form input[type="password"],
.customcontent form input[type="text"],
.customcontent form input[type="password"],
.leftside form input[type="text"],
.leftside form input[type="password"],
.leftside form input[name="security_code"] {
	display: block;
	width: 140px;
	margin: 2px 0 6px 0;
	box-sizing: border-box;
}
/* Login форма – етикет над полето, центриране */
.sideMenu .login-form-wrap {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	padding: 0;
}
.sideMenu .login-form-wrap form {
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: 200px;
}
.sideMenu .login-form-wrap .login-form {
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: 200px;
}
.sideMenu .login-form-field {
	margin-bottom: 8px;
}
.sideMenu .login-form-label {
	display: block;
	margin-bottom: 2px;
	font-weight: 600;
	font-size: 12px;
	color: #333;
}
.sideMenu .login-form-field input {
	width: 100%;
	box-sizing: border-box;
}
.sideMenu .login-form-submit {
	text-align: center;
	margin-top: 8px;
}
.sideMenu .login-form-links-wrapper {
	width: 100%;
	max-width: 200px;
	margin: 0 auto;
	text-align: left;
	box-sizing: border-box;
}
/* Формата и линковете под нея – еднаква работна ширина и ляво подравняване (като „Забравена парола“) */
.sideMenu .login-form-links-wrapper > form.login-form {
	max-width: 200px;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
	box-sizing: border-box;
}
.sideMenu .login-form-links {
	text-align: left;
	margin-top: 8px;
	margin-left: 0;
	margin-right: 0;
	max-width: 200px;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	font-size: 12px !important;
}
.sideMenu .login-form-links a,
.sideMenu .login-form-link,
.sidemenucontent .login-form-links a,
.sidemenucontent .login-form-link {
	font-size: 12px !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
}
.sideMenu .login-form-links a + a,
.sidemenucontent .login-form-links a + a {
	margin-top: 3px !important;
}
/* Между recover и register – намалено с 60% (2px → 1px) */
.sideMenu .login-form-wrap + .login-form-links,
.sidemenucontent .login-form-wrap + .login-form-links,
.sideMenu .login-form-register,
.sidemenucontent .login-form-register {
	margin-top: 1px !important;
}
/* Регистрация: два реда, подравнени вляво с текста под формата (recover) */
.sideMenu .login-form-register,
.sidemenucontent .login-form-register {
	white-space: normal !important;
	overflow: visible !important;
	text-align: left !important;
	width: 100%;
	max-width: 200px;
	box-sizing: border-box;
}
.sideMenu .login-form-register a,
.sidemenucontent .login-form-register a {
	white-space: normal !important;
	text-align: left !important;
	display: block !important;
	width: 100%;
	box-sizing: border-box;
}

/* Обвивка за login.php (замества <center>) */
.brown-login-shell {
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

/* login/recover/ — компактна, центрирана форма в стила на brown */
.brown-recover-wrap,
.thedesc .brown-recover-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	padding: 2px 10px 14px;
	text-align: center;
	box-sizing: border-box;
}
.brown-recover-hint {
	max-width: 260px;
	margin: 10px auto 0;
	padding: 0 4px;
	text-align: center;
	font-size: 11px;
	line-height: 1.4;
	color: #5c5340;
}
.brown-recover-result-wrap,
.thedesc .brown-recover-result-wrap {
	max-width: 280px;
	margin: 10px auto 0;
	padding: 0 4px;
	font-size: 12px;
	line-height: 1.45;
	color: #3d3518;
	text-align: center;
	box-sizing: border-box;
}
.brown-recover-result-wrap p {
	margin: 0.4em 0 0;
}
.brown-recover-result-wrap p:first-child {
	margin-top: 0;
}
.gss-password-recover-card {
	width: 100%;
	max-width: 240px;
	margin: 0 auto;
	padding: 12px 14px 14px;
	background: linear-gradient(180deg, #fdfaf3 0%, #f3e6c8 100%);
	border: 1px solid #d7aa49;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(61, 53, 24, 0.12);
	box-sizing: border-box;
}
.gss-password-recover-inner {
	width: 100%;
	margin: 0;
	max-width: none;
	box-sizing: border-box;
}
.gss-password-recover-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}
.gss-password-recover-form .gss-recover-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 3px;
	font-size: 12px;
	letter-spacing: 0.01em;
	color: #3d3518;
}
.gss-password-recover-form .gss-recover-field input[type="text"] {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 5px 8px;
	font-size: 13px;
	line-height: 1.25;
	border: 1px solid #c9a04a;
	border-radius: 4px;
	background: #fffef9;
	box-sizing: border-box;
	display: block;
}
.gss-password-recover-form .gss-recover-field input[type="text"]:focus {
	outline: none;
	border-color: #a67c00;
	box-shadow: 0 0 0 2px rgba(214, 168, 38, 0.25);
}
.gss-password-recover-form .gss-recover-actions {
	margin-top: 2px;
	text-align: center;
}
.gss-password-recover-form .gss-recover-actions input.gss-recover-submit,
.gss-password-recover-form .gss-recover-actions input[type="submit"] {
	width: auto;
	max-width: 100%;
	margin: 2px auto 0;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid #9a7310;
	border-radius: 4px;
	background: linear-gradient(180deg, #e9cf7a 0%, #d4a826 100%);
	color: #2a2210;
	cursor: pointer;
	box-sizing: border-box;
}
.gss-password-recover-form .gss-recover-actions input[type="submit"]:hover {
	filter: brightness(1.06);
}
.gss-password-recover-form .gss-recover-actions input[type="submit"]:active {
	filter: brightness(0.97);
}

/* Страница „Най-оценявани“ — подредени карти (без фиксираната височина на .item) */
.brown-listed-page--rated {
	max-width: 760px;
	margin: 12px auto 20px;
	padding: 0 10px 8px;
	text-align: center;
	box-sizing: border-box;
}
.brown-listed-page--rated .gameTitle {
	display: block;
	margin-bottom: 10px;
}
.brown-listed-page--rated .brown-listed-pagination {
	margin: 6px 0 12px;
}
.brown-listed-page--rated .brown-listed-pagination--bottom {
	margin-top: 14px;
}
.brown-listed-page--rated .brown-rated-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
}
.brown-listed-page--rated .brown-rated-card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	background: linear-gradient(180deg, #fdfaf3 0%, #f0e6c8 100%);
	border: 1px solid #d7aa49;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(82, 77, 63, 0.12);
	box-sizing: border-box;
}
.brown-listed-page--rated .brown-rated-rank {
	flex: 0 0 36px;
	width: 36px;
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	color: #524d3f;
	line-height: 1.2;
	padding-top: 6px;
}
.brown-listed-page--rated .brown-rated-thumb {
	flex: 0 0 auto;
	line-height: 0;
}
.brown-listed-page--rated .brown-rated-thumb img,
.brown-listed-page--rated .brown-rated-thumb img.gamethumb {
	display: block;
	width: 100px !important;
	max-width: 100px;
	height: auto !important;
	border: 1px solid #c9a04a;
	border-radius: 4px;
	float: none;
	vertical-align: top;
}
.brown-listed-page--rated .brown-rated-main {
	flex: 1;
	min-width: 0;
}
.brown-listed-page--rated .brown-rated-toprow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}
.brown-listed-page--rated .brown-rated-score {
	font-size: 12px;
	font-weight: 700;
	color: #3d3518;
	background: rgba(215, 170, 73, 0.35);
	padding: 3px 10px;
	border-radius: 4px;
	border: 1px solid #c9a04a;
	white-space: nowrap;
}
.brown-listed-page--rated .brown-rated-actions {
	font-size: 11px;
}
.brown-listed-page--rated .brown-rated-actions a {
	color: #8b4513;
	text-decoration: underline;
}
.brown-listed-page--rated .brown-rated-actions a:hover {
	color: #bb0f0f;
}
.brown-listed-page--rated .brown-rated-title {
	font-size: 17px;
	font-weight: bold;
	color: #bb0f0f;
	text-decoration: underline;
	display: inline-block;
	line-height: 1.25;
	margin-bottom: 6px;
}
.brown-listed-page--rated .brown-rated-title:hover {
	color: #ff4800;
}
.brown-listed-page--rated .brown-rated-desc {
	font-size: 11px;
	line-height: 1.45;
	color: #404040;
	clear: both;
}
.brown-listed-page--rated .brown-rated-empty {
	text-align: center;
	color: #524d3f;
	margin: 16px 0;
}

.sideMenu form, .customcontent form, .leftside form {
	text-align: left;
}

/* Links страница – компактна форма за добавяне на линк */
.graymenutext form.links-exchange-form .form-row {
	margin-bottom: 4px;
	line-height: 1.4;
}
.graymenutext form.links-exchange-form .form-row input[type="text"] {
	display: inline-block;
	width: 240px;
	margin-left: 6px;
	vertical-align: middle;
	box-sizing: border-box;
}
.graymenutext form.links-exchange-form input[type="submit"] {
	margin-top: 6px;
}

/* Search форма – намалено разстояние между полето и бутона */
.sideMenu--android-app {
	margin-bottom: 6px;
}
.sideMenu-android-app-link {
	display: inline-block;
	line-height: 1.35;
}
.sideMenu form .searchtext {
	margin-bottom: 2px;
}
.sideMenu form .searchbutton {
	margin-top: 0;
}










/*             styles for the star rater                */
/*            copyright http://komodomedia.com/blog/index.php/2007/01/20/css-star-rating-redux/               */


.star-rating,
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus,
.star-rating .current-rating{
background: url(img/star_rating.png) left -1000px repeat-x;
}
.star-rating{
position:relative;
width:60px;
height:12px;
overflow:hidden;
list-style:none;
margin:0;
padding:0;
background-position: left top;
}
.star-rating li{
display: inline;
}
.star-rating a,
.star-rating .current-rating{
position:absolute;
top:0;
left:0;
text-indent:-1000em;
height:12px;
line-height:12px;
outline:none;
overflow:hidden;
border: none;
}
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus{
background-position: left bottom;
}
.star-rating a.one-star{
width:20%;
z-index:6;
}
.star-rating a.two-stars{
width:40%;
z-index:5;
}
.star-rating a.three-stars{
width:60%;
z-index:4;
}
.star-rating a.four-stars{
width:80%;
z-index:3;
}
.star-rating a.five-stars{
width:100%;
z-index:2;
}
.star-rating .current-rating{
z-index:1;
background-position: left center;
}
.inline-rating{
display:-moz-inline-block;
display:-moz-inline-box;
display:inline-block;
vertical-align: middle;
}

/* Регистрация – същият компактен „card“ стил като login/recover */
.register-form-compact { line-height: 1.2; }
.register-form-compact .reg-field { margin-bottom: 8px; }
.register-form-compact .reg-label { display: block; margin-bottom: 3px; font-weight: 600; }
.register-form-compact .reg-field input { width: 100%; max-width: 280px; padding: 5px 8px; margin: 0; box-sizing: border-box; }
.register-form-compact .reg-submit { margin-top: 10px; }
.reg-benefits { margin-bottom: 8px; line-height: 1.25; }
.reg-benefits p { margin: 4px 0 !important; }
.reg-pp-link { margin: 4px 0 0 0 !important; }
/* Регистрация: без gradient5.jpg фон и без фалшив линк в заглавието */
.item.register-brown-item {
	height: auto !important;
	min-height: 0;
	padding: 8px 0 4px 0;
	background-image: none !important;
	background-color: transparent;
}
.register-brown-page .gameTitle.register-brown-title {
	color: #957c40;
	text-decoration: none;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 22px;
	letter-spacing: 2px;
}
.thedesc.register-brown-desc {
	height: auto !important;
	min-height: 48px;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.register-brown-page {
	overflow: visible !important;
	min-height: 200px;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	box-sizing: border-box;
}
.contentarea .register-brown-page .register-form-compact input { visibility: visible !important; opacity: 1 !important; }

/* Колона като .brown-recover-wrap */
.register-brown-wrap,
.thedesc .register-brown-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 380px;
	margin: 0 auto;
	padding: 2px 10px 14px;
	text-align: center;
	box-sizing: border-box;
}
.register-brown-wrap .reg-benefits {
	max-width: 280px;
	margin: 0 auto 8px;
	text-align: left;
	font-size: 11px;
	line-height: 1.4;
	color: #5c5340;
}
.register-brown-wrap .reg-benefits p {
	margin: 4px 0 !important;
}
.register-brown-wrap .reg-pp-link {
	max-width: 260px;
	margin: 10px auto 0 !important;
	padding: 0 4px;
	font-size: 11px;
	line-height: 1.4;
	color: #5c5340;
	text-align: center;
}
.register-brown-wrap .reg-pp-link a {
	color: #7a6218;
}
.register-brown-wrap .reg-pp-link a:hover {
	color: #bb0f0f;
}

/* Карта за формата – визуално като .gss-password-recover-card, малко по-широка за captcha */
.register-brown-form-card {
	width: 100%;
	max-width: 280px;
	margin: 0 auto;
	padding: 12px 14px 14px;
	background: linear-gradient(180deg, #fdfaf3 0%, #f3e6c8 100%);
	border: 1px solid #d7aa49;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(61, 53, 24, 0.12);
	box-sizing: border-box;
}
.register-brown-form-inner {
	width: 100%;
	margin: 0;
	max-width: none;
	box-sizing: border-box;
}
.register-brown-form-card .register-form-compact {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	margin: 0;
	text-align: center;
	line-height: 1.2;
}
.register-brown-form-card .reg-field {
	margin-bottom: 0;
}
.register-brown-form-card .reg-label {
	display: block;
	font-weight: 600;
	margin-bottom: 3px;
	font-size: 12px;
	letter-spacing: 0.01em;
	color: #3d3518;
}
.register-brown-form-card .reg-field input[type="text"],
.register-brown-form-card .reg-field input[type="password"] {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 5px 8px;
	font-size: 13px;
	line-height: 1.25;
	border: 1px solid #c9a04a;
	border-radius: 4px;
	background: #fffef9;
	box-sizing: border-box;
}
.register-brown-form-card .reg-field input:focus {
	outline: none;
	border-color: #a67c00;
	box-shadow: 0 0 0 2px rgba(214, 168, 38, 0.25);
}
.register-brown-form-card .reg-field--captcha .captcha-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}
.register-brown-form-card .reg-submit {
	margin-top: 2px;
	text-align: center;
}
.register-brown-form-card .reg-submit input[type="submit"],
.register-brown-form-card .reg-submit input.gss-recover-submit {
	width: auto;
	max-width: 100%;
	margin: 2px auto 0;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid #9a7310;
	border-radius: 4px;
	background: linear-gradient(180deg, #e9cf7a 0%, #d4a826 100%);
	color: #2a2210;
	cursor: pointer;
	box-sizing: border-box;
	box-shadow: none;
}
.register-brown-form-card .reg-submit input[type="submit"]:hover,
.register-brown-form-card .reg-submit input.gss-recover-submit:hover {
	filter: brightness(1.06);
}
.register-brown-form-card .reg-submit input[type="submit"]:active,
.register-brown-form-card .reg-submit input.gss-recover-submit:active {
	filter: brightness(0.97);
}

.register-brown-outofplays-lead {
	max-width: 280px;
	margin: 0 auto 8px;
	padding: 0 4px;
	font-size: 12px;
	line-height: 1.4;
	color: #3d3518;
	text-align: center;
}
.thedesc.register-brown-desc > .register-brown-alert {
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
}
.register-brown-alert { margin: 0 auto 12px; padding: 12px 14px; border-radius: 6px; font-size: 12px; line-height: 1.35; box-sizing: border-box; }
.register-brown-alert__title { display: block; margin-bottom: 6px; font-size: 14px; }
.register-brown-alert__p { margin: 6px 0 0 0; }
.register-brown-alert__hint { font-size: 11px; opacity: 0.9; }
.register-brown-alert--success { background: linear-gradient(180deg, #e8f5e9 0%, #d4edda 100%); border: 1px solid #a5d6a7; color: #1b5e20; }
.register-brown-alert--error { background: linear-gradient(180deg, #ffebee 0%, #ffcdd2 100%); border: 1px solid #e57373; color: #b71c1c; }
.register-brown-alert--warning { background: linear-gradient(180deg, #fff8e1 0%, #ffecb3 100%); border: 1px solid #D7AA49; color: #5d4037; }
.register-brown-alert--info { background: #f5f0e0; border: 1px solid #D7AA49; color: #333; text-align: left; }
.register-brown-debug-pre { margin: 8px 0 0 0; font-size: 11px; overflow: auto; max-height: 240px; }
.register-brown-login-link { font-weight: 600; color: #8d6e1b; }
.register-brown-login-link:hover { color: #bb0f0f; }
.register-captcha-img { border: 1px solid #c9a04a; vertical-align: middle; max-width: 100%; height: auto; border-radius: 4px; }
.register-captcha-refresh { font-size: 11px; color: #7a6218; }
.register-captcha-refresh:hover { color: #bb0f0f; }

/* Links page – супер дизайн */
.links-page { text-align: center; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; padding: 8px 0 24px; }
.links-page .graymenutext.largertext { margin: 0 auto 12px; max-width: 560px; width: 100%; }
.links-page .graymenutext.largertext td { text-align: center !important; padding: 1px 6px !important; }
.links-form-card { background: linear-gradient(180deg, #faf8f0 0%, #f5f0e0 100%); border: 1px solid #e5dcc5; border-radius: 12px; padding: 12px 16px; max-width: 280px; margin: 0 auto; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.links-exchange-form { margin: 0; display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.links-exchange-form .links-form-field { margin-bottom: 4px; width: 100%; }
.links-exchange-form .links-form-label { display: block; margin-bottom: 1px; font-weight: 600; font-size: 12px; color: #333; }
.links-exchange-form .links-form-field input { width: 100%; padding: 5px 8px; border: 1px solid #d0d0d0; border-radius: 6px; font-size: 12px; background: #fff; box-sizing: border-box; }
.links-exchange-form .links-form-field input:focus { outline: none; border-color: #c9a227; box-shadow: 0 0 0 3px rgba(201,162,39,0.2); }
.links-exchange-form .links-form-submit { margin-top: 5px; text-align: center; }
.links-exchange-form .links-form-submit input[type="submit"] { padding: 8px 19px; font-size: 12px; font-weight: 600; background: linear-gradient(180deg, #d7aa49 0%, #c9a227 100%) !important; color: #000 !important; border: none !important; border-radius: 6px; cursor: pointer; box-shadow: 0 2px 8px rgba(201,162,39,0.35); }
.links-exchange-form .links-form-submit input[type="submit"]:hover { transform: translateY(-1px); }

/* Потребители – луксозна рамка като регистрация (същите класове + по-широк wrap) */
/* Висока специфичност: .contentarea/.leftside и общите max-width на .register-brown-* иначе стягат таблицата */
.contentarea .brown-login-shell {
	width: 100% !important;
	max-width: min(96vw, 780px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}
.contentarea .register-brown-page.brown-users-page {
	max-width: min(96vw, 780px) !important;
	width: 100% !important;
}
.contentarea .thedesc.register-brown-desc.brown-users-desc {
	max-width: min(96vw, 760px) !important;
}
.contentarea .register-brown-wrap.brown-users-wrap {
	max-width: min(96vw, 760px) !important;
	width: 100% !important;
}
.contentarea .register-brown-form-card.brown-users-form-card {
	max-width: 100% !important;
	width: 100% !important;
}
.register-brown-page.brown-users-page {
	max-width: 780px;
}
.thedesc.register-brown-desc.brown-users-desc {
	max-width: 760px;
}
.brown-users-subtitle {
	margin: 0 0 14px 0;
	padding: 0 14px;
	font-size: 12px;
	line-height: 1.5;
	color: #5c5340;
	text-align: center;
	box-sizing: border-box;
}
/* Потребители – същата HTML верига като register: wrap + register-brown-form-card */
.register-brown-wrap.brown-users-wrap {
	max-width: 760px;
	width: 100%;
	margin: 0 auto;
	padding-bottom: 10px;
	box-sizing: border-box;
}
.register-brown-form-card.brown-users-form-card {
	max-width: 100%;
	width: 100%;
	margin: 0 auto 0;
	padding: 0;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 1px 6px rgba(61, 53, 24, 0.14);
}
.register-brown-form-inner.brown-users-form-inner {
	padding: 0;
}
.brown-users-empty {
	color: #5c5340;
}
table.brown-users-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
	line-height: 1.35;
	color: #3d3518;
	margin: 0;
}
.brown-users-table thead th {
	padding: 12px 12px;
	text-align: left;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #2a2210;
	background: linear-gradient(180deg, rgba(233, 207, 122, 0.55) 0%, rgba(215, 170, 73, 0.38) 100%);
	border-bottom: 1px solid #c9a04a;
	vertical-align: bottom;
}
.brown-users-table thead th a.pagelink {
	color: #5c4210;
	text-decoration: none;
	font-weight: 700;
}
.brown-users-table thead th a.pagelink:hover {
	color: #bb0f0f;
	text-decoration: underline;
}
.brown-users-table thead th.brown-users-col-num {
	text-align: right;
}
.brown-users-table tbody td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid rgba(201, 160, 74, 0.35);
	vertical-align: middle;
}
.brown-users-table tbody tr:last-child td {
	border-bottom: none;
}
.brown-users-table tbody tr.brown-users-row--even {
	background: rgba(255, 255, 255, 0.4);
}
.brown-users-table tbody tr.brown-users-row--odd {
	background: rgba(255, 254, 249, 0.15);
}
.brown-users-table tbody tr:hover {
	background: rgba(255, 248, 225, 0.85);
}
.brown-users-table .brown-users-col-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.brown-users-table a.contentlink {
	color: #8b4513;
	font-weight: 600;
	text-decoration: underline;
}
.brown-users-table a.contentlink:hover {
	color: #bb0f0f;
}
.brown-users-pagination {
	padding: 12px 14px;
	text-align: center;
	font-size: 12px;
	line-height: 1.6;
	color: #3d3518;
	border-top: 1px solid rgba(215, 170, 73, 0.5);
	background: linear-gradient(180deg, rgba(255, 253, 245, 0.95) 0%, rgba(245, 236, 210, 0.65) 100%);
	box-sizing: border-box;
}
.brown-users-pagination .brown-users-page-current {
	display: inline-block;
	min-width: 1.5em;
	font-weight: 700;
	color: #5c4210;
}
.brown-users-pagination a.gamelink {
	display: inline-block;
	margin: 0 3px;
	padding: 2px 8px;
	font-weight: 600;
	color: #7a6218;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid transparent;
}
.brown-users-pagination a.gamelink:hover {
	color: #bb0f0f;
	background: rgba(255, 255, 255, 0.7);
	border-color: #d7aa49;
}

/* Единна пагинация (тема brown) — един ред: номера + Първа/Назад/Напред/Последна */
.brown-pagination-bar {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px 8px;
	margin: 5px auto;
	padding: 6px 7px;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	line-height: 1.28;
	color: #3d3518;
	background: linear-gradient(165deg, rgba(255, 252, 240, 0.98) 0%, rgba(245, 230, 195, 0.92) 45%, rgba(235, 212, 160, 0.85) 100%);
	border: 1px solid rgba(201, 160, 74, 0.65);
	border-radius: 4px;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.7) inset,
		0 2px 6px rgba(61, 53, 24, 0.12);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.brown-pagination {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 4px 3px;
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
}
.brown-pagination__label {
	font-size: 8px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b5420;
	margin-right: 2px;
	white-space: nowrap;
	flex-shrink: 0;
}
.brown-pagination__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 2px 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.brown-pagination__item {
	margin: 0;
	padding: 0;
}
.brown-pagination__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2em;
	padding: 2px 4px;
	font-weight: 600;
	color: #5c4210;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(215, 170, 73, 0.5);
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(61, 53, 24, 0.06);
	transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.brown-pagination__link:hover {
	color: #8b2500;
	background: rgba(255, 255, 255, 0.92);
	border-color: #c9a04a;
	box-shadow: 0 2px 8px rgba(139, 90, 20, 0.15);
}
.brown-pagination__link:focus-visible {
	outline: 1px solid #b8860b;
	outline-offset: 1px;
}
.brown-pagination__link--arrow {
	min-width: 2.25em;
	font-size: 1.02em;
	line-height: 1;
	font-weight: 700;
}
.brown-pagination__current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2em;
	padding: 2px 4px;
	font-weight: 800;
	color: #2a2210;
	background: linear-gradient(180deg, #e9cf7a 0%, #d7aa49 100%);
	border: 1px solid #a67c29;
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}
.brown-pagination__muted {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25em;
	padding: 2px 4px;
	color: rgba(92, 74, 32, 0.35);
	font-weight: 700;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid transparent;
	border-radius: 3px;
}
.brown-pagination__ellipsis {
	padding: 0 2px;
	color: #8a7a55;
	font-weight: 700;
	letter-spacing: 0.05em;
	user-select: none;
}
.brown-pagination--blocks .brown-pagination__item--jump .brown-pagination__link,
.brown-pagination--sliding .brown-pagination__item--jump .brown-pagination__link {
	font-size: 8px;
	padding: 2px 3px;
	max-width: 10em;
	text-align: center;
	line-height: 1.15;
	white-space: nowrap;
}
.brown-pagination__edges {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 3px 5px;
	padding: 0 0 0 8px;
	margin: 0 0 0 4px;
	border-top: none;
	border-left: 1px solid rgba(201, 160, 74, 0.45);
	flex: 0 0 auto;
	align-self: center;
	white-space: nowrap;
}
.brown-pagination__edge {
	font-weight: 600;
	color: #6b5420;
	text-decoration: none;
	padding: 1px 2px;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.brown-pagination__edge:hover {
	color: #bb0f0f;
	border-bottom-color: rgba(187, 15, 15, 0.4);
}
.brown-pagination__edge--disabled {
	color: rgba(107, 84, 32, 0.4);
	cursor: default;
	pointer-events: none;
}

