/* Release 1.9.7: unified discovery toolbar, Looking For dialog and homepage header alignment. */
body.cs2day-v2 .cs2-lfg-create-dialog {
	max-height: min(92vh, 980px);
	padding: 0;
	width: min(1120px, calc(100vw - 32px));
}

body.cs2day-v2 .cs2-lfg-create-dialog__shell {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	height: min(88vh, 940px);
}

body.cs2day-v2 .cs2-lfg-create-dialog__shell > header {
	align-items: center;
	border-bottom: 1px solid var(--cs2-border);
	display: flex;
	justify-content: space-between;
	padding: 14px 16px;
}

body.cs2day-v2 .cs2-lfg-create-dialog__shell > header small { color: var(--cs2-text-muted); }
body.cs2day-v2 .cs2-lfg-create-dialog__shell > header h2 { font-size: 18px; margin: 2px 0 0; }
body.cs2day-v2 .cs2-lfg-create-dialog__shell iframe { background: var(--cs2-bg); border: 0; height: 100%; width: 100%; }

body.cs2day-v2.cs2day-embedded-editor .cs2-lfg-shell {
	margin: 0 auto;
	padding: 18px 16px 32px;
	width: min(100%, 1040px);
}

body.cs2day-v2.cs2day-embedded-editor .cs2-lfg-heading { display: none; }

body.cs2day-v2 :where(.cs2-streamer-directory, .cs2-quick-page) > .cs2-search-filter-toolbar {
	margin-bottom: 18px;
}

body.cs2day-v2 .cs2-home-match-content > .cs2-home-heading {
	align-items: center;
	box-sizing: border-box;
	margin: 0 14px 12px;
	min-height: 58px;
	padding: 0 0 10px;
}

body.cs2day-v2 .cs2-home-match-content > .cs2-home-heading .cs2-home-heading__link { min-height: 34px; }

@media (max-width: 720px) {
	body.cs2day-v2 .cs2-lfg-create-dialog { width: calc(100vw - 16px); }
	body.cs2day-v2 .cs2-lfg-create-dialog__shell { height: 92vh; }
	body.cs2day-v2 .cs2-home-match-content > .cs2-home-heading { margin-inline: 12px; }
}
