/* ==========================================================================
   Monopolis — Classic 40-Tile WordPress Plugin Stylesheet
   Scoped under .mp-root to isolate from WordPress theme styles.
   ========================================================================== */

.mp-root {
	--mp-bg: #0f172a;
	--mp-surface: #1e293b;
	--mp-surface-2: #273549;
	--mp-border: rgba(148, 163, 184, 0.22);
	--mp-text: #f8fafc;
	--mp-muted: #94a3b8;
	--mp-board-bg: #d9ead3;
	--mp-tile-bg: #f6fbf4;
	--mp-tile-border: #1e293b;
	--mp-accent: #10b981;
	--mp-accent-hover: #059669;
	--mp-primary: #3b82f6;
	--mp-primary-hover: #2563eb;
	--mp-warn: #f59e0b;
	--mp-danger: #ef4444;
	--mp-radius: 12px;
	--mp-shadow: 0 12px 32px rgba(2, 6, 23, 0.35);

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: var(--mp-text);
	background: linear-gradient(145deg, #0b1220 0%, #162238 100%);
	border-radius: 16px;
	padding: 20px;
	margin: 16px auto;
	width: 100%;
	max-width: 1380px;
	box-sizing: border-box;
	box-shadow: var(--mp-shadow);
	position: relative;
	line-height: 1.4;
	overflow-x: clip;
}

.mp-root *,
.mp-root *::before,
.mp-root *::after {
	box-sizing: border-box;
}

.mp-root button,
.mp-root input,
.mp-root select {
	font-family: inherit;
}

/* Loading Shell */
.mp-loading-shell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	gap: 14px;
	color: var(--mp-muted);
}

.mp-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid rgba(255, 255, 255, 0.15);
	border-top-color: var(--mp-accent);
	border-radius: 50%;
	animation: mp-spin 0.8s linear infinite;
}

@keyframes mp-spin {
	to { transform: rotate(360deg); }
}

/* Buttons */
.mp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 16px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.12s ease, background 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
	color: #fff;
	background: var(--mp-surface-2);
	text-decoration: none;
	line-height: 1.2;
}

.mp-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	filter: brightness(1.08);
}

.mp-btn:active:not(:disabled) {
	transform: translateY(0);
}

.mp-btn:disabled {
	opacity: 0.48;
	cursor: not-allowed;
}

.mp-btn-primary { background: var(--mp-primary); }
.mp-btn-success { background: var(--mp-accent); }
.mp-btn-warn    { background: var(--mp-warn); color: #0f172a; }
.mp-btn-danger  { background: var(--mp-danger); }
.mp-btn-ghost   { background: transparent; border-color: var(--mp-border); color: var(--mp-text); }
.mp-btn-sm      { padding: 6px 11px; font-size: 12px; border-radius: 6px; }
.mp-btn-lg      { padding: 12px 22px; font-size: 15px; }

/* Toast notification */
.mp-toast-container {
	position: fixed;
	bottom: 22px;
	right: 22px;
	z-index: 100050;
	display: flex;
	flex-direction: column;
	gap: 8px;
	pointer-events: none;
}

.mp-toast {
	background: #1e293b;
	color: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-left: 4px solid var(--mp-primary);
	padding: 11px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
	max-width: 340px;
	pointer-events: auto;
	animation: mp-fade-up 0.2s ease;
}

.mp-toast.mp-toast-error   { border-left-color: var(--mp-danger); }
.mp-toast.mp-toast-success { border-left-color: var(--mp-accent); }
.mp-toast.mp-toast-warn    { border-left-color: var(--mp-warn); }

@keyframes mp-fade-up {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   LOBBY VIEW
   ========================================================================== */
.mp-lobby-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--mp-border);
	margin-bottom: 20px;
}

.mp-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mp-brand-logo {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, #ef4444, #b91c1c);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.mp-brand h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #fff;
}

.mp-brand p {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--mp-muted);
}

.mp-lobby-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mp-reconnect-bar {
	background: rgba(59, 130, 246, 0.16);
	border: 1px solid rgba(59, 130, 246, 0.45);
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 18px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
}

.mp-rooms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 16px;
}

.mp-room-card {
	background: var(--mp-surface);
	border: 1px solid var(--mp-border);
	border-radius: var(--mp-radius);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.mp-room-card:hover {
	border-color: rgba(59, 130, 246, 0.55);
	transform: translateY(-2px);
}

.mp-room-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.mp-room-name {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.mp-room-code {
	font-family: monospace;
	font-size: 12px;
	background: rgba(15, 23, 42, 0.7);
	padding: 3px 8px;
	border-radius: 6px;
	color: #93c5fd;
	border: 1px solid rgba(147, 197, 253, 0.25);
}

.mp-room-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
	color: var(--mp-muted);
}

.mp-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(148, 163, 184, 0.16);
	color: #e2e8f0;
}

.mp-badge-waiting { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.mp-badge-playing { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.mp-badge-lock    { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }

.mp-empty-state {
	text-align: center;
	padding: 48px 20px;
	background: rgba(30, 41, 59, 0.55);
	border: 1px dashed var(--mp-border);
	border-radius: var(--mp-radius);
	color: var(--mp-muted);
}

.mp-empty-state h3 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 18px;
}

/* ==========================================================================
   WAITING ROOM VIEW
   ========================================================================== */
.mp-waiting-wrap {
	max-width: 780px;
	margin: 10px auto;
	background: var(--mp-surface);
	border: 1px solid var(--mp-border);
	border-radius: 14px;
	padding: 24px;
}

.mp-waiting-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid var(--mp-border);
	padding-bottom: 14px;
	margin-bottom: 18px;
}

.mp-waiting-players {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 22px;
}

.mp-waiting-player {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	background: var(--mp-surface-2);
	border-radius: 10px;
	border: 1px solid var(--mp-border);
}

.mp-waiting-token {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #fff;
	flex-shrink: 0;
}

.mp-waiting-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--mp-border);
}

/* ==========================================================================
   GAMEPLAY LAYOUT (BOARD + SIDEBAR)
   ========================================================================== */
.mp-game-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
	padding: 10px 14px;
	background: var(--mp-surface);
	border: 1px solid var(--mp-border);
	border-radius: 10px;
}

.mp-game-topbar-left,
.mp-game-topbar-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.mp-game-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 16px;
	align-items: start;
}

/* ==========================================================================
   CLASSIC 11x11 40-TILE BOARD
   ========================================================================== */
.mp-board-scroll {
	width: 100%;
	overflow-x: auto;
	padding-bottom: 4px;
}

.mp-board {
	display: grid;
	grid-template-columns: 1.45fr repeat(var(--mp-cols, 9), 1fr) 1.45fr;
	grid-template-rows: 1.45fr repeat(var(--mp-rows, 9), 1fr) 1.45fr;
	width: 100%;
	min-width: 760px;
	aspect-ratio: var(--mp-ratio, 1);
	background: var(--mp-board-bg);
	border: 3px solid var(--mp-tile-border);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	position: relative;
}

.mp-tile {
	background: var(--mp-tile-bg);
	border: 1px solid rgba(30, 41, 59, 0.55);
	color: #0f172a;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 2px;
	cursor: pointer;
	overflow: visible;
	z-index: 2;
	user-select: none;
	transition: box-shadow 0.12s ease, background 0.12s ease;
}

.mp-tile.mp-tile-has-tokens {
	z-index: 12;
}

.mp-tile:hover {
	background: #ffffff;
	z-index: 4;
	box-shadow: inset 0 0 0 2px #3b82f6;
}

.mp-tile.mp-tile-active-player {
	box-shadow: inset 0 0 0 2.5px #f59e0b;
}

.mp-tile.mp-tile-mortgaged {
	background: #e2e8f0;
	opacity: 0.85;
}

.mp-tile.mp-tile-mortgaged::after {
	content: "HIPOT.";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-18deg);
	font-size: 9px;
	font-weight: 900;
	color: #b91c1c;
	background: rgba(255, 255, 255, 0.88);
	padding: 1px 4px;
	border: 1px solid #b91c1c;
	border-radius: 3px;
	pointer-events: none;
}

/* Color stripe on OUTER edge of property tiles */
.mp-tile-bar {
	width: 100%;
	height: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-top: 1px solid rgba(15, 23, 42, 0.35);
	position: relative;
	z-index: 3;
}

.mp-tile-side-left {
	flex-direction: row-reverse;
}
.mp-tile-side-left .mp-tile-bar {
	width: 18px;
	height: 100%;
	border-top: none;
	border-right: 1px solid rgba(15, 23, 42, 0.35);
}

.mp-tile-side-right {
	flex-direction: row;
}
.mp-tile-side-right .mp-tile-bar {
	width: 18px;
	height: 100%;
	border-top: none;
	border-left: 1px solid rgba(15, 23, 42, 0.35);
}

.mp-tile-side-top {
	flex-direction: column-reverse;
}
.mp-tile-side-top .mp-tile-bar {
	border-top: none;
	border-bottom: 1px solid rgba(15, 23, 42, 0.35);
}

/* Built Houses & Hotels projected OUTSIDE the tile onto the green inner rim (no empty boxes!) */
.mp-tile.mp-tile-has-houses {
	z-index: 8;
}

.mp-tile-lots {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 0;
	background: transparent;
	border: none;
	pointer-events: none;
	z-index: 9;
	overflow: visible;
	box-sizing: border-box;
}

.mp-tile-side-bottom .mp-tile-lots {
	left: 0;
	right: 0;
	bottom: 100%;
	top: auto;
	margin-bottom: 3px;
	flex-direction: row;
}

.mp-tile-side-top .mp-tile-lots {
	left: 0;
	right: 0;
	top: 100%;
	bottom: auto;
	margin-top: 3px;
	flex-direction: row;
}

.mp-tile-side-left .mp-tile-lots {
	top: 0;
	bottom: 0;
	left: 100%;
	right: auto;
	margin-left: 3px;
	flex-direction: column;
}

.mp-tile-side-right .mp-tile-lots {
	top: 0;
	bottom: 0;
	right: 100%;
	left: auto;
	margin-right: 3px;
	flex-direction: column;
}

.mp-tile-lots.mp-lots-count-4 {
	gap: 1px;
}

.mp-tile-lots.mp-lots-count-4 .mp-house-icon svg {
	width: 19px;
	height: 19px;
}

.mp-tile-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 2px 3px;
	width: 100%;
	text-align: center;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.mp-tile-name {
	font-size: 9.5px;
	font-weight: 700;
	line-height: 1.1;
	color: #0f172a;
	word-break: break-word;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.mp-tile-icon {
	font-size: 16px;
	line-height: 1;
}

.mp-utility-logo {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
	margin: 1px auto;
	border-radius: 50%;
}

.mp-tile-price {
	font-size: 9px;
	font-weight: 800;
	color: #334155;
	line-height: 1.05;
}

.mp-tile-status {
	display: inline-block;
	font-size: 7.5px;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 1px 4px;
	border-radius: 3px;
	line-height: 1.15;
	margin-top: 1px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mp-tile-status-free {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #86efac;
}

.mp-tile-status-owned {
	color: #ffffff;
	text-transform: none;
	letter-spacing: 0.1px;
	border: 1px solid rgba(0, 0, 0, 0.22);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.mp-tile-status-sale {
	background: #fef08a;
	color: #854d0e;
	border: 1px solid #eab308;
}

.mp-tile-owner-name {
	display: block;
	font-size: 7.5px;
	font-weight: 700;
	color: #334155;
	line-height: 1.1;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0 2px;
}

.mp-tile-mobile-tag {
	display: none;
}

.mp-tile-owner-dot {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 14px;
	height: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
	z-index: 3;
	pointer-events: none;
}

.mp-tile-owner-dot svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Houses & Hotel crisp SVG icons projecting outside the tile onto the green inner rim */
.mp-house-icon,
.mp-hotel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.65));
}

.mp-house-icon svg {
	width: 24px;
	height: 24px;
	display: block;
}

.mp-hotel-icon svg {
	width: 32px;
	height: 32px;
	display: block;
}

/* Corner Tiles */
.mp-tile-corner {
	background: #edf7ea;
	justify-content: center;
	gap: 3px;
	padding: 4px;
}

.mp-tile-corner .mp-tile-icon { font-size: 24px; }
.mp-tile-corner .mp-tile-name { font-size: 10.5px; font-weight: 900; text-transform: uppercase; }
.mp-tile-corner .mp-tile-sub  { font-size: 9px; font-weight: 700; color: #15803d; }

/* Player tokens rendered on tiles */
.mp-tile-tokens {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 2px;
	pointer-events: none;
	z-index: 12;
}

/* Desktop & TV: position player tokens along the inner green rim so tile text is NEVER covered! */
@media (min-width: 901px) {
	.mp-tile-side-right .mp-tile-tokens {
		top: 0;
		bottom: 0;
		left: auto;
		right: 100%;
		margin-right: 6px;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: flex-end;
		width: auto;
		padding: 0;
		gap: 4px;
	}

	.mp-tile-side-right .mp-token-wrap {
		flex-direction: row;
		align-items: center;
		gap: 5px;
		max-width: none;
	}

	.mp-tile-side-left .mp-tile-tokens {
		top: 0;
		bottom: 0;
		right: auto;
		left: 100%;
		margin-left: 6px;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: flex-start;
		width: auto;
		padding: 0;
		gap: 4px;
	}

	.mp-tile-side-left .mp-token-wrap {
		flex-direction: row-reverse;
		align-items: center;
		gap: 5px;
		max-width: none;
	}

	.mp-tile-side-top .mp-tile-tokens {
		left: 0;
		right: 0;
		bottom: auto;
		top: 100%;
		margin-top: 5px;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: flex-start;
		height: auto;
		padding: 0;
		gap: 4px;
	}

	.mp-tile-side-top .mp-token-wrap {
		flex-direction: column-reverse;
		max-width: none;
	}

	.mp-tile-side-bottom .mp-tile-tokens {
		left: 0;
		right: 0;
		top: auto;
		bottom: 100%;
		margin-bottom: 5px;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: flex-end;
		height: auto;
		padding: 0;
		gap: 4px;
	}

	.mp-tile-side-bottom .mp-token-wrap {
		flex-direction: column;
		max-width: none;
	}

	.mp-tile-side-left .mp-token-name,
	.mp-tile-side-right .mp-token-name {
		max-width: 115px;
		margin: 0 4px;
		padding: 2px 7px;
	}

	/* Shift tokens neatly inward when a tile has houses/hotel outside so they never overlap */
	.mp-tile-side-left.mp-tile-has-houses .mp-tile-tokens {
		margin-left: 32px;
	}
	.mp-tile-side-right.mp-tile-has-houses .mp-tile-tokens {
		margin-right: 32px;
	}
	.mp-tile-side-top.mp-tile-has-houses .mp-tile-tokens {
		margin-top: 30px;
	}
	.mp-tile-side-bottom.mp-tile-has-houses .mp-tile-tokens {
		margin-bottom: 30px;
	}
}

.mp-board.mp-board-hopping {
	overflow: visible !important;
}

.mp-token-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	max-width: 100%;
}

.mp-token-wrap.mp-token-hopping:not(.mp-token-airborne) {
	animation: mp-token-pop 0.38s ease;
}

.mp-token-wrap.mp-token-airborne {
	z-index: 120 !important;
	pointer-events: none;
	will-change: transform;
}

.mp-token-wrap.mp-token-airborne .mp-token-piece {
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(250, 204, 21, 0.72);
}

.mp-tile.mp-tile-active-player {
	z-index: 35 !important;
	overflow: visible !important;
}

.mp-step-counter-badge {
	position: absolute;
	top: -10px;
	right: -14px;
	min-width: 24px;
	height: 24px;
	padding: 0 5px;
	border-radius: 999px;
	background: #facc15;
	color: #0f172a;
	border: 2px solid #0f172a;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.65);
	font-size: 13px;
	font-weight: 900;
	line-height: 20px;
	text-align: center;
	z-index: 25;
	pointer-events: none;
}

.mp-step-counter-badge.mp-step-pop {
	animation: mp-step-badge-pop 0.34s ease;
}

@keyframes mp-step-badge-pop {
	0%   { transform: scale(0.5); }
	60%  { transform: scale(1.28); }
	100% { transform: scale(1); }
}

.mp-token-name {
	background: rgba(15, 23, 42, 0.92);
	color: #ffffff;
	font-size: 9.5px;
	font-weight: 800;
	line-height: 1.15;
	padding: 1.5px 5px;
	border-radius: 4px;
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	max-width: 72px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
	letter-spacing: 0.15px;
}

.mp-token-piece {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	border: 2.5px solid #fff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

@keyframes mp-token-pop {
	0%   { transform: scale(0.75); }
	65%  { transform: scale(1.18); }
	100% { transform: scale(1); }
}

/* ==========================================================================
   CENTER HUB OF BOARD
   ========================================================================== */
.mp-center-hub {
	grid-column: 2 / -2;
	grid-row: 2 / -2;
	background: radial-gradient(circle at center, #eef7ea 0%, #cfe5c7 100%);
	color: #0f172a;
	padding: 14px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.mp-center-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	z-index: 3;
	margin-bottom: 2px;
}

.mp-center-logo {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 2.4px;
	color: #ffffff;
	background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
	border: 2px solid #ffffff;
	box-shadow: 0 3px 10px rgba(185, 28, 28, 0.35), 0 0 0 1px #0f172a;
	padding: 4px 16px;
	border-radius: 7px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Classic Monopoly Tabletop Card Decks (Arca Comunal & Fortuna) */
.mp-board-deck {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	user-select: none;
}

.mp-deck-chest {
	top: 52px;
	left: 48px;
	transform: rotate(-18deg);
}

.mp-deck-chance {
	bottom: 48px;
	right: 48px;
	transform: rotate(-18deg);
}

.mp-deck-mat {
	padding: 5px;
	border: 2px dashed rgba(15, 23, 42, 0.32);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.16);
}

.mp-deck-card {
	position: relative;
	width: 112px;
	height: 70px;
	border-radius: 8px;
	border: 3px solid #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: #ffffff;
	box-shadow:
		-3px 3px 0 #f8fafc,
		-4px 4px 0 rgba(15, 23, 42, 0.28),
		-6px 6px 0 #e2e8f0,
		-7px 7px 12px rgba(15, 23, 42, 0.28);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mp-deck-chest .mp-deck-card {
	background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
}

.mp-deck-chance .mp-deck-card {
	background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.mp-deck-active .mp-deck-card {
	box-shadow:
		0 0 0 3px #facc15,
		-3px 3px 0 #f8fafc,
		-6px 6px 16px rgba(234, 179, 8, 0.55);
}

.mp-deck-icon {
	font-size: 24px;
	line-height: 1;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.mp-deck-q {
	font-size: 32px;
	font-weight: 900;
	line-height: 0.95;
	color: #ffffff;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}

.mp-deck-title {
	font-size: 8.5px;
	font-weight: 900;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.96);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.mp-pot-pill {
	background: #14532d;
	color: #dcfce7;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}

.mp-turn-box {
	background: rgba(255, 255, 255, 0.92);
	border: 2px solid #0f172a;
	border-radius: 12px;
	padding: 12px 14px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
	min-height: 210px;
}

.mp-turn-controls {
	min-height: 76px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
}

.mp-turn-controls > * {
	width: 100%;
}

.mp-turn-status-note {
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: #2563eb;
}

.mp-turn-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}

.mp-turn-who {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
}

.mp-timer-pill {
	font-family: monospace;
	font-size: 13px;
	font-weight: 800;
	background: #e2e8f0;
	color: #0f172a;
	padding: 3px 9px;
	border-radius: 999px;
}

.mp-timer-pill.mp-timer-low {
	background: #fee2e2;
	color: #b91c1c;
}

.mp-timer-pill.mp-timer-paused {
	background: #dbeafe;
	color: #1d4ed8;
}

.mp-pause-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 8px;
	background: rgba(59, 130, 246, 0.22);
	color: #bfdbfe;
	border: 1px solid rgba(96, 165, 250, 0.5);
}

/* Dice — Smooth 60 FPS 3D Tumbling Cubes */
.mp-dice-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	min-height: 70px;
	padding: 6px 0 4px;
}

.mp-die-wrap {
	--mp-die-size: 50px;
	--mp-die-half: 25px;
	position: relative;
	width: var(--mp-die-size);
	height: calc(var(--mp-die-size) + 8px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

.mp-die-scene {
	width: var(--mp-die-size);
	height: var(--mp-die-size);
	perspective: 280px;
	will-change: transform;
}

.mp-die-cube {
	width: 100%;
	height: 100%;
	position: relative;
	transform-style: preserve-3d;
	will-change: transform;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mp-die-face {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 10px;
	background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 100%);
	border: 2px solid #0f172a;
	box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.95), inset 0 -2px 4px rgba(15, 23, 42, 0.14);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	padding: 6px;
	gap: 2px;
	place-items: center;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.mp-face-1 { transform: rotateY(0deg) translateZ(var(--mp-die-half)); }
.mp-face-6 { transform: rotateY(180deg) translateZ(var(--mp-die-half)); }
.mp-face-3 { transform: rotateY(90deg) translateZ(var(--mp-die-half)); }
.mp-face-4 { transform: rotateY(-90deg) translateZ(var(--mp-die-half)); }
.mp-face-2 { transform: rotateX(90deg) translateZ(var(--mp-die-half)); }
.mp-face-5 { transform: rotateX(-90deg) translateZ(var(--mp-die-half)); }

.mp-die-cube.mp-show-1 { transform: rotateX(0deg) rotateY(0deg); }
.mp-die-cube.mp-show-2 { transform: rotateX(-90deg) rotateY(0deg); }
.mp-die-cube.mp-show-3 { transform: rotateX(0deg) rotateY(-90deg); }
.mp-die-cube.mp-show-4 { transform: rotateX(0deg) rotateY(90deg); }
.mp-die-cube.mp-show-5 { transform: rotateX(90deg) rotateY(0deg); }
.mp-die-cube.mp-show-6 { transform: rotateX(0deg) rotateY(180deg); }

.mp-die-shadow {
	width: 38px;
	height: 7px;
	margin-top: 3px;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.34) 0%, rgba(15, 23, 42, 0) 75%);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.mp-pip {
	width: 8.5px;
	height: 8.5px;
	border-radius: 50%;
	background: #0f172a;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
	opacity: 0;
}

.mp-pip.mp-on {
	opacity: 1;
}

.mp-die-wrap.mp-die-rolling .mp-die-face {
	border-color: #2563eb;
	box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.95), 0 0 8px rgba(59, 130, 246, 0.25);
}

.mp-die-wrap.mp-die-rolling .mp-die-scene {
	animation: mp-die-toss 0.42s ease-in-out infinite;
}

.mp-die-wrap.mp-die-rolling.mp-die-slot-2 .mp-die-scene {
	animation-delay: -0.18s;
}

.mp-die-wrap.mp-die-rolling .mp-die-shadow {
	animation: mp-shadow-toss 0.42s ease-in-out infinite;
}

.mp-die-wrap.mp-die-rolling.mp-die-slot-2 .mp-die-shadow {
	animation-delay: -0.18s;
}

.mp-die-wrap.mp-die-rolling.mp-die-slot-1 .mp-die-cube {
	animation: mp-cube-tumble-1 0.58s linear infinite;
}

.mp-die-wrap.mp-die-rolling.mp-die-slot-2 .mp-die-cube {
	animation: mp-cube-tumble-2 0.64s linear infinite;
}

.mp-die-wrap.mp-die-landed .mp-die-scene {
	animation: mp-die-pop 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes mp-die-pop {
	0%   { transform: translateY(-8px) scale(1.14); }
	55%  { transform: translateY(2px) scale(0.94); }
	100% { transform: translateY(0) scale(1); }
}

@keyframes mp-die-toss {
	0%, 100% { transform: translateY(0px); }
	50%      { transform: translateY(-10px); }
}

@keyframes mp-shadow-toss {
	0%, 100% { transform: scale(1); opacity: 0.95; }
	50%      { transform: scale(0.68); opacity: 0.4; }
}

@keyframes mp-cube-tumble-1 {
	0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
	100% { transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg); }
}

@keyframes mp-cube-tumble-2 {
	0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
	100% { transform: rotateX(-360deg) rotateY(360deg) rotateZ(-720deg); }
}

.mp-action-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.mp-buy-prompt {
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 8px;
	padding: 8px 10px;
	text-align: center;
	font-size: 13px;
	color: #14532d;
}

.mp-debt-prompt {
	background: #fef2f2;
	border: 2px solid #ef4444;
	border-radius: 8px;
	padding: 9px 11px;
	text-align: center;
	font-size: 13px;
	color: #991b1b;
}

.mp-rent-prompt {
	background: #fff7ed;
	border: 2px solid #f97316;
	border-radius: 10px;
	padding: 10px 12px;
	text-align: center;
	font-size: 13px;
	color: #7c2d12;
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.18);
}

.mp-pause-prompt {
	background: #eff6ff;
	border: 2px solid #3b82f6;
	border-radius: 10px;
	padding: 11px 12px;
	text-align: center;
	font-size: 13px;
	color: #1e3a8a;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.18);
}

.mp-auction-box {
	background: #fffbeb;
	border: 2px solid #f59e0b;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13px;
	color: #78350f;
}

.mp-trade-alert {
	background: #eff6ff;
	border: 2px solid #3b82f6;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 12px;
	color: #1e3a8a;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.mp-sales-stack {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mp-sale-banner {
	background: #fefce8;
	border: 2px solid #eab308;
	border-radius: 9px;
	padding: 8px 10px;
	font-size: 12px;
	color: #713f12;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

.mp-sale-banner-info {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.mp-sale-banner-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Live Feed & Chat */
.mp-feed-box {
	flex: 1;
	min-height: 110px;
	max-height: 210px;
	background: rgba(15, 23, 42, 0.88);
	color: #e2e8f0;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.mp-feed-list {
	flex: 1;
	overflow-y: auto;
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
}

.mp-log-item {
	padding: 3px 6px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.04);
	line-height: 1.3;
}

.mp-log-rent     { border-left: 3px solid #f59e0b; }
.mp-log-buy      { border-left: 3px solid #10b981; }
.mp-log-debt     { border-left: 3px solid #ef4444; }
.mp-log-bankrupt { border-left: 3px solid #dc2626; background: rgba(220, 38, 38, 0.16); }
.mp-log-win      { border-left: 3px solid #eab308; background: rgba(234, 179, 8, 0.2); font-weight: 700; }
.mp-log-chat     { border-left: 3px solid #38bdf8; }

.mp-root .mp-chat-form {
	display: flex !important;
	align-items: stretch !important;
	width: 100% !important;
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	margin: 0 !important;
	padding: 0 !important;
}

.mp-root .mp-chat-form input[type="text"],
.mp-root .mp-chat-form input {
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	background: #0f172a !important;
	background-color: #0f172a !important;
	border: none !important;
	border-radius: 0 !important;
	color: #f8fafc !important;
	caret-color: #f8fafc !important;
	padding: 8px 12px !important;
	font-size: 12px !important;
	outline: none !important;
	box-shadow: none !important;
}

.mp-root .mp-chat-form input::placeholder {
	color: #94a3b8 !important;
	opacity: 1 !important;
}

.mp-root .mp-chat-form button {
	flex: 0 0 auto !important;
	margin: 0 !important;
	background: #3b82f6 !important;
	border: none !important;
	border-radius: 0 !important;
	color: #fff !important;
	padding: 8px 14px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
}

/* ==========================================================================
   SIDEBAR — PLAYERS & LIVE MONEY TRACKER
   ========================================================================== */
.mp-sidebar {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mp-panel {
	background: var(--mp-surface);
	border: 1px solid var(--mp-border);
	border-radius: var(--mp-radius);
	padding: 14px;
}

.mp-panel-title {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	color: var(--mp-muted);
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mp-players-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mp-player-card {
	background: var(--mp-surface-2);
	border: 2px solid transparent;
	border-radius: 10px;
	padding: 10px 12px;
	position: relative;
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.mp-player-card:hover {
	border-color: rgba(148, 163, 184, 0.55);
}

.mp-player-mobile-meta {
	display: none;
}

.mp-player-uid-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.mp-player-stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.mp-stat-box {
	background: #0f172a;
	border: 1px solid var(--mp-border);
	border-radius: 10px;
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.mp-stat-lbl {
	font-size: 11px;
	color: var(--mp-muted);
}

.mp-stat-val {
	font-size: 14px;
	font-weight: 800;
	color: #ffffff !important;
	word-break: break-word;
}

.mp-player-card.mp-is-turn {
	border-color: #f59e0b;
	box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.mp-player-card.mp-is-bankrupt {
	opacity: 0.5;
	filter: grayscale(0.8);
}

.mp-player-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.mp-player-ident {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.mp-player-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	border: 2px solid #fff;
	flex-shrink: 0;
}

.mp-player-uid {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mp-player-money {
	font-size: 17px;
	font-weight: 900;
	color: #4ade80;
	font-variant-numeric: tabular-nums;
	position: relative;
}

.mp-money-delta {
	position: absolute;
	top: -16px;
	right: 0;
	font-size: 12px;
	font-weight: 800;
	animation: mp-float-delta 1.8s ease forwards;
	pointer-events: none;
}

.mp-money-delta.mp-plus  { color: #4ade80; }
.mp-money-delta.mp-minus { color: #f87171; }

@keyframes mp-float-delta {
	0%   { opacity: 0; transform: translateY(6px); }
	20%  { opacity: 1; transform: translateY(0); }
	80%  { opacity: 1; transform: translateY(-6px); }
	100% { opacity: 0; transform: translateY(-14px); }
}

.mp-player-sub {
	font-size: 11px;
	color: var(--mp-muted);
	margin-top: 4px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mp-prop-chips-wrap {
	margin-top: 8px;
	padding-top: 6px;
	border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.mp-prop-chips-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--mp-muted);
	margin-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.mp-prop-chips-empty {
	margin-top: 6px;
	font-size: 10.5px;
	color: rgba(148, 163, 184, 0.65);
	font-style: italic;
}

.mp-mini-props {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.mp-prop-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px 2px 4px;
	border-radius: 5px;
	background: rgba(15, 23, 42, 0.85);
	border: 1px solid rgba(148, 163, 184, 0.3);
	color: #f1f5f9;
	font-size: 10.5px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.25;
	transition: transform 0.1s ease, border-color 0.15s ease;
}

.mp-prop-chip:hover {
	transform: translateY(-1px);
	border-color: #60a5fa;
}

.mp-prop-chip.mp-chip-mortgaged {
	opacity: 0.55;
	border-style: dashed;
	text-decoration: line-through;
}

.mp-prop-chip-dot {
	width: 8px;
	height: 12px;
	border-radius: 2px;
	flex-shrink: 0;
}

.mp-prop-chip-name {
	white-space: nowrap;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.mp-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(2, 6, 23, 0.72);
	backdrop-filter: blur(3px);
	z-index: 100020;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.mp-modal {
	background: var(--mp-surface);
	color: var(--mp-text);
	border: 1px solid var(--mp-border);
	border-radius: 14px;
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	animation: mp-fade-up 0.18s ease;
}

.mp-modal-wide { max-width: 680px; }

.mp-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid var(--mp-border);
}

.mp-modal-header h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #fff;
}

.mp-modal-close {
	background: transparent;
	border: none;
	color: var(--mp-muted);
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
	padding: 2px 6px;
}

.mp-modal-close:hover { color: #fff; }

.mp-modal-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mp-form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.mp-form-group label {
	font-size: 12px;
	font-weight: 700;
	color: #cbd5e1;
}

.mp-root .mp-form-group input[type="text"],
.mp-root .mp-form-group input[type="password"],
.mp-root .mp-form-group input[type="number"],
.mp-root .mp-form-group input[type="time"],
.mp-root .mp-form-group select {
	background: #0f172a !important;
	background-color: #0f172a !important;
	border: 1px solid rgba(148, 163, 184, 0.45) !important;
	border-radius: 8px !important;
	padding: 10px 12px !important;
	color: #f8fafc !important;
	caret-color: #f8fafc !important;
	color-scheme: dark;
	font-size: 14px !important;
	width: 100% !important;
	box-shadow: none !important;
	appearance: auto;
	height: auto !important;
	line-height: 1.4 !important;
}

.mp-root .mp-form-group input[type="text"]:focus,
.mp-root .mp-form-group input[type="password"]:focus,
.mp-root .mp-form-group input[type="number"]:focus,
.mp-root .mp-form-group input[type="time"]:focus,
.mp-root .mp-form-group select:focus {
	background: #0b1220 !important;
	background-color: #0b1220 !important;
	color: #ffffff !important;
	border-color: #10b981 !important;
	outline: none !important;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.28) !important;
}

.mp-root .mp-form-group input::placeholder {
	color: #94a3b8 !important;
	opacity: 1 !important;
}

.mp-root .mp-form-group select option {
	background-color: #0f172a !important;
	color: #f8fafc !important;
}

.mp-root .mp-form-group input:-webkit-autofill,
.mp-root .mp-form-group input:-webkit-autofill:hover,
.mp-root .mp-form-group input:-webkit-autofill:focus {
	-webkit-text-fill-color: #f8fafc !important;
	-webkit-box-shadow: 0 0 0px 1000px #0f172a inset !important;
	box-shadow: 0 0 0px 1000px #0f172a inset !important;
	transition: background-color 5000s ease-in-out 0s;
}

.mp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.mp-check-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #cbd5e1;
	cursor: pointer;
}

/* Token Picker */
.mp-token-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.mp-token-opt {
	background: #0f172a;
	border: 2px solid transparent;
	border-radius: 10px;
	padding: 8px 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	cursor: pointer;
	color: #cbd5e1;
	font-size: 11px;
}

.mp-token-opt span { font-size: 22px; }
.mp-token-opt.mp-selected { border-color: var(--mp-accent); background: rgba(16, 185, 129, 0.15); color: #fff; }
.mp-token-opt.mp-token-taken {
	opacity: 0.34;
	filter: grayscale(1);
	cursor: not-allowed;
	border-color: rgba(148, 163, 184, 0.18);
	background: #0b1120;
	position: relative;
}
.mp-token-taken-lbl {
	display: block;
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
	color: #fca5a5;
	letter-spacing: 0.3px;
}

.mp-money-secret {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 11px;
	font-weight: 800;
	color: #94a3b8 !important;
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.28);
	padding: 2px 7px;
	border-radius: 999px;
	letter-spacing: 0.2px;
}

.mp-spectator-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(139, 92, 246, 0.25);
	color: #ddd6fe;
	border: 1px solid rgba(167, 139, 250, 0.55);
}

.mp-spectator-feed-note {
	padding: 7px 10px;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
	color: #cbd5e1;
	background: rgba(139, 92, 246, 0.14);
	border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* ==========================================================================
   COLLAPSIBLE RIGHT SIDEBAR (Desktop & TV — hidden by default, docked to edge)
   ========================================================================== */
@media (min-width: 821px) {
	.mp-game-layout.mp-sidebar-collapsed {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.mp-sidebar.mp-sidebar-hidden {
		display: none !important;
	}

	.mp-sidebar-hide-btn {
		width: 100%;
		margin-top: auto;
		justify-content: center;
		border-color: rgba(148, 163, 184, 0.35);
		color: #cbd5e1;
		background: rgba(15, 23, 42, 0.72);
	}

	.mp-sidebar-edge-tab {
		position: fixed;
		right: 12px;
		bottom: 18px;
		z-index: 60;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 10px 15px;
		border-radius: 999px;
		border: 1.5px solid rgba(96, 165, 250, 0.6);
		background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
		color: #f8fafc;
		font-size: 13px;
		font-weight: 800;
		cursor: pointer;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
		transition: transform 0.15s ease, border-color 0.15s ease;
	}

	.mp-sidebar-edge-tab:hover {
		transform: translateX(-3px);
		border-color: #38bdf8;
	}

	/* PC Desktop: Keep entire 40-tile board fitting cleanly inside viewport height (zero scrolling!) */
	.mp-board-scroll {
		display: flex;
		justify-content: center;
		align-items: center;
		overflow-x: auto;
	}

	.mp-board.mp-board-square {
		/* Universal fallback for Samsung Tizen / Chrome < 79 (no min/max/aspect-ratio) */
		width: calc((100vh - 195px) * var(--mp-ratio, 1)) !important;
		height: calc(100vh - 195px) !important;
		max-width: 100% !important;
		min-height: 540px !important;
		min-width: 0 !important;
		grid-template-columns: minmax(0, 1.45fr) repeat(var(--mp-cols, 9), minmax(0, 1fr)) minmax(0, 1.45fr);
		grid-template-rows: minmax(0, 1.45fr) repeat(var(--mp-rows, 9), minmax(0, 1fr)) minmax(0, 1.45fr);
	}

	/* Horizontal / Widescreen 16:9 Board Mode (PC & TV — fills width and fits viewport height completely!) */
	.mp-board.mp-board-wide {
		width: 100% !important;
		height: calc(100vh - 195px) !important;
		min-height: 540px !important;
		height: max(560px, calc(100vh - 195px)) !important;
		min-width: 0 !important;
		aspect-ratio: auto !important;
		grid-template-columns: minmax(0, 1.3fr) repeat(var(--mp-cols, 9), minmax(0, 1fr)) minmax(0, 1.3fr);
		grid-template-rows: minmax(0, 1.3fr) repeat(var(--mp-rows, 9), minmax(0, 1fr)) minmax(0, 1.3fr);
	}

	@supports (aspect-ratio: 1) and (width: min(1px, 2px)) {
		.mp-board.mp-board-square {
			width: min(100%, calc(max(560px, calc(100vh - 195px)) * var(--mp-ratio, 1))) !important;
			height: auto !important;
			min-height: 0 !important;
			aspect-ratio: var(--mp-ratio, 1) !important;
		}
	}

	.mp-board.mp-board-wide .mp-tile-name {
		font-size: 13px;
		font-size: clamp(10.5px, 0.95vw, 14px);
		line-height: 1.12;
	}

	.mp-board.mp-board-wide .mp-tile-price {
		font-size: 12.5px;
		font-size: clamp(10.5px, 0.92vw, 13.5px);
	}

	.mp-board.mp-board-wide .mp-tile-status {
		font-size: 10px;
		font-size: clamp(8.5px, 0.72vw, 11px);
		padding: 1px 5px;
	}

	.mp-board.mp-board-wide .mp-tile-owner-name {
		font-size: 10.5px;
		font-size: clamp(9px, 0.78vw, 11.5px);
		font-weight: 800;
	}

	.mp-board.mp-board-wide .mp-tile-corner .mp-tile-name {
		font-size: 14px;
		font-size: clamp(11.5px, 1.05vw, 15.5px);
	}

	.mp-board.mp-board-wide .mp-tile-corner .mp-tile-icon {
		font-size: 28px;
		font-size: clamp(22px, 2vw, 34px);
	}

	.mp-board.mp-board-wide .mp-tile-icon {
		font-size: 19px;
		font-size: clamp(15px, 1.35vw, 22px);
	}
}

/* ==========================================================================
   FULLSCREEN TV & SPECTATOR MODE — Full-screen fit + Big readable TV fonts
   ========================================================================== */
.mp-root:fullscreen,
.mp-root:-webkit-full-screen,
.mp-root.mp-tv-fullscreen {
	width: 100vw !important;
	max-width: 100vw !important;
	height: 100vh !important;
	max-height: 100vh !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border-radius: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
}

.mp-root:fullscreen .mp-game-topbar,
.mp-root:-webkit-full-screen .mp-game-topbar,
.mp-root.mp-tv-fullscreen .mp-game-topbar {
	flex: 0 0 auto;
	margin-bottom: 6px;
	padding: 6px 12px;
}

.mp-root:fullscreen .mp-game-layout,
.mp-root:-webkit-full-screen .mp-game-layout,
.mp-root.mp-tv-fullscreen .mp-game-layout {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	grid-template-columns: minmax(0, 1fr) 340px;
	align-items: stretch;
	gap: 12px;
}

.mp-root:fullscreen .mp-game-layout.mp-sidebar-collapsed,
.mp-root:-webkit-full-screen .mp-game-layout.mp-sidebar-collapsed,
.mp-root.mp-tv-fullscreen .mp-game-layout.mp-sidebar-collapsed {
	grid-template-columns: minmax(0, 1fr) !important;
}

.mp-root:fullscreen .mp-main-col,
.mp-root:-webkit-full-screen .mp-main-col,
.mp-root.mp-tv-fullscreen .mp-main-col {
	min-height: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	overflow: hidden;
}

.mp-root:fullscreen .mp-my-wallet-bar,
.mp-root:-webkit-full-screen .mp-my-wallet-bar,
.mp-root.mp-tv-fullscreen .mp-my-wallet-bar {
	flex: 0 0 auto;
	padding: 5px 10px;
}

.mp-root:fullscreen .mp-status-ticker,
.mp-root:-webkit-full-screen .mp-status-ticker,
.mp-root.mp-tv-fullscreen .mp-status-ticker {
	flex: 0 0 auto;
	font-size: 14px;
	padding: 6px 12px;
}

.mp-root:fullscreen .mp-status-badge,
.mp-root:-webkit-full-screen .mp-status-badge,
.mp-root.mp-tv-fullscreen .mp-status-badge {
	font-size: 12.5px;
}

.mp-root:fullscreen .mp-board-scroll,
.mp-root:-webkit-full-screen .mp-board-scroll,
.mp-root.mp-tv-fullscreen .mp-board-scroll {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 0;
}

/* Fullscreen Square Mode: largest proportional board fitting 100% inside TV height */
.mp-root:fullscreen .mp-board.mp-board-square,
.mp-root:-webkit-full-screen .mp-board.mp-board-square,
.mp-root.mp-tv-fullscreen .mp-board.mp-board-square {
	/* Universal fallback for Samsung Tizen / Chrome < 79 */
	width: calc((100vh - 114px) * var(--mp-ratio, 1)) !important;
	height: calc(100vh - 114px) !important;
	min-width: 0 !important;
	max-width: 100% !important;
	max-height: 100% !important;
	grid-template-columns: minmax(0, 1.45fr) repeat(var(--mp-cols, 9), minmax(0, 1fr)) minmax(0, 1.45fr);
	grid-template-rows: minmax(0, 1.45fr) repeat(var(--mp-rows, 9), minmax(0, 1fr)) minmax(0, 1.45fr);
}

@supports (aspect-ratio: 1) and (width: min(1px, 2px)) {
	.mp-root:fullscreen .mp-board.mp-board-square,
	.mp-root:-webkit-full-screen .mp-board.mp-board-square,
	.mp-root.mp-tv-fullscreen .mp-board.mp-board-square {
		width: min(100%, calc((100vh - 114px) * var(--mp-ratio, 1))) !important;
		height: auto !important;
		aspect-ratio: var(--mp-ratio, 1) !important;
	}

	.mp-root:fullscreen:not(.mp-is-spectator) .mp-board.mp-board-square,
	.mp-root:-webkit-full-screen:not(.mp-is-spectator) .mp-board.mp-board-square,
	.mp-root.mp-tv-fullscreen:not(.mp-is-spectator) .mp-board.mp-board-square {
		width: min(100%, calc((100vh - 168px) * var(--mp-ratio, 1))) !important;
	}
}

/* Fullscreen Horizontal / Widescreen TV Mode: stretches edge-to-edge 100% width & 100% height! */
.mp-root:fullscreen .mp-board.mp-board-wide,
.mp-root:-webkit-full-screen .mp-board.mp-board-wide,
.mp-root.mp-tv-fullscreen .mp-board.mp-board-wide {
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	max-height: 100% !important;
	aspect-ratio: auto !important;
	grid-template-columns: minmax(0, 1.35fr) repeat(var(--mp-cols, 9), minmax(0, 1fr)) minmax(0, 1.35fr);
	grid-template-rows: minmax(0, 1.35fr) repeat(var(--mp-rows, 9), minmax(0, 1fr)) minmax(0, 1.35fr);
}

/* Large, couch-readable TV typography for Spectator & Fullscreen TV — balanced so text never clips */
.mp-root.mp-is-spectator .mp-tile-body,
.mp-root.mp-tv-fullscreen .mp-tile-body {
	padding: 1px 2px;
	justify-content: space-around;
}

.mp-root.mp-is-spectator .mp-tile-side-top .mp-tile-bar,
.mp-root.mp-is-spectator .mp-tile-side-bottom .mp-tile-bar,
.mp-root.mp-tv-fullscreen .mp-tile-side-top .mp-tile-bar,
.mp-root.mp-tv-fullscreen .mp-tile-side-bottom .mp-tile-bar {
	height: 16px;
}

.mp-root.mp-is-spectator .mp-tile-side-left .mp-tile-bar,
.mp-root.mp-is-spectator .mp-tile-side-right .mp-tile-bar,
.mp-root.mp-tv-fullscreen .mp-tile-side-left .mp-tile-bar,
.mp-root.mp-tv-fullscreen .mp-tile-side-right .mp-tile-bar {
	width: 20px;
}

.mp-root.mp-is-spectator .mp-tile-side-left.mp-tile-has-houses .mp-tile-tokens,
.mp-root.mp-tv-fullscreen .mp-tile-side-left.mp-tile-has-houses .mp-tile-tokens {
	margin-left: 38px;
}

.mp-root.mp-is-spectator .mp-tile-side-right.mp-tile-has-houses .mp-tile-tokens,
.mp-root.mp-tv-fullscreen .mp-tile-side-right.mp-tile-has-houses .mp-tile-tokens {
	margin-right: 38px;
}

.mp-root.mp-is-spectator .mp-tile-side-top.mp-tile-has-houses .mp-tile-tokens,
.mp-root.mp-tv-fullscreen .mp-tile-side-top.mp-tile-has-houses .mp-tile-tokens {
	margin-top: 36px;
}

.mp-root.mp-is-spectator .mp-tile-side-bottom.mp-tile-has-houses .mp-tile-tokens,
.mp-root.mp-tv-fullscreen .mp-tile-side-bottom.mp-tile-has-houses .mp-tile-tokens {
	margin-bottom: 36px;
}

.mp-root.mp-is-spectator .mp-tile-name,
.mp-root.mp-tv-fullscreen .mp-tile-name {
	font-size: 11px;
	font-size: clamp(9.5px, 0.88vw, 12.5px);
	font-weight: 800;
	line-height: 1.05;
	flex-shrink: 0;
}

.mp-root.mp-is-spectator .mp-tile-price,
.mp-root.mp-tv-fullscreen .mp-tile-price {
	font-size: 10.5px;
	font-size: clamp(9.5px, 0.85vw, 12px);
	font-weight: 900;
	line-height: 1.05;
}

.mp-root.mp-is-spectator .mp-tile-status,
.mp-root.mp-tv-fullscreen .mp-tile-status {
	font-size: 8.5px;
	font-size: clamp(7.5px, 0.68vw, 9.5px);
	padding: 1px 4px;
	line-height: 1.05;
}

.mp-root.mp-is-spectator .mp-tile-owner-name,
.mp-root.mp-tv-fullscreen .mp-tile-owner-name {
	font-size: 8.5px;
	font-size: clamp(7.5px, 0.7vw, 10px);
	font-weight: 800;
	line-height: 1.05;
	color: #0f172a;
}

.mp-root.mp-is-spectator .mp-tile-corner .mp-tile-name,
.mp-root.mp-tv-fullscreen .mp-tile-corner .mp-tile-name {
	font-size: 13px;
	font-size: clamp(11px, 1vw, 15px);
}

.mp-root.mp-is-spectator .mp-tile-corner .mp-tile-icon,
.mp-root.mp-tv-fullscreen .mp-tile-corner .mp-tile-icon {
	font-size: 26px;
	font-size: clamp(20px, 1.9vw, 32px);
}

.mp-root.mp-is-spectator .mp-tile-corner .mp-tile-sub,
.mp-root.mp-tv-fullscreen .mp-tile-corner .mp-tile-sub {
	font-size: 11.5px;
	font-size: clamp(10px, 0.9vw, 13px);
}

.mp-root.mp-is-spectator .mp-tile-icon,
.mp-root.mp-tv-fullscreen .mp-tile-icon {
	font-size: 13px;
	font-size: clamp(11px, 1vw, 15px);
	line-height: 1;
}

.mp-root.mp-is-spectator .mp-utility-logo,
.mp-root.mp-tv-fullscreen .mp-utility-logo {
	width: 26px;
	height: 26px;
}

.mp-root.mp-is-spectator .mp-token-piece,
.mp-root.mp-tv-fullscreen .mp-token-piece {
	width: 40px;
	height: 40px;
	font-size: 24px;
	border-width: 3px;
}

.mp-root.mp-is-spectator .mp-token-name,
.mp-root.mp-tv-fullscreen .mp-token-name {
	font-size: 12px;
	padding: 2px 7px;
	max-width: 96px;
}

.mp-root.mp-is-spectator .mp-house-icon svg,
.mp-root.mp-tv-fullscreen .mp-house-icon svg {
	width: 28px;
	height: 28px;
}

.mp-root.mp-is-spectator .mp-tile-lots.mp-lots-count-4 .mp-house-icon svg,
.mp-root.mp-tv-fullscreen .mp-tile-lots.mp-lots-count-4 .mp-house-icon svg {
	width: 22px;
	height: 22px;
}

.mp-root.mp-is-spectator .mp-hotel-icon svg,
.mp-root.mp-tv-fullscreen .mp-hotel-icon svg {
	width: 38px;
	height: 38px;
}

.mp-root.mp-is-spectator .mp-step-counter-badge,
.mp-root.mp-tv-fullscreen .mp-step-counter-badge {
	min-width: 30px;
	height: 30px;
	font-size: 17px;
	line-height: 26px;
	top: -12px;
	right: -18px;
}

.mp-root.mp-is-spectator .mp-center-desktop-stack,
.mp-root.mp-tv-fullscreen .mp-center-desktop-stack {
	max-width: 540px;
}

.mp-root.mp-is-spectator .mp-turn-who,
.mp-root.mp-tv-fullscreen .mp-turn-who {
	font-size: 19px;
}

.mp-root.mp-is-spectator .mp-timer-pill,
.mp-root.mp-tv-fullscreen .mp-timer-pill {
	font-size: 16px;
	padding: 4px 12px;
}

.mp-root.mp-is-spectator .mp-die-wrap,
.mp-root.mp-tv-fullscreen .mp-die-wrap {
	--mp-die-size: 62px;
	--mp-die-half: 31px;
}

.mp-root.mp-is-spectator .mp-pip,
.mp-root.mp-tv-fullscreen .mp-pip {
	width: 10.5px;
	height: 10.5px;
}

.mp-root.mp-is-spectator .mp-center-logo,
.mp-root.mp-tv-fullscreen .mp-center-logo {
	font-size: 22px;
	padding: 4px 16px;
}

.mp-root.mp-is-spectator .mp-pot-pill,
.mp-root.mp-tv-fullscreen .mp-pot-pill {
	font-size: 15px;
	padding: 5px 14px;
}

.mp-root.mp-is-spectator .mp-deck-card,
.mp-root.mp-tv-fullscreen .mp-deck-card {
	width: 136px;
	height: 84px;
}

.mp-root.mp-is-spectator .mp-deck-title,
.mp-root.mp-tv-fullscreen .mp-deck-title {
	font-size: 10.5px;
}

.mp-root:fullscreen .mp-sidebar,
.mp-root:-webkit-full-screen .mp-sidebar,
.mp-root.mp-tv-fullscreen .mp-sidebar {
	min-height: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow: hidden;
}

.mp-root:fullscreen .mp-sidebar > .mp-panel:first-child,
.mp-root:-webkit-full-screen .mp-sidebar > .mp-panel:first-child,
.mp-root.mp-tv-fullscreen .mp-sidebar > .mp-panel:first-child {
	max-height: 45%;
	overflow-y: auto;
	flex-shrink: 0;
}

.mp-root:fullscreen .mp-sidebar > .mp-panel:nth-child(2),
.mp-root:-webkit-full-screen .mp-sidebar > .mp-panel:nth-child(2),
.mp-root.mp-tv-fullscreen .mp-sidebar > .mp-panel:nth-child(2) {
	display: none !important;
}

.mp-root:fullscreen .mp-sidebar-chat-panel,
.mp-root:-webkit-full-screen .mp-sidebar-chat-panel,
.mp-root.mp-tv-fullscreen .mp-sidebar-chat-panel {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.mp-root:fullscreen .mp-sidebar-chat-panel .mp-feed-box,
.mp-root:-webkit-full-screen .mp-sidebar-chat-panel .mp-feed-box,
.mp-root.mp-tv-fullscreen .mp-sidebar-chat-panel .mp-feed-box {
	flex: 1 1 auto;
	max-height: none;
	min-height: 0;
}

/* Title Deed Card inside Inspector Modal */
.mp-deed {
	background: #ffffff;
	color: #0f172a;
	border-radius: 12px;
	border: 2px solid #0f172a;
	overflow: hidden;
}

.mp-deed-header {
	padding: 14px;
	text-align: center;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
	border-bottom: 2px solid #0f172a;
}

.mp-deed-header small {
	display: block;
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: 0.9;
}

.mp-deed-header h4 {
	margin: 2px 0 0;
	font-size: 18px;
	font-weight: 900;
}

.mp-deed-body {
	padding: 14px 16px;
	font-size: 13px;
}

.mp-rent-table {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0;
}

.mp-rent-table td {
	padding: 4px 6px;
	border-bottom: 1px solid #e2e8f0;
}

.mp-rent-table td:last-child {
	text-align: right;
	font-weight: 700;
}

.mp-rent-table tr.mp-rent-active {
	background: #dcfce7;
	font-weight: 800;
}

/* Trade Builder */
.mp-trade-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.mp-trade-col {
	background: #0f172a;
	border: 1px solid var(--mp-border);
	border-radius: 10px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mp-trade-prop-list {
	max-height: 170px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.mp-trade-prop-item {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	padding: 4px 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
}

.mp-swatch {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	flex-shrink: 0;
}

/* My Properties list */
.mp-myprop-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	background: #0f172a;
	border: 1px solid var(--mp-border);
	border-radius: 10px;
}

.mp-myprop-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mp-myprop-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

/* Chance / Chest Card Reveal */
.mp-card-modal {
	text-align: center;
	padding: 26px 22px;
}

.mp-card-badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}

.mp-card-chance { background: #f97316; color: #fff; }
.mp-card-chest  { background: #0ea5e9; color: #fff; }
.mp-card-rent   { background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; }

/* Desktop vs Mobile Visibility Helpers */
.mp-mobile-only,
.mp-mobile-only-inline {
	display: none !important;
}

/* My Wallet / Personal Balance Bar (directly above the board) */
.mp-my-wallet-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(15, 23, 42, 0.92));
	border: 1.5px solid rgba(74, 222, 128, 0.45);
	border-radius: 12px;
	padding: 8px 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.mp-my-wallet-bar.mp-wallet-my-turn {
	border-color: #f59e0b;
	box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
}

.mp-my-wallet-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.mp-my-wallet-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	border: 2px solid #ffffff;
	flex-shrink: 0;
}

.mp-my-wallet-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
}

.mp-my-wallet-label {
	font-size: 11px;
	font-weight: 700;
	color: #cbd5e1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mp-my-wallet-amount-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.mp-my-wallet-amount {
	font-size: 20px;
	font-weight: 900;
	color: #4ade80 !important;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.2px;
}

.mp-wallet-delta {
	font-size: 12px;
	font-weight: 800;
	padding: 1px 6px;
	border-radius: 999px;
}

.mp-wallet-delta.mp-plus {
	background: rgba(74, 222, 128, 0.2);
	color: #86efac;
}

.mp-wallet-delta.mp-minus {
	background: rgba(248, 113, 113, 0.2);
	color: #fca5a5;
}

.mp-my-wallet-right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.mp-wallet-hint {
	font-size: 11.5px;
	color: var(--mp-muted);
}

/* Live Status Ticker Bar (right below My Wallet bar, above the board) */
.mp-status-ticker {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 7px 12px;
	border-radius: 10px;
	background: rgba(30, 41, 59, 0.92);
	border: 1.5px solid rgba(148, 163, 184, 0.3);
	font-size: 12.5px;
	line-height: 1.3;
	color: #f8fafc;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.mp-status-badge {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.25);
	color: #bfdbfe;
}

.mp-status-text {
	min-width: 0;
	flex: 1;
	font-weight: 600;
	color: #f1f5f9;
	word-break: break-word;
}

.mp-status-ticker.mp-status-good {
	border-color: rgba(74, 222, 128, 0.45);
	background: linear-gradient(135deg, rgba(22, 163, 74, 0.16), rgba(15, 23, 42, 0.92));
}
.mp-status-ticker.mp-status-good .mp-status-badge {
	background: rgba(34, 197, 94, 0.28);
	color: #bbf7d0;
}

.mp-status-ticker.mp-status-warn {
	border-color: rgba(251, 191, 36, 0.5);
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(15, 23, 42, 0.92));
}
.mp-status-ticker.mp-status-warn .mp-status-badge {
	background: rgba(245, 158, 11, 0.28);
	color: #fde68a;
}

.mp-status-ticker.mp-status-danger {
	border-color: rgba(248, 113, 113, 0.55);
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.18), rgba(15, 23, 42, 0.92));
}
.mp-status-ticker.mp-status-danger .mp-status-badge {
	background: rgba(239, 68, 68, 0.3);
	color: #fecaca;
}

.mp-status-ticker.mp-status-card {
	border-color: rgba(168, 85, 247, 0.5);
	background: linear-gradient(135deg, rgba(147, 51, 234, 0.18), rgba(15, 23, 42, 0.92));
}
.mp-status-ticker.mp-status-card .mp-status-badge {
	background: rgba(168, 85, 247, 0.3);
	color: #e9d5ff;
}

.mp-main-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.mp-center-desktop-stack {
	display: flex;
	flex-direction: column;
	flex: 0 1 auto;
	justify-content: center;
	align-items: center;
	gap: 10px;
	min-height: 0;
	width: 100%;
	max-width: 430px;
	margin: 0 auto;
	z-index: 2;
}

.mp-center-desktop-stack > * {
	width: 100%;
}

.mp-sidebar-chat-panel .mp-feed-box {
	min-height: 210px;
	max-height: 310px;
	border: 1px solid var(--mp-border);
}

.mp-topbar-title {
	font-size: 16px;
	font-weight: 800;
	color: #ffffff !important;
	letter-spacing: 0.2px;
}

.mp-root .mp-game-topbar strong,
.mp-root .mp-panel strong,
.mp-root .mp-waiting-wrap strong,
.mp-root .mp-waiting-header h2,
.mp-root .mp-room-card strong,
.mp-root .mp-modal strong,
.mp-root .mp-modal b {
	color: #ffffff !important;
}

.mp-root .mp-modal .mp-deed strong,
.mp-root .mp-modal .mp-deed b {
	color: #0f172a !important;
}

.mp-pass-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: monospace;
	font-size: 12px;
	font-weight: 800;
	background: rgba(245, 158, 11, 0.2);
	color: #fde68a !important;
	border: 1px solid rgba(251, 191, 36, 0.5);
	padding: 3px 9px;
	border-radius: 6px;
}

.mp-live-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(16, 185, 129, 0.18);
	color: #6ee7b7 !important;
	border: 1px solid rgba(16, 185, 129, 0.4);
	padding: 3px 8px;
	border-radius: 999px;
}

.mp-live-pill.mp-live-warn {
	background: rgba(245, 158, 11, 0.22);
	color: #fcd34d !important;
	border-color: rgba(245, 158, 11, 0.5);
}

.mp-endtime-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: monospace;
	font-size: 11.5px;
	font-weight: 800;
	background: rgba(59, 130, 246, 0.22);
	color: #bfdbfe !important;
	border: 1px solid rgba(96, 165, 250, 0.5);
	padding: 3px 9px;
	border-radius: 999px;
}

.mp-endtime-pill.mp-endtime-urgent {
	background: rgba(239, 68, 68, 0.25);
	color: #fecaca !important;
	border-color: rgba(248, 113, 113, 0.65);
}

.mp-standings-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
	margin-top: 8px;
}

.mp-standing-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 12px;
	background: #0f172a;
	border: 1px solid var(--mp-border);
	border-radius: 8px;
	font-size: 13px;
}

.mp-standing-row.mp-standing-first {
	border-color: #eab308;
	background: rgba(234, 179, 8, 0.14);
}

.mp-mobile-tile-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1.5px solid #0f172a;
	border-radius: 10px;
	overflow: hidden;
	width: 100%;
	max-width: 210px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
	cursor: pointer;
	text-align: center;
}

.mp-mobile-tile-stripe {
	height: 8px;
	width: 100%;
}

.mp-mobile-tile-info {
	padding: 6px 8px;
}

.mp-mobile-tile-title {
	font-size: 11px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
}

.mp-mobile-tile-sub {
	margin-top: 3px;
	font-size: 10px;
	color: #334155;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

/* Responsive — Tablet */
@media (max-width: 1080px) {
	.mp-game-layout {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		max-width: 100%;
	}
	.mp-game-layout > * {
		min-width: 0;
		max-width: 100%;
	}
	.mp-sidebar {
		order: -1;
		min-width: 0;
		max-width: 100%;
	}
	.mp-players-list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	}
}

/* Responsive — Mobile App-Style Layout */
@media (max-width: 820px) {
	.mp-root {
		padding: 10px;
		border-radius: 12px;
		margin: 8px auto;
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden;
	}

	.mp-desktop-only {
		display: none !important;
	}

	.mp-mobile-only {
		display: block !important;
	}

	.mp-mobile-only-inline {
		display: inline-flex !important;
	}

	.mp-my-wallet-bar {
		padding: 7px 10px;
		gap: 6px;
	}

	.mp-my-wallet-avatar {
		width: 28px;
		height: 28px;
		font-size: 14px;
	}

	.mp-my-wallet-amount {
		font-size: 17px;
	}

	.mp-my-wallet-right {
		gap: 6px;
	}

	.mp-main-col,
	.mp-sidebar,
	.mp-panel,
	.mp-mobile-controls,
	.mp-mobile-feed,
	.mp-board-scroll {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.mp-mobile-controls {
		display: flex !important;
		flex-direction: column;
		gap: 8px;
	}

	.mp-mobile-board-bar {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		font-size: 11px;
		color: var(--mp-muted);
		padding: 0 2px;
		width: 100%;
		max-width: 100%;
	}

	.mp-game-topbar {
		padding: 8px 10px;
		margin-bottom: 10px;
		gap: 8px;
		width: 100%;
		max-width: 100%;
	}

	.mp-topbar-title {
		font-size: 14px;
	}

	.mp-game-layout {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
		max-width: 100%;
	}

	.mp-main-col {
		order: 1;
	}

	.mp-sidebar {
		order: 2;
	}

	.mp-mobile-feed {
		order: 3;
	}

	.mp-panel {
		padding: 10px;
		overflow: hidden;
	}

	.mp-panel-title {
		margin-bottom: 8px;
		font-size: 11px;
	}

	/* Compact 2-column grid of clickable player pills on mobile (never clipped!) */
	.mp-players-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		overflow: visible;
		padding-bottom: 0;
		width: 100%;
		max-width: 100%;
	}

	.mp-player-card {
		min-width: 0;
		max-width: 100%;
		padding: 7px 8px;
	}

	.mp-player-ident {
		gap: 6px;
		width: 100%;
	}

	.mp-player-avatar {
		width: 26px;
		height: 26px;
		font-size: 14px;
	}

	.mp-player-uid {
		font-size: 12px;
	}

	.mp-player-mobile-meta {
		display: flex;
		align-items: center;
		gap: 6px;
		margin-top: 2px;
		font-size: 11px;
		line-height: 1.1;
	}

	.mp-player-mobile-money {
		font-weight: 900;
		color: #4ade80;
		font-variant-numeric: tabular-nums;
	}

	.mp-player-mobile-props {
		font-size: 10px;
		font-weight: 700;
		color: #cbd5e1;
		background: rgba(15, 23, 42, 0.75);
		padding: 1px 5px;
		border-radius: 999px;
		border: 1px solid rgba(148, 163, 184, 0.25);
	}

	.mp-player-sub,
	.mp-prop-chips-wrap,
	.mp-prop-chips-empty {
		display: none;
	}

	/* Mobile Turn Box — 100% full width, compact height so key game elements fit together */
	.mp-mobile-controls .mp-turn-box {
		padding: 9px 10px;
		gap: 6px;
		border-width: 2px;
		width: 100%;
		max-width: 100%;
		min-height: 168px;
	}

	.mp-mobile-controls .mp-turn-controls {
		min-height: 60px;
	}

	.mp-mobile-controls .mp-turn-who {
		font-size: 13.5px;
	}

	.mp-mobile-controls .mp-die-wrap {
		--mp-die-size: 46px;
		--mp-die-half: 23px;
	}

	.mp-mobile-controls .mp-action-buttons .mp-btn {
		flex: 1 1 auto;
		min-height: 40px;
	}

	/* Fit-to-screen full 40-tile board by default on mobile */
	.mp-board-scroll {
		overflow-x: hidden;
		padding-bottom: 0;
	}

	.mp-board-scroll.mp-scroll-active {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
	}

	.mp-board:not(.mp-board-zoomed) {
		min-width: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		aspect-ratio: var(--mp-ratio, 1);
		border-width: 2px;
		grid-template-columns: minmax(0, 1.35fr) repeat(var(--mp-cols, 9), minmax(0, 1fr)) minmax(0, 1.35fr);
		grid-template-rows: minmax(0, 1.35fr) repeat(var(--mp-rows, 9), minmax(0, 1fr)) minmax(0, 1.35fr);
	}

	/* Mobile Vertical / Portrait Tall Board Mode — stretches vertically for much bigger readable tiles! */
	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) {
		aspect-ratio: auto !important;
		height: 148vw !important;
		min-height: 520px !important;
		max-height: 78vh !important;
		grid-template-columns: minmax(0, 1.6fr) repeat(var(--mp-cols, 9), minmax(0, 1fr)) minmax(0, 1.6fr);
		grid-template-rows: minmax(0, 1.25fr) repeat(var(--mp-rows, 9), minmax(0, 1fr)) minmax(0, 1.25fr);
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-left .mp-tile-bar,
	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-right .mp-tile-bar {
		width: 6px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-top .mp-tile-bar,
	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-bottom .mp-tile-bar {
		height: 6px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-house-icon svg {
		width: 14px;
		height: 14px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-lots.mp-lots-count-4 .mp-house-icon svg {
		width: 11px;
		height: 11px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-hotel-icon svg {
		width: 18px;
		height: 18px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-left .mp-tile-name,
	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-right .mp-tile-name {
		font-size: 8px;
		line-height: 1.06;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-left .mp-tile-price,
	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-right .mp-tile-price {
		font-size: 8px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-top .mp-tile-name,
	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-side-bottom .mp-tile-name {
		font-size: 6.5px;
		line-height: 1.04;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-price {
		font-size: 7.5px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-utility-logo {
		width: 17px;
		height: 17px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-token-piece {
		width: 24px;
		height: 24px;
		font-size: 14px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-token-name {
		font-size: 7.5px;
		max-width: 46px;
	}

	.mp-board.mp-board-mobile-tall:not(.mp-board-zoomed) .mp-tile-mobile-tag {
		font-size: 7px;
		padding: 1px 3px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile {
		padding: 1px;
		min-width: 0;
		min-height: 0;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-bar {
		height: 4px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-side-left .mp-tile-bar,
	.mp-board:not(.mp-board-zoomed) .mp-tile-side-right .mp-tile-bar {
		width: 4px;
		height: 100%;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-lots {
		gap: 1px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-side-bottom .mp-tile-lots { margin-bottom: 1.5px; }
	.mp-board:not(.mp-board-zoomed) .mp-tile-side-top .mp-tile-lots    { margin-top: 1.5px; }
	.mp-board:not(.mp-board-zoomed) .mp-tile-side-left .mp-tile-lots   { margin-left: 1.5px; }
	.mp-board:not(.mp-board-zoomed) .mp-tile-side-right .mp-tile-lots  { margin-right: 1.5px; }

	.mp-board:not(.mp-board-zoomed) .mp-tile-body {
		padding: 1px;
		justify-content: space-between;
		gap: 0;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile .mp-tile-status,
	.mp-board:not(.mp-board-zoomed) .mp-tile .mp-tile-owner-name {
		display: none;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile:not(.mp-tile-corner) .mp-tile-name {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 6px;
		font-weight: 800;
		line-height: 1.02;
		letter-spacing: -0.15px;
		color: #0f172a;
		word-break: break-word;
		hyphens: auto;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-corner .mp-tile-icon {
		font-size: 13px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-corner .mp-tile-name {
		font-size: 6px;
		line-height: 1.02;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-corner .mp-tile-sub {
		font-size: 6px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-icon {
		font-size: 8.5px;
		line-height: 1;
	}

	.mp-board:not(.mp-board-zoomed) .mp-utility-logo {
		width: 12px;
		height: 12px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-price {
		font-size: 6.5px;
		line-height: 1;
	}

	.mp-board:not(.mp-board-zoomed) .mp-house-icon svg {
		width: 12px;
		height: 12px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-lots.mp-lots-count-4 .mp-house-icon svg {
		width: 9.5px;
		height: 9.5px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-hotel-icon svg {
		width: 16px;
		height: 16px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-step-counter-badge {
		min-width: 16px;
		height: 16px;
		font-size: 9.5px;
		line-height: 13px;
		padding: 0 3px;
		border-width: 1.5px;
		top: -7px;
		right: -9px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-owner-dot {
		display: none;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile.mp-tile-owned {
		box-shadow: inset 0 0 0 1.5px var(--mp-owner-color, #ef4444);
		background: #ffffff;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile.mp-tile-for-sale {
		box-shadow: inset 0 0 0 2px #eab308;
		background: #fefce8;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-mobile-tag {
		display: block;
		width: 100%;
		font-size: 6px;
		font-weight: 800;
		line-height: 1.15;
		padding: 1px 2px;
		border-radius: 2px;
		text-align: center;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-mobile-owned {
		color: #ffffff;
		text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
	}

	.mp-board:not(.mp-board-zoomed) .mp-tile-mobile-sale {
		background: #facc15;
		color: #713f12;
	}

	.mp-board:not(.mp-board-zoomed) .mp-token-name {
		font-size: 7px;
		padding: 0 3px;
		max-width: 38px;
		border-radius: 3px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-token-piece {
		width: 21px;
		height: 21px;
		font-size: 13px;
		border-width: 1.5px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-center-hub {
		padding: 8px;
		justify-content: center;
		align-items: center;
		gap: 8px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-center-top {
		flex-direction: column;
		gap: 4px;
		text-align: center;
	}

	.mp-board:not(.mp-board-zoomed) .mp-center-logo {
		font-size: 11px;
		letter-spacing: 1.4px;
		padding: 2px 8px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-deck-chest {
		top: 8px;
		left: 8px;
		transform: rotate(-16deg);
	}

	.mp-board:not(.mp-board-zoomed) .mp-deck-chance {
		bottom: 8px;
		right: 8px;
		transform: rotate(-16deg);
	}

	.mp-board:not(.mp-board-zoomed) .mp-deck-mat {
		padding: 2px;
		border-width: 1px;
		border-radius: 5px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-deck-card {
		width: 44px;
		height: 28px;
		border-width: 1.5px;
		border-radius: 4px;
		gap: 0;
		box-shadow: -1.5px 1.5px 0 #f8fafc, -2.5px 2.5px 4px rgba(15, 23, 42, 0.25);
	}

	.mp-board:not(.mp-board-zoomed) .mp-deck-icon {
		font-size: 10px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-deck-q {
		font-size: 13px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-deck-title {
		font-size: 4px;
		letter-spacing: 0.2px;
	}

	.mp-center-mobile-summary {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		gap: 6px;
		width: 100%;
		z-index: 2;
	}

	.mp-center-mobile-dice {
		background: rgba(255, 255, 255, 0.78);
		border: 1px solid rgba(15, 23, 42, 0.16);
		border-radius: 10px;
		padding: 5px 10px;
		box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
	}

	.mp-center-mobile-dice .mp-dice-row {
		gap: 10px;
		min-height: 48px;
		padding: 2px 0;
	}

	.mp-center-mobile-dice .mp-die-wrap {
		--mp-die-size: 40px;
		--mp-die-half: 20px;
	}

	.mp-center-mobile-dice .mp-die-face {
		padding: 4px;
		gap: 1px;
		border-radius: 8px;
		border-width: 2px;
	}

	.mp-center-mobile-dice .mp-pip {
		width: 6.5px;
		height: 6.5px;
	}

	.mp-center-mobile-dice .mp-die-shadow {
		width: 30px;
		height: 5px;
	}

	.mp-mobile-controls.mp-controls-no-dice .mp-dice-row {
		display: none !important;
	}

	.mp-mobile-controls.mp-controls-no-dice .mp-turn-box {
		min-height: 112px;
	}

	.mp-board:not(.mp-board-zoomed) .mp-pot-pill {
		font-size: 10px;
		padding: 2px 8px;
	}

	.mp-center-mobile-summary {
		display: flex !important;
		justify-content: center;
		width: 100%;
	}

	.mp-board.mp-board-zoomed {
		min-width: calc(720px * var(--mp-ratio, 1)) !important;
	}

	/* Mobile Feed & Chat — full width below board */
	.mp-mobile-feed .mp-feed-box {
		min-height: 135px;
		max-height: 210px;
	}

	.mp-form-row,
	.mp-trade-cols,
	.mp-board-mode-tabs,
	.mp-custom-sides-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.mp-game-topbar-right .mp-btn-lbl {
		display: none;
	}
	.mp-token-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 6px;
	}
	.mp-token-opt {
		padding: 6px 2px;
		font-size: 10px;
	}
	.mp-token-opt span {
		font-size: 18px;
	}
}

/* ==========================================================================
   CUSTOM BOARD BUILDER (CREATE ROOM MODAL)
   ========================================================================== */
.mp-board-mode-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.mp-board-mode-btn {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 2px solid var(--mp-border);
	background: #0f172a;
	color: #cbd5e1;
	cursor: pointer;
	text-align: left;
	transition: all 0.15s ease;
}

.mp-board-mode-btn:hover {
	border-color: #60a5fa;
	background: #172554;
}

.mp-board-mode-btn.mp-active {
	border-color: #22c55e;
	background: rgba(34, 197, 94, 0.14);
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.mp-board-mode-btn strong {
	font-size: 13px;
	color: #ffffff !important;
}

.mp-board-mode-btn span {
	font-size: 11px;
	color: var(--mp-muted);
}

.mp-custom-board-box {
	margin-top: 10px;
	padding: 12px;
	border-radius: 10px;
	background: rgba(15, 23, 42, 0.85);
	border: 1px solid rgba(139, 92, 246, 0.45);
}

.mp-custom-summary-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 8px;
	background: rgba(139, 92, 246, 0.16);
	border: 1px solid rgba(139, 92, 246, 0.35);
	font-size: 12px;
	color: #e2e8f0;
	margin-bottom: 10px;
}

.mp-custom-sides-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	max-height: 250px;
	overflow-y: auto;
	padding-right: 2px;
}

.mp-custom-side-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 8px;
	border-radius: 8px;
	background: rgba(30, 41, 59, 0.7);
	border: 1px solid var(--mp-border);
}

.mp-custom-side-title {
	font-size: 11.5px;
	font-weight: 800;
	color: #f8fafc;
	letter-spacing: 0.2px;
}

.mp-custom-slot-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mp-custom-slot-row input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 5px 8px;
	font-size: 12px;
	border-radius: 6px;
	border: 1px solid var(--mp-border);
	background: #0f172a;
	color: #ffffff;
}

.mp-custom-price-tag {
	flex-shrink: 0;
	padding: 3px 6px;
	border-radius: 6px;
	background: rgba(34, 197, 94, 0.16);
	border: 1px solid rgba(34, 197, 94, 0.35);
	color: #86efac;
	font-size: 11px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
	.mp-board-mode-tabs,
	.mp-custom-sides-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   AUTO-CLOSE COUNTDOWN BAR FOR EVENT MODALS (FORTUNA / ARCA / ALQUILER)
   ========================================================================== */
.mp-autoclose-track {
	width: 100%;
	height: 5px;
	margin-top: 14px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.22);
	overflow: hidden;
}

.mp-autoclose-fill {
	height: 100%;
	width: var(--mp-ac-start, 100%);
	border-radius: 999px;
	animation: mp-autoclose-shrink var(--mp-ac-ms, 5000ms) linear forwards;
}

.mp-fill-chance {
	background: linear-gradient(90deg, #f97316, #fb923c);
}

.mp-fill-chest {
	background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.mp-fill-rent {
	background: linear-gradient(90deg, #eab308, #facc15);
}

.mp-fill-jackpot {
	background: linear-gradient(90deg, #f59e0b, #fde047, #22c55e);
}

/* Parada Libre Jackpot Modal & Fireworks */
.mp-card-jackpot {
	background: linear-gradient(135deg, #f59e0b 0%, #eab308 50%, #f97316 100%);
	color: #0f172a;
	font-weight: 900;
	box-shadow: 0 4px 16px rgba(250, 204, 21, 0.5);
}

.mp-jackpot-modal {
	background: radial-gradient(circle at top, #1e3a8a 0%, #0f172a 70%) !important;
	border: 3px solid #facc15 !important;
	box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.35), 0 24px 60px rgba(0, 0, 0, 0.7) !important;
}

.mp-jackpot-who {
	display: flex;
	justify-content: center;
	margin: 6px 0 4px;
}

.mp-jackpot-av {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 3px solid #fde047;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	overflow: hidden;
	box-shadow: 0 0 22px rgba(250, 204, 21, 0.65);
}

.mp-jackpot-amount {
	font-size: 42px;
	font-weight: 900;
	color: #fde047;
	text-shadow: 0 3px 16px rgba(250, 204, 21, 0.65);
	line-height: 1.1;
	margin: 4px 0;
	font-variant-numeric: tabular-nums;
}

.mp-fw-spark {
	position: absolute;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	pointer-events: none;
	opacity: 1;
	-webkit-transition: -webkit-transform 1.15s cubic-bezier(0.15, 0.85, 0.35, 1), opacity 1.15s ease-out;
	transition: transform 1.15s cubic-bezier(0.15, 0.85, 0.35, 1), opacity 1.15s ease-out;
	will-change: transform, opacity;
}

.mp-fw-confetti {
	position: absolute;
	top: -10%;
	font-size: 34px;
	pointer-events: none;
	-webkit-animation: mp-fw-fall 3s ease-in forwards;
	animation: mp-fw-fall 3s ease-in forwards;
}

.mp-root.mp-tv-fullscreen .mp-fw-confetti,
.mp-root.mp-is-spectator .mp-fw-confetti {
	font-size: 52px;
}

@-webkit-keyframes mp-fw-fall {
	0%   { opacity: 0; -webkit-transform: translateY(0) rotate(0deg) scale(0.7); transform: translateY(0) rotate(0deg) scale(0.7); }
	12%  { opacity: 1; }
	85%  { opacity: 1; }
	100% { opacity: 0; -webkit-transform: translateY(95vh) rotate(360deg) scale(1.1); transform: translateY(95vh) rotate(360deg) scale(1.1); }
}

@keyframes mp-fw-fall {
	0%   { opacity: 0; transform: translateY(0) rotate(0deg) scale(0.7); }
	12%  { opacity: 1; }
	85%  { opacity: 1; }
	100% { opacity: 0; transform: translateY(95vh) rotate(360deg) scale(1.1); }
}

@keyframes mp-autoclose-shrink {
	from {
		width: var(--mp-ac-start, 100%);
	}
	to {
		width: 0%;
	}
}

/* ==========================================================================
   LEGACY SMART TV FALLBACK (Samsung Tizen 3.0 / Chrome 47 — No Grid, No CSS vars)
   ========================================================================== */
.mp-root.mp-legacy-tv {
	background: #0f172a !important;
	color: #f8fafc !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mp-legacy-tv .mp-lobby-header,
.mp-legacy-tv .mp-game-topbar,
.mp-legacy-tv .mp-room-card,
.mp-legacy-tv .mp-waiting-wrap,
.mp-legacy-tv .mp-sidebar-card,
.mp-legacy-tv .mp-modal,
.mp-legacy-tv .mp-empty-state,
.mp-legacy-tv .mp-my-wallet-bar {
	background: #1e293b !important;
	border: 1px solid #334155 !important;
	color: #f8fafc !important;
}

.mp-legacy-tv .mp-btn-primary { background: #3b82f6 !important; color: #ffffff !important; }
.mp-legacy-tv .mp-btn-success { background: #16a34a !important; color: #ffffff !important; }
.mp-legacy-tv .mp-btn-warn    { background: #f59e0b !important; color: #0f172a !important; }
.mp-legacy-tv .mp-btn-danger  { background: #ef4444 !important; color: #ffffff !important; }
.mp-legacy-tv .mp-btn-ghost   { background: #0f172a !important; color: #f8fafc !important; border: 1px solid #475569 !important; }
.mp-legacy-tv .mp-badge       { background: rgba(148, 163, 184, 0.22); color: #e2e8f0; margin-right: 6px; margin-bottom: 4px; }

.mp-legacy-tv .mp-lobby-actions > *,
.mp-legacy-tv .mp-game-topbar-right > * {
	margin-left: 6px;
}

.mp-legacy-tv .mp-game-topbar-left > * {
	margin-right: 8px;
}

.mp-legacy-tv .mp-rooms-grid {
	display: flex !important;
	flex-wrap: wrap !important;
}

.mp-legacy-tv .mp-room-card {
	width: 31%;
	min-width: 280px;
	margin: 0 12px 12px 0;
	box-sizing: border-box;
}

.mp-legacy-tv .mp-game-layout {
	display: flex !important;
	align-items: flex-start !important;
}

.mp-legacy-tv .mp-main-col {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: 100% !important;
}

.mp-legacy-tv .mp-sidebar {
	width: 310px !important;
	flex: 0 0 310px !important;
	margin-left: 12px;
}

.mp-legacy-tv .mp-sidebar.mp-sidebar-hidden {
	display: none !important;
}

.mp-legacy-tv .mp-board {
	display: block !important;
	position: relative !important;
	background: #d9ead3 !important;
	border: 3px solid #1e293b !important;
	min-width: 0 !important;
	overflow: hidden !important;
}

.mp-legacy-tv .mp-board.mp-board-square {
	width: calc(100vh - 185px) !important;
	height: calc(100vh - 185px) !important;
	max-width: 100% !important;
	margin: 0 auto !important;
}

.mp-legacy-tv .mp-board.mp-board-wide {
	width: 100% !important;
	height: calc(100vh - 185px) !important;
}

.mp-legacy-tv:fullscreen .mp-board.mp-board-square,
.mp-legacy-tv:-webkit-full-screen .mp-board.mp-board-square,
.mp-legacy-tv.mp-tv-fullscreen .mp-board.mp-board-square {
	width: calc(100vh - 114px) !important;
	height: calc(100vh - 114px) !important;
}

.mp-legacy-tv:fullscreen .mp-board.mp-board-wide,
.mp-legacy-tv:-webkit-full-screen .mp-board.mp-board-wide,
.mp-legacy-tv.mp-tv-fullscreen .mp-board.mp-board-wide {
	width: 100% !important;
	height: calc(100vh - 114px) !important;
}

.mp-legacy-tv .mp-tile {
	background: #f8fafc !important;
	border: 1px solid #334155 !important;
	color: #0f172a !important;
	overflow: visible !important;
}

.mp-legacy-tv .mp-board.mp-board-hopping {
	overflow: visible !important;
}

.mp-legacy-tv .mp-tile.mp-tile-active-player {
	z-index: 35 !important;
}

.mp-legacy-tv .mp-tile-body {
	overflow: hidden !important;
}

.mp-legacy-tv .mp-tile.mp-tile-owned {
	border-width: 2px !important;
}

.mp-legacy-tv .mp-tile-body {
	padding: 1px 2px !important;
	justify-content: space-around !important;
}

.mp-legacy-tv .mp-tile-side-top .mp-tile-bar,
.mp-legacy-tv .mp-tile-side-bottom .mp-tile-bar {
	height: 13px !important;
}

.mp-legacy-tv .mp-tile-side-left .mp-tile-bar,
.mp-legacy-tv .mp-tile-side-right .mp-tile-bar {
	width: 18px !important;
	height: 100% !important;
}

.mp-legacy-tv .mp-tile-lots {
	position: absolute !important;
	background: transparent !important;
	border: none !important;
}

.mp-legacy-tv .mp-tile-name {
	display: block !important;
	-webkit-line-clamp: initial !important;
	font-size: 10.5px !important;
	line-height: 1.04 !important;
	font-weight: 800;
	color: #0f172a;
	overflow: hidden;
	flex-shrink: 0;
}

.mp-legacy-tv .mp-tile-price {
	font-size: 10px !important;
	line-height: 1.04 !important;
	font-weight: 800;
	color: #1e293b;
}

.mp-legacy-tv .mp-tile-icon {
	font-size: 12px !important;
	line-height: 1 !important;
}

.mp-legacy-tv .mp-utility-logo {
	width: 22px !important;
	height: 22px !important;
}

.mp-legacy-tv .mp-tile-corner .mp-tile-icon {
	font-size: 24px !important;
}

.mp-legacy-tv .mp-tile-corner .mp-tile-name {
	font-size: 11.5px !important;
}

.mp-legacy-tv .mp-tile-status {
	font-size: 8px !important;
	padding: 0.5px 4px !important;
	line-height: 1.08 !important;
}

.mp-legacy-tv .mp-tile-owner-name {
	font-size: 8px !important;
	line-height: 1.04 !important;
}

/* Legacy Smart TV 3D Dice (explicit sizes, no CSS vars, no CSS Grid) */
.mp-legacy-tv .mp-dice-row {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 76px !important;
}

.mp-legacy-tv .mp-die-wrap {
	width: 58px !important;
	height: 66px !important;
	margin: 0 8px !important;
}

.mp-legacy-tv .mp-die-scene {
	width: 58px !important;
	height: 58px !important;
	-webkit-perspective: 280px;
	perspective: 280px;
}

.mp-legacy-tv .mp-die-cube {
	width: 58px !important;
	height: 58px !important;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.mp-legacy-tv .mp-die-face {
	width: 58px !important;
	height: 58px !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 6px !important;
	background: #ffffff !important;
	border: 2px solid #0f172a !important;
	border-radius: 10px !important;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.mp-legacy-tv .mp-pip {
	display: block !important;
	width: 10px !important;
	height: 10px !important;
	margin: 2px !important;
	border-radius: 50% !important;
	background: #0f172a !important;
}

.mp-legacy-tv .mp-face-1 { -webkit-transform: rotateY(0deg) translateZ(29px); transform: rotateY(0deg) translateZ(29px); }
.mp-legacy-tv .mp-face-6 { -webkit-transform: rotateY(180deg) translateZ(29px); transform: rotateY(180deg) translateZ(29px); }
.mp-legacy-tv .mp-face-3 { -webkit-transform: rotateY(90deg) translateZ(29px); transform: rotateY(90deg) translateZ(29px); }
.mp-legacy-tv .mp-face-4 { -webkit-transform: rotateY(-90deg) translateZ(29px); transform: rotateY(-90deg) translateZ(29px); }
.mp-legacy-tv .mp-face-2 { -webkit-transform: rotateX(90deg) translateZ(29px); transform: rotateX(90deg) translateZ(29px); }
.mp-legacy-tv .mp-face-5 { -webkit-transform: rotateX(-90deg) translateZ(29px); transform: rotateX(-90deg) translateZ(29px); }

.mp-legacy-tv .mp-die-cube.mp-show-1 { -webkit-transform: rotateX(0deg) rotateY(0deg); transform: rotateX(0deg) rotateY(0deg); }
.mp-legacy-tv .mp-die-cube.mp-show-2 { -webkit-transform: rotateX(-90deg) rotateY(0deg); transform: rotateX(-90deg) rotateY(0deg); }
.mp-legacy-tv .mp-die-cube.mp-show-3 { -webkit-transform: rotateX(0deg) rotateY(-90deg); transform: rotateX(0deg) rotateY(-90deg); }
.mp-legacy-tv .mp-die-cube.mp-show-4 { -webkit-transform: rotateX(0deg) rotateY(90deg); transform: rotateX(0deg) rotateY(90deg); }
.mp-legacy-tv .mp-die-cube.mp-show-5 { -webkit-transform: rotateX(90deg) rotateY(0deg); transform: rotateX(90deg) rotateY(0deg); }
.mp-legacy-tv .mp-die-cube.mp-show-6 { -webkit-transform: rotateX(0deg) rotateY(180deg); transform: rotateX(0deg) rotateY(180deg); }

.mp-legacy-tv .mp-turn-box {
	background: #ffffff !important;
	border: 2px solid #0f172a !important;
	color: #0f172a !important;
}

.mp-legacy-tv .mp-center-hub {
	background: #dcecd6 !important;
	color: #0f172a !important;
	padding: 12px !important;
}

.mp-legacy-tv .mp-form-group input,
.mp-legacy-tv .mp-form-group select {
	background: #0f172a !important;
	color: #ffffff !important;
	border: 1px solid #475569 !important;
}

.mp-legacy-tv .mp-token-grid {
	display: flex !important;
	flex-wrap: wrap !important;
}

.mp-legacy-tv .mp-token-opt {
	width: 22%;
	margin: 3px;
	background: #0f172a;
	color: #f8fafc;
	border: 2px solid #334155;
}

.mp-toast {
	background: #1e293b;
	color: #f8fafc;
	border: 1px solid #475569;
}

.mp-toast-error {
	background: #7f1d1d !important;
	border-color: #ef4444 !important;
	color: #ffffff !important;
}

.mp-toast-success {
	background: #14532d !important;
	border-color: #22c55e !important;
	color: #ffffff !important;
}

.mp-toast-warn {
	background: #78350f !important;
	border-color: #f59e0b !important;
	color: #fef3c7 !important;
}

/* ==========================================================================
   WEBRTC ROOM VOICE CHAT CONTROLS (TODO 🔊 ON/OFF + MIC + SPEAKING RING)
   ========================================================================== */
.mp-voice-bar {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	vertical-align: middle;
}

.mp-voice-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: 9px;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.4px;
	cursor: pointer;
	line-height: 1.1;
	transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
	user-select: none;
}

.mp-voice-pill:active {
	transform: scale(0.96);
}

.mp-voice-pill.mp-voice-off {
	background: linear-gradient(180deg, #432833 0%, #2d1b24 100%);
	border: 2px solid #b45353;
	color: #f8fafc;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.mp-voice-pill.mp-voice-off .mp-voice-state {
	color: #fca5a5;
}

.mp-voice-pill.mp-voice-on {
	background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
	border: 2px solid #86efac;
	color: #ffffff;
	box-shadow: 0 0 12px rgba(34, 197, 94, 0.45);
}

.mp-voice-pill.mp-voice-on .mp-voice-state {
	color: #dcfce7;
}

.mp-voice-ico {
	font-size: 14px;
	line-height: 1;
}

.mp-voice-count {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 19px;
	height: 19px;
	padding: 0 4px;
	border-radius: 999px;
	background: #ffffff;
	color: #0f172a;
	border: 2px solid #0f172a;
	font-size: 11px;
	font-weight: 900;
	line-height: 15px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.mp-voice-mic-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 30px;
	border-radius: 8px;
	border: 2px solid #475569;
	font-size: 14px;
	cursor: pointer;
	padding: 0;
	transition: transform 0.12s ease, background 0.15s ease;
}

.mp-voice-mic-btn.mp-mic-live {
	background: #166534;
	border-color: #4ade80;
	color: #ffffff;
}

.mp-voice-mic-btn.mp-mic-muted {
	background: #7f1d1d;
	border-color: #f87171;
	color: #fecaca;
}

.mp-speaking {
	box-shadow: 0 0 0 3px #22c55e, 0 0 14px rgba(34, 197, 94, 0.85) !important;
	animation: mp-voice-pulse 0.7s ease-in-out infinite alternate;
}

@keyframes mp-voice-pulse {
	from { box-shadow: 0 0 0 2.5px #22c55e, 0 0 8px rgba(34, 197, 94, 0.65); }
	to   { box-shadow: 0 0 0 4.5px #4ade80, 0 0 18px rgba(74, 222, 128, 0.95); }
}

@media (max-width: 480px) {
	.mp-voice-pill {
		padding: 4px 8px;
		font-size: 11px;
	}
	.mp-voice-mic-btn {
		width: 28px;
		height: 27px;
		font-size: 13px;
	}
}

/* ==========================================================================
   MOBILE VIEW SWITCHER: CARRIL | MANDO TV | TABLERO + RADAR (<= 820px ONLY)
   ========================================================================== */
@media (max-width: 820px) {
	.mp-board-scroll.mp-mobile-board-hidden {
		display: none !important;
	}

	.mp-mobile-view-tabs {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		width: 100%;
		background: rgba(15, 23, 42, 0.85);
		border: 1px solid rgba(148, 163, 184, 0.25);
		border-radius: 12px;
		padding: 5px;
	}

	.mp-mv-tab {
		appearance: none;
		border: 1px solid transparent;
		background: transparent;
		color: #cbd5e1;
		font-size: 12px;
		font-weight: 800;
		padding: 8px 6px;
		border-radius: 9px;
		cursor: pointer;
		text-align: center;
		white-space: nowrap;
		transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
	}

	.mp-mv-tab:active {
		transform: scale(0.97);
	}

	.mp-mv-tab.mp-active {
		background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
		border-color: #60a5fa;
		color: #ffffff;
		box-shadow: 0 3px 10px rgba(37, 99, 235, 0.4);
	}

	.mp-mobile-stage {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.mp-mobile-stage:empty {
		display: none !important;
	}

	/* --- VIEW 1: CARRIL HORIZONTAL --- */
	.mp-track-stage {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.mp-track-topbar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		flex-wrap: wrap;
		font-size: 13px;
		font-weight: 700;
		color: #e2e8f0;
		padding: 2px 4px;
	}

	.mp-track-title {
		color: #f8fafc !important;
		font-weight: 800;
	}

	.mp-track-title strong {
		color: #facc15 !important;
		font-weight: 900;
	}

	.mp-track-swipe-hint {
		font-size: 11px;
		color: #94a3b8;
		font-weight: 600;
	}

	.mp-track-strip {
		display: flex;
		align-items: stretch;
		gap: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		padding: 6px 4px 10px;
		background: rgba(15, 23, 42, 0.72);
		border: 1px solid rgba(148, 163, 184, 0.22);
		border-radius: 12px;
	}

	.mp-track-card {
		flex: 0 0 118px;
		min-height: 146px;
		scroll-snap-align: center;
		background: #f8fafc;
		color: #0f172a;
		border: 2px solid #334155;
		border-radius: 11px;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		cursor: pointer;
		position: relative;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
		transition: transform 0.15s ease, border-color 0.15s ease;
	}

	.mp-track-card-active {
		flex: 0 0 130px;
		border: 3px solid #f59e0b;
		box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35), 0 8px 18px rgba(0, 0, 0, 0.42);
		transform: translateY(-2px);
		z-index: 2;
	}

	.mp-track-card-danger {
		border-color: #f87171;
	}

	.mp-track-card-danger-high {
		border-color: #dc2626;
		box-shadow: 0 0 0 1.5px rgba(239, 68, 68, 0.45), 0 4px 12px rgba(220, 38, 38, 0.32);
	}

	.mp-track-danger {
		display: inline-block;
		margin-top: 2px;
		padding: 2px 6px;
		border-radius: 999px;
		background: #fee2e2;
		border: 1px solid #f87171;
		color: #b91c1c;
		font-size: 9.5px;
		font-weight: 900;
		line-height: 1.15;
		white-space: nowrap;
		font-variant-numeric: tabular-nums;
	}

	.mp-track-danger-high {
		background: #dc2626;
		border-color: #991b1b;
		color: #ffffff;
		box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
	}

	.mp-track-card-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 4px;
		padding: 5px 7px;
		color: #ffffff;
		font-size: 10.5px;
		font-weight: 900;
		border-bottom: 1.5px solid #0f172a;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
	}

	.mp-track-off {
		display: inline-block;
		padding: 1px 5px;
		border-radius: 999px;
		font-size: 9.5px;
		font-weight: 900;
		letter-spacing: 0.2px;
	}

	.mp-off-now {
		background: #facc15;
		color: #0f172a;
		text-shadow: none;
	}

	.mp-off-fwd {
		background: rgba(15, 23, 42, 0.45);
		color: #ffffff;
	}

	.mp-off-back {
		background: rgba(15, 23, 42, 0.35);
		color: #cbd5e1;
	}

	.mp-track-price {
		font-variant-numeric: tabular-nums;
		font-size: 10.5px;
		font-weight: 900;
	}

	.mp-track-lots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		padding: 4px 5px;
		background: #eef2f7;
		border-bottom: 1px dashed #cbd5e1;
		min-height: 22px;
	}

	.mp-track-slot {
		width: 16px;
		height: 15px;
		border: 1.5px dashed #94a3b8;
		border-radius: 3px;
		background: #ffffff;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 11px;
		line-height: 1;
	}

	.mp-track-slot-built {
		border-style: solid;
		border-color: #16a34a;
		background: #dcfce7;
	}

	.mp-track-hotel {
		font-size: 10px;
		font-weight: 900;
		color: #b91c1c;
		background: #fee2e2;
		border: 1px solid #ef4444;
		border-radius: 999px;
		padding: 1px 7px;
	}

	.mp-track-card-body {
		flex: 1 1 auto;
		padding: 7px 6px 6px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 4px;
	}

	.mp-track-name {
		font-size: 12px;
		font-weight: 900;
		color: #0f172a;
		line-height: 1.15;
		word-break: break-word;
	}

	.mp-track-icon {
		font-size: 20px;
		line-height: 1;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.mp-track-icon .mp-utility-logo {
		width: 24px;
		height: 24px;
		object-fit: contain;
	}

	.mp-track-card .mp-tile-status {
		font-size: 9px;
		padding: 2px 6px;
		max-width: 100%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.mp-track-tokens {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		gap: 4px;
		padding: 4px 6px 6px;
		background: rgba(15, 23, 42, 0.06);
		border-top: 1px solid #e2e8f0;
	}

	.mp-track-tok {
		position: relative;
		width: 26px;
		height: 26px;
		border-radius: 50%;
		border: 2px solid #ffffff;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		line-height: 1;
	}

	.mp-track-tok.mp-token-hopping {
		z-index: 12;
		-webkit-animation: mp-carril-hop 0.38s cubic-bezier(0.22, 0.85, 0.36, 1);
		animation: mp-carril-hop 0.38s cubic-bezier(0.22, 0.85, 0.36, 1);
	}

	@-webkit-keyframes mp-carril-hop {
		0%   { -webkit-transform: translate3d(-24px, 0, 0) scale(0.92); transform: translate3d(-24px, 0, 0) scale(0.92); }
		45%  { -webkit-transform: translate3d(-10px, -22px, 0) scale(1.26); transform: translate3d(-10px, -22px, 0) scale(1.26); box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45), 0 0 0 2.5px rgba(250, 204, 21, 0.8); }
		82%  { -webkit-transform: translate3d(0, 2px, 0) scale(1.14, 0.86); transform: translate3d(0, 2px, 0) scale(1.14, 0.86); }
		100% { -webkit-transform: translate3d(0, 0, 0) scale(1); transform: translate3d(0, 0, 0) scale(1); }
	}

	@keyframes mp-carril-hop {
		0%   { -webkit-transform: translate3d(-24px, 0, 0) scale(0.92); transform: translate3d(-24px, 0, 0) scale(0.92); }
		45%  { -webkit-transform: translate3d(-10px, -22px, 0) scale(1.26); transform: translate3d(-10px, -22px, 0) scale(1.26); box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45), 0 0 0 2.5px rgba(250, 204, 21, 0.8); }
		82%  { -webkit-transform: translate3d(0, 2px, 0) scale(1.14, 0.86); transform: translate3d(0, 2px, 0) scale(1.14, 0.86); }
		100% { -webkit-transform: translate3d(0, 0, 0) scale(1); transform: translate3d(0, 0, 0) scale(1); }
	}

	.mp-track-step-num {
		position: absolute;
		top: -6px;
		right: -7px;
		min-width: 17px;
		height: 17px;
		padding: 0 3px;
		border-radius: 999px;
		background: linear-gradient(135deg, #facc15, #f59e0b);
		color: #0f172a;
		border: 1.5px solid #0f172a;
		font-size: 10px;
		font-weight: 900;
		line-height: 14px;
		text-align: center;
	}

	/* --- VIEW 2: MANDO TV (HERO CARD) --- */
	.mp-ctrl-stage {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.mp-ctrl-hero {
		background: #f8fafc;
		color: #0f172a;
		border: 2px solid #334155;
		border-radius: 14px;
		overflow: hidden;
		cursor: pointer;
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
	}

	.mp-ctrl-hero-bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 8px 12px;
		color: #ffffff;
		font-size: 12px;
		font-weight: 900;
		border-bottom: 2px solid #0f172a;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
	}

	.mp-ctrl-step-pill {
		background: #facc15;
		color: #0f172a;
		text-shadow: none;
		padding: 2px 8px;
		border-radius: 999px;
		font-size: 11px;
		font-weight: 900;
	}

	.mp-ctrl-hero-body {
		padding: 12px;
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.mp-ctrl-hero-main {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.mp-ctrl-hero-icon {
		width: 46px;
		height: 46px;
		border-radius: 11px;
		background: #e2e8f0;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 26px;
		flex-shrink: 0;
	}

	.mp-ctrl-hero-icon .mp-utility-logo {
		width: 36px;
		height: 36px;
		object-fit: contain;
	}

	.mp-ctrl-hero-name {
		font-size: 18px;
		font-weight: 900;
		color: #0f172a;
		line-height: 1.15;
	}

	.mp-ctrl-hero-meta {
		margin-top: 4px;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 6px;
		font-size: 13px;
		color: #1e293b;
	}

	.mp-ctrl-hero-meta strong {
		color: #0f172a !important;
		font-size: 15px;
		font-weight: 900;
	}

	.mp-ctrl-lots {
		display: flex;
		align-items: center;
		gap: 7px;
		padding: 7px 10px;
		background: #eef2f7;
		border-radius: 10px;
		border: 1px dashed #cbd5e1;
	}

	.mp-ctrl-slot {
		width: 28px;
		height: 26px;
		border-radius: 6px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 17px;
		line-height: 1;
	}

	.mp-ctrl-slot-empty {
		border: 2px dashed #94a3b8;
		background: #ffffff;
	}

	.mp-ctrl-slot-built {
		border: 2px solid #16a34a;
		background: #dcfce7;
	}

	.mp-ctrl-hotel-pill {
		font-size: 12px;
		font-weight: 900;
		color: #b91c1c;
		background: #fee2e2;
		border: 1.5px solid #ef4444;
		border-radius: 999px;
		padding: 3px 10px;
	}

	.mp-ctrl-hero-footer {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		flex-wrap: wrap;
		padding-top: 8px;
		border-top: 1px solid #e2e8f0;
	}

	.mp-ctrl-here-tokens {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 5px;
	}

	.mp-ctrl-tok-chip {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		padding: 2px 7px 2px 2px;
		border-radius: 999px;
		border: 1.5px solid #94a3b8;
		background: #ffffff;
		font-size: 11px;
		font-weight: 800;
		color: #0f172a;
	}

	.mp-ctrl-tok-chip > span {
		width: 20px;
		height: 20px;
		border-radius: 50%;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 12px;
	}

	.mp-ctrl-tap-hint {
		font-size: 11px;
		font-weight: 700;
		color: #475569;
	}

	/* --- RADAR DE TODOS LOS JUGADORES --- */
	.mp-radar-box {
		background: rgba(15, 23, 42, 0.78);
		border: 1px solid rgba(148, 163, 184, 0.24);
		border-radius: 12px;
		padding: 9px;
		width: 100%;
	}

	.mp-radar-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		font-size: 11.5px;
		font-weight: 800;
		color: #cbd5e1;
		text-transform: uppercase;
		letter-spacing: 0.4px;
		margin-bottom: 8px;
	}

	.mp-radar-reset {
		background: rgba(59, 130, 246, 0.22);
		border: 1px solid rgba(96, 165, 250, 0.55);
		color: #bfdbfe;
		border-radius: 999px;
		padding: 2px 9px;
		font-size: 10.5px;
		font-weight: 800;
		cursor: pointer;
	}

	.mp-radar-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 7px;
	}

	.mp-radar-card {
		background: #1e293b;
		border: 1.5px solid rgba(148, 163, 184, 0.25);
		border-radius: 10px;
		padding: 7px 8px;
		display: flex;
		flex-direction: column;
		gap: 5px;
		cursor: pointer;
		min-width: 0;
		transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
	}

	.mp-radar-card:active {
		transform: scale(0.97);
	}

	.mp-radar-hint {
		font-size: 9.5px;
		font-weight: 700;
		color: #94a3b8;
		text-transform: none;
		letter-spacing: 0;
	}

	.mp-radar-viewing {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 20px;
		height: 20px;
		border-radius: 999px;
		background: #38bdf8;
		color: #0f172a;
		font-size: 10px;
		font-weight: 900;
		flex-shrink: 0;
	}

	.mp-radar-card.mp-radar-turn {
		border-color: #f59e0b;
		box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35);
	}

	.mp-radar-card.mp-radar-focused {
		border-color: #38bdf8;
		background: rgba(30, 58, 138, 0.38);
	}

	.mp-radar-top {
		display: flex;
		align-items: center;
		gap: 6px;
		min-width: 0;
	}

	.mp-radar-av {
		width: 26px;
		height: 26px;
		border-radius: 50%;
		border: 2px solid #ffffff;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		flex-shrink: 0;
	}

	.mp-radar-who {
		flex: 1 1 auto;
		min-width: 0;
		line-height: 1.15;
	}

	.mp-radar-name {
		font-size: 11.5px;
		font-weight: 800;
		color: #ffffff;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.mp-radar-sub {
		font-size: 10px;
		color: #94a3b8;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.mp-radar-pin {
		background: rgba(15, 23, 42, 0.75);
		border: 1px solid rgba(148, 163, 184, 0.35);
		color: #e2e8f0;
		border-radius: 7px;
		width: 24px;
		height: 24px;
		padding: 0;
		font-size: 12px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		flex-shrink: 0;
	}

	.mp-radar-loc {
		display: flex;
		align-items: center;
		gap: 5px;
		background: rgba(15, 23, 42, 0.72);
		border-radius: 7px;
		padding: 4px 6px;
		min-width: 0;
	}

	.mp-radar-dot {
		width: 9px;
		height: 9px;
		border-radius: 3px;
		flex-shrink: 0;
	}

	.mp-radar-tile {
		font-size: 11px;
		font-weight: 700;
		color: #f1f5f9;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		flex: 1 1 auto;
		min-width: 0;
	}

	.mp-radar-houses {
		font-size: 10px;
		flex-shrink: 0;
	}

	.mp-radar-owner {
		font-size: 9.5px;
		color: #94a3b8;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		padding-left: 2px;
	}
}

/* ==========================================================================
   CUSTOM PHOTO AVATARS & EXPANDED TOKEN PICKER
   ========================================================================== */
.mp-token-grid {
	grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
}

.mp-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.mp-turn-av {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
	overflow: hidden;
}

.mp-avatar-uploader {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: rgba(15, 23, 42, 0.85);
	border: 1.5px dashed rgba(96, 165, 250, 0.45);
	border-radius: 12px;
}

.mp-avatar-preview {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 2px solid #60a5fa;
	background: #1e293b;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	flex-shrink: 0;
	overflow: hidden;
}

.mp-avatar-upload-meta {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mp-avatar-upload-btns {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}

/* ==========================================================================
   QUICK REACTIONS (DIRECT BAR BELOW BOARD & GIANT FLYING EMOJIS ON TV / MOBILE)
   ========================================================================== */
.mp-react-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 6px 10px;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.85);
	border: 1px solid rgba(148, 163, 184, 0.25);
	flex-wrap: wrap;
}

.mp-react-bar-lbl {
	font-size: 11px;
	font-weight: 800;
	color: #cbd5e1;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.mp-react-bar-btns {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
}

.mp-root:fullscreen .mp-react-bar,
.mp-root:-webkit-full-screen .mp-react-bar,
.mp-root.mp-tv-fullscreen .mp-react-bar {
	flex: 0 0 auto;
	padding: 4px 10px;
}

.mp-react-pick {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: #1e293b;
	font-size: 21px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.mp-react-pick:hover {
	transform: scale(1.18);
	background: #334155;
	border-color: #facc15;
}

.mp-react-pick:active {
	transform: scale(0.92);
}

.mp-react-layer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	pointer-events: none;
	z-index: 100100;
	overflow: hidden;
}

.mp-react-bubble {
	position: absolute;
	bottom: 10%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	transform: translateX(-50%);
	pointer-events: none;
	-webkit-animation: mp-react-fly 3.3s ease-out forwards;
	animation: mp-react-fly 3.3s ease-out forwards;
	will-change: transform, opacity;
}

.mp-react-emoji {
	font-size: 62px;
	line-height: 1;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

.mp-root.mp-tv-fullscreen .mp-react-emoji,
.mp-root.mp-is-spectator .mp-react-emoji {
	font-size: 94px;
}

.mp-react-who {
	padding: 3px 11px;
	border-radius: 999px;
	color: #ffffff;
	border: 2px solid #ffffff;
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
	white-space: nowrap;
}

.mp-root.mp-tv-fullscreen .mp-react-who,
.mp-root.mp-is-spectator .mp-react-who {
	font-size: 18px;
	padding: 4px 16px;
}

@-webkit-keyframes mp-react-fly {
	0%   { opacity: 0; -webkit-transform: translate(-50%, 30px) scale(0.35); transform: translate(-50%, 30px) scale(0.35); }
	12%  { opacity: 1; -webkit-transform: translate(-50%, -20px) scale(1.2); transform: translate(-50%, -20px) scale(1.2); }
	24%  { opacity: 1; -webkit-transform: translate(-46%, -85px) scale(1); transform: translate(-46%, -85px) scale(1); }
	55%  { opacity: 1; -webkit-transform: translate(-54%, -260px) scale(1.06); transform: translate(-54%, -260px) scale(1.06); }
	82%  { opacity: 0.9; -webkit-transform: translate(-48%, -410px) scale(1); transform: translate(-48%, -410px) scale(1); }
	100% { opacity: 0; -webkit-transform: translate(-50%, -520px) scale(0.85); transform: translate(-50%, -520px) scale(0.85); }
}

@keyframes mp-react-fly {
	0%   { opacity: 0; transform: translate(-50%, 30px) scale(0.35); }
	12%  { opacity: 1; transform: translate(-50%, -20px) scale(1.2); }
	24%  { opacity: 1; transform: translate(-46%, -85px) scale(1); }
	55%  { opacity: 1; transform: translate(-54%, -260px) scale(1.06); }
	82%  { opacity: 0.9; transform: translate(-48%, -410px) scale(1); }
	100% { opacity: 0; transform: translate(-50%, -520px) scale(0.85); }
}

@media (max-width: 600px) {
	.mp-react-popover {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}
	.mp-react-pick {
		width: 34px;
		height: 34px;
		font-size: 19px;
	}
	.mp-react-emoji {
		font-size: 54px;
	}
}

/* Short landscape screens in Fullscreen (e.g. rotated phone/small laptop) */
@media (max-height: 620px) {
	.mp-root:fullscreen,
	.mp-root:-webkit-full-screen,
	.mp-root.mp-tv-fullscreen {
		overflow-y: auto !important;
		padding: 4px 8px !important;
	}
	.mp-root:fullscreen .mp-game-topbar,
	.mp-root:-webkit-full-screen .mp-game-topbar,
	.mp-root.mp-tv-fullscreen .mp-game-topbar {
		padding: 4px 8px !important;
		margin-bottom: 4px !important;
		gap: 4px !important;
	}
	.mp-root:fullscreen .mp-my-wallet-bar,
	.mp-root:-webkit-full-screen .mp-my-wallet-bar,
	.mp-root.mp-tv-fullscreen .mp-my-wallet-bar {
		padding: 3px 8px !important;
	}
	.mp-root:fullscreen .mp-status-ticker,
	.mp-root:-webkit-full-screen .mp-status-ticker,
	.mp-root.mp-tv-fullscreen .mp-status-ticker {
		padding: 4px 8px !important;
		font-size: 12px !important;
	}
}

/* ==========================================================================
   BANK LOANS MODAL & WALLET LOAN BADGE
   ========================================================================== */
.mp-loan-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(245, 158, 11, 0.22);
	border: 1px solid rgba(251, 191, 36, 0.65);
	color: #fde047;
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
	line-height: 1.25;
}

.mp-loan-pill:hover {
	background: rgba(245, 158, 11, 0.34);
}

.mp-bank-plans-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.mp-bank-plan-card {
	background: #0f172a;
	border: 2px solid rgba(148, 163, 184, 0.28);
	border-radius: 12px;
	padding: 12px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
}

.mp-bank-plan-card.mp-bank-plan-rec {
	border-color: #22c55e;
	background: linear-gradient(180deg, rgba(22, 163, 74, 0.14) 0%, #0f172a 75%);
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3);
}

.mp-bank-plan-tag {
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.18);
	color: #cbd5e1;
}

.mp-bank-plan-rec .mp-bank-plan-tag {
	background: rgba(34, 197, 94, 0.22);
	color: #86efac;
}

.mp-bank-plan-amt {
	font-size: 26px;
	font-weight: 900;
	color: #4ade80;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.mp-bank-plan-det {
	font-size: 11.5px;
	color: #cbd5e1;
	line-height: 1.45;
}

.mp-bank-active-box {
	background: #0f172a;
	border: 1.5px solid rgba(250, 204, 21, 0.45);
	border-radius: 12px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mp-bank-active-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 14px;
	font-weight: 800;
	color: #ffffff;
}

.mp-bank-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.mp-bank-progress-track {
	width: 100%;
	height: 8px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.22);
	overflow: hidden;
}

.mp-bank-progress-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #f59e0b, #4ade80);
	transition: width 0.25s ease;
}

@media (max-width: 640px) {
	.mp-bank-plans-grid {
		grid-template-columns: 1fr;
	}
}
