/* Codychat store — Default login of 11 + store sections */

#login_logo { height: 70px; }
#intro_top {
	width: 100%;
	height: calc(100vh - 56px);
	min-height: calc(100vh - 56px);
	z-index: 1;
	position: relative;
	background: #292929 url('images/background.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}
#login_wrap { width: 100%; min-height: 100%; height: auto; overflow-x: hidden; }
#login_all {
	width: 800px;
	max-width: 94%;
	border-radius: 20px;
	display: block;
	margin: 0 auto;
	color: #fff;
}
#login_all h1 {
	margin: 0;
	font-size: 32px;
	line-height: 1.2;
	color: #fff;
}
.login_not_member { text-align: center; padding-top: 5px; }

.cs_nav {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 56px;
	padding: 0 16px;
	background: rgba(18, 18, 18, 0.94);
	border-bottom: 1px solid #333;
	box-sizing: border-box;
}
.cs_nav_brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
}
.cs_nav_brand img {
	height: 28px;
	width: auto;
	display: block;
}
.cs_nav_brand span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#intro_lang {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}
#intro_lang img { max-height: 22px; }

.intro_shop_btn {
	display: inline-block;
	text-decoration: none;
	color: inherit;
	text-align: center;
	box-sizing: border-box;
	line-height: normal;
}
.btnshadow { box-shadow: 0 1px 3px rgb(0, 0, 0, 0.4); }

.section { width: 100%; height: auto; margin: 0 auto; }
.section_content { width: 100%; max-width: 1100px; margin: 0 auto; }
.section_inside { margin: 0 auto; }

.cs_nav_toggle {
	position: relative;
	top: auto;
	left: auto;
	z-index: 1;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.cs_nav_toggle:hover { background: rgba(0, 0, 0, 0.55); }

.cs_side_overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 40;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}
.cs_side {
	position: fixed;
	top: 0;
	left: 0;
	width: min(320px, 88vw);
	height: 100%;
	z-index: 41;
	background: #222;
	border-right: 1px solid #333;
	transform: translateX(-100%);
	transition: transform .25s ease;
	display: flex;
	flex-direction: column;
	box-shadow: 8px 0 28px rgba(0, 0, 0, 0.45);
	color: #fff;
}
.cs_login.cs_side_open .cs_side_overlay {
	opacity: 1;
	visibility: visible;
}
.cs_login.cs_side_open .cs_side { transform: translateX(0); }
.cs_login.cs_side_open { overflow: hidden; }
.cs_side_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid #333;
	background: #1a1a1a;
}
.cs_side_brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 15px;
	min-width: 0;
}
.cs_side_brand img { height: 28px; width: auto; display: block; }
.cs_side_brand span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cs_side_close {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 3px;
	background: #333;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	flex-shrink: 0;
}
.cs_side_close:hover { background: #444; }
.cs_side_body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 0 8px;
}
.cs_side_foot {
	padding: 14px 18px 18px;
	border-top: 1px solid #333;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #1a1a1a;
}
.cs_side_foot .large_button_rounded,
.cs_side_foot .intro_shop_btn {
	width: 100%;
	min-width: 0;
	margin-top: 0;
	box-sizing: border-box;
}
.cs_side_label {
	padding: 14px 18px 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #888;
	margin: 0;
}
.cs_side_links { display: flex; flex-direction: column; }
.cs_side_links a {
	display: block;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #ccc;
	text-decoration: none;
	border-bottom: 1px solid #2a2a2a;
}
.cs_side_links a:hover { background: #2a2a2a; color: #fff; }
.cs_side_actions {
	display: none;
}

.cs_section {
	background: #242424;
	color: #fff;
	padding: 56px 0;
}
.cs_section_alt { background: #1f1f1f; }
.cs_section_head { margin-bottom: 28px; }
.cs_section_head h2 {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.25;
	color: #fff;
}
.cs_section_head p.text_med { color: #aaa; }

.cs_side_drop { border-bottom: 1px solid #2a2a2a; }
.cs_side_drop_btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #ccc;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
}
.cs_side_drop_btn:hover { background: #2a2a2a; color: #fff; }
.cs_side_drop_btn i { font-size: 12px; transition: transform .2s ease; }
.cs_side_drop.open .cs_side_drop_btn i { transform: rotate(180deg); }
.cs_side_drop_list { display: none; background: #1a1a1a; }
.cs_side_drop.open .cs_side_drop_list { display: block; }
.cs_side_drop_list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 18px 11px 28px;
	font-size: 13px;
	font-weight: 600;
	color: #bbb;
	text-decoration: none;
}
.cs_side_drop_list a:hover { background: #2a2a2a; color: #fff; }
.cs_side_drop_list a i { width: 16px; text-align: center; color: #888; }

.cs_info_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.cs_info_card {
	background: #2c2c2c;
	border: 1px solid #333;
	border-radius: 12px;
	padding: 20px 18px;
	text-align: left;
}
.cs_info_step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #333;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 12px;
}
.cs_info_card h3 {
	margin: 0 0 8px;
	font-size: 16px;
	color: #fff;
}
.cs_info_card p {
	margin: 0;
	color: #999;
	font-size: 13px;
	line-height: 1.55;
}
.cs_seo_copy {
	max-width: 760px;
	margin: 0 auto;
	color: #bbb;
	font-size: 15px;
	line-height: 1.7;
	text-align: left;
}
.cs_seo_copy p { margin: 0 0 12px; }
.cs_faq_list {
	max-width: 760px;
	margin: 0 auto;
}
.cs_faq {
	background: #2c2c2c;
	border: 1px solid #333;
	border-radius: 12px;
	padding: 4px 16px;
	margin-bottom: 10px;
}
.cs_faq summary {
	cursor: pointer;
	font-weight: 700;
	padding: 12px 0;
	color: #fff;
}
.cs_faq p {
	margin: 0 0 14px;
	color: #aaa;
	font-size: 14px;
	line-height: 1.55;
}
.cs_faq a {
	color: #d4af37;
	text-decoration: none;
}
.cs_faq a:hover {
	text-decoration: underline;
}
.cs_footer_copy {
	margin: 0 0 10px;
	color: #888;
	font-size: 13px;
}

.cs_carousel {
	--cs-vis: 3;
	--cs-gap: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}
.cs_carousel_viewport {
	overflow: hidden;
	flex: 0 0 auto;
	min-width: 0;
	touch-action: pan-y;
}
.cs_carousel_track {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--cs-gap);
	width: max-content;
	max-width: none;
	transition: transform .28s ease;
	will-change: transform;
}
.cs_carousel_track .sf_card {
	flex: 0 0 auto;
	min-width: 0;
	box-sizing: border-box;
}
.cs_carousel_btn {
	flex: 0 0 40px;
	width: 40px;
	align-self: center;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #333;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.cs_carousel_btn:hover { background: #444; }
.cs_carousel_btn:disabled {
	opacity: .28;
	cursor: default;
}
.cs_carousel_single .cs_carousel_btn { display: none; }
.sf_grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.sf_card {
	background: #2c2c2c;
	border: 1px solid #333;
	border-radius: 12px;
	padding: 18px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	text-align: left;
	color: #fff;
}
.sf_card:hover { border-color: #555; background: #333; }
.sf_card_offer { border-color: #74b20e; }
.sf_card_media {
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.sf_card_media img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: 8px;
	display: block;
}
.sf_card_type {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #888;
	margin-bottom: 6px;
}
.sf_card_name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fff;
}
.sf_card_dev { font-size: 12px; color: #888; margin: 0 0 14px; }
.sf_card_foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #3a3a3a;
	padding-top: 12px;
}
.sf_card_price { font-weight: 700; font-size: 14px; color: orange; }
.sf_card_tag {
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	background: #74b20e;
	border-radius: 20px;
	padding: 3px 8px;
}

.intro_footer {
	background: #1a1a1a;
	color: #ccc;
	padding: 25px 0;
}
html { scroll-behavior: smooth; }

@media screen and (max-width: 1120px) {
	.section_inside { width: 96%; }
}

@media screen and (max-width: 980px) {
	.sf_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#login_all { width: 100%; }
	.cs_info_grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 899px) {
	.cs_carousel { --cs-vis: 2; }
}

@media screen and (max-width: 680px) {
	#intro_top {
		height: auto;
		min-height: calc(100vh - 56px);
		background-attachment: scroll;
		background-size: cover;
		padding: 32px 0;
	}
	#login_all { padding: 16px 0; }
	#login_all h1 { font-size: 26px; }
	.cs_section { padding: 36px 0; }
	.cs_section_head { margin-bottom: 18px; }
	.cs_section_head h2 { font-size: 22px; }
	.cs_carousel { gap: 6px; }
	.cs_carousel_btn { flex: 0 0 34px; width: 34px; height: 34px; font-size: 14px; }
	.sf_card { padding: 14px; }
	.sf_card_media { height: 52px; margin-bottom: 10px; }
	.sf_card_media img { width: 42px; height: 42px; }
	.sf_card_name { font-size: 13px; white-space: normal; }
	.sf_card_dev { display: none; }
	.intro_login_btn,
	.intro_shop_btn,
	.intro_guest_btn { max-width: 100%; }
}

@media screen and (max-width: 559px) {
	.cs_carousel { --cs-vis: 1; }
	.cs_carousel_track .sf_card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.cs_login * { transition: none !important; }
}
