:root {
	--bg: #020617;
	--card: #0f172a;
	--text: #f8fafc;
	--muted: #94a3b8;
	--accent: #38bdf8;
}
* { box-sizing: border-box; }
body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	background: radial-gradient(circle at top, #1e293b 0%, #020617 60%);
	color: var(--text);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 0;
	overflow: hidden;
	position: relative;
}
@media (min-width: 1024px) {
	body {
		height: 100vh;
		align-items: stretch;
		justify-content: center;
		padding: 32px;
	}
}
.connection-lost {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(239, 68, 68, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
}
.connection-lost-content {
	text-align: center;
	padding: 40px;
	background: rgba(15, 23, 42, 0.9);
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.connection-lost-content h2 {
	margin: 0 0 16px;
	font-size: 48px;
	color: #fecaca;
}
.connection-lost-content p {
	margin: 0;
	font-size: 28px;
	color: var(--text);
}
.image-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(2, 6, 23, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 40px;
}
.image-overlay img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.logo {
	position: absolute;
	top: 12px;
	left: 12px;
	max-width: 75px;
	max-height: 75px;
	z-index: 10;
	cursor: pointer;
}
@media (min-width: 1024px) {
	.logo {
		top: 20px;
		left: 20px;
		max-width: 80px;
		max-height: 80px;
	}
}
.footer {
	position: fixed;
	bottom: 10px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 14px;
	color: var(--muted);
	z-index: 10;
}
@media (max-width: 1023px) {
	.footer {
		display: none;
	}
}
.footer.hidden {
	display: none;
}
.footer a {
	color: var(--accent);
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}
.participant-actions-bar {
	margin-top: auto;
	padding-top: 12px;
	display: flex;
	justify-content: center;
	gap: 12px;
}
.participant-cta {
	border-radius: 12px;
	border: none;
	padding: 10px 16px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	background: linear-gradient(135deg, var(--accent), #7dd3fc);
	color: #04121f;
	box-shadow: 0 14px 30px rgba(56, 189, 248, 0.2);
}
.participant-cta.secondary {
	background: transparent;
	border: 1px solid rgba(148, 163, 184, 0.4);
	color: var(--text);
	box-shadow: none;
}
.participant-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
}
.participant-modal-backdrop {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(2, 6, 23, 0.75);
}
.participant-modal-card {
	position: relative;
	background: rgba(15, 23, 42, 0.95);
	border-radius: 18px;
	padding: 20px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	width: min(420px, 92vw);
	display: grid;
	gap: 12px;
}
.participant-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.participant-modal-header h3 {
	margin: 0;
	font-size: 20px;
}
.participant-close {
	border: 1px solid rgba(148, 163, 184, 0.3);
	background: transparent;
	color: var(--text);
	border-radius: 8px;
	padding: 6px 10px;
	cursor: pointer;
}
.participant-form {
	display: grid;
	gap: 10px;
}
.participant-field {
	display: grid;
	gap: 4px;
	font-size: 13px;
	color: var(--muted);
}
.participant-field input[type="text"] {
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: #0b1220;
	color: var(--text);
	padding: 10px 12px;
	font-size: 15px;
}
.participant-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}
.participant-status {
	font-size: 12px;
	color: var(--muted);
	min-height: 16px;
}
.container {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
	overflow: hidden;
	padding: 40px 12px 12px 12px;
}
@media (min-width: 1024px) {
	.container {
		width: min(1400px, 100%);
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		height: calc(100vh - 120px);
		margin: 30px auto 0;
		padding: 0;
	}
}
.card {
	background: rgba(15, 23, 42, 0.85);
	border-radius: 20px;
	padding: 28px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(148, 163, 184, 0.1);
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow: hidden;
}
.card.speakers-card {
	flex: 0 0 auto;
	max-height: 50vh;
	min-height: 30vh;
}
@media (min-width: 1024px) {
	.card.speakers-card {
		flex: 1;
		max-height: none;
		min-height: auto;
	}
}
.speakers-body {
	display: flex;
	flex-direction: column;
	flex: 1;
}
h1, h2 {
	margin: 0;
	font-size: 28px;
}
@media (max-width: 1023px) {
	h2 {
		display: none;
	}
}
.agenda-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 20px;
	flex: 1;
	overflow-y: auto;
	scroll-behavior: smooth;
	max-height: 170px;
}
@media (min-width: 1024px) {
	.agenda-list {
		max-height: none;
	}
}
.agenda-item {
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(148, 163, 184, 0.1);
}
.agenda-item.done {
	color: var(--muted);
	background: rgba(2, 6, 23, 0.6);
}
.agenda-item.current {
	color: var(--accent);
	border-color: rgba(56, 189, 248, 0.5);
	box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}
.speakers-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	gap: 14px;
	font-size: 40px;
	font-weight: 600;
	overflow-y: auto;
}
@media (max-width: 1023px) {
	.speakers-list {
		gap: 6px;
	}
	.speakers-list li {
		font-size: 18px;
	}
}
.fallback-center {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 28px;
}
.speakers-list li:first-child {
	font-size: 56px;
	font-weight: 700;
	color: var(--accent);
}
@media (max-width: 1023px) {
	.speakers-list li:first-child {
		font-size: 32px;
	}
}
.list-closed-notice {
	font-size: 40px !important;
	font-weight: 400 !important;
	color: var(--muted) !important;
	margin-top: 10px;
}
.list-closed-text {
	font-size: 24px;
	color: var(--muted);
	text-align: center;
	font-weight: 400;
}
.muted {
	color: var(--muted);
}
