/* ---------------for questions editor--------------- */
#questionEditor{
	overflow: auto;
	white-space: nowrap;			
	border: 1px solid #ccc; 
	margin-bottom: 30px;
	line-height: 50px;
	text-align: left;
	font-size:32px;
	user-select: auto;
	-webkit-user-select: text;
	-webkit-user-modify: read-write;
}
#questionEditor img{
	display: inline-block;			
	position: relative;
	max-width: 50px;
	max-height: 50px;
	float: both;
	border: 1px dashed;
	margin: 0 15px;
	-moz-user-select: all;
	-webkit-user-select: auto;
}
#questionEditor div {
	display: block;
	position: relative;
	border-bottom: 1px dashed;
	width: 90%;
	clear: both;
	margin: 15px 1em;
	-moz-user-select: text;
	-webkit-user-select: text;
}
#questionOutput{
	overflow: auto;
	white-space: nowrap;			
	border: 2px dashed #ccc; 
	line-height: 20px;
	font-size: 14px;
	text-align: left;
	padding: 5px 1em 5px 1em;
	user-select: auto;
	-webkit-user-select: text;
}

#qs_content{
	position: absolute;
	top: 30px;
	left: 500px;
	justify-content: center;
}

/* --------------- 樂透主介面美化 --------------- */
body {
	background: linear-gradient(165deg, #e8eef5 0%, #dde5f0 35%, #e8ecf4 70%, #f0f4fa 100%);
	min-height: 100vh;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: radial-gradient(ellipse 80% 50% at 50% 120%, rgba(200,220,240,.25) 0%, transparent 50%),
	            radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,255,255,.4) 0%, transparent 45%);
	pointer-events: none;
	z-index: 0;
}
/* 遊戲區圓角與陰影（加強後方陰影層次） */
.lime-director {
	border-radius: 20px;
	box-shadow: 0 4px 6px rgba(0,0,0,.04),
	            0 12px 24px rgba(0,0,0,.06),
	            0 24px 48px rgba(0,0,0,.08),
	            0 0 0 1px rgba(255,255,255,.5) inset,
	            0 0 0 1px rgba(0,0,0,.06);
	overflow: hidden;
	position: relative;
	z-index: 1;
}
/* 按鈕 hover 回饋（DOM 按鈕） */
.lime-button {
	transition: filter .15s ease, transform .1s ease;
}
.lime-button:hover {
	filter: brightness(1.08);
}
.lime-button:active {
	transform: scale(0.98);
}

/* --------------- 抽號按鈕造型（紅色喜氣） --------------- */
#lotto-draw-btn {
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 4px rgba(255,255,255,.7),
	            0 0 0 6px rgba(234,179,8,.5),
	            0 0 20px rgba(220,38,38,.35),
	            0 4px 12px rgba(0,0,0,.15),
	            0 8px 24px rgba(0,0,0,.12);
	transition: box-shadow .25s ease, transform .2s ease;
}
#lotto-draw-btn:hover {
	box-shadow: 0 0 0 4px rgba(255,255,255,.9),
	            0 0 0 8px rgba(234,179,8,.6),
	            0 0 28px rgba(220,38,38,.45),
	            0 6px 20px rgba(0,0,0,.18),
	            0 12px 32px rgba(0,0,0,.14);
	transform: scale(1.04);
}
#lotto-draw-btn:active {
	box-shadow: 0 0 0 3px rgba(255,255,255,.6),
	            0 0 0 6px rgba(234,179,8,.45),
	            0 0 12px rgba(220,38,38,.3),
	            0 2px 8px rgba(0,0,0,.2);
	transform: scale(0.96);
}

/* --------------- 重新開始按鈕造型（喜氣金橘） --------------- */
#lotto-restart-btn {
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 4px rgba(255,255,255,.7),
	            0 0 0 6px rgba(234,179,8,.4),
	            0 4px 12px rgba(0,0,0,.15),
	            0 8px 24px rgba(0,0,0,.1);
	transition: box-shadow .25s ease, transform .2s ease;
}
#lotto-restart-btn:hover {
	box-shadow: 0 0 0 4px rgba(255,255,255,.9),
	            0 0 0 8px rgba(234,179,8,.55),
	            0 6px 20px rgba(0,0,0,.18);
	transform: scale(1.04);
}
#lotto-restart-btn:active {
	transform: scale(0.96);
}

