/* Black and gold visual refresh */
:root {
	--gold: #d8aa3e;
	--gold-soft: #ffe08a;
	--gold-dark: #8b681b;
	--ink: #090909;
	--panel: #141414;
	--panel-2: #1d1b16;
	--line: rgba(216, 170, 62, .28);
	--text: #f5f1e6;
	--muted: #b7ad93;
}

html {
	scroll-behavior: smooth;
}

body {
	background:
		radial-gradient(circle at 15% 5%, rgba(216, 170, 62, .16), transparent 32%),
		linear-gradient(135deg, #070707 0%, #14110a 48%, #050505 100%) !important;
	color: var(--text);
}

body:before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 78%);
}

a {
	transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.header-main-center,
.header-top,
.header,
.mobile-bar,
.top-bar,
.footer,
.footer-links {
	background: rgba(8, 8, 8, .92) !important;
	border-color: var(--line) !important;
	box-shadow: 0 12px 28px rgba(0,0,0,.24);
}

.header-top .link,
.header .account,
.header .balance,
.mobile-menu .items a,
.mobile-menu .info,
.top-bar a {
	color: var(--text) !important;
}

.header .login,
.header .signup,
.header .account,
.mobile-menu .button,
.form-container .form-button {
	background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-dark)) !important;
	color: #151005 !important;
	border: 1px solid rgba(255, 232, 149, .42) !important;
	border-radius: 8px !important;
	box-shadow: 0 8px 22px rgba(216, 170, 62, .22);
}

.header .login:hover,
.header .signup:hover,
.header .account:hover,
.mobile-menu .button:hover,
.form-container .form-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(216, 170, 62, .32);
}

.top-bar {
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
}

.top-bar a {
	border-color: rgba(216, 170, 62, .12) !important;
}

.top-bar .active,
.top-bar a:hover {
	background: linear-gradient(180deg, rgba(216, 170, 62, .18), rgba(216, 170, 62, .04)) !important;
	color: var(--gold-soft) !important;
}

.page-content,
.frame-background {
	background: transparent !important;
}

.splash-view {
	padding: 16px !important;
	box-sizing: border-box !important;
	align-items: center !important;
	justify-content: center !important;
}

.page-content .page-area,
.form-container,
.static-menu .link-container,
.slip-container,
.other-bars,
.event-container,
.splash-container {
	background: rgba(18, 18, 18, .9) !important;
	border: 1px solid var(--line) !important;
	border-radius: 10px !important;
	box-shadow: 0 20px 50px rgba(0,0,0,.28);
	backdrop-filter: blur(8px);
}

.splash-view .splash-container {
	width: min(760px, calc(100vw - 24px)) !important;
	max-width: calc(100vw - 24px) !important;
	max-height: min(82vh, 760px) !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
}

.splash-container:before {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	margin: 12px auto 4px;
	border-radius: 16px;
	background: #090909 url("../images/golf-bet-mark.png") center/cover no-repeat;
	border: 1px solid rgba(255,226,139,.5);
	box-shadow: 0 10px 24px rgba(0,0,0,.28), 0 0 20px rgba(216,170,62,.28);
}

.page-content .page-area .page-title {
	background: linear-gradient(135deg, rgba(216, 170, 62, .22), rgba(216, 170, 62, .04)) !important;
	color: var(--gold-soft) !important;
	border-bottom: 1px solid var(--line);
	border-radius: 10px 10px 0 0;
}

.form-container .form-title,
.form-container label,
.form-container .form-link,
.static-content,
.account-page-container,
.data-table td,
.data-table th {
	color: var(--text) !important;
}

.form-container .form-input,
.form-container input,
.form-container select,
.form-container textarea,
.slip-container .amount-input .amount input {
	background: #0d0d0d !important;
	color: var(--text) !important;
	border: 1px solid var(--line) !important;
	border-radius: 8px !important;
	outline: none;
}

.form-container .form-input:focus,
.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
	border-color: var(--gold) !important;
	box-shadow: 0 0 0 3px rgba(216, 170, 62, .18);
}

.item-box,
.item-2-box {
	border-radius: 10px !important;
	overflow: hidden;
	background: var(--panel) !important;
	border: 1px solid rgba(216, 170, 62, .22) !important;
	box-shadow: 0 14px 34px rgba(0,0,0,.24);
	animation: tkFadeUp .45s ease both;
}

.item-box:hover,
.item-2-box:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 224, 138, .55) !important;
	box-shadow: 0 20px 42px rgba(216, 170, 62, .2);
}

.item-box .image,
.item-2-box .image {
	transition: transform .35s ease, filter .35s ease;
}

.item-box:hover .image,
.item-2-box:hover .image {
	transform: scale(1.05);
	filter: saturate(1.18) contrast(1.08);
}

.item-box .title div,
.item-2-box .title div {
	background: linear-gradient(90deg, rgba(7,7,7,.94), rgba(52, 40, 15, .92)) !important;
	color: var(--gold-soft) !important;
	border-top: 1px solid var(--line) !important;
}

.data-table tbody tr:nth-child(odd) td,
.data-table tbody tr:nth-child(even) td,
.data-table tbody tr {
	background: rgba(255,255,255,.045) !important;
	color: var(--text) !important;
}

.static-menu .link-container a {
	color: var(--muted) !important;
	border-color: rgba(216,170,62,.12) !important;
}

.static-menu .link-container a:hover,
.static-menu .link-container .active {
	background: rgba(216,170,62,.16) !important;
	color: var(--gold-soft) !important;
}

.splash-header {
	background: linear-gradient(90deg, #0b0b0b, #2b210b) !important;
	color: var(--gold-soft) !important;
	border-radius: 10px 10px 0 0;
}

.splash-content {
	background: linear-gradient(180deg, #111, #17130a) !important;
	color: var(--text) !important;
	border-radius: 0 0 10px 10px;
	line-height: 2;
	max-width: none !important;
	max-height: calc(min(82vh, 760px) - 74px) !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	padding: 18px 22px !important;
	box-sizing: border-box !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.splash-content,
.splash-content * {
	color: var(--text) !important;
}

.splash-content strong,
.splash-content span,
.splash-content a {
	color: var(--gold-soft) !important;
}

.splash-content p {
	animation: tkFadeUp .35s ease both;
}

.splash-content::-webkit-scrollbar {
	width: 8px;
}

.splash-content::-webkit-scrollbar-track {
	background: rgba(255,255,255,.06);
	border-radius: 999px;
}

.splash-content::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--gold-soft), var(--gold));
	border-radius: 999px;
}

.item-box,
.item-2-box,
.main-games-box .game,
.home-casino-strip a {
	content-visibility: auto;
	contain-intrinsic-size: 180px 120px;
}

.tk-captcha-field .form-element input {
	font-size: 20px !important;
	letter-spacing: 3px;
	direction: ltr;
}

.tk-captcha-preview .form-element {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto !important;
	float: none !important;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(216,170,62,.28);
	border-radius: 12px;
	padding: 8px;
}

.tk-captcha-preview img {
	width: 220px;
	max-width: calc(100vw - 120px);
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(255,226,139,.36);
	box-shadow: 0 10px 24px rgba(0,0,0,.24);
}

.captcha-refresh {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255,226,139,.42);
	border-radius: 10px;
	background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--gold-dark));
	color: #151005;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(216,170,62,.18);
}

.captcha-refresh:hover .fa {
	animation: tkSpin .7s ease;
}

.header .left.mt5.mb5 a,
.mobile-bar .logo a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.header .left.mt5.mb5 a:before,
.mobile-bar .logo a:before {
	content: "";
	display: inline-block;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: url("../images/golf-bet-mark.png") center/cover no-repeat;
	box-shadow: 0 0 18px rgba(216,170,62,.34);
	animation: tkLogoPulse 3s ease-in-out infinite;
}

.mobile-bar .logo a:before {
	width: 34px;
	height: 34px;
	border-radius: 9px;
}

.header .left.mt5.mb5 img,
.mobile-bar .logo img {
	filter: drop-shadow(0 0 10px rgba(216,170,62,.25));
}
}

.mobile-menu {
	background: rgba(8,8,8,.96) !important;
	border-left: 1px solid var(--line);
	box-shadow: -20px 0 40px rgba(0,0,0,.35);
}

.mobile-menu .items a {
	border-bottom: 1px solid rgba(216,170,62,.14) !important;
}

.mobile-menu .items a:hover {
	color: var(--gold-soft) !important;
	background: rgba(216,170,62,.1);
}

.mobile-footer-bar {
	height: 66px !important;
	background: rgba(8,8,8,.92) !important;
	border-top: 1px solid rgba(255, 224, 138, .28) !important;
	box-shadow: 0 -18px 36px rgba(0,0,0,.38);
	backdrop-filter: blur(14px);
}

.mobile-bar-holder {
	height: 78px !important;
}

.mobile-footer-bar a {
	height: 58px !important;
	padding-top: 8px !important;
	background-image: none !important;
	color: var(--muted) !important;
	font-size: 11px !important;
	line-height: 18px !important;
	position: relative;
}

.mobile-footer-bar a:before {
	display: block;
	font-family: FontAwesome;
	font-size: 21px;
	line-height: 25px;
	margin-bottom: 1px;
	color: inherit;
}

.mobile-footer-bar .sport:before { content: "\f1e3"; }
.mobile-footer-bar .live:before { content: "\f03d"; }
.mobile-footer-bar .scores:before { content: "\f015"; }
.mobile-footer-bar .casino:before { content: "\f1d8"; }
.mobile-footer-bar .account:before { content: "\f007"; }

.mobile-footer-bar .active {
	color: var(--gold-soft) !important;
}

.mobile-footer-bar .active:after {
	content: "";
	position: absolute;
	left: 28%;
	right: 28%;
	top: 0;
	height: 3px;
	border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

@keyframes tkFadeUp {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes tkLogoPulse {
	0%, 100% {
		transform: translateY(0);
		box-shadow: 0 0 14px rgba(216,170,62,.28);
	}
	50% {
		transform: translateY(-2px);
		box-shadow: 0 0 24px rgba(216,170,62,.5);
	}
}

@keyframes tkSpin {
	to {
		transform: rotate(360deg);
	}
}

@media screen and (min-width: 1001px) {
	.page-content .page-area .p15 {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 14px;
	}

	.item-box,
	.item-2-box {
		float: none !important;
		width: auto !important;
		margin: 0 !important;
	}
}

@media screen and (max-width: 1000px) {
	body {
		padding-bottom: 72px;
	}

	.mobile-bar {
		height: 58px !important;
		background: rgba(8,8,8,.94) !important;
		border-bottom: 1px solid var(--line) !important;
		backdrop-filter: blur(12px);
	}

	.mobile-bar .logo img {
		max-height: 36px;
		width: auto;
	}

	.page-content .page-area,
	.form-container {
		width: calc(100% - 18px) !important;
		margin: 10px 9px !important;
	}

	.page-content .page-area .p15 {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		padding: 10px !important;
	}

	.item-box,
	.item-2-box {
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
	}

	.item-box .title div,
	.item-2-box .title div {
		font-size: 13px !important;
		height: 34px !important;
		line-height: 34px !important;
	}

	.form-container .form-element {
		width: 100% !important;
	}
}

@media screen and (max-width: 420px) {
	.page-content .page-area .p15 {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.mobile-footer-bar a {
		font-size: 10px !important;
	}
}

/* Mobile casino list polish */
.header .left.mt5.mb5 a:before,
.mobile-bar .logo a:before {
	display: none !important;
	content: none !important;
}

.mobile-footer-bar .casino:before {
	content: "\f11b";
}

@media screen and (max-width: 1000px) {
	.page-content .page-area .p15 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 9px !important;
	}

	.item-box,
	.item-2-box {
		min-height: 138px;
		border-radius: 8px !important;
	}

	.item-box .image,
	.item-2-box .image {
		height: 104px !important;
		padding: 0 !important;
		background-size: cover !important;
		background-position: center !important;
	}

	.item-box .title,
	.item-2-box .title {
		height: auto !important;
		position: static !important;
	}

	.item-box .title div,
	.item-2-box .title div {
		position: static !important;
		top: auto !important;
		height: 34px !important;
		line-height: 34px !important;
		font-size: 12px !important;
		border-radius: 0 !important;
	}
}

@media screen and (max-width: 360px) {
	.item-box .image,
	.item-2-box .image {
		height: 92px !important;
	}

	.item-box .title div,
	.item-2-box .title div {
		font-size: 11px !important;
	}
}

@media screen and (max-width: 600px) {
	.splash-view {
		padding: 10px !important;
	}

	.splash-view .splash-container {
		width: calc(100vw - 16px) !important;
		max-width: calc(100vw - 16px) !important;
		max-height: 78vh !important;
		border-radius: 10px !important;
	}

	.splash-container:before {
		width: 46px;
		height: 46px;
		margin: 10px auto 3px;
		border-radius: 12px;
	}

	.splash-header {
		min-height: 44px !important;
	}

	.splash-content {
		max-height: calc(78vh - 56px) !important;
		padding: 14px 15px !important;
		font-size: 13px !important;
		line-height: 1.85 !important;
	}

	.splash-content p {
		margin: 0 0 10px !important;
	}
}

/* Homepage casino banners */
.main-games-box,
.home-casino-strip {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 14px 0;
}

.main-games-box .clear {
	display: none !important;
}

.main-games-box .game,
.home-casino-strip a {
	display: block !important;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid rgba(216, 170, 62, .3);
	background: #111;
	box-shadow: 0 14px 30px rgba(0,0,0,.28);
	transform: translateZ(0);
}

.main-games-box .game:after,
.home-casino-strip a:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,226,139,.14), transparent 38%, rgba(0,0,0,.1));
	opacity: .8;
	pointer-events: none;
}

.main-games-box img,
.home-casino-strip img {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 12 / 5;
	height: auto !important;
	object-fit: cover;
	margin: 0 !important;
	transition: transform .28s ease, filter .28s ease;
}

.main-games-box .game:hover,
.home-casino-strip a:hover {
	border-color: rgba(255,226,139,.7);
	box-shadow: 0 18px 38px rgba(216,170,62,.18);
	transform: translateY(-2px);
}

.main-games-box .game:hover img,
.home-casino-strip a:hover img {
	transform: scale(1.04);
	filter: saturate(1.12);
}

@media screen and (max-width: 1000px) {
	.main-games-box,
	.home-casino-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
		margin: 10px 8px 14px;
	}

	.main-games-box img,
	.home-casino-strip img {
		aspect-ratio: 12 / 6;
	}
}

@media screen and (min-width: 1001px) {
	.home-casino-sidebar .home-casino-strip {
		display: flex !important;
		overflow-x: auto;
		gap: 8px;
		padding-bottom: 4px;
		scrollbar-width: thin;
	}

	.home-casino-sidebar .home-casino-strip a {
		flex: 0 0 150px;
	}
}

/* Golf Bet visual refresh */
.main-splash {
	position: relative;
	display: block;
	width: calc(100% - 32px) !important;
	max-width: 1180px !important;
	margin: 14px auto 10px auto !important;
	left: auto !important;
	right: auto !important;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid rgba(255, 226, 139, .28);
	background: #090909;
	box-sizing: border-box;
	box-shadow: 0 22px 55px rgba(0,0,0,.32), 0 0 34px rgba(216,170,62,.12);
}

.main-splash:before,
.main-splash:after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}

.main-splash:before {
	background: linear-gradient(90deg, rgba(0,0,0,.42), transparent 45%, rgba(0,0,0,.2));
}

.main-splash:after {
	background: radial-gradient(circle at 18% 20%, rgba(255,226,139,.2), transparent 22%),
		linear-gradient(180deg, transparent 68%, rgba(0,0,0,.42));
	opacity: .9;
}

.main-splash.is-animating .image {
	filter: saturate(1.12) contrast(1.04);
}

.main-splash .image-container {
	height: clamp(260px, 29vw, 390px) !important;
}

.main-splash .image-container .image {
	transform: scale(1.002);
	transition: filter .45s ease, transform .8s ease;
}

.main-splash:hover .image-container .image {
	transform: scale(1.025);
}

.main-splash-dots {
	position: absolute;
	right: 0;
	left: 0;
	bottom: 14px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	pointer-events: auto;
}

.main-splash-dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 1px solid rgba(255,226,139,.62);
	border-radius: 999px;
	background: rgba(255,255,255,.22);
	box-shadow: 0 0 0 3px rgba(0,0,0,.26);
	opacity: .82;
	transition: width .22s ease, background .22s ease, box-shadow .22s ease, opacity .22s ease;
	cursor: pointer;
}

.main-splash-dots button.active {
	width: 26px;
	background: linear-gradient(90deg, var(--gold-soft), var(--gold));
	border-color: rgba(255,226,139,.95);
	box-shadow: 0 0 16px rgba(216,170,62,.5), 0 0 0 3px rgba(0,0,0,.28);
	opacity: 1;
}

.main-splash-nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 42px;
	height: 42px;
	margin-top: -21px;
	border: 1px solid rgba(255,226,139,.42);
	border-radius: 999px;
	background: rgba(8,8,8,.58);
	color: var(--gold-soft);
	font-size: 34px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(0,0,0,.34);
	backdrop-filter: blur(10px);
	transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.main-splash-nav:hover {
	transform: translateY(-1px) scale(1.05);
	background: rgba(216,170,62,.22);
	border-color: rgba(255,226,139,.82);
}

.main-splash-nav.prev {
	left: 16px;
}

.main-splash-nav.next {
	right: 16px;
}

.main-games-box,
.home-casino-strip {
	align-items: stretch;
}

.main-games-box .game,
.home-casino-strip a {
	min-height: 148px;
	isolation: isolate;
}

.main-games-box .game:before,
.home-casino-strip a:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 58%;
	z-index: 1;
	background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
	pointer-events: none;
}

.main-games-box .game span,
.home-casino-strip a span {
	position: absolute;
	right: 10px;
	left: 10px;
	bottom: 9px;
	z-index: 2;
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(9,9,9,.78);
	border: 1px solid rgba(255,226,139,.38);
	color: var(--gold-soft);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
	box-sizing: border-box;
	backdrop-filter: blur(8px);
	text-shadow: 0 1px 2px rgba(0,0,0,.65);
}

.main-games-box img,
.home-casino-strip img {
	aspect-ratio: 16 / 9 !important;
	min-height: 148px;
}

@media screen and (max-width: 1000px) {
	.main-splash {
		width: calc(100vw - 16px) !important;
		max-width: calc(100vw - 16px) !important;
		border-radius: 12px;
		margin: 10px auto !important;
	}

	.main-splash .image-container {
		height: clamp(170px, 42vw, 260px) !important;
	}

	.main-splash-dots {
		bottom: 9px;
		gap: 6px;
	}

	.main-splash-dots button {
		width: 7px;
		height: 7px;
	}

	.main-splash-dots button.active {
		width: 20px;
	}

	.main-splash-nav {
		width: 34px;
		height: 34px;
		margin-top: -17px;
		font-size: 28px;
		line-height: 27px;
	}

	.main-splash-nav.prev {
		left: 8px;
	}

	.main-splash-nav.next {
		right: 8px;
	}

	.main-games-box,
	.home-casino-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	.main-games-box .game,
	.home-casino-strip a {
		min-height: 132px;
		border-radius: 12px;
	}

	.main-games-box img,
	.home-casino-strip img {
		aspect-ratio: 16 / 10 !important;
		min-height: 118px;
	}

	.main-games-box .game span,
	.home-casino-strip a span {
		right: 7px;
		left: 7px;
		bottom: 7px;
		min-height: 32px;
		padding: 6px 7px;
		font-size: 12px;
	}
}

@media screen and (max-width: 360px) {
	.main-games-box .game span,
	.home-casino-strip a span {
		font-size: 11px;
	}
}

html,
body {
	max-width: 100%;
	overflow-x: hidden !important;
	overscroll-behavior-x: none;
}

body,
.container,
.page-content,
.page-area,
.static-content,
.form-container,
.main-splash,
.main-games-box,
.home-casino-strip {
	box-sizing: border-box;
}

img,
video,
canvas,
iframe {
	max-width: 100%;
}

.page-content.light .account-page-container {
	color: #f7f0d0 !important;
}

.page-content.light .account-page-container .bold {
	color: #ffffff !important;
}

.page-content.light .account-page-container a.c-main {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 10px;
	background: linear-gradient(135deg, #ffe08a, #d8aa3e) !important;
	border: 1px solid rgba(255, 226, 138, .75);
	color: #111 !important;
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.page-content.light .account-page-container a.c-main .fa {
	color: #111 !important;
}

@media screen and (max-width: 1000px) {
	.container,
	.page-content,
	.page-area,
	.static-content,
	.form-container {
		max-width: 100vw !important;
	}

	.page-content.light .account-page-container {
		width: 100%;
		margin-right: 0 !important;
		padding: 4px 6px;
		text-align: right;
	}

	.page-content.light .account-page-container a.c-main {
		width: 100%;
		box-sizing: border-box;
	}
}

/* Keep homepage casino cards centered with equal side gutters. */
.main-games-box,
.home-casino-strip {
	width: calc(100% - 32px) !important;
	max-width: 1180px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	box-sizing: border-box;
}

.home-casino-sidebar .home-casino-strip {
	max-width: 100% !important;
}

@media screen and (max-width: 1000px) {
	.main-games-box,
	.home-casino-strip {
		width: calc(100vw - 18px) !important;
		max-width: calc(100vw - 18px) !important;
		margin: 10px auto 14px !important;
	}
}

/* Ticket and withdraw readability */
.support-container .admin_bubble,
.support-container .user_bubble {
	display: block !important;
	clear: both !important;
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	margin: 12px auto 18px !important;
	padding: 0 10px;
	text-align: right;
	overflow: hidden;
}

.support-container .bubble {
	display: block !important;
	float: none !important;
	width: min(760px, calc(100% - 18px)) !important;
	max-width: calc(100vw - 28px);
	box-sizing: border-box;
	padding: 12px 14px !important;
	line-height: 2 !important;
	text-align: right !important;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.support-container .user_bubble .bubble {
	margin-right: auto !important;
	margin-left: 0 !important;
}

.support-container .admin_bubble .bubble {
	margin-right: 0 !important;
	margin-left: auto !important;
}

.support-container .time {
	display: block;
	clear: both;
	margin-top: 6px;
	white-space: normal;
	line-height: 1.8;
}

.support-container textarea.form-input {
	width: 100% !important;
	min-height: 120px !important;
	box-sizing: border-box;
	line-height: 2;
}

.withdraw-description {
	padding: 12px 16px;
	line-height: 2.2 !important;
	text-align: right;
	overflow-wrap: anywhere;
}

.withdraw-history-table {
	width: 100% !important;
	table-layout: fixed;
}

.withdraw-history-table th,
.withdraw-history-table td {
	padding: 10px 8px !important;
	line-height: 1.9 !important;
	vertical-align: middle !important;
	white-space: normal !important;
	overflow-wrap: anywhere;
}

@media screen and (max-width: 700px) {
	.support-container .page-title {
		line-height: 1.8;
		white-space: normal;
	}

	.support-container .p15,
	.support-container .p30 {
		padding: 10px !important;
	}

	.support-container {
		width: calc(100vw - 14px) !important;
		max-width: calc(100vw - 14px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	.support-container .admin_bubble,
	.support-container .user_bubble {
		padding: 0 4px;
	}

	.support-container .bubble {
		width: calc(100vw - 38px) !important;
		max-width: calc(100vw - 38px) !important;
	}

	.withdraw-history-table,
	.withdraw-history-table thead,
	.withdraw-history-table tbody,
	.withdraw-history-table tr,
	.withdraw-history-table th,
	.withdraw-history-table td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}

	.withdraw-history-table thead {
		display: none;
	}

	.withdraw-history-table tr {
		margin: 0 0 12px;
		padding: 10px 12px;
		border: 1px solid rgba(214, 169, 57, .35);
		border-radius: 12px;
		background: rgba(255, 255, 255, .04);
		box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
	}

	.withdraw-history-table td {
		display: grid;
		grid-template-columns: 90px minmax(0, 1fr);
		align-items: flex-start;
		gap: 12px;
		border: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
		text-align: right !important;
		direction: rtl;
		min-height: 42px;
	}

	.withdraw-history-table td:last-child {
		border-bottom: 0 !important;
	}

	.withdraw-history-table td:before {
		min-width: 0;
		color: #d8aa3e;
		font-weight: 800;
		text-align: right;
		content: attr(data-label);
	}

	.withdraw-history-table td[data-label*="وضعیت"],
	.withdraw-history-table td[data-label*="status"] {
		white-space: nowrap !important;
		word-break: normal;
	}
}

.ticket-answer-toast {
	position: fixed;
	top: 18px;
	right: 18px;
	z-index: 2147483647;
	display: flex;
	align-items: center;
	gap: 12px;
	width: min(390px, calc(100vw - 28px));
	padding: 14px 16px;
	border: 1px solid rgba(119, 255, 164, .45);
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(8, 54, 30, .96), rgba(18, 118, 61, .94));
	color: #f6fff8;
	box-shadow: 0 18px 46px rgba(0, 0, 0, .34), 0 0 28px rgba(61, 255, 135, .24);
	box-sizing: border-box;
	transform: translateY(-18px);
	opacity: 0;
	animation: ticketAnswerToastIn .45s ease forwards, ticketAnswerGlow 2.4s ease-in-out infinite;
	pointer-events: auto;
}

.ticket-answer-toast__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(198, 255, 214, .18);
	border: 1px solid rgba(198, 255, 214, .45);
	color: #afffc7;
	font-size: 18px;
}

.ticket-answer-toast__content {
	flex: 1;
	min-width: 0;
	text-align: right;
	line-height: 1.8;
}

.ticket-answer-toast__title {
	display: block;
	font-weight: 800;
	font-size: 15px;
}

.ticket-answer-toast__subject {
	display: block;
	margin-top: 2px;
	color: rgba(246, 255, 248, .82);
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ticket-answer-toast__action {
	flex: 0 0 auto;
	padding: 8px 11px;
	border-radius: 11px;
	background: rgba(255, 255, 255, .14);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
	transition: background .2s ease, transform .2s ease;
}

.ticket-answer-toast__action:hover {
	background: rgba(255, 255, 255, .22);
	transform: translateY(-1px);
}

.ticket-answer-toast__close {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	cursor: pointer;
}

@keyframes ticketAnswerToastIn {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes ticketAnswerGlow {
	0%, 100% {
		box-shadow: 0 18px 46px rgba(0, 0, 0, .34), 0 0 24px rgba(61, 255, 135, .18);
	}
	50% {
		box-shadow: 0 18px 46px rgba(0, 0, 0, .34), 0 0 38px rgba(61, 255, 135, .34);
	}
}

@media screen and (max-width: 700px) {
	.ticket-answer-toast {
		top: 12px;
		right: 10px;
		left: 10px;
		width: auto;
		padding: 12px;
	}

	.ticket-answer-toast__action {
		padding: 7px 9px;
		font-size: 12px;
	}
}

/* Final mobile fixes for support chat and withdraw history. */
.support-container .p15 {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

.support-container .admin_bubble,
.support-container .user_bubble {
	display: flex !important;
	flex-direction: column !important;
	clear: both !important;
	float: none !important;
	width: 100% !important;
	margin: 12px 0 18px !important;
	padding: 0 12px !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

.support-container .user_bubble {
	align-items: flex-end !important;
}

.support-container .admin_bubble {
	align-items: flex-start !important;
}

.support-container .admin_bubble .icon,
.support-container .user_bubble .icon {
	display: none !important;
}

.support-container .admin_bubble .bubble,
.support-container .user_bubble .bubble {
	float: none !important;
	display: block !important;
	width: auto !important;
	min-width: 84px !important;
	max-width: min(78%, 620px) !important;
	margin: 0 !important;
	padding: 13px 15px !important;
	box-sizing: border-box !important;
	line-height: 2 !important;
	white-space: pre-wrap !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
	text-align: right !important;
}

.support-container .admin_bubble .time,
.support-container .user_bubble .time {
	float: none !important;
	clear: both !important;
	margin: 7px 6px 0 !important;
	width: auto !important;
	max-width: 78% !important;
	text-align: inherit !important;
}

.support-container .admin_bubble .time {
	align-self: flex-start !important;
}

.support-container .user_bubble .time {
	align-self: flex-end !important;
}

.formbox:has(.withdraw-history-table) {
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 700px) {
	.withdraw-history-table {
		display: table !important;
		min-width: 560px !important;
		width: 100% !important;
		table-layout: auto !important;
	}

	.withdraw-history-table thead {
		display: table-header-group !important;
	}

	.withdraw-history-table tbody {
		display: table-row-group !important;
	}

	.withdraw-history-table tr {
		display: table-row !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	.withdraw-history-table th,
	.withdraw-history-table td {
		display: table-cell !important;
		width: auto !important;
		min-height: 0 !important;
		padding: 10px 12px !important;
		border-bottom: 1px solid rgba(214, 169, 57, .18) !important;
		white-space: nowrap !important;
		text-align: center !important;
		vertical-align: middle !important;
	}

	.withdraw-history-table td:before {
		content: none !important;
	}
}

/* Mobile withdrawal cards: keep the whole request visible inside the screen. */
.withdraw-history-section,
.withdraw-history-section .formbox {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	float: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	text-align: initial !important;
	overflow: visible !important;
}

@media screen and (max-width: 700px) {
	.withdraw-history-section {
		display: block !important;
		padding: 12px !important;
	}

	.withdraw-history-section .formbox {
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
	}

	.withdraw-history-table,
	.withdraw-history-table thead,
	.withdraw-history-table tbody,
	.withdraw-history-table tr,
	.withdraw-history-table th,
	.withdraw-history-table td {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.withdraw-history-table {
		table-layout: fixed !important;
		border-collapse: separate !important;
		border-spacing: 0 !important;
		background: transparent !important;
	}

	.withdraw-history-table thead {
		display: none !important;
	}

	.withdraw-history-table tr {
		margin: 0 0 14px !important;
		padding: 10px 12px !important;
		border: 1px solid rgba(216, 170, 62, .35) !important;
		border-radius: 14px !important;
		background: rgba(255, 255, 255, .06) !important;
		box-shadow: 0 10px 28px rgba(0, 0, 0, .24) !important;
		overflow: hidden !important;
	}

	.withdraw-history-table td {
		display: grid !important;
		grid-template-columns: minmax(96px, 34%) minmax(0, 1fr) !important;
		gap: 10px !important;
		align-items: start !important;
		min-height: 0 !important;
		padding: 9px 0 !important;
		border: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
		white-space: normal !important;
		text-align: right !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
		line-height: 1.9 !important;
		color: #f7f3e7 !important;
	}

	.withdraw-history-table td:last-child {
		border-bottom: 0 !important;
	}

	.withdraw-history-table td:before {
		content: attr(data-label) !important;
		display: block !important;
		color: #d8aa3e !important;
		font-weight: 700 !important;
		white-space: normal !important;
		text-align: right !important;
	}

	.withdraw-history-table td.ltr {
		direction: ltr !important;
		text-align: left !important;
		unicode-bidi: plaintext !important;
		overflow-wrap: anywhere !important;
	}
}
