/* Zocker-Loge Mood Pulse – Steam Style */

.zl-mood-pulse {
	background: #1b2838;
	border: 1px solid #2a475e;
	border-radius: 8px;
	overflow: hidden;
	font-family: "Motiva Sans", Arial, Helvetica, sans-serif;
	color: #c7d5e0;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.zl-mp-header {
	padding: 12px 16px;
	background: linear-gradient(90deg, #2a475e, #1b2838);
	border-bottom: 1px solid #2a475e;
}

.zl-mp-title {
	font-weight: 700;
	color: #fff;
	font-size: 15px;
	letter-spacing: 0.3px;
}

.zl-mp-body {
	padding: 14px 16px 10px;
}

.zl-mp-avg-label {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}

.zl-mp-bar-wrap {
	height: 10px;
	background: #0e141b;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid #2a475e;
}

.zl-mp-bar {
	height: 100%;
	border-radius: 5px;
	transition: width 0.5s ease, background 0.3s;
	box-shadow: 0 0 10px rgba(102, 192, 244, 0.35);
}

.zl-mp-avg-meta {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	font-size: 12px;
	color: #8f98a0;
}

.zl-mp-score {
	color: #66c0f4;
	font-weight: 700;
}

/* Distribution */
.zl-mp-dist {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.zl-mp-dist-row {
	display: grid;
	grid-template-columns: 28px 1fr 1fr 40px;
	align-items: center;
	gap: 8px;
	font-size: 12px;
}

.zl-mp-dist-emoji { font-size: 16px; text-align: center; }
.zl-mp-dist-label {
	color: #c7d5e0;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zl-mp-dist-track {
	height: 6px;
	background: #0e141b;
	border-radius: 3px;
	overflow: hidden;
}

.zl-mp-dist-fill {
	display: block;
	height: 100%;
	border-radius: 3px;
	transition: width 0.4s ease;
}

.zl-mp-dist-pct {
	text-align: right;
	color: #8f98a0;
	font-weight: 600;
}

.zl-mp-empty {
	padding: 16px 0;
	text-align: center;
	color: #8f98a0;
	font-style: italic;
	font-size: 13px;
}

/* Picker */
.zl-mp-picker {
	border-top: 1px solid #2a475e;
	padding: 12px 16px 16px;
	background: rgba(0, 0, 0, 0.15);
}

.zl-mp-picker-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #8f98a0;
	margin-bottom: 10px;
}

.zl-mp-picker-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 8px;
}

.zl-mp-mood-btn {
	appearance: none;
	border: 1px solid #2a475e;
	background: #16202d;
	border-radius: 6px;
	padding: 10px 8px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	transition: border-color 0.15s, background 0.15s, transform 0.15s;
	color: #c7d5e0;
	font-family: inherit;
}

.zl-mp-mood-btn:hover {
	border-color: var(--mood-color, #66c0f4);
	background: rgba(102, 192, 244, 0.08);
	transform: translateY(-1px);
}

.zl-mp-mood-btn.is-active {
	border-color: var(--mood-color, #a4d007);
	background: rgba(164, 208, 7, 0.12);
	box-shadow: 0 0 0 1px var(--mood-color, #a4d007);
}

.zl-mp-mood-emoji { font-size: 22px; line-height: 1; }
.zl-mp-mood-label {
	font-size: 11px;
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
}

/* Compact */
.zl-mood-pulse-compact {
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(90deg, #171a21, #1b2838);
	border: 1px solid #2a475e;
	border-radius: 4px;
	padding: 6px 12px;
	font-family: "Motiva Sans", Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #c7d5e0;
}

.zl-mp-c-label {
	font-weight: 700;
	color: #66c0f4;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.3px;
	flex-shrink: 0;
}

.zl-mp-c-text {
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zl-mp-c-bar {
	flex: 1;
	height: 6px;
	min-width: 60px;
	background: #0e141b;
	border-radius: 3px;
	overflow: hidden;
}

.zl-mp-c-bar > span {
	display: block;
	height: 100%;
	border-radius: 3px;
	transition: width 0.4s;
}

.zl-mp-c-score {
	font-weight: 700;
	color: #66c0f4;
	flex-shrink: 0;
}

@media (max-width: 500px) {
	.zl-mp-dist-row {
		grid-template-columns: 24px 1fr 36px;
	}
	.zl-mp-dist-track { display: none; }
	.zl-mp-picker-grid {
		grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
	}
}

/* Expand / Slide from compact */
.zl-mp-expand-wrap {
	width: 100%;
}

button.zl-mood-pulse-compact {
	width: 100%;
	cursor: pointer;
	text-align: left;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color 0.15s, background 0.15s;
}

button.zl-mood-pulse-compact:hover:not(:disabled) {
	border-color: #66c0f4;
	background: linear-gradient(90deg, #1b2838, #1a3c52);
}

button.zl-mood-pulse-compact[aria-expanded="true"] {
	border-color: #66c0f4;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

button.zl-mood-pulse-compact:disabled {
	cursor: default;
}

.zl-mp-c-chevron {
	margin-left: 4px;
	color: #66c0f4;
	font-size: 12px;
	transition: transform 0.25s ease;
	flex-shrink: 0;
}

button.zl-mood-pulse-compact[aria-expanded="true"] .zl-mp-c-chevron {
	transform: rotate(180deg);
}

.zl-mp-slide {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.25s ease;
}

.zl-mp-slide.is-open {
	max-height: 900px;
	opacity: 1;
}

.zl-mp-slide-inner {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-top: none;
	box-shadow: none;
}
