.streams {
	width: min(31.5rem, calc(100vw - 1.1rem));
	background:
		linear-gradient(180deg, rgba(10, 12, 14, .94) 0%, rgba(12, 14, 16, .92) 100%),
		#0b0d10;
	background-image: none;
	border-right: 1px solid rgba(223, 198, 131, .22);
	box-shadow: 8px 0 48px rgba(0, 0, 0, .55);
	transition: transform .62s cubic-bezier(.22, 1, .36, 1), box-shadow .62s ease !important;
	will-change: transform;
	z-index: 220 !important;
	pointer-events: auto !important;
}

[data-streams-overlay] {
	z-index: 200 !important;
}

.streams__btn,
.streams__ico {
	z-index: 230 !important;
}

.streams__list,
.ls-panel,
.ls-add {
	pointer-events: auto !important;
	position: relative;
	z-index: 2;
}

.streams__list {
	padding: 0;
	gap: 0;
	overflow: hidden;
}

.ls-panel {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.ls-head {
	flex: 0 0 auto;
	padding: 1.35rem 1.25rem 1rem;
	border-bottom: 1px solid rgba(223, 198, 131, .16);
}

.ls-head__kicker {
	margin: 0 0 .35rem;
	font-family: Intro, "Open Sans", sans-serif;
	font-size: .62rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: rgba(223, 198, 131, .72);
}

.ls-head__title {
	margin: 0;
	font-family: BeaufortforLOL, "Times New Roman", serif;
	font-size: 1.45rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff4e1;
}

.ls-head__count {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: .55rem;
	font-size: .68rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(232, 228, 220, .55);
}

.ls-dot {
	width: .45rem;
	height: .45rem;
	border-radius: 50%;
	background: #6ee868;
	box-shadow: 0 0 8px rgba(110, 232, 104, .85);
	animation: lsPulse 1.6s ease-in-out infinite;
}

@keyframes lsPulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

.ls-feed {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: .55rem .55rem .55rem .7rem;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(223, 198, 131, .55) transparent;
}

.ls-feed::-webkit-scrollbar {
	width: 5px;
}

.ls-feed::-webkit-scrollbar-track {
	background: transparent;
}

.ls-feed::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #dfc683, #8a6a32);
	border-radius: 99px;
}

.ls-feed::-webkit-scrollbar-thumb:hover {
	background: #ffe59f;
}

.ls-empty {
	margin: auto;
	padding: 1.5rem .75rem;
	text-align: center;
	color: rgba(232, 228, 220, .48);
	font-size: .82rem;
	letter-spacing: .04em;
	line-height: 1.45;
}

.ls-card {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	height: calc((100% - .55rem) / 2);
	min-height: 11rem;
	overflow: hidden;
	border: 1px solid rgba(144, 123, 91, .38);
	background: #07090b;
	text-decoration: none;
	color: inherit;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.ls-feed.is-one .ls-card {
	height: 100%;
	min-height: 100%;
}

.ls-card:hover {
	border-color: rgba(223, 198, 131, .7);
}

.ls-card--empty {
	opacity: .55;
}

.ls-card--empty:hover {
	box-shadow: none;
}

.ls-card__media {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 0;
	background: #07090b;
	overflow: hidden;
}

.ls-card__frame,
.ls-card__poster,
.ls-card__twitch {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #07090b;
	pointer-events: auto;
}

.ls-card__twitch iframe,
.ls-card__twitch > div {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ls-card__wait {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .6rem;
	text-align: center;
	font-size: .62rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(232, 228, 220, .42);
}

.ls-card__badge,
.ls-card__platform {
	z-index: 2;
	pointer-events: none;
}

.ls-card__badge {
	position: absolute;
	top: .5rem;
	left: .5rem;
	display: inline-flex;
	align-items: center;
	gap: .28rem;
	padding: .18rem .45rem;
	background: #e11d2e;
	color: #fff;
	font-size: .58rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ls-card__badge i {
	width: .35rem;
	height: .35rem;
	border-radius: 50%;
	background: #fff;
}

.ls-card__platform {
	position: absolute;
	top: .45rem;
	right: .45rem;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: .2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 10, 12, .72);
	backdrop-filter: blur(6px);
}

.ls-card__platform svg {
	width: .95rem;
	height: .95rem;
	display: block;
}

.ls-card__meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	pointer-events: none;
	padding: .7rem .65rem .5rem;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72) 70%);
}

.ls-card__name {
	margin: 0;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .03em;
	color: #fff4e1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ls-card__plat {
	margin: .2rem 0 0;
	font-size: .62rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(196, 170, 110, .7);
}

.ls-add {
	flex: 0 0 auto;
	padding: 1rem 1.1rem 1.2rem;
	border-top: 1px solid rgba(223, 198, 131, .16);
	background: linear-gradient(180deg, rgba(8, 10, 12, 0), rgba(8, 10, 12, .55) 18%, rgba(8, 10, 12, .88));
}

.ls-add__label {
	display: block;
	margin: 0 0 .45rem;
	font-size: .62rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(223, 198, 131, .7);
}

.ls-add__row {
	display: flex;
	flex-direction: column;
	gap: .55rem;
}

.ls-add__input {
	width: 100%;
	box-sizing: border-box;
	height: 2.55rem;
	padding: 0 .8rem;
	border: 1px solid rgba(144, 123, 91, .45);
	background: rgba(0, 0, 0, .38);
	color: #fff4e1;
	font-size: .82rem;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}

.ls-add__input:focus {
	border-color: rgba(223, 198, 131, .85);
	box-shadow: 0 0 0 1px rgba(223, 198, 131, .22);
}

.ls-add__input::placeholder {
	color: rgba(232, 228, 220, .38);
}

.ls-add__btn {
	position: relative;
	height: 2.7rem;
	border: 1px solid #907b5b;
	background:
		linear-gradient(180deg, rgba(223, 198, 131, .16), rgba(20, 16, 12, .7));
	color: #fff4e1;
	font-family: BeaufortforLOL, "Times New Roman", serif;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
	transition: filter .2s, border-color .2s;
}

.ls-add__btn:hover:not(:disabled) {
	filter: brightness(1.08);
	border-color: #dfc683;
}

.ls-add__btn:disabled {
	cursor: wait;
	opacity: .92;
}

.ls-add__txt,
.ls-add__spin,
.ls-add__ok {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	width: 100%;
	height: 100%;
}

.ls-add__spin,
.ls-add__ok {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
}

.ls-add.is-check .ls-add__txt,
.ls-add.is-ok .ls-add__txt,
.ls-add.is-err .ls-add__txt { opacity: 0; }

.ls-add.is-check .ls-add__spin { opacity: 1; }
.ls-add.is-ok .ls-add__ok { opacity: 1; color: #9be58f; }

.ls-spinner {
	width: 1rem;
	height: 1rem;
	border: 2px solid rgba(223, 198, 131, .25);
	border-top-color: #dfc683;
	border-radius: 50%;
	animation: lsSpin .7s linear infinite;
}

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

.ls-add__msg {
	min-height: 1.1rem;
	margin: .5rem 0 0;
	font-size: .68rem;
	letter-spacing: .04em;
	color: rgba(232, 228, 220, .5);
}

.ls-add__msg.is-err { color: #e86868; }
.ls-add__msg.is-ok { color: #9be58f; }

.ls-add.is-err .ls-add__btn {
	animation: lsShake .42s ease;
	border-color: rgba(232, 104, 104, .7);
}

@keyframes lsShake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

@media (min-width: 540px) {
	.streams { width: min(33.6rem, calc(100vw - 2rem)); }
}

@media (min-width: 1100px) {
	.streams { width: min(36.4rem, 34vw); }
}

.streams__ico {
	display: none !important;
}

.streams__btn {
	display: flex !important;
	transition: filter .25s !important;
}

/* Keep streams under the mobile overlay menu */
body.mob-menu-active .streams,
body.mob-menu-active .streams__btn,
body.mob-menu-active .streams__ico {
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

/* —— Panel / full page wall —— */
/* Keep streams clear of the fixed left menu and centered in the remaining area */
body.is-site-scene:has([data-ls-page]) .layout-page {
	padding-left: calc(16.75rem + 2.75rem) !important;
	padding-right: 1.5rem !important;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

body.is-site-scene:has([data-ls-page]) .layout-wrapper-short .layout-page {
	padding-left: calc(5.5rem + 2rem) !important;
}

body.is-site-scene:has([data-ls-page]) .layout-content {
	display: flex !important;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

body.is-site-scene:has([data-ls-page]) .layout-navigation {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

@media (max-width: 1024px) {
	body.is-site-scene:has([data-ls-page]) .layout-page {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
}

.ls-page {
	width: 100%;
	max-width: min(80rem, 100%);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.ls-page__shell {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 0;
	padding: 1.25rem 1.1rem 1.75rem;
	border: 1px solid rgba(144, 123, 91, .22);
	background:
		linear-gradient(180deg, rgba(10, 12, 14, .5) 0%, rgba(8, 10, 12, .5) 100%);
	backdrop-filter: blur(14px) saturate(1.05);
	-webkit-backdrop-filter: blur(14px) saturate(1.05);
	box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.ls-page__head {
	flex: 0 0 auto;
	text-align: center;
	padding: .35rem 0 1.15rem;
	border-bottom: 1px solid rgba(223, 198, 131, .14);
	margin-bottom: 1.15rem;
}

.ls-page__head .ls-head__kicker {
	margin-bottom: .45rem;
}

.ls-page__title {
	margin: 0;
	font-family: BeaufortforLOL, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2.1vw, 1.95rem);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff4e1;
	line-height: 1.2;
	overflow: visible;
	overflow-wrap: anywhere;
	white-space: normal;
	text-overflow: clip;
}

.ls-page__sub {
	margin: .55rem 0 0;
	font-size: .78rem;
	letter-spacing: .08em;
	color: rgba(232, 228, 220, .52);
}

.ls-page__head .ls-head__count {
	justify-content: center;
	margin-top: .7rem;
}

.ls-page__grid {
	flex: 0 1 auto;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: .85rem;
	align-content: start;
	justify-items: stretch;
	overflow: visible;
	padding: 0 0 .35rem;
	scroll-snap-type: none;
	min-height: 10rem;
}

.ls-page__grid .ls-empty {
	grid-column: 1 / -1;
	margin: 2.5rem auto;
	max-width: 28rem;
}

.ls-page__grid .ls-card {
	height: auto;
	min-height: 0;
	aspect-ratio: 16 / 10;
	flex: none;
	scroll-snap-align: none;
}

.ls-page__grid .ls-card__media {
	height: 100%;
}

.ls-page__add {
	flex: 0 0 auto;
	display: block;
	box-sizing: border-box;
	width: min(18rem, 100%);
	max-width: 18rem;
	margin: 3.25rem auto 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(223, 198, 131, .12);
	text-align: left;
}

.ls-page__add .ls-add {
	padding: 0;
	border-top: 0;
	background: transparent;
}

.ls-page__add .ls-add__label {
	text-align: center;
	margin-bottom: .35rem;
	font-size: .55rem;
	letter-spacing: .16em;
}

.ls-page__add .ls-add__row {
	gap: .4rem;
}

.ls-page__add .ls-add__input {
	height: 2.05rem;
	padding: 0 .65rem;
	font-size: .72rem;
}

.ls-page__add .ls-add__btn {
	height: 2.15rem;
	font-size: .66rem;
	letter-spacing: .12em;
}

.ls-page__add .ls-add__msg {
	min-height: .9rem;
	margin-top: .35rem;
	font-size: .6rem;
	text-align: center;
}

@media (max-width: 860.98px) {
	.ls-page__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.ls-page__shell {
		min-height: 0;
		padding: 1rem .85rem 1.35rem;
	}

	.ls-page__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .65rem;
	}

	.ls-page__add {
		width: min(18rem, 100%);
		max-width: 18rem;
		margin-top: 2.5rem;
	}
}

@media (max-width: 479.98px) {
	.ls-page__grid {
		grid-template-columns: 1fr;
	}
}
