/* Player list - top right */
#mp-player-list {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 8px;
	padding: 8px 12px;
	min-width: 140px;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 13px;
	pointer-events: none;
	z-index: 1000;
	backdrop-filter: blur(4px);
}

#mp-player-list-header {
	font-weight: bold;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 6px;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mp-player-entry {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 3px 0;
}

.mp-player-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.mp-player-dot.online {
	background: #4caf50;
	box-shadow: 0 0 4px #4caf50;
}

.mp-player-dot.offline {
	background: #666;
}

.mp-player-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mp-player-name.you {
	font-weight: bold;
	pointer-events: auto;
	cursor: pointer;
}

.mp-player-name-input {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 13px;
	padding: 1px 4px;
	width: 100px;
	outline: none;
	pointer-events: auto;
}

#mp-take-host {
	pointer-events: auto;
	cursor: pointer;
	margin-top: 6px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
	border: none;
	border-radius: 4px;
	padding: 4px 10px;
	font-family: Arial, sans-serif;
	font-size: 11px;
	width: 100%;
}

#mp-take-host:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* Console toggle button - bottom left */
#mp-console-toggle {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	padding: 6px 14px;
	font-family: Arial, sans-serif;
	font-size: 12px;
	cursor: pointer;
	z-index: 100;
	backdrop-filter: blur(4px);
}

#mp-console-toggle:hover {
	background: rgba(0, 0, 0, 0.8);
}

/* Console log panel */
#mp-console {
	position: absolute;
	bottom: 44px;
	left: 12px;
	width: 480px;
	max-height: 280px;
	background: rgba(0, 0, 0, 0.85);
	border-radius: 8px;
	color: #fff;
	font-family: 'Courier New', monospace;
	font-size: 11px;
	z-index: 100;
	display: flex;
	flex-direction: column;
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

#mp-console.hidden {
	display: none;
}

#mp-console-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.6);
}

#mp-console-clear {
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
	border: none;
	border-radius: 4px;
	padding: 2px 8px;
	font-size: 10px;
	cursor: pointer;
}

#mp-console-clear:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

#mp-console-entries {
	overflow-y: auto;
	padding: 6px 10px;
	flex: 1;
	max-height: 240px;
}

.mp-console-line {
	padding: 1px 0;
	word-break: break-all;
	line-height: 1.4;
}

.mp-console-line.log { color: #ddd; }
.mp-console-line.warn { color: #ffcc00; }
.mp-console-line.error { color: #ff5555; }
.mp-console-line.info { color: #66bbff; }

/* Skin picker - top left (collapsible) */
#mp-skin-picker-container {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 100;
}

#mp-skin-picker-toggle {
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	padding: 6px 14px;
	font-family: Arial, sans-serif;
	font-size: 12px;
	cursor: pointer;
	backdrop-filter: blur(4px);
}

#mp-skin-picker-toggle:hover {
	background: rgba(0, 0, 0, 0.8);
}

#mp-skin-picker {
	display: none;
	flex-wrap: wrap;
	gap: 4px;
	max-width: 200px;
	margin-top: 6px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 8px;
	padding: 8px;
	backdrop-filter: blur(4px);
}

#mp-skin-picker-container.expanded #mp-skin-picker {
	display: flex;
}

.mp-skin-option {
	width: 40px;
	height: 40px;
	border-radius: 6px;
	border: 2px solid transparent;
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.15s;
}

.mp-skin-option:hover {
	border-color: rgba(255, 255, 255, 0.5);
}

.mp-skin-option.selected {
	border-color: #4caf50;
	box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
}

.mp-skin-option img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
