/**
 * Streamchat — capa visual (tema semi-oscuro)
 * Debe cargarse después de style.css, landing.css o configuration.css, y bubbles.css.
 */

:root {
	--sc-bg: #0c0f14;
	--sc-bg-elevated: #121721;
	--sc-surface: #171d28;
	--sc-surface-hover: #1e2633;
	--sc-border: rgba(255, 255, 255, 0.085);
	--sc-border-strong: rgba(255, 255, 255, 0.14);
	--sc-text: #e6e9ef;
	--sc-text-muted: #97a3b6;
	--sc-heading: #f2f4f8;
	--sc-accent: #2ee4a8;
	--sc-accent-soft: rgba(46, 228, 168, 0.14);
	--sc-accent-contrast: #0d3d2e;
	--sc-danger: #f87171;
	--sc-danger-bg: rgba(248, 113, 113, 0.12);
	--sc-warn: #fbbf24;
	--sc-radius: 10px;
	--sc-radius-lg: 14px;
	--sc-font: "Montserrat", "d_regular", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sc-font-heading: "Montserrat", "d_bold", system-ui, sans-serif;
	--sc-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

/* ---------- Base ---------- */

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	min-height: 100vh;
	background: var(--sc-bg);
	background-image:
		radial-gradient(ellipse 120% 80% at 50% -20%, rgba(46, 228, 168, 0.07), transparent 55%),
		radial-gradient(ellipse 70% 50% at 100% 50%, rgba(99, 102, 241, 0.05), transparent 45%);
	color: var(--sc-text);
	font-family: var(--sc-font);
	font-size: 15px;
	line-height: 1.55;
}

body,
input,
select,
textarea,
button {
	font-family: var(--sc-font);
}

h1,
h2,
h3,
h4,
header h1 {
	font-family: var(--sc-font-heading);
}

h2,
h3 {
	color: var(--sc-heading);
	font-weight: 600;
	letter-spacing: -0.02em;
}

p,
li,
td,
th,
.twitch-status {
	color: var(--sc-text);
	line-height: 1.65;
}

p {
	color: var(--sc-text);
}

a {
	color: var(--sc-accent);
	transition: color 0.15s ease, filter 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a:hover {
	filter: brightness(1.12);
}

:focus-visible {
	outline: 2px solid var(--sc-accent);
	outline-offset: 3px;
}

/* ---------- Header ---------- */

header {
	position: relative;
	isolation: isolate;
	border-bottom: 1px solid var(--sc-border);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.94;
	background: linear-gradient(165deg, rgba(12, 15, 22, 0.92) 0%, rgba(14, 18, 26, 0.82) 45%, rgba(10, 13, 20, 0.94) 100%);
}

header > * {
	position: relative;
	z-index: 1;
}

/* Panel logueado: barra compacta */
body:has(#menu) header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	padding: 0.65rem clamp(16px, 4vw, 48px);
	min-height: unset;
	height: auto;
	background: linear-gradient(180deg, #151b24 0%, #10151c 100%);
	background-size: cover;
}

body:has(#menu) header::before {
	opacity: 0.45;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

body:has(#menu) header h1 {
	padding: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--sc-heading) !important;
	letter-spacing: -0.03em;
}

body:has(#menu) header p {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0;
	color: var(--sc-text-muted);
	font-size: 0.875rem;
}

body:has(#menu) header span {
	color: var(--sc-text);
}

body:has(#menu) header a[href*="logout"] {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background-color: var(--sc-surface-hover);
	border: 1px solid var(--sc-border);
	background-position: center;
	opacity: 0.92;
}

body:has(#menu) header a[href*="logout"]:hover {
	opacity: 1;
	filter: brightness(1.08);
	background-color: var(--sc-surface);
}

/* Visitante: hero */
body:not(:has(#menu)):has(#importancia) header,
body:not(:has(#menu)):has(article#static) header {
	display: flex;
	flex-direction: column;
	min-height: 450px;
	height: min(100vh, 900px);
	box-sizing: border-box;
	background-color: #07090e;
	background-image:
        linear-gradient(165deg, rgba(10, 13, 20, 0.38) 0%, rgba(14, 18, 28, 0.46) 42%, rgba(8, 11, 17, 0.62) 100%), 
		url(/assets/img/header-d.jpg);
	background-repeat: no-repeat, no-repeat;
	background-position: top center, top center;
	background-size: cover, cover;
}

/* Envoltorio del hero: ocupa el alto disponible; el bloque h2+p+botón queda centrado verticalmente debajo del h1 */
body:not(:has(#menu)):has(#importancia) header > div,
body:not(:has(#menu)):has(article#static) header > div {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	width: 100%;
	box-sizing: border-box;
	height: auto !important;
}

body:not(:has(#menu)):has(#importancia) header > div > h1,
body:not(:has(#menu)):has(article#static) header > div > h1 {
	flex-shrink: 0;
}

body:not(:has(#menu)):has(#importancia) header > div > h1 + div,
body:not(:has(#menu)):has(article#static) header > div > h1 + div {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 0;
	height: auto !important;
}

body:not(:has(#menu)):has(#importancia) header::before,
body:not(:has(#menu)):has(article#static) header::before {
	background: linear-gradient(180deg, rgba(6, 8, 12, 0.35) 0%, transparent 42%, rgba(6, 8, 12, 0.55) 100%);
	opacity: 0;
}

body:not(:has(#menu)):has(#importancia) header h1,
body:not(:has(#menu)):has(article#static) header h1 {
	color: var(--sc-heading) !important;
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	padding-top: 1.25rem;
	padding-bottom: 0.5rem;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

body:not(:has(#menu)):has(#importancia) header h2,
body:not(:has(#menu)):has(article#static) header h2 {
	color: var(--sc-heading);
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
	font-weight: 600;
}

body:not(:has(#menu)):has(#importancia) header p,
body:not(:has(#menu)):has(article#static) header p {
	color: rgba(235, 238, 245, 0.92);
	max-width: 62ch;
}

/* Fallback barra (p. ej. sin BD): sin hero */
body:not(:has(#menu)):not(:has(#importancia)):not(:has(article#static)) header {
	min-height: unset;
	height: auto;
	padding: 1rem clamp(16px, 4vw, 40px);
	background: linear-gradient(180deg, #151b24 0%, #10151c 100%);
}

body:not(:has(#menu)):not(:has(#importancia)):not(:has(article#static)) header h1 {
	color: var(--sc-heading) !important;
	padding: 0;
	font-size: 1.35rem;
}

/* ---------- Main layout ---------- */

main {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

body:has(#menu) main {
	padding-left: clamp(16px, 4vw, 48px);
	padding-right: clamp(16px, 4vw, 48px);
	padding-top: 0.5rem;
	padding-bottom: 3rem;
	min-height: calc(100vh - 120px);
	background: transparent;
}

body:not(:has(#menu)) main {
	padding-left: clamp(16px, 4vw, 5%);
	padding-right: clamp(16px, 4vw, 5%);
	padding-bottom: 2.5rem;
}

/* Navegación panel */
main > ul#menu {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.25rem clamp(0.75rem, 2vw, 2rem);
	padding: 1.15rem 0 0;
	margin: 0 0 0.25rem;
	list-style: none;
	border-bottom: 1px solid var(--sc-border);
	justify-content: flex-start;
}

main > ul#menu li {
	margin: 0;
	list-style: none;
}

main > ul#menu li a {
	display: inline-block;
	padding: 0.5rem 0;
	margin-bottom: -1px;
	font-family: var(--sc-font-heading);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sc-text-muted);
	border-bottom: 2px solid transparent;
	text-decoration: none;
	filter: none;
}

main > ul#menu li a:hover {
	color: var(--sc-text);
	filter: none;
}

main > ul#menu li a.active {
	color: var(--sc-accent) !important;
	font-family: var(--sc-font-heading);
	border-bottom-color: var(--sc-accent);
	filter: none;
}

/* ---------- Landing: artículos y CTA ---------- */

body:not(:has(#menu)) main article {
	margin-top: 1.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--sc-surface);
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius-lg);
	box-shadow: var(--sc-shadow);
}

body:not(:has(#menu)) main article h2 {
	color: var(--sc-heading);
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	margin-bottom: 0.75rem;
}

body:not(:has(#menu)) main article p,
body:not(:has(#menu)) main article li {
	color: rgba(230, 233, 239, 0.92);
}

body:not(:has(#menu)) main article ul {
	padding-left: 1.25rem;
}

body:not(:has(#menu)) main article li {
	list-style: disc;
	font-family: var(--sc-font);
	margin-bottom: 0.35rem;
}

body:not(:has(#menu)) main article strong {
	color: var(--sc-heading);
	font-weight: 600;
}

body:not(:has(#menu)) main article img {
	border-radius: var(--sc-radius);
	border: 1px solid var(--sc-border);
	background: var(--sc-bg-elevated);
}

body:not(:has(#menu)) main article iframe {
	border-radius: var(--sc-radius);
	border: 1px solid var(--sc-border);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	background: #000;
}

body:not(:has(#menu)) main article a:not(.btn) {
	color: #5fe9c0;
	text-decoration: underline;
	text-underline-offset: 3px;
	filter: none;
}

body:not(:has(#menu)) main article a:not(.btn):hover {
	color: #8ef5d4;
	filter: none;
}

body:not(:has(#menu)) main > div:not(#modal) {
	margin-top: 2rem;
	padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 3rem);
	text-align: center;
	border-radius: var(--sc-radius-lg);
	border: 1px solid var(--sc-border-strong);
	background-color: #111620 !important;
	background-image:
		linear-gradient(135deg, rgba(46, 228, 168, 0.09) 0%, transparent 52%, rgba(99, 102, 241, 0.06) 100%),
		url(/assets/img/header-m.jpg) !important;
	background-size: cover !important;
	background-position: center !important;
	box-shadow: var(--sc-shadow);
}

body:not(:has(#menu)) main > div p {
	color: rgba(242, 244, 248, 0.95);
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.65;
}

@media (min-width: 481px) {
	body:not(:has(#menu)) main > div:not(#modal) {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		background-image:
			linear-gradient(135deg, rgba(46, 228, 168, 0.08) 0%, transparent 50%, rgba(99, 102, 241, 0.05) 100%),
			url(/assets/img/header-t.jpg) !important;
	}
}

@media (min-width: 1024px) {
	body:not(:has(#menu)) main > div:not(#modal) {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
		align-items: center;
		background-image:
			linear-gradient(135deg, rgba(46, 228, 168, 0.07) 0%, transparent 48%, rgba(99, 102, 241, 0.06) 100%),
			url(/assets/img/header-d.jpg) !important;
	}

	body:not(:has(#menu)) main > div p {
		margin-left: 0;
		margin-right: 0;
	}
}

/* ---------- Legal #static ---------- */

article#static {
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

article#static h2 {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	margin-bottom: 0.75rem;
}

article#static h3 {
	margin-top: 1.75rem;
	margin-bottom: 0.5rem;
	font-size: 1.05rem;
	color: var(--sc-heading);
}

article#static .donations {
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

article#static .donations img {
	border-radius: 6px;
}

/* ---------- Panel: secciones y formularios ---------- */

body:has(#menu) section {
	padding: 1.75rem 0;
	border-bottom: 1px solid var(--sc-border);
}

body:has(#menu) section:last-of-type {
	border-bottom: none;
}

body:has(#menu) section > h2 {
	color: var(--sc-heading);
	font-size: 1.15rem;
	margin-bottom: 1rem;
}

body:has(#menu) section form h3,
body:has(#menu) #direcciones h2 {
	color: var(--sc-accent);
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.65rem;
}

body:has(#menu) #mensajes > h2,
body:has(#menu) .mensajes-creados h2 {
	color: var(--sc-heading);
}

.mensajes-creados {
	gap: 1rem;
	row-gap: 0.75rem;
	flex-wrap: wrap;
}

.flex > span,
.input span,
.mini-input span {
	color: var(--sc-text-muted);
	font-size: 0.875rem;
	font-weight: 500;
}

.flex span span {
	color: inherit;
}

.input input,
.input select,
.mini-input select,
.flex > input,
#login > div .input input {
	background-color: var(--sc-bg-elevated) !important;
	color: var(--sc-text);
	border: 1px solid var(--sc-border) !important;
	border-radius: 9px !important;
	height: 42px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.input input::placeholder,
.flex > input::placeholder {
	color: rgba(151, 163, 182, 0.65);
}

.input input:hover,
.input select:hover,
.flex > input:hover {
	border-color: var(--sc-border-strong);
}

.input input:focus,
.input select:focus,
.flex > input:focus {
	border-color: rgba(46, 228, 168, 0.45);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 0 0 3px var(--sc-accent-soft);
}

select {
	background-color: var(--sc-bg-elevated);
	color: var(--sc-text);
	border: 1px solid var(--sc-border);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2397a3b6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px auto;
	padding-right: 2.5rem;
	color-scheme: dark;
}

form input[disabled],
form input[readonly] {
	background: rgba(255, 255, 255, 0.06) !important;
	color: var(--sc-text-muted) !important;
	border-color: var(--sc-border) !important;
	opacity: 0.85;
}

form > p,
section form p,
#direcciones p {
	color: var(--sc-text-muted);
	font-size: 0.9rem;
	text-align: left;
}

form p a,
form ul a,
#direcciones p a {
	color: var(--sc-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sin-disenio,
.sin-disenio a {
	width: auto !important;
}

.sin-disenio {
	color: var(--sc-text-muted);
}

.sin-disenio a {
	font-weight: 600;
	text-decoration: none;
}

.sin-disenio a:hover {
	filter: brightness(1.15);
}

/* Botones */
.btn,
.cancel,
input.btn,
input.cancel {
	width: auto;
	min-width: 160px;
	max-width: 100%;
	height: 42px;
	padding: 0 1.35rem;
	border-radius: 9px;
	font-family: var(--sc-font-heading);
	font-weight: 600;
	font-size: 0.875rem;
	border: 1px solid transparent;
	box-shadow: none;
	transition: filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn {
	background: var(--sc-accent) !important;
	color: var(--sc-accent-contrast) !important;
	border-color: rgba(255, 255, 255, 0.12);
}

.btn:hover {
	background: #48f2be !important;
	filter: brightness(1.03);
}

.cancel {
	background: var(--sc-surface-hover) !important;
	color: var(--sc-text) !important;
	border-color: var(--sc-border-strong);
}

.cancel:hover {
	background: #252e3d !important;
	filter: brightness(1.05);
}

/* Tablas diseños */
table {
	margin-top: 0.5rem;
}

table tbody tr {
	background: var(--sc-surface) !important;
	border: 1px solid var(--sc-border) !important;
	border-radius: var(--sc-radius);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

table tbody tr td {
	border-color: var(--sc-border) !important;
	color: var(--sc-text);
}

table tbody tr td[data-titulo]::before {
	color: var(--sc-text-muted);
}

@media (min-width: 1024px) {
	table thead tr th {
		background: var(--sc-bg-elevated) !important;
		color: var(--sc-text-muted) !important;
		border: 1px solid var(--sc-border) !important;
		font-weight: 600;
		font-size: 0.78rem;
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}

	table tbody tr td {
		background: var(--sc-surface) !important;
	}
}

a.editar:hover,
a.borrar:hover {
	filter: brightness(1.2);
	opacity: 1;
}

/* Direcciones */
#direcciones code {
	font-family: ui-monospace, "Cousine", monospace;
	font-size: 0.82rem;
	background: var(--sc-bg-elevated);
	color: #b8e9ff;
	padding: 0.35rem 0.5rem;
	border-radius: 6px;
	border: 1px solid var(--sc-border);
	word-break: break-all;
}

#direcciones ul li {
	border-bottom: 1px solid var(--sc-border);
	padding-bottom: 0.75rem;
	margin-top: 1rem;
}

#direcciones ul li:last-child {
	border-bottom: none;
}

.copy {
	filter: invert(0.88);
	opacity: 0.85;
	border-radius: 6px;
	padding: 6px;
}

.copy:hover {
	opacity: 1;
	filter: invert(1) brightness(1.1);
}

/* Plataformas / Twitch */
.platform-selection {
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius);
	padding: 1rem 1.1rem;
	background: rgba(255, 255, 255, 0.02);
	margin-bottom: 1.25rem;
}

.platform-title label {
	color: var(--sc-heading) !important;
	font-family: var(--sc-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
}

.platform-selection input[type="checkbox"] {
	accent-color: var(--sc-accent);
	width: 1.05rem;
	height: 1.05rem;
	margin-right: 0.5rem;
	vertical-align: middle;
}

.twitch-status {
	background: transparent !important;
	padding-left: 0 !important;
	color: var(--sc-text) !important;
}

.twitch-status code {
	color: var(--sc-accent) !important;
}

.twitch-status.not-connected a,
.twitch-status.warning a {
	background: none !important;
	padding-left: 0 !important;
}

.twitch-status .revoke {
	border-radius: 7px;
	border: none;
	font-weight: 600;
}

/* Preview burbujas (contenedor; las reglas de bubbles.css siguen dentro de #bubble) */
#bubble {
	margin: 1.25rem 0 2rem;
	padding: 1.25rem;
	background: #0a0d12;
	border-radius: var(--sc-radius-lg);
	border: 1px solid var(--sc-border);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

section > h2 + #bubble {
	margin-top: 0.75rem;
}

.flex input[type="range"],
.config input[type="range"] {
	accent-color: var(--sc-accent);
	height: 28px;
	background: transparent;
}

.flex input[type="color"] {
	padding: 2px;
	border-radius: 8px;
	border: 1px solid var(--sc-border);
	background: var(--sc-bg-elevated);
	cursor: pointer;
}

/* Novedades */
.notification {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--sc-border);
	background: transparent;
	border-radius: 0;
}

.notification:last-of-type {
	border-bottom: none;
}

.notification h2 {
	font-size: 1.05rem;
	color: var(--sc-heading);
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.notification small {
	color: var(--sc-text-muted);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.notification div {
	color: rgba(230, 233, 239, 0.92);
	font-size: 0.95rem;
}

.notification div p {
	margin-bottom: 0.65rem;
}

ul.paginador {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.4rem;
	list-style: none;
	padding: 1.5rem 0 0;
	margin: 0;
}

ul.paginador li {
	list-style: none;
	margin: 0;
}

ul.paginador a {
	display: inline-flex;
	min-width: 2.35rem;
	height: 2.35rem;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--sc-surface);
	border: 1px solid var(--sc-border);
	color: var(--sc-text-muted);
	font-family: var(--sc-font-heading);
	font-weight: 600;
	font-size: 0.85rem;
	text-decoration: none;
	filter: none;
}

ul.paginador a:hover {
	color: var(--sc-accent);
	border-color: rgba(46, 228, 168, 0.35);
	background: var(--sc-surface-hover);
	filter: none;
}

/* Estados */
.warning {
	color: var(--sc-warn) !important;
	background: rgba(251, 191, 36, 0.1) !important;
	border: 1px solid rgba(251, 191, 36, 0.28);
	border-radius: var(--sc-radius);
	padding: 0.85rem 1rem !important;
	margin: 1rem 0 !important;
}

.error {
	color: #fecaca !important;
	background: var(--sc-danger-bg) !important;
	border: 1px solid rgba(248, 113, 113, 0.35);
	border-radius: var(--sc-radius);
}

.error2 {
	color: #fecaca !important;
	background: rgba(248, 113, 113, 0.22) !important;
	border: 1px solid rgba(248, 113, 113, 0.45);
	border-radius: var(--sc-radius);
}

/* Toast flash */
#guardado {
	top: 22px;
	right: max(16px, calc(50% - 170px));
	width: min(340px, calc(100vw - 32px));
	border-radius: var(--sc-radius);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: var(--sc-shadow);
	z-index: 3;
	background: linear-gradient(180deg, #38ebb5 0%, #22d69f 100%) !important;
    padding-top: .71em !important;
    padding-bottom: .71em !important;
}

#guardado p {
	color: #063828 !important;
	font-weight: 600;
    margin: 0;
    width: auto;
}
body:not(:has(#menu)) main > div#guardado.error,
#guardado.error,
#guardado.error2 {
	background: #c02626 !important;
	border-color: rgba(255, 255, 255, 0.22);
}

body:not(:has(#menu)) main > div#guardado.error p,
#guardado.error p,
#guardado.error2 p {
	color: #fff !important;
}

/* Login modal */
#login {
	background-color: rgba(6, 8, 12, 0.82);
	backdrop-filter: blur(6px);
}

#login > div {
	background: var(--sc-surface) !important;
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius-lg);
	box-shadow: var(--sc-shadow);
}

#login > div h2 {
	color: var(--sc-heading) !important;
}

#login form p,
form p {
	color: var(--sc-text-muted);
}

#login > div > a {
	color: var(--sc-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	filter: none;
}

.grey-link {
	color: var(--sc-text-muted) !important;
}

.grey-link:hover {
	color: var(--sc-text) !important;
	filter: none;
}

#login > div .closeModal {
	background-color: var(--sc-bg-elevated);
	border: 1px solid var(--sc-border);
	filter: invert(0.92);
}

/* Footer */
footer {
	background: #0a0d12 !important;
	border-top: 1px solid var(--sc-border);
	padding: 1.75rem 1rem 2rem;
	font-size: 0.875rem;
}

footer p {
	color: var(--sc-text-muted) !important;
}

footer > div {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

footer .donations {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.25rem;
}

footer .donations img {
	border-radius: 6px;
	opacity: 0.95;
}

footer .donations img:hover {
	opacity: 1;
	filter: brightness(1.06);
}

.hide {
	display: none !important;
}

abbr[title] {
	text-decoration: underline dotted;
	cursor: help;
}

.bold-text {
	color: inherit;
	font-weight: 700;
}
