/* Minimalist Lobby UI for Shrek 2 Online */

.marquee-actions {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.netplay-trigger {
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	border: 1px solid rgba(229, 165, 75, 0.45);
	background: rgba(229, 165, 75, 0.14);
	color: #f4d39b;
}

/* Simple centered lobby card (replaces complicated menus while idle) */
.np-overlay {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(14, 13, 12, 0.88);
	backdrop-filter: blur(6px);
}

.np-overlay[hidden] {
	display: none;
}

.np-card {
	width: min(420px, 100%);
	background: #191715;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 1.5rem;
	color: #f2ede6;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-align: center;
}

.np-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
}

.np-status {
	margin: 0;
	font-size: 0.84rem;
	color: #a8a095;
}

.np-status.ok {
	color: #86efac;
}

.np-status.err {
	color: #fca5a5;
}

.np-btn {
	border-radius: 10px;
	padding: 0.72rem 1.1rem;
	font: inherit;
	font-size: 0.96rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.07);
	color: #f2ede6;
}

.np-btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.14);
}

.np-btn.primary {
	background: #e5a54b;
	border-color: #e5a54b;
	color: #16130f;
}

.np-btn.primary:hover:not(:disabled) {
	background: #f3bc6c;
}

.np-btn.small {
	padding: 0.32rem 0.65rem;
	font-size: 0.78rem;
}

.np-btn.danger {
	background: rgba(248, 113, 113, 0.15);
	border-color: rgba(248, 113, 113, 0.4);
	color: #fca5a5;
}

.np-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.np-link-row {
	display: flex;
	gap: 0.45rem;
}

.np-link-input {
	flex: 1;
	min-width: 0;
	background: #100f0e;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 9px;
	padding: 0.5rem 0.65rem;
	color: #f5c372;
	font-family: "Chivo Mono", ui-monospace, monospace;
	font-size: 0.78rem;
}

.np-players {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.np-slot-chip {
	padding: 0.35rem 0.72rem;
	border-radius: 999px;
	font-family: "Chivo Mono", ui-monospace, monospace;
	font-size: 0.8rem;
	font-weight: 600;
	background: rgba(74, 222, 128, 0.15);
	border: 1px solid rgba(74, 222, 128, 0.4);
	color: #86efac;
}

.np-slot-chip.empty {
	background: rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 255, 255, 0.15);
	color: #7d756b;
}

/* Tiny top HUD while playing */
.netplay-hud {
	position: fixed;
	top: 0.6rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: rgba(18, 17, 16, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(8px);
	font-family: "Chivo Mono", ui-monospace, monospace;
	font-size: 0.75rem;
	color: #ece7df;
}

.netplay-hud[hidden] {
	display: none;
}

.np-dot {
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.72rem;
}

.np-dot.ok {
	background: rgba(74, 222, 128, 0.16);
	color: #86efac;
}

.np-dot.warn {
	background: rgba(250, 204, 21, 0.16);
	color: #fde047;
}

.np-dot.err {
	background: rgba(248, 113, 113, 0.18);
	color: #fca5a5;
}
