@import url(https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap);

@-moz-keyframes rotate {
	0% {
		-moz-transform: rotate(0deg);
		transform: rotate(0deg)
	}

	to {
		-moz-transform: rotate(1turn);
		transform: rotate(1turn)
	}
}

@-o-keyframes rotate {
	0% {
		-o-transform: rotate(0deg);
		transform: rotate(0deg)
	}

	to {
		-o-transform: rotate(1turn);
		transform: rotate(1turn)
	}
}

@keyframes rotate {
	0% {
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg)
	}

	to {
		-moz-transform: rotate(1turn);
		-o-transform: rotate(1turn);
		transform: rotate(1turn)
	}
}

:not(input, textarea, select) {
	-webkit-user-select: none;
	-webkit-touch-callout: none
}

* {
	-webkit-text-size-adjust: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

body,
html {
	font-family: Nunito Sans, 微軟正黑體, Microsoft JhengHei, Microsoft JhengHei UI, Microsoft YaHei, Microsoft YaHei UI, PingFang TC, Lantinghei TC, Heiti TC, Apple LiGothic, PMingLiU, Arial, sans-serif;
	font-size: 16px;
	height: 100%;
	line-height: 1.5;
	margin: 0;
	min-width: 320px;
	padding: 0;
	width: 100%
}

#app {
	background: -moz-linear-gradient(210deg, #ff462d .13%, #ff422f 26.19%, #ff3634 52.6%, #ff223c 79.08%, #ff0c45 100%);
	background: -o-linear-gradient(210deg, #ff462d .13%, #ff422f 26.19%, #ff3634 52.6%, #ff223c 79.08%, #ff0c45 100%);
	background: linear-gradient(240deg, #ff462d .13%, #ff422f 26.19%, #ff3634 52.6%, #ff223c 79.08%, #ff0c45);
	background-image: url("../../assets/images/bg%20jalan%20santai-01.51028f70.jpg");
	background-position: 50%;
	background-size: cover;
	color: #fff;
	display: -moz-box;
	display: flex;
	min-height: 100%;
	overflow: hidden;
	padding: 0 3.125rem;
	-moz-box-orient: vertical;
	-moz-box-direction: normal;
	flex-direction: column;
	-moz-box-align: center;
	align-items: center;
	-moz-box-pack: center;
	justify-content: center;
	--safe-area-inset-top: 0px;
	--safe-area-inset-right: 0px;
	--safe-area-inset-bottom: 0px;
	--safe-area-inset-left: 0px
}

@media only screen and (max-width:575px) {
	#app {
		padding: 0 5%
	}
}

@supports(top:constant(safe-area-inset-top)) {
	#app {
		--safe-area-inset-top: constant(safe-area-inset-top);
		--safe-area-inset-right: constant(safe-area-inset-right);
		--safe-area-inset-bottom: constant(safe-area-inset-bottom);
		--safe-area-inset-left: constant(safe-area-inset-left)
	}
}

@supports(top:env(safe-area-inset-top)) {
	#app {
		--safe-area-inset-top: env(safe-area-inset-top);
		--safe-area-inset-right: env(safe-area-inset-right);
		--safe-area-inset-bottom: env(safe-area-inset-bottom);
		--safe-area-inset-left: env(safe-area-inset-left)
	}
}

@supports(padding:max(0px)) {
	#app {
		padding: 0 max(3.125rem, var(--safe-area-inset-right)) 0 max(3.125rem, var(--safe-area-inset-left))
	}

	@media only screen and (max-width:575px) {
		#app {
			padding: 0 max(5%, var(--safe-area-inset-right)) 0 max(5%, var(--safe-area-inset-left))
		}
	}
}

.main {
	display: -moz-box;
	display: flex;
	-moz-box-orient: vertical;
	-moz-box-direction: normal;
	flex-direction: column;
	-moz-box-align: center;
	align-items: center;
	-moz-box-pack: center;
	justify-content: center;
	max-width: 1200px;
	padding: 3.125rem 0;
	width: 100%;
	-moz-box-flex: 1;
	flex: 1 1 0;
	min-height: -webkit-min-content;
	min-height: -moz-min-content;
	min-height: min-content
}

.footer {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: .75rem;
	padding: .3125rem;
	text-align: center;
	width: 100%;
	-moz-box-flex: 0;
	flex: 0 1 auto
}

a {
	color: hsla(0, 0%, 100%, .8);
	text-decoration: none
}

a:active,
a:focus,
a:hover {
	color: hsla(0, 0%, 100%, .9);
	text-decoration: underline
}

.align--right {
	text-align: right
}

.solid-button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #2e9100;
	border: none;
	border-radius: .625rem;
	box-shadow: .625rem .625rem 0 rgba(0, 0, 0, .2);
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.75rem;
	outline: none;
	padding: 1rem .625rem;
	text-align: center;
	text-decoration: none;
	white-space: nowrap
}

.solid-button:hover {
	background-color: #36ab00
}

.solid-button:disabled {
	cursor: not-allowed
}

.solid-button:disabled:hover {
	background-color: #2e9100
}

.solid-button--danger {
	background-color: #e54c23;
	color: #fff
}

.solid-button--danger:hover {
	background-color: #e85f3a
}

.solid-button--danger:disabled {
	cursor: not-allowed
}

.solid-button--danger:disabled:hover {
	background-color: #e54c23
}

.icon-button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: hsla(0, 0%, 100%, .8);
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 2.5rem;
	line-height: 1em;
	margin: 0;
	outline: none;
	padding: 0;
	text-align: center;
	text-decoration: none
}

.icon-button>svg {
	display: block;
	height: 1em;
	width: 1em
}

.icon-button:hover {
	color: hsla(0, 0%, 100%, .9)
}

.icon-button:disabled {
	cursor: not-allowed
}

.icon-button:disabled:hover {
	color: hsla(0, 0%, 100%, .9)
}

.icon-button--small {
	font-size: 1.5rem
}

.input-group {
	margin: 0 0 4rem
}

.input-group--2-column {
	display: -moz-box;
	display: flex;
	-moz-box-pack: justify;
	justify-content: space-between;
	-moz-box-align: center;
	align-items: center
}

.input-group--2-column .input-label {
	margin: 0
}

.input-label {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem
}

.input-field {
	background-color: #e8e8e8;
	border: none;
	border-radius: .25rem;
	box-shadow: .625rem .625rem 0 rgba(0, 0, 0, .2);
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #000;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.25em;
	outline: none;
	padding: 2px;
	width: 100%
}

.input-field:-moz-read-only {
	background-color: #e8e8e8;
	border: none;
	color: #000;
	cursor: not-allowed
}

.input-field:read-only {
	background-color: #e8e8e8;
	border: none;
	color: #000;
	cursor: not-allowed
}

.input-field::placeholder {
	color: #999
}

.input-field::-webkit-input-placeholder {
	color: #999
}

.input-field:-moz-placeholder,
.input-field::-moz-placeholder {
	color: #999
}

.input-field:-ms-input-placeholder {
	color: #999
}

.input-field::-ms-input-placeholder {
	color: #999
}

.input-field:-webkit-autofill,
.input-field:-webkit-autofill:active,
.input-field:-webkit-autofill:focus,
.input-field:-webkit-autofill:hover {
	background-clip: content-box !important;
	-webkit-box-shadow: inset 0 0 0 3.125rem #e8e8e8 !important;
	-webkit-text-fill-color: #000 !important
}

.input-field--textarea {
	max-width: 100%;
	min-width: 100%;
	resize: vertical
}

.input--switch {
	border-radius: 30px;
	display: inline-block;
	height: 30px;
	position: relative;
	width: 75px;
	-moz-box-flex: 0;
	box-shadow: .4375rem .4375rem 0 rgba(0, 0, 0, .2);
	flex: 0 0 75px;
	margin: 0 0 0 1rem
}

.input--switch .slider {
	background-color: #e8e8e8;
	border-radius: 30px;
	bottom: 0;
	cursor: pointer;
	left: 0;
	right: 0;
	top: 0
}

.input--switch .slider,
.input--switch .slider:before {
	position: absolute;
	-o-transition: .4s;
	-moz-transition: .4s;
	transition: .4s
}

.input--switch .slider:before {
	background-color: #666;
	border-radius: 24px;
	bottom: 3px;
	content: "";
	height: 24px;
	left: 3px;
	width: 24px
}

.input--switch input {
	height: 0;
	opacity: 0;
	width: 0
}

.input--switch input:checked+.slider:before {
	background-color: #e20035;
	-moz-transform: translateX(45px);
	-o-transform: translateX(45px);
	transform: translateX(45px)
}

#lucky-draw {
	text-align: center;
	z-index: 2
}

#lucky-draw,
.title {
	position: relative;
	width: 100%
}

.title {
	color: #2e9100;
	display: inline-block;
	height: auto;
	margin: 1.75rem 0 4.875rem;
	max-width: 31rem;
	z-index: 4
}

.title svg {
	display: block;
	height: auto;
	width: 100%
}

.title p {
	color: #fff;
	font-size: 3rem;
	line-height: 1;
	text-shadow: #2e9100 6px 0 0, #2e9100 5.91686px .995377px 0, #2e9100 5.66974px 1.96317px 0, #2e9100 5.2655px 2.87655px 0, #2e9100 4.71532px 3.71022px 0, #2e9100 4.03447px 4.44106px 0, #2e9100 3.24181px 5.04883px 0, #2e9100 2.35931px 5.51667px 0, #2e9100 1.41143px 5.83163px 0, #2e9100 .424423px 5.98497px 0, #2e9100 -.574341px 5.97245px 0, #2e9100 -1.55719px 5.79441px 0, #2e9100 -2.49688px 5.45578px 0, #2e9100 -3.36738px 4.96596px 0, #2e9100 -4.14455px 4.33852px 0, #2e9100 -4.80686px 3.59083px 0, #2e9100 -5.33596px 2.74364px 0, #2e9100 -5.71718px 1.8204px 0, #2e9100 -5.93995px .84672px 0, #2e9100 -5.99811px -.150428px 0, #2e9100 -5.89004px -1.14341px 0, #2e9100 -5.61874px -2.1047px 0, #2e9100 -5.19172px -3.00766px 0, #2e9100 -4.62082px -3.82727px 0, #2e9100 -3.92186px -4.54081px 0, #2e9100 -3.11421px -5.12852px 0, #2e9100 -2.22026px -5.57409px 0, #2e9100 -1.26477px -5.86518px 0, #2e9100 -.274238px -5.99373px 0, #2e9100 .723898px -5.95617px 0, #2e9100 1.70197px -5.75355px 0, #2e9100 2.63288px -5.39147px 0, #2e9100 3.49082px -4.87998px 0, #2e9100 4.25202px -4.23324px 0, #2e9100 4.89538px -3.46919px 0, #2e9100 5.40307px -2.60899px 0, #2e9100 5.76102px -1.67649px 0, #2e9100 5.95932px -.697531px 0
}

.control-group {
	position: absolute;
	right: 1rem;
	top: 1rem;
	--safe-area-inset-right: 0px
}

@supports(top:constant(safe-area-inset-top)) {
	.control-group {
		--safe-area-inset-right: constant(safe-area-inset-right)
	}
}

@supports(top:env(safe-area-inset-top)) {
	.control-group {
		--safe-area-inset-right: env(safe-area-inset-right)
	}
}

@supports(padding:max(0px)) {
	.control-group {
		right: max(1rem, var(--safe-area-inset-right))
	}
}

.control-group .icon-button {
	margin: 0 0 0 1.5rem
}

.slot {
	position: relative
	width:90vw;
}

.slot__outer {
	background: #2e9100 url(../../assets/images/light-blubs.cb7d2b28.svg);
	box-shadow: .625rem .625rem 0 rgba(0, 0, 0, .2);
	height: 12rem;
	margin: 0 auto;
	padding: 1.5rem;
	width: 100%;
    transform: unset;
	z-index: 3
}

.slot__inner,
.slot__outer {
	border-radius: 1.25rem;
	position: relative
}

.slot__inner {
	background-color: #fff;
	height: 100%;
	overflow: hidden;
	padding: 1rem;
	width: 100%
}

.slot__shadow {
	background: -moz-linear-gradient(top, hsla(0, 0%, 100%, .1) .13%, rgba(0, 0, 0, .1) 100%);
	background: -o-linear-gradient(top, hsla(0, 0%, 100%, .1) .13%, rgba(0, 0, 0, .1) 100%);
	background: linear-gradient(180deg, hsla(0, 0%, 100%, .1) .13%, rgba(0, 0, 0, .1));
	border-bottom-left-radius: 1.25rem;
	border-bottom-right-radius: 1.25rem;
	bottom: 0;
	height: 5.625rem;
	left: 0;
	position: absolute;
	width: 100%
}

.reel {
	width: 100%
}

.reel>div {
	color: #000;
	font-size: 2rem;
	font-weight: 700;
	height: 7.5rem;
	line-height: 7.5rem;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	-moz-transform: translateZ(0);
	transform: translateZ(0);
	white-space: nowrap;
}

#draw-button {
	margin: 5.5rem 0 0;
	max-width: 100%;
	position: relative;
	width: 22.5rem;
	z-index: 5
}

.settings {
	background-color: rgba(0, 0, 0, .6);
	content: " ";
	display: none;
	z-index: 9
}

.settings,
.settings__panel {
	height: 100%;
	position: fixed;
	right: 0;
	top: 0;
	width: 100%
}

.settings__panel {
	display: -moz-box;
	display: flex;
	z-index: 10;
	-moz-box-orient: vertical;
	-moz-box-direction: normal;
	flex-direction: column;
	-moz-box-pack: justify;
	justify-content: space-between;
	max-width: 33.125rem;
	overflow: auto;
	padding: 3.125rem 3.125rem 0;
	-webkit-overflow-scrolling: auto
}

.settings__panel__group:last-child {
	padding-bottom: 3.125rem
}

.settings__title {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 1.875rem
}

.settings #settings-close,
.settings #settings-save {
	display: block;
	margin: 1.875rem 0 0;
	width: 100%
}

.settings__panel {
	background-color: #e20035;
	color: #fff
}

.sunburst {
	display: none;
	height: 100vh;
	margin: -50vh 0 0 -50vw;
	overflow: hidden;
	pointer-events: none;
	width: 100vw;
	z-index: 0
}

.sunburst,
.sunburst>img {
	left: 50%;
	position: absolute;
	top: 50%
}

.sunburst>img {
	-moz-animation: rotate 10s linear infinite;
	-o-animation: rotate 10s linear infinite;
	animation: rotate 10s linear infinite;
	height: auto;
	margin: -50vmin 0 0 -50vmin;
	width: 100vmin
}

.confetti {
	height: 100%;
	left: 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1
}

@media(max-width:1599px) {
	.title {
		margin: 1.75rem 0 3.9rem;
		max-width: 24.8rem
	}
}

@media(max-width:1199px) {
	.title {
		margin: 1.75rem 0 3.2175rem;
		max-width: 20.46rem
	}
}

@media only screen and (min-width:576px)and (max-width:767px) {
	.title {
		margin: 1.75rem 0 2.4375rem;
		max-width: 15.5rem
	}
}

@media only screen and (max-width:575px) {
	.title {
		margin: 1.75rem 0 1.404rem;
		max-width: 8.928rem
	}
}

@media(max-width:1599px) {
	/*.slot {*/
	/*	height: 11.5rem;*/
	/*	margin: 0 auto;*/
	/*	width: 50rem*/
	/*}*/

	/*.slot__outer {*/
	/*	-moz-transform: scale(.8);*/
	/*	-o-transform: scale(.8);*/
	/*	transform: scale(.8);*/
	/*	-moz-transform-origin: top left;*/
	/*	-o-transform-origin: top left;*/
	/*	transform-origin: top left*/
	/*}*/
}

@media(max-width:1199px) {
	/*.slot {*/
	/*	height: 9.4875rem;*/
	/*	margin: 0 auto;*/
	/*	width: 41.25rem*/
	/*}*/

	/*.slot__outer {*/
	/*	-moz-transform: scale(.66);*/
	/*	-o-transform: scale(.66);*/
	/*	transform: scale(.66);*/
	/*	-moz-transform-origin: top left;*/
	/*	-o-transform-origin: top left;*/
	/*	transform-origin: top left*/
	/*}*/
}

@media only screen and (min-width:576px)and (max-width:767px) {
	/*.slot {*/
	/*	height: 7.1875rem;*/
	/*	margin: 0 auto;*/
	/*	width: 31.25rem*/
	/*}*/

	/*.slot__outer {*/
	/*	-moz-transform: scale(.5);*/
	/*	-o-transform: scale(.5);*/
	/*	transform: scale(.5);*/
	/*	-moz-transform-origin: top left;*/
	/*	-o-transform-origin: top left;*/
	/*	transform-origin: top left*/
	/*}*/
}

@media only screen and (max-width:575px) {
	/*.slot {*/
	/*	height: 4.14rem;*/
	/*	margin: 0 auto;*/
	/*	width: 18rem*/
	/*}*/

	/*.slot__outer {*/
	/*	-moz-transform: scale(.288);*/
	/*	-o-transform: scale(.288);*/
	/*	transform: scale(.288);*/
	/*	-moz-transform-origin: top left;*/
	/*	-o-transform-origin: top left;*/
	/*	transform-origin: top left*/
	/*}*/
}

@media(max-width:1599px) {
	#draw-button {
		border-radius: .5rem;
		box-shadow: .5rem .5rem 0 rgba(0, 0, 0, .2);
		font-size: 1.4rem;
		line-height: 1.4rem;
		margin: 4.4rem 0 0;
		padding: .8rem .5rem;
		width: 18rem
	}
}

@media(max-width:1199px) {
	#draw-button {
		border-radius: .4125rem;
		box-shadow: .4125rem .4125rem 0 rgba(0, 0, 0, .2);
		font-size: 1.155rem;
		line-height: 1.155rem;
		margin: 3.63rem 0 0;
		padding: .66rem .4125rem;
		width: 14.85rem
	}
}

@media only screen and (min-width:576px)and (max-width:767px) {
	#draw-button {
		border-radius: .3125rem;
		box-shadow: .3125rem .3125rem 0 rgba(0, 0, 0, .2);
		font-size: 1rem;
		line-height: 1rem;
		margin: 2.75rem 0 0;
		padding: .5rem .3125rem;
		width: 11.25rem
	}
}

@media only screen and (max-width:575px) {
	#draw-button {
		border-radius: .18rem;
		box-shadow: .18rem .18rem 0 rgba(0, 0, 0, .2);
		font-size: 1rem;
		line-height: 1rem;
		margin: 1.584rem 0 0;
		padding: .288rem .18rem;
		width: 6.48rem
	}

	.settings__panel {
		padding: 10% 10% 0
	}

	.settings__panel__group:last-child {
		padding-bottom: 10%
	}
}