@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&display=swap");

:root {
	--bg: #f6f7fb;
	--panel: #ffffff;
	--text: #0f172a;
	--border: #d7deea;
	--shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	--gap: 14px;
}

* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at 20% 20%, #e9eefc 0%, transparent 45%),
		radial-gradient(circle at 80% 10%, #d9f3ea 0%, transparent 40%),
		var(--bg);
}

.page {
	width: 100%;
	height: 100vh;
	height: 100dvh;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.top-menu {
	display: flex;
	align-items: center;
	gap: 0;
	height: 46px;
	padding: 0 0 0 var(--gap);
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(6px);
}

.top-menu-logo {
	height: 100%;
	width: auto;
	display: block;
	padding: 0;
}

.top-menu-home-link {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-decoration: none;
	color: inherit;
}

.top-menu-home-link:hover,
.top-menu-home-link:focus-visible,
.top-menu-home-link.active {
	padding: 0;
	border-color: transparent;
	background: transparent;
	box-shadow: none;
}

.top-menu-title {
	font-family: "Cinzel", "Georgia", serif;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	color: #0b1f4d;
	line-height: 1;
	margin-right: 8px;
}

.top-menu-inline-label {
	font-weight: 600;
	font-size: 0.95rem;
	margin-left: 14px;
	margin-right: 6px;
}

.top-menu-select {
	min-width: 170px;
	max-width: 240px;
	padding: 7px 10px;
	border: 1px solid #c7d1e4;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.94);
	font: inherit;
	color: #0f172a;
}

.top-menu-field {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.top-menu-round-select {
	min-width: 60px;
	max-width: 60px;
}

.top-menu-rounds {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.top-menu-round-button {
	appearance: none;
	border: 1px solid transparent;
	background: transparent;
	color: #1d4ed8;
	font: inherit;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 8px;
	cursor: pointer;
}

.top-menu-round-button:hover {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(29, 78, 216, 0.28);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.top-menu-round-button.active {
	background: #1d4ed8;
	color: #ffffff;
}

.top-menu-back {
	margin-left: 10px;
}

.top-menu-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-left: auto;
}

.top-menu-label {
	font-weight: 600;
	font-size: 0.95rem;
	margin-left: 14px;
	margin-right: 5px;
}

.top-menu a:not(.top-menu-home-link) {
	text-decoration: none;
	color: #1d4ed8;
	font-weight: 600;
	padding: 4px 8px;
	border: 1px solid transparent;
	background: transparent;
	border-radius: 8px;
}

.top-menu a:not(.top-menu-home-link):hover {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(29, 78, 216, 0.28);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.top-menu a:not(.top-menu-home-link).active {
	background: #1d4ed8;
	color: #ffffff;
}

.top-menu-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid transparent;
	background: transparent;
	border-radius: 999px;
	box-shadow: none;
	color: #1d4ed8;
}

.top-menu-icon-link.active {
	background: transparent;
	color: #0f172a;
	border-color: transparent;
}

.top-menu-icon-link:hover,
.top-menu-icon-link:focus-visible {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(29, 78, 216, 0.28);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.top-menu-icon-link svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.grid {
	display: grid;
	width: 100%;
	flex: 1;
	min-height: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
	padding: var(--gap);
}

.page-status {
	margin: 0;
	padding: 0 14px 14px;
	font-weight: 600;
	color: #475569;
}

.page-status.error {
	color: #b91c1c;
}

.grid.featured-grid {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	overflow: hidden;
}

.grid.cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-1 {
	grid-template-columns: 1fr;
}

.panel {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.page-empty {
	align-items: center;
	justify-content: center;
	padding: 32px;
	text-align: center;
	gap: 10px;
}

.page-empty h2 {
	margin: 0;
	font-size: 1.15rem;
}

.page-empty p {
	margin: 0;
	max-width: 44ch;
	line-height: 1.6;
	color: #475569;
}

.game-panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.game-panel-featured {
	flex: 1;
	min-height: 0;
}

.game-half {
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.youtube-half {
	flex: none;
}

.lichess-half {
	flex: 1 1 auto;
	border-top: 1px solid var(--border);
}

.panel-heading {
	margin: 0;
	padding: 10px 12px;
	border-bottom: 1px solid var(--border);
	background: #f9fbff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.panel-controls {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.panel h2 {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.25;
}

.close-game-btn {
	appearance: none;
	border: 1px solid #c7d1e4;
	background: #ffffff;
	color: #334155;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	font-size: 0.9rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
}

.feature-game-btn {
	appearance: none;
	border: 1px solid #c7d1e4;
	background: #ffffff;
	color: #1d4ed8;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.feature-game-btn svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.feature-game-btn:hover,
.close-game-btn:hover {
	background: #eef3ff;
}

.feature-game-btn.active {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #ffffff;
}

.feature-game-btn:focus-visible,
.close-game-btn:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 1px;
}

.embed {
	width: 100%;
	border: 0;
	min-height: 0;
}

.youtube-half .embed {
	flex: none;
	height: auto;
	aspect-ratio: 16 / 9;
}

.lichess-half .embed {
	flex: 1 1 auto;
}

.collapsed-game-strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(180px, 1fr);
	gap: 10px;
	min-height: 78px;
	max-height: 92px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 2px;
}

.collapsed-game-card {
	appearance: none;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	height: 78px;
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.84);
	box-shadow: var(--shadow);
	text-align: left;
	cursor: pointer;
	color: var(--text);
	transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.collapsed-game-card:hover {
	transform: translateY(-1px);
	border-color: #93c5fd;
	background: #ffffff;
}

.collapsed-game-card:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.collapsed-game-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: #e7efff;
	color: #1d4ed8;
	flex-shrink: 0;
}

.collapsed-game-card-icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.collapsed-game-card-title {
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.settings-page {
	min-height: 100vh;
	min-height: 100dvh;
	height: auto;
	background:
		linear-gradient(135deg, rgba(16, 24, 40, 0.03), rgba(29, 78, 216, 0.06)),
		radial-gradient(circle at top right, rgba(34, 197, 94, 0.15), transparent 32%);
}

.about-page {
	height: 100vh;
	height: 100dvh;
}

.settings-shell {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px;
}

.settings-shell-top {
	align-items: flex-start;
}

.settings-card {
	width: min(100%, 780px);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(215, 222, 234, 0.95);
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
	padding: 28px;
	backdrop-filter: blur(10px);
}

.about-card {
	width: min(100%, 640px);
}

.about-copy {
	margin: 14px 0 0;
	font-size: 1rem;
	line-height: 1.65;
	color: #334155;
}

.about-list {
	display: grid;
	gap: 14px;
	margin: 26px 0 0;
}

.about-actions {
	margin-top: 22px;
}

.about-sync-status {
	margin-top: 12px;
}

.about-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(215, 222, 234, 0.95);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.8);
}

.about-label {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.about-value {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	word-break: break-word;
}

.settings-header h1 {
	margin: 0;
	font-family: "Cinzel", "Georgia", serif;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	line-height: 1.1;
	color: #0b1f4d;
}

.settings-kicker {
	margin: 0 0 10px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1d4ed8;
}

.settings-form {
	margin-top: 26px;
	display: grid;
	gap: 14px;
}

form#event-settings-form {
	margin-top: 0.5rem;
}

form#main-settings-form {
	margin-top: 0.5rem;
}

.settings-admin {
	margin-top: 26px;
	display: grid;
	gap: 18px;
}

.settings-subnav {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.settings-subnav-button {
	appearance: none;
	border: 1px solid #c7d1e4;
	border-radius: 999px;
	padding: 10px 16px;
	font: inherit;
	font-weight: 700;
	color: #334155;
	background: rgba(255, 255, 255, 0.9);
	cursor: pointer;
}

.settings-subnav-button:hover,
.settings-subnav-button:focus-visible {
	background: #eaf2ff;
	border-color: #b8cdf4;
}

.settings-subnav-link {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #334155;
}

.settings-subnav-link:visited {
	color: #334155;
}

.settings-subnav-button.active {
	color: #ffffff;
	background: linear-gradient(135deg, #1d4ed8, #0f766e);
	border-color: transparent;
	box-shadow: 0 12px 24px rgba(29, 78, 216, 0.18);
}

.settings-panel {
	display: block;
}

.settings-note {
	margin: 0;
	line-height: 1.6;
	color: #475569;
}

.settings-form-inline {
	display: grid;
	gap: 14px;
}

.settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.settings-grid-compact {
	grid-template-columns: repeat(2, minmax(140px, 220px));
	align-items: end;
}

.admin-section {
	display: grid;
	gap: 14px;
	padding: 18px;
	border: 1px solid rgba(215, 222, 234, 0.95);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.72);
}

.admin-section + .admin-section {
	margin-top: 8px;
}

.admin-section-header {
	display: grid;
	gap: 6px;
}

.admin-section-header h2 {
	margin: 0;
	font-size: 1.05rem;
	color: #0f172a;
}

.admin-section-header p {
	margin: 0;
	line-height: 1.6;
	color: #475569;
}

.settings-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: #334155;
}

.settings-checkbox input {
	width: 18px;
	height: 18px;
}

.is-hidden {
	display: none;
}

.settings-label {
	font-weight: 700;
	font-size: 0.95rem;
	color: #0f172a;
}

.settings-input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #c7d1e4;
	border-radius: 14px;
	font: inherit;
	color: #0f172a;
	background: #ffffff;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.settings-input:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
	border-color: #2563eb;
}

.settings-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.settings-button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 12px 20px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	color: #ffffff;
	background: linear-gradient(135deg, #1d4ed8, #0f766e);
	box-shadow: 0 12px 24px rgba(29, 78, 216, 0.18);
}

.settings-button.secondary {
	color: #1e293b;
	background: #e2e8f0;
	box-shadow: none;
}

.event-management-actions .settings-button.secondary {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #c7d1e4;
	color: #334155;
}

.broadcast-events-actions .settings-button.secondary {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #c7d1e4;
	color: #334155;
}

.event-management-actions .settings-button.secondary:hover,
.event-management-actions .settings-button.secondary:focus-visible {
	background: #eaf2ff;
	border-color: #b8cdf4;
}

.broadcast-events-actions .settings-button.secondary:hover,
.broadcast-events-actions .settings-button.secondary:focus-visible {
	background: #eaf2ff;
	border-color: #b8cdf4;
}

.settings-button.danger {
	color: #b91c1c;
	background: #fee2e2;
	box-shadow: none;
}

.settings-button.danger:hover,
.settings-button.danger:focus-visible {
	background: #fecaca;
}

.settings-button:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.settings-link-button,
.youtube-test-link-button {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.settings-status {
	min-height: 1.5em;
	margin: 0;
	font-weight: 600;
	color: #334155;
}

p#settings-status {
	margin-top: 0.5rem;
}

.settings-status.success {
	color: #0f766e;
}

.settings-status.error {
	color: #b91c1c;
}

.youtube-test-card {
	width: min(100%, 1100px);
}

.lichess-test-card {
	width: min(100%, 1100px);
}

.lichess-test-note {
	margin: 0;
	line-height: 1.6;
	color: #475569;
}

.lichess-test-preview {
	margin: 0;
	font-weight: 700;
	color: #0f172a;
	word-break: break-all;
}

.lichess-test-output {
	margin: 0;
	padding: 18px;
	border: 1px solid rgba(215, 222, 234, 0.95);
	border-radius: 16px;
	background: #0f172a;
	color: #e2e8f0;
	font: 0.92rem/1.6 Consolas, "Courier New", monospace;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-x: auto;
	max-height: 560px;
	min-height: 220px;
}

.lichess-test-meta {
	display: grid;
	gap: 14px;
	margin-bottom: 20px;
}

.broadcast-events-card {
	width: min(100%, 1200px);
}

.broadcast-events-actions {
	margin-top: 24px;
}

.broadcast-events-summary {
	display: grid;
	gap: 14px;
	margin-top: 24px;
}

.broadcast-events-summary .settings-input {
	max-width: 100%;
}

.broadcast-events-controls {
	display: flex;
	align-items: end;
	gap: 12px;
	flex-wrap: wrap;
}

.broadcast-events-select-wrap {
	min-width: 280px;
	max-width: 520px;
	flex: 0 1 520px;
	display: grid;
	gap: 8px;
}

.broadcast-events-controls #broadcast-events-load {
	white-space: nowrap;
}

.broadcast-events-list-shell {
	margin-top: 28px;
	display: grid;
	gap: 16px;
}

.broadcast-events-list-header h2 {
	margin: 0;
	font-size: 1.1rem;
	color: #0f172a;
}

.broadcast-events-list {
	display: grid;
	gap: 18px;
}

.broadcast-events-list:empty {
	display: none;
}

.broadcast-event-card {
	gap: 18px;
}

.broadcast-event-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(215, 222, 234, 0.95);
	border-radius: 16px;
	overflow: hidden;
}

.broadcast-event-table th,
.broadcast-event-table td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(215, 222, 234, 0.95);
	vertical-align: top;
	text-align: left;
	word-break: break-word;
	white-space: pre-wrap;
}

.broadcast-event-table th {
	width: 240px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
	background: rgba(248, 250, 252, 0.9);
}

.broadcast-event-table tr:last-child th,
.broadcast-event-table tr:last-child td {
	border-bottom: 0;
}

#lichess-parameter-grid,
#lichess-username-wrap,
#lichess-broadcast-id-wrap,
#lichess-round-id-wrap,
#lichess-tournament-slug-wrap,
#lichess-round-slug-wrap,
#lichess-query-wrap,
#lichess-page-wrap,
#lichess-nb-wrap,
#lichess-custom-url-wrap {
	display: grid;
	gap: 10px;
}

.youtube-test-actions {
	margin-top: 26px;
}

.youtube-test-summary {
	display: grid;
	gap: 14px;
	margin-top: 24px;
}

.youtube-test-summary a {
	word-break: break-all;
	color: #1d4ed8;
}

.youtube-test-items {
	margin-top: 28px;
	display: grid;
	gap: 16px;
}

.youtube-test-items-header h2 {
	margin: 0;
	font-size: 1.1rem;
	color: #0f172a;
}

.youtube-test-empty {
	padding: 16px 18px;
	border: 1px dashed #c7d1e4;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	color: #475569;
	font-weight: 600;
}

.youtube-test-item-list {
	display: grid;
	gap: 14px;
}

.youtube-test-url-list {
	list-style: decimal;
	margin: 0;
	padding: 0 0 0 24px;
	display: grid;
	gap: 10px;
}

.youtube-test-url-item {
	padding: 12px 14px;
	border: 1px solid rgba(215, 222, 234, 0.95);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.8);
	word-break: break-all;
}

.youtube-test-url-title {
	margin: 0 0 8px;
	font-weight: 700;
	color: #0f172a;
	word-break: break-word;
}

.youtube-test-url-item a {
	color: #1d4ed8;
	font-weight: 600;
	text-decoration: none;
}

.youtube-test-url-item a:hover {
	text-decoration: underline;
}

.youtube-test-item {
	padding: 0;
	overflow: hidden;
}

.youtube-test-item-content {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	min-height: 160px;
}

.youtube-test-item-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #dbe4f3;
	border-right: 1px solid var(--border);
}

.youtube-test-item-body {
	padding: 18px;
	display: grid;
	gap: 12px;
	align-content: start;
}

.youtube-test-item-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.youtube-test-item-title a {
	color: #0f172a;
	text-decoration: none;
}

.youtube-test-item-title a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.youtube-test-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.youtube-test-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1e3a8a;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	max-width: 100%;
	word-break: break-word;
}

.youtube-test-pill.is-live {
	background: #fee2e2;
	color: #991b1b;
}

@media (max-width: 720px) {
	.feature-game-btn {
		display: none;
	}

	.game-half {
		flex: none;
	}

	.youtube-half .embed {
		flex: none;
		height: auto;
		min-height: auto;
		aspect-ratio: 16 / 9;
	}

	.lichess-half .embed {
		flex: none;
		height: auto;
		min-height: auto;
		aspect-ratio: 1 / 1;
	}

	.top-menu {
		flex-wrap: wrap;
		height: auto;
		padding: 10px var(--gap);
		gap: 8px;
		align-items: center;
	}

	.top-menu-logo {
		height: 28px;
	}

	.top-menu-home-link {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
	}

	.top-menu-title {
		min-width: 0;
	}

	.top-menu-inline-label,
	.top-menu-label {
		margin-left: 0;
	}

	.top-menu-field {
		width: 100%;
		justify-content: flex-start;
	}

	.top-menu-event-field,
	.top-menu-round-field {
		flex-basis: 100%;
	}

	.top-menu-event-field {
		order: 4;
	}

	.top-menu-round-field {
		order: 5;
	}

	.top-menu-actions {
		order: 3;
		flex: 0 0 auto;
		margin-left: auto;
	}

	.top-menu-select {
		max-width: none;
		flex: 1 1 240px;
	}

	.top-menu-round-select {
		min-width: 60px;
		max-width: 60px;
		flex: 0 0 60px;
	}

	.about-row {
		grid-template-columns: 1fr;
	}

	.settings-shell {
		padding: 18px;
	}

	.settings-card {
		padding: 22px 18px;
		border-radius: 18px;
	}

	.youtube-test-item-content {
		grid-template-columns: 1fr;
	}

	.youtube-test-item-thumb {
		border-right: 0;
		border-bottom: 1px solid var(--border);
		max-height: 220px;
	}

	.settings-grid,
	.settings-grid-compact {
		grid-template-columns: 1fr;
	}

	.settings-subnav {
		flex-direction: column;
	}

	.grid {
		grid-template-columns: 1fr;
	}

	.grid.featured-grid {
		display: flex;
	}

	.collapsed-game-card {
		height: auto;
		min-height: 68px;
		min-width: 220px;
	}
}