/* Share & earn (2.79.2): /share/ and the band on the home page. */

/* ---------------------------------------------------------------- The page */
.y4se-sec { margin-top: 1.75rem; }
.y4se .section-title.y4se-h { margin-bottom: .875rem; }
.y4se-p { display: block; font-size: .875rem; line-height: 1.55; color: rgba(23, 32, 33, .68); }
.y4se-ic {
	flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .875rem;
	color: #fff; background: linear-gradient(135deg, #29b1d8, #1f6fd6); box-shadow: 0 .625rem 1.25rem -.5rem rgba(31, 111, 214, .55);
}
.y4se-ic svg { width: 1.375rem; height: 1.375rem; }
.y4se-closed { padding: 1.25rem; border-radius: 1rem; background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 33, .08); }
.y4se-closed p { margin: 0; }

/* What you can share */
.y4se-kinds { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.y4se-kind {
	display: flex; flex-direction: column; gap: .5rem; padding: 1.125rem; border-radius: 1.25rem; text-decoration: none;
	color: #172021; background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 33, .07), 0 .75rem 1.5rem -1rem rgba(23, 32, 33, .25);
	transition: box-shadow .2s ease, transform .2s ease;
}
.y4se-kind:hover { color: #172021; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(41, 177, 216, .35), 0 1rem 2rem -1rem rgba(41, 177, 216, .45); }
.y4se-kind b { font-size: 1.0625rem; }
.y4se-kind .y4se-p { flex: 1; }
.y4se-kind.is-game .y4se-ic { background: linear-gradient(135deg, #8a5cf6, #5b3fd6); box-shadow: 0 .625rem 1.25rem -.5rem rgba(91, 63, 214, .55); }
.y4se-kind.is-app .y4se-ic { background: linear-gradient(135deg, #22c38e, #12946a); box-shadow: 0 .625rem 1.25rem -.5rem rgba(18, 148, 106, .5); }
.y4se-go { display: inline-flex; align-items: center; gap: .375rem; margin-top: .25rem; font-size: .875rem; font-weight: 700; color: #1a8fb3; }
.y4se-go svg { width: 1rem; height: 1rem; transition: transform .2s ease; }
.y4se-kind:hover .y4se-go svg { transform: translateX(3px); }

/* How it works */
.y4se-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.y4se-step {
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem .875rem; align-items: start; align-content: start;
	margin: 0; padding: 1rem 1.125rem; border-radius: 1.25rem; background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 33, .07);
}
.y4se-step .y4se-ic { grid-row: span 2; }
.y4se-step b { align-self: end; font-size: 1rem; }
.y4se-n {
	position: absolute; top: .625rem; right: .75rem; font-size: 1.75rem; font-weight: 800; line-height: 1; color: rgba(41, 177, 216, .16);
}

/* What you get */
.y4se-gets { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.y4se-get {
	display: flex; align-items: flex-start; gap: .875rem; padding: 1rem 1.125rem; border-radius: 1.25rem;
	background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 33, .07);
}
.y4se-get b { display: block; margin-bottom: .125rem; }
.y4se-get.is-tick .y4se-ic { background: linear-gradient(135deg, #3aa8f5, #1d9bf0); }
.y4se-get.is-gift .y4se-ic, .y4se-get.is-coin .y4se-ic { background: linear-gradient(135deg, #f7b733, #e8890c); box-shadow: 0 .625rem 1.25rem -.5rem rgba(232, 137, 12, .5); }

/* Top creators */
.y4se-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.y4se-person {
	display: flex; flex-direction: column; align-items: center; gap: .125rem; min-width: 0; padding: 1.125rem .75rem 1rem; border-radius: 1.25rem;
	text-align: center; text-decoration: none; color: #172021; background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 33, .07);
	transition: box-shadow .2s ease, transform .2s ease;
}
.y4se-person:hover { color: #172021; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(41, 177, 216, .35), 0 1rem 2rem -1rem rgba(41, 177, 216, .45); }
.y4se-av {
	flex: none; display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover;
	font-size: 1.25rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, hsl(var(--h, 195) 70% 52%), hsl(calc(var(--h, 195) + 40) 65% 38%));
}
.y4se-person .y4se-av { margin-bottom: .5rem; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(41, 177, 216, .35); }
.y4se-name { display: inline-flex; align-items: center; gap: .3em; max-width: 100%; font-weight: 700; }
.y4se-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.y4se-at { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; color: rgba(23, 32, 33, .55); }
.y4se-count { margin-top: .375rem; padding: .25rem .625rem; border-radius: 1rem; font-size: .75rem; font-weight: 700; color: #1a8fb3; background: rgba(41, 177, 216, .1); }

/* Questions */
.y4se-faq { display: grid; gap: .5rem; }
.y4se-faq details { border-radius: 1rem; background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 33, .07); }
.y4se-faq summary {
	position: relative; padding: .9375rem 2.75rem .9375rem 1.125rem; cursor: pointer; list-style: none; font-weight: 700;
}
.y4se-faq summary::-webkit-details-marker { display: none; }
.y4se-faq summary::after {
	content: ""; position: absolute; top: 50%; right: 1.125rem; width: .5rem; height: .5rem; margin-top: -.375rem;
	border-right: 2px solid #29b1d8; border-bottom: 2px solid #29b1d8; transform: rotate(45deg); transition: transform .2s ease, margin .2s ease;
}
.y4se-faq details[open] summary::after { margin-top: -.125rem; transform: rotate(-135deg); }
.y4se-faq details p { margin: 0; padding: 0 1.125rem 1rem; font-size: .9375rem; line-height: 1.6; color: rgba(23, 32, 33, .75); }
.y4se-legal { margin: .25rem 0 0; font-size: .8125rem; color: rgba(23, 32, 33, .6); }

/* The end */
.y4se-end {
	display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0 .5rem; padding: 1.5rem; border-radius: 1.5rem; color: #fff;
	background: radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, 0) 40%), linear-gradient(120deg, #131c44 0%, #1f3aa0 55%, #2a8fd6 100%);
}
.y4se-end b { display: block; font-size: 1.25rem; line-height: 1.25; }
.y4se-end span { display: block; margin-top: .25rem; color: rgba(255, 255, 255, .75); }

.y4se-hero .rbx-btn svg { width: 1.125rem; height: 1.125rem; }

@media (min-width: 48rem) {
	.y4se-kinds { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
	.y4se-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
	.y4se-gets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
	.y4se-people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
	.y4se-end { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.75rem 2rem; }
	.y4se-end .rbx-btn { flex: none; }
}
@media (min-width: 62rem) {
	.y4se-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.y4se-step { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 1.25rem; }
	.y4se-step .y4se-ic { grid-row: auto; }
	.y4se-gets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- The band on the home page */
.y4se-band { margin: 1.5rem 0; }
.y4se-band-in {
	position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .875rem 1rem; align-items: center;
	padding: 1.125rem; border-radius: 1.25rem; color: #fff;
	background: radial-gradient(circle at 92% 10%, rgba(255, 255, 255, .22) 0, rgba(255, 255, 255, 0) 38%), radial-gradient(circle at 5% 120%, rgba(41, 177, 216, .5) 0, rgba(41, 177, 216, 0) 45%), linear-gradient(120deg, #131c44 0%, #1f3aa0 55%, #2a8fd6 100%);
	box-shadow: 0 1.25rem 2.5rem -1.5rem rgba(19, 28, 68, .6);
}
.y4se-band-ic {
	display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; align-self: start;
	background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.y4se-band-text h2 { margin: 0 0 .25rem; font-size: 1.125rem; line-height: 1.25; color: #fff; }
.y4se-band-text p { margin: 0; font-size: .875rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.y4se-band-people { display: flex; align-items: center; gap: .5rem; margin-top: .625rem; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.y4se-stack { display: inline-flex; }
.y4se-stack .y4se-av { width: 1.75rem; height: 1.75rem; font-size: .75rem; box-shadow: 0 0 0 2px #1f3aa0; }
.y4se-stack .y4se-av + .y4se-av { margin-left: -.5rem; }
.y4se-band-go { grid-column: 1 / -1; display: flex; gap: .5rem; }
.y4se-btn {
	flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; padding: 0 1.125rem; border-radius: .875rem;
	font-size: .9375rem; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none; transition: background-color .2s ease, transform .1s ease;
}
.y4se-btn:active { transform: scale(.98); }
.y4se-btn-main, .y4se-btn-main:hover { color: #142046; background: #fff; }
.y4se-btn-main:hover { background: #e9f6fb; }
.y4se-btn-soft, .y4se-btn-soft:hover { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.y4se-btn-soft:hover { background: rgba(255, 255, 255, .2); }

@media (min-width: 48rem) {
	.y4se-band-in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; padding: 1.375rem 1.75rem; }
	.y4se-band-ic { width: 3.5rem; height: 3.5rem; align-self: center; }
	.y4se-band-text h2 { font-size: 1.375rem; }
	.y4se-band-go { grid-column: auto; flex-direction: column; min-width: 11rem; }
	.y4se-btn { flex: none; }
}
@media (min-width: 62rem) {
	.y4se-band-go { flex-direction: row; min-width: 0; }
}
