.msw-wrap {
	--msw-text: #1f2330;
	--msw-muted: #6b7280;
	--msw-bg: #fff;
	--msw-border: #e5e7eb;
	--msw-radius: 16px;
	--msw-accent: #6366f1;
	--msw-accent-dark: #4f46e5;
	box-sizing: border-box;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 32px 24px;
	border-radius: var(--msw-radius);
	color: var(--msw-text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	position: relative;
	overflow: hidden;
	background: radial-gradient(circle at 12% 18%, rgba(236, 72, 153, .22), transparent 42%), radial-gradient(circle at 88% 22%, rgba(99, 102, 241, .22), transparent 42%), radial-gradient(circle at 78% 82%, rgba(20, 184, 166, .22), transparent 42%), radial-gradient(circle at 18% 78%, rgba(245, 158, 11, .2), transparent 42%), linear-gradient(135deg, #fafafa 0%, #f5f3ff 50%, #fdf4ff 100%);
}

.msw-wrap *, .msw-wrap *::before, .msw-wrap *::after {
	box-sizing: border-box;
}

@keyframes msw-shake {
	0%, 100% {
		transform: translateX(0);
	}
	
	20% {
		transform: translateX(-8px);
	}
	
	40% {
		transform: translateX(8px);
	}
	
	60% {
		transform: translateX(-6px);
	}
	
	80% {
		transform: translateX(6px);
	}
}

@keyframes msw-fadein {
	from {
		opacity: 0;
	}
	
	to {
		opacity: 1;
	}
}

@keyframes msw-pop {
	from {
		transform: scale(.85);
		opacity: 0;
	}
	
	to {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes msw-ball-pop {
	from {
		transform: scale(0);
		opacity: 0;
	}
	
	to {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes msw-flash {
	0%, 100% {
		opacity: 1;
	}
	
	50% {
		opacity: .25;
	}
}

.msw-lucky-banner-btn {
	display: inline-block;
	padding: 12px 28px;
	background: linear-gradient(135deg, #f59e0b, #ef4444);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	border-radius: 50px;
	letter-spacing: .3px;
	box-shadow: 0 4px 18px rgba(239, 68, 68, .4);
	animation: msw-banner-flash 1.2s ease-in-out infinite;
	transition: transform .15s ease, box-shadow .15s ease;
}

.msw-lucky-banner-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 24px rgba(239, 68, 68, .55);
	animation-play-state: paused;
	text-decoration: none;
	color: #fff;
}

@keyframes msw-banner-flash {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	
	50% {
		opacity: .78;
		transform: scale(1.03);
	}
}

.msw-result-panel {
	background: #f8f9fc;
	border: 1px solid #eef0f6;
	border-radius: 8px;
	padding: 12px;
	min-height: 100px;
}

.msw-result-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eef0f6;
}

.msw-result-titles {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.msw-result-game {
	font-size: 14px;
	font-weight: 800;
	color: #2d3436;
}

.msw-result-source {
	font-size: 11px;
	color: #95a5a6;
	font-weight: 600;
}

.msw-result-copy {
	background: #fff;
	border: 1px solid #e1e4ed;
	color: #636e72;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	flex-shrink: 0;
}

.msw-result-copy:hover {
	border-color: #6c5ce7;
	color: #6c5ce7;
}

.msw-result-plays {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.msw-result-play {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	background: #fff;
	border-radius: 6px;
	flex-wrap: wrap;
	border: 1px solid transparent;
	transition: border-color .18s ease, background .18s ease;
}

.msw-result-play-num {
	font-size: 11px;
	font-weight: 700;
	color: #95a5a6;
	flex: 0 0 42px;
}

.msw-result-balls {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
}

.msw-ball {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 6px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
}

.msw-ball-main {
	background: linear-gradient(135deg, #6c5ce7 0%, #5847d4 100%);
	box-shadow: 0 2px 4px rgba(108, 92, 231, .3), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.msw-ball-bonus {
	background: linear-gradient(135deg, #fdcb6e 0%, #f0932b 100%);
	color: #5d3500;
	box-shadow: 0 2px 4px rgba(240, 147, 43, .4), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.msw-ball-sep {
	color: #95a5a6;
	font-weight: 700;
	font-size: 14px;
	margin: 0 2px;
}

@keyframes msw-ball-pop {
	0% {
		transform: scale(0) rotate(-90deg);
		opacity: 0;
	}
	
	60% {
		transform: scale(1.18) rotate(0deg);
		opacity: 1;
	}
	
	100% {
		transform: scale(1) rotate(0deg);
	}
}

@media (max-width: 700px) {
	.msw-ball {
		min-width: 28px;
		height: 28px;
		font-size: 12px;
	}
}

.msw-result-desc {
	color: #00b894;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 10px;
	background: rgba(0, 184, 148, .08);
	border-left: 3px solid #00b894;
	border-radius: 4px;
	margin-bottom: 10px;
	line-height: 1.4;
}

.msw-social-icon svg {
	display: block;
}

.msw-lucky-banner-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f0f;
	color: #fff !important;
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .5px;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(255, 0, 255, .45);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	white-space: nowrap;
}

.msw-lucky-banner-btn:hover {
	background: #e600e6;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(255, 0, 255, .6);
}

@media (max-width: 720px) {
	.msw-lucky-banner-btn {
		width: 100%;
		justify-content: center;
	}
}

.msw-wrap {
	--c-bg-deep: #0a0e1a;
	--c-bg-mid: #111827;
	--c-bg-bright: #1a2035;
	--c-gold: #ffd700;
	--c-gold-dk: #d4af37;
	--c-gold-lt: #ffe680;
	--c-green: #00c853;
	--c-green-br: #00ff7d;
	--c-pink: #00b4d8;
	--c-magenta: #7b2fff;
	--c-text: #fff;
	--c-text-soft: #c4b5e0;
	--c-border: rgba(123, 47, 255, .35);
	--c-glass: rgba(10, 14, 26, .6);
	background: radial-gradient(ellipse at 10% 15%, rgba(123, 47, 255, .28) 0%, transparent 45%), radial-gradient(ellipse at 90% 10%, rgba(0, 229, 255, .18) 0%, transparent 40%), radial-gradient(ellipse at 85% 85%, rgba(255, 60, 172, .2) 0%, transparent 42%), radial-gradient(ellipse at 15% 85%, rgba(255, 215, 0, .14) 0%, transparent 42%), linear-gradient(160deg, #0a0e1a 0%, #111827 50%, #0d1220 100%);
	border-radius: 24px;
	padding: 28px;
	color: var(--c-text);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 0 1px rgba(123, 47, 255, .2);
	position: relative;
	overflow: hidden;
}

.msw-wrap > * {
	position: relative;
	z-index: 1;
}

.msw-lucky-banner-btn {
	display: inline-flex;
	align-items: center;
	background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
	color: #fff !important;
	box-shadow: 0 0 28px rgba(123, 47, 255, .55);
}

.msw-lucky-banner-btn:hover {
	box-shadow: 0 0 38px rgba(123, 47, 255, .75);
}

@keyframes msw-flash {
	0%, 100% {
		opacity: 1;
	}
	
	50% {
		opacity: .45;
	}
}

.msw-result-panel {
	background: rgba(10, 14, 26, .8);
	border: 1px solid rgba(123, 47, 255, .25);
}

.msw-result-empty, .msw-result-source {
	color: var(--c-text-soft);
}

.msw-result-game {
	color: #c4b5f8;
}

.msw-result-play {
	background: rgba(123, 47, 255, .08);
	border: 1px solid rgba(123, 47, 255, .2);
}

.msw-result-play-num {
	color: rgba(180, 150, 255, .8);
}

.msw-result-copy {
	background: transparent;
	color: #c4b5f8;
	border: 1px solid rgba(123, 47, 255, .5);
}

.msw-result-copy:hover {
	background: rgba(123, 47, 255, .2);
	color: #fff;
}

.msw-result-desc {
	background: rgba(0, 200, 83, .18);
	border-left-color: var(--c-green);
	color: var(--c-green-br);
	box-shadow: 0 0 14px rgba(0, 200, 83, .3);
	text-shadow: 0 0 8px rgba(0, 200, 83, .4);
}

.msw-ball-main {
	background: radial-gradient(circle at 30% 30%, #c4b5fd 0%, #7b2fff 40%, #3b0db0 100%);
	color: #fff;
	box-shadow: 0 4px 12px rgba(123, 47, 255, .5), inset 0 -3px 6px rgba(0, 0, 0, .3), inset 0 3px 6px rgba(255, 255, 255, .3);
	border: 2px solid rgba(123, 47, 255, .6);
}

.msw-ball-bonus {
	background: radial-gradient(circle at 30% 30%, #a5f3fc 0%, #00e5ff 40%, #0077b6 100%);
	color: #000;
	box-shadow: 0 4px 12px rgba(0, 229, 255, .5), inset 0 -3px 6px rgba(0, 0, 0, .25), inset 0 3px 6px rgba(255, 255, 255, .4);
	border: 2px solid rgba(0, 229, 255, .6);
}

.msw-ball-sep {
	color: rgba(180, 150, 255, .8);
}

@media (max-width: 720px) {
	.msw-wrap {
		padding: 18px;
		border-radius: 16px;
	}
}

.msw-today-wrap {
	max-width: 720px;
	margin: 32px auto;
}

.msw-today-top {
	text-align: center;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 215, 0, .3);
}

.msw-today-page-title {
	font-family: "Bebas Neue", "Poppins", sans-serif;
	font-size: 38px;
	line-height: 1.1;
	margin: 0 0 14px 0;
	letter-spacing: 1px;
	color: var(--c-gold);
	text-shadow: 0 0 22px rgba(255, 215, 0, .45);
}

.msw-today-date-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

.msw-today-date-label {
	color: var(--c-text-soft);
	font-weight: 600;
	font-size: 14px;
	display: inline-block;
}

.msw-today-wrap .msw-today-date-select {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	border: 1px solid rgba(255, 215, 0, .5);
	border-radius: 8px;
	padding: 10px 38px 10px 14px;
	font-size: 15px;
	font-family: inherit;
	cursor: pointer;
	min-width: 240px;
	height: auto;
	line-height: 1.3;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23FFD700' d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
}

.msw-today-wrap .msw-today-date-select:focus {
	outline: none;
	border-color: var(--c-gold);
	box-shadow: 0 0 0 3px rgba(255, 215, 0, .25);
}

.msw-today-wrap .msw-today-date-select option {
	background: #0a1628;
	color: #fff;
	padding: 8px;
}

.msw-today-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: opacity .18s ease;
}

.msw-today-wrap .msw-result-panel {
	padding: 16px 18px;
}

.msw-today-wrap .msw-result-game {
	font-size: 18px;
}

.msw-today-wrap .msw-result-source {
	font-size: 12px;
}

.msw-today-wrap .msw-result-play {
	padding: 10px 12px;
}

.msw-today-wrap .msw-ball {
	min-width: 36px;
	height: 36px;
	font-size: 14px;
}

.msw-today-disclaimer {
	margin-top: 26px;
	padding: 14px 16px;
	text-align: center;
	color: var(--c-text-soft);
	font-size: 13px;
	border-top: 1px solid rgba(255, 215, 0, .25);
}

.msw-today-disclaimer strong {
	color: var(--c-gold);
}

.msw-today-disclaimer-age {
	display: block;
	margin-top: 6px;
	color: #ff4d6d;
	font-weight: 800;
	letter-spacing: .5px;
}

@media (max-width: 640px) {
	.msw-today-wrap {
		margin: 16px;
	}
	
	.msw-today-page-title {
		font-size: 30px;
	}
	
	.msw-today-date-select {
		width: 100%;
		min-width: 0;
	}
	
	.msw-today-wrap .msw-ball {
		min-width: 30px;
		height: 30px;
		font-size: 12px;
	}
}

@keyframes msw-luck-dots {
	0%, 100% {
		opacity: 1;
	}
	
	50% {
		opacity: .2;
	}
}

@keyframes msw-vibe-no-glow {
	0%, 100% {
		filter: drop-shadow(0 0 14px rgba(239, 68, 68, .5));
	}
	
	50% {
		filter: drop-shadow(0 0 28px rgba(239, 68, 68, .9));
	}
}

@keyframes msw-vibe-bounce {
	0%, 80%, 100% {
		transform: translateY(0);
		opacity: .6;
	}
	
	40% {
		transform: translateY(-10px);
		opacity: 1;
	}
}