.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_active){
    display: none !important;
}
.moomi_lucky_wheel_content,
.moomi_lucky_wheel_content * {
    box-sizing: border-box;
}



@media screen and (-webkit-min-device-pixel-ratio: 0) {
    
}

[class^="moomi-"]:before, [class*=" moomi-"]:before,
[class^="moomi-"]:after, [class*=" moomi-"]:after {
    font-family:inherit;
    font-size: 20px;
    font-style: normal;
    margin: 0;
    padding: 0;
}

.moomi-location:before {
    content:"";
display:inline-block;width:1em;height:1em;background-color:currentColor!important;-webkit-mask:url("../images/icons/moomi-f100.svg") center/contain no-repeat;mask:url("../images/icons/moomi-f100.svg") center/contain no-repeat;}

.moomi-giftbox:before {
    content:"";
display:inline-block;width:1em;height:1em;background-color:currentColor!important;-webkit-mask:url("../images/icons/moomi-f101.svg") center/contain no-repeat;mask:url("../images/icons/moomi-f101.svg") center/contain no-repeat;}

.moomi-cancel:before {
    content:"";
    font-size: 22px;
    cursor: pointer;
display:inline-block;width:1em;height:1em;background-color:currentColor!important;-webkit-mask:url("../images/icons/moomi-f103.svg") center/contain no-repeat;mask:url("../images/icons/moomi-f103.svg") center/contain no-repeat;}

.moomi-wheel:before {
    content:"";
display:inline-block;width:1em;height:1em;background-color:currentColor!important;-webkit-mask:url("../images/icons/moomi-f104.svg") center/contain no-repeat;mask:url("../images/icons/moomi-f104.svg") center/contain no-repeat;}

/*Wheel Popup*/
.moomi_lucky_wheel_content {
    --moomi-viewport-bottom-offset: 0px;
    --moomi-wheel-size: 320px;
    --moomi-pointer-font-size: clamp(40px, calc(var(--moomi-wheel-size) * 0.25), 120px);
    --moomi-pointer-center-shift: clamp(14px, calc(var(--moomi-wheel-size) * 0.05), 22px);
    --moomi-pointer-center-shift-y: clamp(4px, calc(var(--moomi-wheel-size) * 0.018), 10px);
    --moomi-pointer-outside-font-size: clamp(36px, calc(var(--moomi-wheel-size) * 0.17), 112px);
    --moomi-pointer-outside-offset: clamp(18px, calc(var(--moomi-wheel-size) * 0.07), 54px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    padding: 30px 20px 20px 20px;
    height: 100%;
    margin-left: 0;
    width: 100%;
    justify-content: center;
    justify-items: center;
    background-image: linear-gradient(180deg, rgba(255, 238, 244, 0.42) 0%, rgba(253, 231, 239, 0.38) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 2px 0 11px #000;
    transition: transform .56s cubic-bezier(.22, .61, .36, 1), opacity .42s ease, visibility 0s linear .56s;
    will-change: transform, opacity;
}

.moomi_lucky_wheel_content.lucky_wheel_content_show {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
    transition: transform .56s cubic-bezier(.22, .61, .36, 1), opacity .42s ease, visibility 0s linear 0s;
}

.piece_wheel {
    margin: 0;
}

.wheel_spin, .wheel_spin_container {
    border-radius: 50%;
    align-items: center;
}
.lucky_wheel_content_tablet .moomi-hide-after-spin,
.lucky_wheel_content_tablet .moomi-close-wheel,
.moomi_lucky_wheel_content_mobile .moomi-hide-after-spin,
.moomi_lucky_wheel_content_mobile .moomi-close-wheel{
    right: 12px;
    top: 12px;
}

/* v11: Place close button INSIDE popup (top-right) + make it more "icon-like" */
.moomi-close-wheel, .moomi-hide-after-spin {
    position: absolute;
    bottom: unset;
    line-height: 1;
    right: 12px;
    cursor: pointer;
    z-index: 100;
    top: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    border-radius: 999px;
    box-shadow: none;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.moomi-close-wheel:hover, .moomi-hide-after-spin:hover {
    transform: rotate(90deg) scale(1.03);
    background: #fff;
    box-shadow: none;
}

.moomi-close-wheel .moomi-cancel:before,
.moomi-hide-after-spin .moomi-cancel:before {
    content: "✕";
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    color: #5a2a3e;
    cursor: pointer;
}

.moomi-hide-after-spin {
    display: none;
}

.moomi-hide-after-spin.moomi-visible {
    display: flex !important;
}

.moomi-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.wheel_content_right .moomi_user_lucky {
    padding: 0 10px;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto;
}

.moomi_lucky_wheel_content.moomi-finish-spinning .wheel-content-wrapper .wheel_content_right .moomi_user_lucky {
    max-width: unset !important;
}

.wheel_content_right ul,
.wheel_content_right ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.moomi-show-again-option {
    padding: 10px 10px 10px 0;
    font-weight: 600;
    display: flex;
    justify-content: left;
}

.moomi-show-again-option > div:last-child {
    padding-right: 0;
}

.moomi-show-again-option > div {
    text-align: left;
    padding: 0 20px 0 0;
}

.moomi-close span,
.moomi-reminder-later span,
.moomi-never-again span {
    font-weight: 300;
    font-size: 16px;
    font-style: italic;
    cursor: pointer;
}

.moomi-close a:hover,
.moomi-reminder-later a:hover,
.moomi-never-again a:hover {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: underline;
}

.moomi_user_lucky .moomi_field_mobile_wrap,
.moomi_user_lucky .moomi_field_name_wrap,
.moomi_user_lucky .moomi_field_email_wrap {
    width: 100%;
    text-align: center;
    margin: 10px 0;
    position: relative !important;
    display: inline-block;
}

.moomi_lucky_wheel_content .moomi_field_input {
    margin: 0;
    max-width: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    outline: 0;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    text-align: left;
    line-height: 1;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid rgba(34, 36, 38, .15);
    color: rgba(0, 0, 0, .87);
    border-radius: .28571429rem;
    -webkit-transition: border-color .1s ease, -webkit-box-shadow .1s ease;
    transition: border-color .1s ease, -webkit-box-shadow .1s ease;
    transition: box-shadow .1s ease, border-color .1s ease;
    transition: box-shadow .1s ease, border-color .1s ease, -webkit-box-shadow .1s ease;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    font-weight: 300;
}

.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .moomi_user_lucky {
    padding: 0 10px;
    font-size: 16px;
}

.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .moomi_user_lucky .moomi_field_input {
    line-height: 1.5;
    padding: 5px 10px;
}

.wheel_content_right > .moomi_user_lucky > .moomi_spin_button {
    border-radius: 3px;
    font-size: 22px;
    cursor: pointer;
    margin: 10px 0 0;
    display: inline-block;
    padding: 10px 20px;
    font-weight: 300;
    opacity: 1;
    -webkit-box-shadow: 0 0 0 0 rgba(34, 36, 38, .15) inset;
    box-shadow: 0 0 0 0 rgba(34, 36, 38, .15) inset;
    -webkit-box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, .15) inset;
    box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, .15) inset;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: opacity .2s ease, background-color .2s ease, color .2s ease, background .2s ease, -webkit-box-shadow .2s ease;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease, background .2s ease, -webkit-box-shadow .2s ease;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, background .2s ease;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, background .2s ease, -webkit-box-shadow .2s ease;
    will-change: "";
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    box-sizing: border-box;
    line-height: 1;
}

.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .moomi_user_lucky .moomi_spin_button {
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.wheel_content_right > .moomi_user_lucky > .moomi_spin_button:hover {
    opacity: 0.9;
}

.wheel_description {
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
}

.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .wheel_description h1,
.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .wheel_description h2,
.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .wheel_description h3,
.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .wheel_description h4,
.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .wheel_description h5,
.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .wheel_description h6 {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5em;
    margin: 0;
    padding: 0;
}

.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .wheel_description ol,
.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .wheel_description ul {
    margin-bottom: 5px;
}

.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right .moomi-show-again-option {
    padding-top: 0;
}

.moomi-required-field {
    border: 1px solid red !important;
}

.moomi_error_field{
    position: relative;
    display: block !important;
    font-size: 13px;
    line-height: 1.3;
    left: 0;
    bottom: 0;
    margin-top: 6px;
    border-radius: 5px;
    color: inherit;
    text-align: left;
    word-break: break-word;
}
.moomi_error_field:empty{display:none;margin-top:0;}


.moomi_mail_note {
    font-size: 14px;
}

/*popup*/
.moomi_wheel_icon {
    display: flex;
}

.moomi-box {
    align-self: flex-end;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    margin: 0 auto 0 auto;
    transform-origin: bottom;
}

.moomi_wheel_icon {
    position: fixed;
    z-index: 99999;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: all 2s ease;
}

.moomi_wheel_icon.moomi-wheel-position-top-left {
    top: 24px;
    left: 24px;
    margin-left: -100%;
}

.moomi_wheel_icon.moomi-wheel-position-top-right {
    top: 24px;
    right: 24px;
    margin-right: -100%;
}

.moomi_wheel_icon.moomi-wheel-position-bottom-left {
    bottom: 24px;
    left: 24px;
    margin-left: -100%;
}

.moomi_wheel_icon.moomi-wheel-position-bottom-right {
    bottom: 24px;
    right: 24px;
    margin-right: -100%;
}

.moomi_wheel_icon.moomi-wheel-position-middle-left {
    bottom: 45%;
    left: 24px;
    margin-left: -100%;
}

.moomi_wheel_icon.moomi-wheel-position-middle-right {
    bottom: 45%;
    right: 24px;
    margin-right: -100%;
}

.moomi_wheel_icon.moomi-wheel-position-top-right.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-middle-right.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-bottom-right.moomi_show {
    margin-right: 0;
    transform: rotate(-1801deg);
}

.moomi_wheel_icon.moomi-wheel-position-top-left.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-middle-left.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-bottom-left.moomi_show {
    margin-left: 0;
    transform: rotate(1801deg);
}

.wheel-content-wrapper {
    display: flex;
    font-size: 0;
    width: 100%;
    align-items: center;
    height: 100%;
}

.wheel-content-wrapper .wheel_content_left {
    display: inline-block;
    margin-left: -30%;
    position: relative;
    width: 48%;
}

.moomi_lucky_wheel_content.lucky_wheel_content_tablet.moomi_spin_bottom .wheel-content-wrapper .wheel_content_left {
    margin-top: -20px;
    margin-bottom: 20px;
}

.wheel-content-wrapper .wheel_spin_container {
    position: absolute;
    text-align: center;
    vertical-align: middle;
    /*display: table;*/
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 0 0 0 9%;
    display: flex;
}

.wheel-content-wrapper .moomi_pointer_content {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.wheel-content-wrapper .wheel_content_right {
    z-index: 99;
    position: relative;
    padding: 10px;
    display: inline-block;
    vertical-align: top;
    min-height: 70%;
}

.wheel_spin {
    position: relative;
    margin: 0 auto;
}

/*Position top*/
.moomi_spin_top .wheel_content_left {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg)
;}

.canvas_spin_top {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.wheel_spin_container .moomi_pointer_content .moomi_pointer.pointer_spin_top:before {
    text-shadow: 4px 2px 0 rgba(0, 0, 0, 0.2);
}

.wheel_spin .wheel_spin_container .moomi_pointer_content .moomi_pointer.pointer_spin_top:after {
    box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.2);
}

/*Position bottom*/
.moomi_spin_bottom .wheel_content_left {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg)
;}

.canvas_spin_bottom {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.wheel_spin_container .moomi_pointer_content .moomi_pointer.pointer_spin_bottom:before {
    text-shadow: -4px -2px 0 rgba(0, 0, 0, 0.2);
}

.wheel_spin .wheel_spin_container .moomi_pointer_content .moomi_pointer.pointer_spin_bottom:after {
    box-shadow: -1px -2px 0 rgba(0, 0, 0, 0.2);
}

.moomi_margin_position .wheel-content-wrapper .wheel_spin_container {
    padding: 0 0 1% 97%;
}

.moomi_margin_position .moomi_pointer:before {
    text-shadow: 4px -2px 0 rgba(0, 0, 0, 0.2);
}

.moomi_margin_position .wheel-content-wrapper .wheel_spin_container .moomi_pointer_content {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    line-height: 1;
}

.moomi_pointer:before {
    text-shadow: -4px 2px 0 rgba(0, 0, 0, 0.2);
    font-size: 55px;
}

.moomi_pointer {
    position: relative;
    -moz-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -o-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform:translateY(0%);
}

.moomi_margin_position .wheel_spin_container .moomi_pointer_content .moomi_pointer:after {
    content: "";
    position: absolute;
    background-color: #fff;
    width: 20px;
    height: 20px;
    bottom: 20px;
    left: 30%;
    box-shadow: 1px -2px 3px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

/*@media screen and (max-width: 768px) {*/
/*.wheel-content-wrapper .wheel_content_left {*/
/*margin: 0;*/
/*}*/

/*.wheel-content-wrapper .wheel_content_right {*/
/*width: 100%;*/
/*}*/
/*}*/

.moomi-frontend-result {
    padding: 10px;
    font-size: 18px;
    font-weight: 300;
}

/*button loading*/
.wheel_content_right .moomi_user_lucky .moomi_chek_mail.moomi-adding {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    -webkit-transition: all 0s linear, opacity .1s ease;
    transition: all 0s linear, opacity .1s ease;
    color: transparent !important;
}

.wheel_content_right .moomi_user_lucky .moomi_chek_mail.moomi-adding:after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    width: 1.28571429em;
    height: 1.28571429em;
    -webkit-animation: button-spin .6s linear;
    animation: button-spin .6s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    border-radius: 500rem;
    border-color: #fff transparent transparent;
    border-style: solid;
    border-width: .2em;
    box-shadow: 0 0 0 1px transparent;
}

.wheel_content_right .moomi_user_lucky .moomi_chek_mail.moomi-adding:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    width: 1.28571429em;
    height: 1.28571429em;
    border-radius: 500rem;
    border: .2em solid rgba(0, 0, 0, .15);
}

@keyframes button-spin {
    from {
        -webkit-transform: translate(-50%, -50%) rotate(0);
        transform: translate(-50%, -50%) rotate(0)
    }
    to {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

#moomi_canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    display: block;
    vertical-align: middle;
}

#moomi_canvas1 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    display: block;
    vertical-align: middle;
    box-shadow: 4px 8px 0 rgba(0, 0, 0, 0.3);
}

#moomi_canvas2 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    display: block;
    vertical-align: middle;
}

.moomi-html {
    overflow: hidden;
}

/* v16: stronger page scroll lock when popup is open (fix iOS/Android scroll chaining) */
.moomi-html, .moomi-html body {
    overflow: hidden !important;
}
.moomi-body-lock {
    position: fixed !important;
    overflow: hidden !important;
    width: 100% !important;
    left: 0;
    right: 0;
}
/* Prevent scroll chaining/bounce from the popup to the page behind */
.moomi_lucky_wheel_content {
    overscroll-behavior: contain;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
}
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile {
    overscroll-behavior: contain;
}

/*for mobile*/
.moomi_user_lucky_spinning {
    max-height: 0 !important;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .moomi_user_lucky {
    padding: 0;
    margin: 10px;
    font-size: 16px;
    overflow: hidden;
    transition: max-height 1s;
    position: relative;
    z-index: 99;
    max-height: 500px;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .moomi_user_lucky .moomi_field_input {
    line-height: 1.5;
    padding: 5px 10px;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .moomi_user_lucky .moomi_spin_button {
    padding: 10px;
    font-size: 16px;
}

.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_description h1 {
    font-size: 18px;
}

.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_description h2 {
    font-size: 17px;
}

.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_description h3 {
    font-size: 16px;
}

.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_description h1,
.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_description h2,
.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_description h3 {
    font-weight: 300;
    line-height: 1.5em;
}

.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_description ol,
.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_description ul {
    margin-bottom: 5px;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper {
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 30px;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile {
    overflow: hidden;
    z-index: 999999;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_content_left {
    width: 100%;
    margin: 20px 0 0 0;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .wheel_content_left .wheel_spin {
    margin: 0 auto;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right {
    padding: 0;
    width: 100% !important;
    min-height: auto;
}
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_left {
    width: 100% !important;
    margin-left: 0;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-close span,
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-reminder-later span,
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-never-again span {
    font-size: 14px;
    display: block;
    width: 100%;
    margin: 0;
    padding: 5px 0;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel_content_left .moomi-frontend-result {
    position: absolute;
    top: 0;
    z-index: 9999;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel_content_left .wheel_spin {
    transition: opacity 2s;
}

/*option close wheel*/

/*.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-show-again-option > div {*/
/*text-align: center;*/
/*padding: 0;*/
/*width: 33.33%;*/
/*display: inline-block;*/
/*opacity: .8;*/
/*transition: opacity 300ms linear;*/
/*background: white;*/
/*color: black;*/
/*}*/

/*.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-show-again-option {*/
/*padding: 0;*/
/*font-weight: 600;*/
/*display: flex;*/
/*justify-content: space-around;*/
/*position: fixed;*/
/*top: 0;*/
/*width: 100%;*/
/*left: 0;*/
/*right: 0;*/
/*}*/

/*.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-show-again-option > div:hover {*/
/*opacity: 1 !important;*/
/*}*/

/*gdpr checkbox*/
.moomi-gdpr-checkbox-wrap {
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 15px;
}

.moomi-gdpr-checkbox-wrap input[type="checkbox"] {
    margin: 0 5px 0 0;
}

.moomi-hidden-item {
    display: none !important;
}

.moomi_field_mobile_inner{
    display:flex;
    gap:8px;
    align-items:center;
    width:100%;
    box-sizing:border-box;
}
/*
 * Fix layout overflow: .moomi_field_input has width:100% by default (for non-flex contexts).
 * Inside the phone flex row, we must let the input shrink and share space with the country select.
 */
.moomi_field_mobile_inner .moomi_field_mobile_country{
    flex:0 0 40%;
    max-width:40%;
    min-width:140px;
    width:auto;
    height:var(--moomi-mobile-field-height, 56px);
    min-height:var(--moomi-mobile-field-height, 56px);
    padding:0 42px 0 12px;
    border:1px solid rgba(34,36,38,.15);
    border-radius:var(--moomi-mobile-field-radius, 16px);
    background-color:#fff;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235a2a3e' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M1 1.25 6 6.25l5-5'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 14px center;
    background-size:12px 8px;
    line-height:normal;
    font-size:16px;
    font-weight:400;
    color:rgba(0,0,0,.87);
    display:block;
    align-self:stretch;
    -webkit-appearance:none;
    appearance:none;
    box-sizing:border-box;
}
.moomi_field_mobile_inner .moomi_field_mobile{
    flex:1 1 auto;
    width:auto;
    min-width:0;
    box-sizing:border-box;
}

@media (max-width: 480px){
    .moomi_field_mobile_inner{flex-wrap:wrap;}
    .moomi_field_mobile_inner .moomi_field_mobile_country{
        flex:1 1 100%;
        max-width:100%;
        min-width:0;
    }
    .moomi_field_mobile_inner .moomi_field_mobile{
        flex:1 1 100%;
        max-width:100%;
    }
}

/* =============================
 * MOOMI v12 – Pointer centering + Mobile layout scroll
 * ============================= */

/* Close button inside the popup (top-right) */
.moomi_lucky_wheel_content .moomi-close-wheel,
.moomi_lucky_wheel_content .moomi-hide-after-spin{
    left: auto !important;
    right: 14px !important;
    right: max(14px, calc(env(safe-area-inset-right) + 14px)) !important;
    top: 14px !important;
    top: max(14px, calc(env(safe-area-inset-top) + 14px)) !important;
    bottom: unset !important;
    margin: 0 !important;
}

/* Mobile: wheel on top, content below, scroll when overflow */
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile{
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(16px + var(--moomi-viewport-bottom-offset, 0px));
    padding-bottom: calc(16px + env(safe-area-inset-bottom) + var(--moomi-viewport-bottom-offset, 0px));
}
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper{
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    height: auto !important;
    min-height: 100%;
    padding-bottom: calc(24px + var(--moomi-viewport-bottom-offset, 0px));
    padding-bottom: calc(24px + env(safe-area-inset-bottom) + var(--moomi-viewport-bottom-offset, 0px));
}
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right{
    padding-bottom: calc(12px + var(--moomi-viewport-bottom-offset, 0px)) !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom) + var(--moomi-viewport-bottom-offset, 0px)) !important;
}
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-show-again-option{
    position: static;
    bottom: auto;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    margin-top: 18px;
    padding: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-show-again-option > div{
    text-align: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    flex: 0 0 auto;
}
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-show-again-option > div span{
    display: inline;
    width: auto;
    line-height: 1.45;
    padding: 0;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}

/* =============================
 * v13 – Pointer styles
 *  - inside: keep ORIGINAL icon pointer, but centered inside the wheel
 *  - outside: optional "pin" pointer outside the wheel (top/right/bottom)
 * ============================= */

/* Default: hide the outside pointer unless enabled */
.wheel_spin .moomi_pointer_outside{display:none;}

/* Safety: always hide outside pointer in INSIDE mode (theme CSS may override) */
.moomi-pointerstyle-inside .wheel_spin .moomi_pointer_outside{display:none !important;}
/* Safety: always show outside pointer in OUTSIDE mode */
.moomi-pointerstyle-outside .wheel_spin .moomi_pointer_outside{display:block !important;}
/* Safety: always show the original pointer content in INSIDE mode */
.moomi-pointerstyle-inside .wheel_spin_container .moomi_pointer_content{display:block !important;}


/* INSIDE (original) – center pointer in the wheel */
.moomi-pointerstyle-inside.moomi-pointer-center .wheel-content-wrapper .wheel_spin_container{
    padding: 0 !important;
    display: block !important;
}
.moomi-pointerstyle-inside.moomi-pointer-center .wheel-content-wrapper .moomi_pointer_content{
    transform: none !important;
    position: absolute;
    inset: 0;
    --moomi-pointer-center-shift: 20px;
}
.moomi-pointerstyle-inside.moomi-pointer-center .wheel_spin_container .moomi_pointer_content .moomi_pointer{
    position: absolute;
    left: calc(50% + var(--moomi-pointer-center-shift, 20px));
    top: 50%;
    line-height: 1;
    pointer-events: none;
    transform-origin: center center;
    /* Shift the whole pin to the RIGHT so the white circular center of the pin
       sits on the wheel hub center, then keep the tip pointing to the lucky slices. */
    transform: translate(-50%, -50%) rotate(-90deg);
}
/* Softer shadow on the inside pointer */
.moomi-pointerstyle-inside.moomi-pointer-center .wheel_spin_container .moomi_pointer_content .moomi_pointer:before{
    text-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}

/* OUTSIDE (pin) – show a pin pointer outside the wheel */
.moomi-pointerstyle-outside .wheel_spin_container .moomi_pointer_content{display:none !important;}
.moomi-pointerstyle-outside .wheel_spin .moomi_pointer_outside{display:block;}
.wheel_spin .moomi_pointer_outside{
    position: absolute;
    z-index: 50;
    pointer-events: none;
    color: inherit; /* pointer_color will be applied inline via .moomi_pointer */
}
/* Default (top) */
.moomi-pointerstyle-outside.moomi-pointer-top .wheel_spin .moomi_pointer_outside,
.moomi-pointerstyle-outside.moomi-pointer-center .wheel_spin .moomi_pointer_outside,
.moomi-pointerstyle-outside.moomi-pointer-random .wheel_spin .moomi_pointer_outside{
    left: 50%;
    top: -26px;
    transform: translateX(-50%);
}
.moomi-pointerstyle-outside.moomi-pointer-right .wheel_spin .moomi_pointer_outside{
    right: -26px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}
.moomi-pointerstyle-outside.moomi-pointer-bottom .wheel_spin .moomi_pointer_outside{
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%) rotate(180deg);
}
.wheel_spin .moomi_pointer_outside .moomi_pointer_outside_icon:before{
    /* size is set dynamically via inline CSS from JS (wheel size aware) */
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* v21: mobile Chrome bottom toolbar hide/show can report transient visualViewport offsets.
   Keep the action links in normal document flow on mobile so they never overlap the CTA button. */
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .moomi_user_lucky{
    padding-bottom: 16px;
}


/* MOOMI v13 – Desktop popup scroll for long content */
.moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile){
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}
.moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile) .wheel-content-wrapper{
    min-height: calc(100vh - 50px);
    min-height: calc(100dvh - 50px);
    height: auto !important;
}


/* MOOMI v14 – Zalo CTA styles */
.moomi_lucky_wheel_content .moomi-zalo-link,
.moomi_lucky_wheel_content .moomi-zalo-oa-link{
    font-weight: 700;
    text-decoration: none;
}
.moomi_lucky_wheel_content .moomi-zalo-oa-link{
    color: #0c55df !important;
}


/* MOOMI v22 – winning gift burst */
.wheel_content_right .moomi-congratulations-effect{
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;
    z-index:140;
    display:none;
}
.wheel_content_right .moomi-congratulations-effect.moomi-effect-active{
    display:block;
}
.wheel_content_right .moomi-gift-burst-item{
    position:absolute;
    left:50%;
    top:58%;
    transform:translate(-50%, -50%) scale(0.55);
    transform-origin:center;
    opacity:0;
    font-size:clamp(22px, 3vw, 34px);
    line-height:1;
    will-change:transform, opacity;
    filter:drop-shadow(0 4px 10px rgba(0,0,0,0.18));
    animation:moomiGiftBurst 1.15s cubic-bezier(.18,.75,.24,1) forwards;
}
@keyframes moomiGiftBurst{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(0.45) rotate(0deg);
    }
    14%{
        opacity:1;
        transform:translate(calc(-50% + (var(--moomi-gift-x, 0px) * 0.16)), calc(-50% + (var(--moomi-gift-y, -90px) * 0.16))) scale(1) rotate(calc(var(--moomi-gift-rotate, 0deg) * 0.2));
    }
    100%{
        opacity:0;
        transform:translate(calc(-50% + var(--moomi-gift-x, 0px)), calc(-50% + var(--moomi-gift-y, -120px))) scale(0.92) rotate(var(--moomi-gift-rotate, 0deg));
    }
}

/* MOOMI v23 – standout result card + continuous gift flight */
.moomi-celebration-flight-layer{
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;
    z-index:145;
}

.moomi-flight-gift-item{
    position:absolute;
    left:0;
    top:0;
    line-height:1;
    opacity:0;
    will-change:transform, opacity;
    filter:drop-shadow(0 8px 14px rgba(91, 36, 63, 0.18));
    animation:moomiGiftFlight 4s cubic-bezier(.2,.78,.24,1) forwards;
}

@keyframes moomiGiftFlight{
    0%{
        opacity:0;
        transform:translate(var(--moomi-start-x), var(--moomi-start-y)) scale(0.42) rotate(var(--moomi-rotate-start, 0deg));
    }
    8%{
        opacity:1;
    }
    42%{
        opacity:1;
        transform:translate(var(--moomi-mid-x), var(--moomi-mid-y)) scale(1.08) rotate(var(--moomi-rotate-mid, 0deg));
    }
    100%{
        opacity:0;
        transform:translate(var(--moomi-end-x), var(--moomi-end-y)) scale(0.56) rotate(var(--moomi-rotate-end, 0deg));
    }
}

.moomi-result-card{
    display:block;
    position:relative;
    margin:12px 0 18px;
    border-radius:24px;
    padding:0;
    overflow:hidden;
    border:1px solid rgba(113, 66, 89, 0.12);
    box-shadow:0 18px 36px rgba(113, 66, 89, 0.14);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    transform:translateY(10px) scale(0.985);
    opacity:0;
}

.moomi-result-card.moomi-result-card-active{
    animation:moomiResultCardIn .48s cubic-bezier(.2,.85,.3,1) forwards, moomiResultGlow 3.2s ease-in-out infinite 0.55s;
}


.moomi_lucky_wheel_content.moomi-finish-spinning .moomi-result-card,
.moomi_lucky_wheel_content .moomi-result-card.moomi-result-card-active{
    opacity:1;
}


@keyframes moomiResultCardIn{
    0%{
        opacity:0;
        transform:translateY(14px) scale(0.975);
    }
    100%{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

@keyframes moomiResultGlow{
    0%,100%{
        box-shadow:0 18px 36px rgba(113, 66, 89, 0.14);
    }
    50%{
        box-shadow:0 20px 42px rgba(113, 66, 89, 0.22);
    }
}

.moomi-result-card:before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,246,249,0.8));
    z-index:0;
}

.moomi-result-card:after{
    content:"";
    position:absolute;
    inset:auto -12% -44% auto;
    width:190px;
    height:190px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0) 72%);
    z-index:0;
}

.moomi-result-card__inner{
    position:relative;
    z-index:1;
    padding:18px 18px 18px 20px;
}

.moomi-result-card__badge{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.moomi-result-card__icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:999px;
    background:rgba(255,255,255,0.78);
    box-shadow:0 10px 18px rgba(113, 66, 89, 0.14);
    font-size:22px;
    flex:0 0 42px;
}

.moomi-result-card__eyebrow{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:6px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    letter-spacing:0.12em;
    text-transform:uppercase;
    background:rgba(113, 66, 89, 0.08);
    color:#7b4b63;
}

.moomi-result-card__title{
    font-size:30px;
    line-height:1.16;
    font-weight:800;
    letter-spacing:-0.02em;
    color:#6f2948;
    margin-bottom:10px;
}

.moomi-result-card__body,
.moomi-result-card__body p,
.moomi-result-card__body div,
.moomi-result-card__body li,
.moomi-result-card__body span{
    font-size:18px !important;
    line-height:1.7 !important;
    color:#7a5266;
}

.moomi-result-card__body strong{
    color:#6a2645;
    font-weight:800;
}

.moomi-result-card__body a{
    font-weight:800;
}

.moomi-result-card__body > *:first-child{
    margin-top:0;
}

.moomi-result-card__body > *:last-child{
    margin-bottom:0;
}

.moomi-result-card-win{
    border-color:rgba(205, 111, 151, 0.24);
}

.moomi-result-card-win:before{
    background:linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255, 240, 246, 0.96) 48%, rgba(255, 233, 241, 0.92));
}

.moomi-result-card-win .moomi-result-card__eyebrow{
    background:linear-gradient(135deg, rgba(255, 196, 215, 0.92), rgba(255, 229, 238, 0.92));
    color:#8c345d;
}

.moomi-result-card-win .moomi-result-card__title{
    color:#8c345d;
}

.moomi-result-card-near{
    border-color:rgba(180, 143, 161, 0.25);
}

.moomi-result-card-near:before{
    background:linear-gradient(135deg, rgba(255,255,255,0.95), rgba(252, 244, 247, 0.95) 52%, rgba(246, 234, 239, 0.9));
}

.moomi-result-card-near .moomi-result-card__eyebrow{
    background:linear-gradient(135deg, rgba(240, 224, 232, 0.95), rgba(255,255,255,0.94));
    color:#7a5668;
}

.moomi-result-card-note .moomi-result-card__eyebrow{
    background:linear-gradient(135deg, rgba(240, 224, 232, 0.88), rgba(255,255,255,0.92));
}

.moomi-result-card-note .moomi-result-card__title{
    color:#74455e;
}

.moomi-result-card-schedule{
    border-color:rgba(193,69,106,0.26);
}

.moomi-result-card-schedule:before{
    background:linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,244,248,0.98) 48%, rgba(255,232,239,0.94));
}

.moomi-result-card-schedule .moomi-result-card__eyebrow{
    background:linear-gradient(135deg, rgba(193,69,106,0.12), rgba(255,255,255,0.96));
    color:#9a365d;
}

.moomi-result-card-schedule .moomi-result-card__title{
    color:#8c345d;
}

.moomi-schedule-card__footer{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 12px;
    margin-top:16px;
    padding-top:14px;
    border-top:1px solid rgba(193,69,106,0.14);
    color:#875b6f;
    font-size:14px;
    line-height:1.55;
}

.moomi-schedule-card__cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:10px 16px;
    border-radius:999px;
    background:linear-gradient(135deg,#c1456a,#f08aaa);
    color:#fff !important;
    text-decoration:none !important;
    font-weight:800;
    box-shadow:0 14px 24px rgba(193,69,106,.22);
}

.moomi-schedule-card__cta:hover{
    transform:translateY(-1px);
    box-shadow:0 18px 30px rgba(193,69,106,.28);
}

.moomi_lucky_wheel_content.moomi-schedule-closed-state .moomi_user_lucky{
    padding-top:0;
}

.wheel_content_right .moomi_user_lucky{
    position:relative;
    z-index:150;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-result-card{
    margin:8px 0 14px;
    border-radius:20px;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-result-card__inner{
    padding:16px 15px 16px 16px;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-result-card__title{
    font-size:22px;
}

.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-result-card__body,
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-result-card__body p,
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-result-card__body div,
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-result-card__body li,
.moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .moomi-result-card__body span{
    font-size:16px !important;
    line-height:1.6 !important;
}
.moomi_lucky_wheel_content .moomi-close-wheel,
.moomi_lucky_wheel_content .moomi-hide-after-spin{
    z-index:200;
}

/* =============================
 * MOOMI v24 – Tablet responsive option B
 * Portrait: 1 column
 * Landscape: 2 columns
 * ============================= */

/* Shared tablet safety fixes */
.moomi_lucky_wheel_content.lucky_wheel_content_tablet{
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-gutter:stable;
}
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper{
    min-height:calc(100vh - 50px);
    min-height:calc(100dvh - 50px);
    height:auto !important;
}
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right{
    flex:1 1 0;
    min-width:0;
}
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .moomi-show-again-option{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 18px;
}
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .moomi-show-again-option > div{
    width:auto;
    flex:0 0 auto;
    text-align:center;
}

/* Tablet portrait: stack wheel and content */
@media screen and (orientation: portrait){
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper{
        flex-direction:column !important;
        justify-content:flex-start !important;
        align-items:center !important;
        gap:24px;
        padding-bottom:24px;
    }
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_left{
        width:100% !important;
        max-width:560px;
        margin:0 auto !important;
    }
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right{
        width:100% !important;
        min-height:auto;
        padding:0 14px 18px;
    }
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_spin_container{
        padding:0 !important;
    }
}

/* Tablet landscape: keep 2 columns, but prevent the wheel from crushing the text column */
@media screen and (orientation: landscape){
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper{
        flex-direction:row !important;
        justify-content:center;
        align-items:center;
        gap:20px;
        padding:18px 16px 24px;
    }
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_left{
        flex:0 1 46%;
        width:46% !important;
        max-width:520px;
        min-width:320px;
        margin-left:0 !important;
    }
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right{
        flex:1 1 54%;
        width:54% !important;
        max-width:560px;
        min-height:auto;
        padding:0 8px;
    }
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_spin_container{
        padding:0 0 0 4% !important;
    }
}

/* =============================
 * MOOMI v26 – popup icon layout, close button, scrollbar polish
 * ============================= */
.moomi_wheel_icon{
    position: fixed;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    opacity: 0;
    pointer-events: none;
    touch-action: manipulation;
    transform: translate3d(var(--moomi-icon-hidden-x, 0px), var(--moomi-icon-hidden-y, 0px), 0) scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
    will-change: top, right, left, transform, opacity;
}

.moomi_wheel_icon.moomi-wheel-position-top-left,
.moomi_wheel_icon.moomi-wheel-position-middle-left,
.moomi_wheel_icon.moomi-wheel-position-bottom-left{
    --moomi-icon-hidden-x: -32px;
    --moomi-icon-hidden-y: 0px;
}

.moomi_wheel_icon.moomi-wheel-position-top-right,
.moomi_wheel_icon.moomi-wheel-position-middle-right,
.moomi_wheel_icon.moomi-wheel-position-bottom-right{
    --moomi-icon-hidden-x: 32px;
    --moomi-icon-hidden-y: 0px;
}

.moomi_wheel_icon.moomi_show{
    opacity: 1;
    pointer-events: auto;
    margin: 0 !important;
    transform: translate3d(0, 0, 0) scale(1);
}

.moomi-close-wheel,
.moomi-hide-after-spin,
.moomi_lucky_wheel_content .moomi-close-wheel,
.moomi_lucky_wheel_content .moomi-hide-after-spin{
    left: auto !important;
    right: 12px !important;
    right: max(12px, calc(env(safe-area-inset-right) + 12px)) !important;
    top: 12px !important;
    top: max(12px, calc(env(safe-area-inset-top) + 12px)) !important;
    bottom: auto !important;
    margin: 0 !important;
    width: 38px !important;
    height: 38px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8edf1 !important;
    border: 1px solid rgba(221, 176, 183, 0.82);
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.moomi-close-wheel:hover,
.moomi-hide-after-spin:hover,
.moomi_lucky_wheel_content .moomi-close-wheel:hover,
.moomi_lucky_wheel_content .moomi-hide-after-spin:hover{
    background: #f5e8eb !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

.moomi-close-wheel .moomi-cancel,
.moomi-hide-after-spin .moomi-cancel{
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
}

.moomi-close-wheel .moomi-cancel:before,
.moomi-close-wheel .moomi-cancel:after,
.moomi-hide-after-spin .moomi-cancel:before,
.moomi-hide-after-spin .moomi-cancel:after{
    content: "" !important;
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 16px;
    height: 2px;
    margin-top: -1px;
    margin-left: -8px;
    border-radius: 999px;
    background: #8f5566;
    font-size: 0;
    line-height: 0;
}

.moomi-close-wheel .moomi-cancel:before,
.moomi-hide-after-spin .moomi-cancel:before{
    transform: rotate(45deg);
}

.moomi-close-wheel .moomi-cancel:after,
.moomi-hide-after-spin .moomi-cancel:after{
    transform: rotate(-45deg);
}

.moomi_lucky_wheel_content{
    scrollbar-width: thin;
    scrollbar-color: #ddb0b7 transparent;
}

.moomi_lucky_wheel_content::-webkit-scrollbar{
    width: 8px;
    height: 8px;
}

.moomi_lucky_wheel_content::-webkit-scrollbar-track{
    background: transparent;
}

.moomi_lucky_wheel_content::-webkit-scrollbar-thumb{
    background: #ddb0b7;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0);
    background-clip: padding-box;
}

.moomi_lucky_wheel_content::-webkit-scrollbar-thumb:hover{
    background: #cf9ea8;
}

.moomi_wheel_icon.moomi-wheel-position-top-left.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-top-right.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-middle-left.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-middle-right.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-bottom-left.moomi_show,
.moomi_wheel_icon.moomi-wheel-position-bottom-right.moomi_show{
    transform: translate3d(0, 0, 0) scale(1) !important;
}

/* MOOMI v27 - balance wheel and content columns */
.moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper{align-items:center;gap:clamp(18px,2vw,36px);}
.moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper .wheel_content_left{flex:1 1 52%;width:auto !important;max-width:min(52vw,720px);min-width:320px;margin-left:0 !important;}
.moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper .wheel_content_right{flex:1 1 48%;width:auto !important;max-width:min(48vw,640px);min-width:340px;padding:10px 0;}
.moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper .wheel_content_right .wheel_description,.moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper .wheel_content_right .moomi_user_lucky{width:100%;max-width:none;margin-left:0;margin-right:0;}
@media (max-width: 1180px){
    .moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper .wheel_content_left{flex-basis:50%;max-width:min(50vw,650px);min-width:280px;}
    .moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper .wheel_content_right{flex-basis:50%;max-width:none;min-width:300px;}
}
@media (max-width: 991px){
    .moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper{flex-direction:column;align-items:center;gap:22px;}
    .moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper .wheel_content_left,
    .moomi_lucky_wheel_content:not(.moomi_lucky_wheel_content_mobile):not(.lucky_wheel_content_tablet) .wheel-content-wrapper .wheel_content_right{width:100% !important;max-width:min(100%,720px);min-width:0;padding:0;}
}


/* MOOMI v32 - popup wheel centering, balanced tablet columns, smoother reopen */
.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left{
    min-width:0;
}
.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left .wheel_spin{
    margin:0 auto !important;
}
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_left{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:0 !important;
}
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right{
    min-width:0;
}
@media screen and (orientation: landscape){
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_left{
        flex:1 1 48%;
        width:auto !important;
        max-width:48%;
        min-width:0;
        margin:0 !important;
    }
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right{
        flex:1 1 52%;
        width:auto !important;
        max-width:52%;
        min-width:0;
        padding:0 6px;
    }
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_spin_container{
        padding:0 !important;
    }
}


/* MOOMI v33 - unified responsive layout for inline wheel and popup */
.moomi_lucky_wheel_content .wheel-content-wrapper{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:clamp(20px, 3vw, 48px);
    width:100%;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_right{
    min-width:0;
    margin:0 !important;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left .wheel_spin{
    margin:0 auto !important;
    flex:0 0 auto;
}

.moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper{
    flex-direction:row !important;
}

.moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_left{
    flex:0 1 48%;
    max-width:680px;
}

.moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_right{
    flex:1 1 420px;
    width:auto !important;
    max-width:720px;
    min-height:auto;
    padding:0 !important;
}

.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_left{
    flex-basis:46%;
    max-width:660px;
}

.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_right{
    max-width:none;
}

.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
    flex-direction:column !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:24px;
}

.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{
    width:100% !important;
    max-width:min(100%, 720px);
}

.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{
    min-height:auto;
    padding:0 !important;
}

.moomi_lucky_wheel_wrap .moomi_lucky_wheel_content{
    width:min(96vw, 1280px);
    max-width:1280px !important;
}

.moomi_lucky_wheel_wrap .moomi_lucky_wheel_content.lucky_wheel_content_tablet{
    width:min(96vw, 1120px);
    max-width:1120px !important;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_right .wheel_description,
.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_right .moomi_user_lucky{
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
}

@media (max-width: 1180px){
    .moomi_lucky_wheel_wrap .moomi_lucky_wheel_content{
        width:min(96vw, 1040px);
        max-width:1040px !important;
    }
}

@media (max-width: 767px){
    .moomi_lucky_wheel_wrap .moomi_lucky_wheel_content{
        width:calc(100vw - 16px);
        max-width:calc(100vw - 16px) !important;
    }

    .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
        gap:20px;
    }
}



/* MOOMI v34 - stabilized responsive layout for popup and inline wheel */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    position:fixed;
    left:50%;
    top:50%;
    width:min(66vw, 1100px);
    max-width:calc(100vw - 36px) !important;
    min-width:min(320px, calc(100vw - 20px));
    height:auto;
    max-height:calc(100dvh - 36px - var(--moomi-viewport-bottom-offset, 0px));
    padding:30px 24px 24px;
    margin-left:0 !important;
    border-radius:30px;
    overflow:auto;
    overscroll-behavior:contain;
    box-shadow:0 30px 70px rgba(0,0,0,.22);
    transform:translate3d(-50%, calc(-50% + 18px), 0);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, transform .22s ease !important;
    will-change:transform, opacity;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_show{
    opacity:1 !important;
    visibility:visible;
    pointer-events:auto;
    transform:translate3d(-50%, -50%, 0);
}

.moomi_lucky_wheel_wrap .moomi_lucky_wheel_content .wheel-content-wrapper,
.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content .wheel-content-wrapper{
    height:auto !important;
    min-height:0 !important;
}

.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper{
    display:grid !important;
    grid-template-columns:minmax(0, clamp(320px, 42vw, 620px)) minmax(0, 1fr) !important;
    align-items:center !important;
    justify-content:space-between !important;
    column-gap:clamp(22px, 3vw, 42px);
    row-gap:22px;
}

.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) !important;
    align-items:start !important;
    justify-content:stretch !important;
    row-gap:24px;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper{
    display:grid !important;
    grid-template-columns:minmax(0, clamp(300px, 30vw, 440px)) minmax(0, 1fr) !important;
    align-items:center !important;
    justify-content:space-between !important;
    column-gap:clamp(18px, 2.4vw, 34px);
    row-gap:20px;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) !important;
    align-items:start !important;
    justify-content:stretch !important;
    row-gap:22px;
}

.moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_right,
.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:0 !important;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left .wheel_spin,
.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left canvas{
    display:block;
    margin:0 auto !important;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_spin_container{
    padding:0 !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_right{
    max-width:min(100%, 560px) !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_right .moomi_user_lucky{
    padding-left:0;
    padding-right:0;
}

@media (max-width: 1366px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        width:min(72vw, 1040px);
    }
}

@media (max-width: 1180px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        width:min(82vw, 980px);
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper{
        grid-template-columns:minmax(0, clamp(280px, 34vw, 400px)) minmax(0, 1fr) !important;
    }
}

@media (max-width: 991px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        width:min(92vw, 760px);
        padding:24px 18px 20px;
        border-radius:26px;
    }

    .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left,
    .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{
        max-width:min(100%, 720px) !important;
        margin:0 auto !important;
    }
}

@media (max-width: 767px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        left:8px;
        right:8px;
        top:8px;
        width:auto;
        max-width:none !important;
        min-width:0;
        max-height:calc(100dvh - 16px - var(--moomi-viewport-bottom-offset, 0px));
        padding:18px 12px 20px;
        border-radius:24px;
        transform:translate3d(0, 12px, 0);
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_show{
        transform:translate3d(0, 0, 0);
    }

    .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
        row-gap:20px;
    }
}


/* MOOMI v35 - side-anchored popup + smoother resize + stable stacked centering */
.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
    justify-items:center;
}

.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{
    justify-self:center;
}

.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{
    margin-left:auto !important;
    margin-right:auto !important;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left .wheel_spin,
.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left canvas{
    max-width:100% !important;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left canvas{
    height:auto !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    left:auto;
    right:auto;
    width:min(66vw, 1024px);
    max-width:min(calc(100vw - 18px), 1024px) !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left{
    left:0;
    right:auto;
    border-radius:0 30px 30px 0;
    transform:translate3d(-26px, calc(-50% + 18px), 0);
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
    right:0;
    left:auto;
    border-radius:30px 0 0 30px;
    transform:translate3d(26px, calc(-50% + 18px), 0);
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left.lucky_wheel_content_show,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right.lucky_wheel_content_show{
    transform:translate3d(0, -50%, 0);
}

@media (max-width: 1366px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        width:min(72vw, 940px);
        max-width:min(calc(100vw - 18px), 940px) !important;
    }
}

@media (max-width: 1180px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        width:min(82vw, 860px);
        max-width:min(calc(100vw - 18px), 860px) !important;
    }
}

@media (max-width: 991px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        width:min(92vw, 760px);
        max-width:min(calc(100vw - 16px), 760px) !important;
    }
}

@media (max-width: 767px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
        left:8px;
        right:8px;
        width:auto;
        max-width:none !important;
        border-radius:24px;
        transform:translate3d(0, 12px, 0);
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left.lucky_wheel_content_show,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right.lucky_wheel_content_show{
        transform:translate3d(0, 0, 0);
    }
}


/* MOOMI v1.2.2.1 - inline wheel sizing fix for responsive page layout */
.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
}

.moomi_wheel_spin{
    opacity:1;
    visibility:visible;
    transition:opacity .18s ease, visibility 0s linear;
}

.moomi_wheel_spin.moomi-wheel-pending,
.moomi_wheel_spin.moomi-wheel-rendering:not(.moomi-wheel-ready){
    opacity:0;
    visibility:hidden;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_spin_container{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    padding:0 !important;
    display:flex;
    align-items:center;
    justify-content:center;
}

.moomi-pointerstyle-inside .wheel-content-wrapper .moomi_pointer_content{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:flex !important;
    align-items:center;
    justify-content:center;
    transform:none !important;
}

.moomi-pointerstyle-inside .wheel_spin_container .moomi_pointer_content .moomi_pointer{
    position:absolute;
    left:50% !important;
    top:50% !important;
    display:block !important;
    width:var(--moomi-pointer-font-size);
    height:var(--moomi-pointer-font-size);
    font-size:0;
    line-height:0;
    pointer-events:none;
    transform:translate(calc(-50% + var(--moomi-pointer-center-shift)), -50%) rotate(-90deg) !important;
    transform-origin:center center !important;
}

.moomi-pointerstyle-inside .wheel_spin_container .moomi_pointer_content .moomi_pointer:before{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    display:block;
    font-size:var(--moomi-pointer-font-size) !important;
    line-height:1;
    text-shadow:0 2px 10px rgba(0,0,0,.25) !important;
}

.moomi-pointerstyle-outside .wheel_spin .moomi_pointer_outside .moomi_pointer_outside_icon:before{
    font-size:var(--moomi-pointer-outside-font-size) !important;
    line-height:1;
    text-shadow:0 2px 10px rgba(0,0,0,.25);
}

.moomi-pointerstyle-outside.moomi-pointer-top .wheel_spin .moomi_pointer_outside,
.moomi-pointerstyle-outside.moomi-pointer-center .wheel_spin .moomi_pointer_outside,
.moomi-pointerstyle-outside.moomi-pointer-random .wheel_spin .moomi_pointer_outside{
    left:50%;
    top:calc(var(--moomi-pointer-outside-offset) * -1);
    transform:translateX(-50%);
}

.moomi-pointerstyle-outside.moomi-pointer-right .wheel_spin .moomi_pointer_outside{
    right:calc(var(--moomi-pointer-outside-offset) * -1);
    top:50%;
    transform:translateY(-50%) rotate(90deg);
}

.moomi-pointerstyle-outside.moomi-pointer-bottom .wheel_spin .moomi_pointer_outside{
    left:50%;
    bottom:calc(var(--moomi-pointer-outside-offset) * -1);
    transform:translateX(-50%) rotate(180deg);
}

.moomi_field_mobile_inner .moomi_field_mobile_country,
.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_right .moomi_user_lucky .moomi_field_mobile_country{
    font:inherit;
    font-size:16px;
    font-weight:400;
    line-height:normal;
    color:rgba(0,0,0,.87);
    text-align:left;
    text-overflow:ellipsis;
    white-space:nowrap;
    box-shadow:none;
    background-clip:padding-box;
    height:var(--moomi-mobile-field-height, 56px);
    min-height:var(--moomi-mobile-field-height, 56px);
    border-radius:var(--moomi-mobile-field-radius, 16px);
}

.moomi_field_mobile_inner .moomi_field_mobile_country option,
.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_right .moomi_user_lucky .moomi_field_mobile_country option{
    font:inherit;
    font-size:16px;
    font-weight:400;
    line-height:1.35;
    color:rgba(0,0,0,.87);
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left{
    transform:translate3d(-34px, -50%, 0);
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
    transform:translate3d(34px, -50%, 0);
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left.lucky_wheel_content_show,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right.lucky_wheel_content_show{
    transform:translate3d(0, -50%, 0);
}

@media (max-width: 767px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
        transform:translate3d(0, 18px, 0);
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left.lucky_wheel_content_show,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right.lucky_wheel_content_show{
        transform:translate3d(0, 0, 0);
    }
}

/* MOOMI v1.2.2.3 - popup inner scroll, balanced 2-column centering, wheel-only pointer anchoring */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    overflow:hidden !important;
    overflow-x:hidden !important;
    overflow-y:hidden !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
    flex:1 1 auto;
    min-height:0 !important;
    width:100%;
    overflow-y:auto;
    overflow-x:hidden;
    box-sizing:border-box;
    padding:clamp(8px, 1vw, 14px) clamp(2px, .4vw, 8px) clamp(6px, .9vw, 12px) 0;
    scrollbar-gutter:stable both-edges;
    overscroll-behavior:contain;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper::-webkit-scrollbar{
    width:8px;
    height:8px;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper::-webkit-scrollbar-track{
    background:transparent;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper::-webkit-scrollbar-thumb{
    background:#ddb0b7;
    border-radius:999px;
    border:2px solid rgba(255,255,255,0);
    background-clip:padding-box;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper::-webkit-scrollbar-thumb:hover{
    background:#cf9ea8;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
    scrollbar-width:thin;
    scrollbar-color:#ddb0b7 transparent;
}

.moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper,
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper{
    align-items:center !important;
    align-content:center !important;
}

.moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_right,
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right{
    align-self:center !important;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left{
    position:relative;
    isolation:isolate;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left .wheel_spin{
    position:relative;
    isolation:isolate;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_left .wheel_spin canvas{
    position:relative;
    z-index:1;
}

.moomi_lucky_wheel_content .wheel-content-wrapper .wheel_spin_container,
.moomi_lucky_wheel_content .wheel-content-wrapper .moomi_pointer_content{
    z-index:2;
}

@media screen and (orientation: landscape){
    .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper{
        justify-content:center !important;
    }
}

@media (max-width: 767px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        padding:4px 0 8px;
        scrollbar-gutter:auto;
    }
}


/* MOOMI v1.2.2.4 - stable popup breakpoint flow (no 2-col/1-col flip-flop while narrowing) */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    width:min(92vw, 960px);
    max-width:min(calc(100vw - 18px), 960px) !important;
}

@media (max-width: 1180px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        width:min(92vw, 920px);
        max-width:min(calc(100vw - 18px), 920px) !important;
    }
}

@media (max-width: 1080px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
        grid-template-columns:minmax(0, 1fr) !important;
        row-gap:22px;
    }
}


/* MOOMI v1.2.2.8 - mobile popup headroom, scrollbar spacing, and pinch-zoom lock */
.moomi-popup-zoom-locked,
.moomi-popup-zoom-locked body{
    touch-action:pan-y !important;
}

.moomi-popup-zoom-locked .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content,
.moomi-popup-zoom-locked .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content *{
    touch-action:pan-y !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
    padding-top:max(18px, calc(var(--moomi-pointer-outside-offset, 0px) + 10px));
    padding-right:max(12px, env(safe-area-inset-right, 0px));
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left{
    padding-top:4px;
    overflow:visible;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_right{
    padding-right:clamp(8px, 1vw, 14px) !important;
    box-sizing:border-box;
}

@media (max-width: 767px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        padding-top:20px;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        padding:10px 10px 12px 2px;
        scrollbar-gutter:stable;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
        padding-top:max(22px, calc(var(--moomi-pointer-outside-offset, 0px) + 12px));
        row-gap:18px;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{
        padding-right:10px !important;
    }
}

@media (max-width: 420px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        top:max(8px, env(safe-area-inset-top, 0px));
        max-height:calc(100dvh - 16px - max(env(safe-area-inset-top, 0px), 0px) - var(--moomi-viewport-bottom-offset, 0px));
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        padding-right:8px;
    }
}

/* MOOMI v36 - fullscreen popup on mobile and compact screens */
@media (max-width: 991px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
        box-sizing:border-box;
        left:0 !important;
        right:0 !important;
        top:0 !important;
        bottom:0 !important;
        width:100vw !important;
        max-width:none !important;
        min-width:0 !important;
        height:100vh !important;
        min-height:100vh !important;
        max-height:100vh !important;
        height:100dvh !important;
        min-height:100dvh !important;
        max-height:100dvh !important;
        padding-top:max(18px, calc(env(safe-area-inset-top) + 16px)) !important;
        padding-right:max(14px, calc(env(safe-area-inset-right) + 12px)) !important;
        padding-bottom:calc(max(18px, calc(env(safe-area-inset-bottom) + 14px)) + var(--moomi-viewport-bottom-offset, 0px)) !important;
        padding-left:max(14px, calc(env(safe-area-inset-left) + 12px)) !important;
        border-radius:0 !important;
        box-shadow:none !important;
        transform:translate3d(0, 14px, 0) !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_show,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left.lucky_wheel_content_show,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right.lucky_wheel_content_show{
        transform:translate3d(0, 0, 0) !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        min-height:100% !important;
    }
}



/* MOOMI v1.2.2.10 - mobile fullscreen top safe area + inner scrollbar lane */
@media (max-width: 991px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
        padding-top:max(8px, calc(env(safe-area-inset-top) + 6px)) !important;
        padding-right:max(4px, calc(env(safe-area-inset-right) + 2px)) !important;
        padding-bottom:calc(max(10px, calc(env(safe-area-inset-bottom) + 8px)) + var(--moomi-viewport-bottom-offset, 0px)) !important;
        padding-left:max(12px, calc(env(safe-area-inset-left) + 10px)) !important;
        overflow:hidden !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        box-sizing:border-box;
        width:calc(100% + 6px);
        max-width:none !important;
        height:100% !important;
        min-height:0 !important;
        margin-right:-6px !important;
        padding-top:max(44px, calc(env(safe-area-inset-top) + 40px)) !important;
        padding-right:clamp(14px, 3vw, 24px) !important;
        padding-bottom:calc(max(14px, calc(env(safe-area-inset-bottom) + 12px)) + var(--moomi-viewport-bottom-offset, 0px)) !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        -webkit-overflow-scrolling:touch;
        overscroll-behavior:contain;
        scrollbar-gutter:stable;
        align-content:flex-start !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper::-webkit-scrollbar{
        width:8px;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper::-webkit-scrollbar-track{
        background:transparent;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper::-webkit-scrollbar-thumb{
        background:#ddb0b7;
        border-radius:999px;
        border:2px solid rgba(255,255,255,0);
        background-clip:padding-box;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper::-webkit-scrollbar-thumb:hover{
        background:#cf9ea8;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-close-wheel,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-hide-after-spin{
        top:max(8px, calc(env(safe-area-inset-top) + 6px)) !important;
        right:max(8px, calc(env(safe-area-inset-right) + 6px)) !important;
        z-index:120 !important;
    }
}


/* MOOMI v1.2.2.11 - remove popup top safe-area gutter entirely */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-close-wheel,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-hide-after-spin{
    top:12px !important;
    right:12px !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
    padding-top:0 !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left{
    padding-top:0 !important;
}

@media (max-width: 991px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
        padding-top:0 !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        padding-top:0 !important;
        padding-right:clamp(12px, 2.4vw, 18px) !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-close-wheel,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-hide-after-spin{
        top:8px !important;
        right:8px !important;
    }
}

@media (max-width: 767px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        padding-top:0 !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        padding-top:0 !important;
    }
}


/* MOOMI v1.2.2.12 - remove remaining top gutter, keep close button independent, and trim scrollbar top lane */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    --moomi-popup-close-offset: 12px;
    --moomi-popup-close-size: 56px;
    --moomi-popup-scrollbar-shift: 8px;
    padding-top:0 !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
    padding-top:0 !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-close-wheel,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-hide-after-spin{
    top:var(--moomi-popup-close-offset) !important;
    right:var(--moomi-popup-close-offset) !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
    position:relative;
    padding-top:0 !important;
    width:calc(100% + var(--moomi-popup-scrollbar-shift)) !important;
    max-width:none !important;
    margin-right:calc(-1 * var(--moomi-popup-scrollbar-shift)) !important;
    padding-right:clamp(10px, 1.2vw, 18px) !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
    padding-top:0 !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{
    padding-top:0 !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:calc(var(--moomi-popup-close-size) + 8px);
    height:calc(var(--moomi-popup-close-size) + 8px);
    background:inherit;
    -webkit-backdrop-filter:inherit;
    backdrop-filter:inherit;
    pointer-events:none;
    z-index:110;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-close-wheel,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .moomi-hide-after-spin{
    z-index:120 !important;
}

@media (max-width: 991px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
        padding-top:0 !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        padding-top:0 !important;
        padding-right:12px !important;
    }
}

@media (min-width: 992px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
        padding-top:0 !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
        padding-top:0 !important;
    }
}


/* MOOMI v1.2.2.13 - prevent top clipping in 1-row popup by start-aligning scroll content */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    justify-content:flex-start !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
    align-content:flex-start !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper{
    align-items:start !important;
    align-content:flex-start !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_right,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_tablet .wheel-content-wrapper .wheel_content_right{
    align-self:start !important;
}

/* MOOMI v1.2.2.14 - center popup columns vertically only in 2-column layout */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline{
    justify-content:center !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper{
    align-items:center !important;
    align-content:center !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_left,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-inline .wheel-content-wrapper .wheel_content_right{
    align-self:center !important;
}


/* MOOMI v1.2.2.14 - remove close-button outer corner patch */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content::after{
    content:none !important;
    display:none !important;
    background:transparent !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
}



/* OVERRIDE v2026-04-15 - popup slide only with transform, no blur/fade, icon waits until slide-out ends */
.moomi-overlay{
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    transition:none !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    opacity:1 !important;
    visibility:hidden;
    pointer-events:none;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    transition:transform .56s cubic-bezier(.22, .61, .36, 1) !important;
    will-change:transform;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_show{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transition:transform .56s cubic-bezier(.22, .61, .36, 1) !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-closing{
    visibility:visible !important;
    pointer-events:none !important;
    opacity:1 !important;
    transition:transform .68s cubic-bezier(.16, 1, .3, 1), opacity .18s ease .5s, visibility 0s linear .68s !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left{
    transform:translate3d(calc(-100% - 32px), -50%, 0) !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
    transform:translate3d(calc(100% + 32px), -50%, 0) !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left.lucky_wheel_content_show,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right.lucky_wheel_content_show{
    transform:translate3d(0, -50%, 0) !important;
}

.moomi-close-wheel,
.moomi-hide-after-spin,
.moomi_lucky_wheel_content .moomi-close-wheel,
.moomi_lucky_wheel_content .moomi-hide-after-spin{
    position:absolute !important;
    top:12px !important;
    right:12px !important;
    bottom:auto !important;
    left:auto !important;
    transform:none !important;
    transition:background-color .18s ease, box-shadow .18s ease !important;
}

.moomi-close-wheel:hover,
.moomi-hide-after-spin:hover,
.moomi_lucky_wheel_content .moomi-close-wheel:hover,
.moomi_lucky_wheel_content .moomi-hide-after-spin:hover{
    transform:none !important;
}

@media (max-width: 991px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left{
        transform:translate3d(-100%, 0, 0) !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{
        transform:translate3d(100%, 0, 0) !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_show,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left.lucky_wheel_content_show,
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right.lucky_wheel_content_show{
        transform:translate3d(0, 0, 0) !important;
    }
}


/* MOOMI v1.2.2.16 - move close button to top-left when popup slides from right */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right .moomi-close-wheel,
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right .moomi-hide-after-spin{
    left:12px !important;
    right:auto !important;
}


/* MOOMI v1.2.2.17 - gentle fade for popup open/close + extra top spacing in 1-column layout */
.moomi-overlay{
    transition:opacity .18s ease !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    opacity:0 !important;
    visibility:hidden;
    pointer-events:none;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    transition:transform .52s cubic-bezier(.22, .61, .36, 1), opacity .22s ease, visibility 0s linear .52s !important;
    will-change:transform, opacity;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_show{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transition:transform .52s cubic-bezier(.22, .61, .36, 1), opacity .26s ease, visibility 0s linear 0s !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-closing{
    opacity:0 !important;
    visibility:visible !important;
    pointer-events:none !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
    padding-top:28px !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left{
    padding-top:10px !important;
}

@media (max-width: 991px){
    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper{
        padding-top:24px !important;
    }

    .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_left{
        padding-top:8px !important;
    }
}


/* ChatGPT patch v2026-04-16 - keep Drive-Album floating submit below lucky-wheel popup */
html.moomi-html #gda-selection-floating,
html.moomi-html #gda-floating-selection-portal .gda-selection-floating{
    z-index: 1 !important;
    pointer-events: none !important;
}

html.moomi-html .moomi-overlay{
    z-index: 2147483645 !important;
}

html.moomi-html .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    z-index: 2147483646 !important;
}

html.moomi-html .woocommerce-lucky-wheel-popup-icon,
html.moomi-html .moomi_wheel_icon{
    z-index: 2147483644 !important;
}

/* ChatGPT patch v2026-04-16 - smooth close without popup opacity fade jitter */
.moomi-overlay{
    transition:none !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{
    opacity:1 !important;
    visibility:hidden;
    pointer-events:none;
    transition:transform .56s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .56s !important;
    will-change:transform !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.lucky_wheel_content_show{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transition:transform .56s cubic-bezier(.22, .61, .36, 1), visibility 0s linear 0s !important;
}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-closing{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:none !important;
    transition:transform .68s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .68s !important;
    will-change:transform !important;
}

/* 1.3.7: theme integration and accessible mobile controls. */
.moomi_lucky_wheel_wrap input,.moomi_lucky_wheel_wrap select,.moomi_lucky_wheel_wrap textarea{font-size:16px!important;max-width:100%;box-sizing:border-box}
body.moomi-lucky-modal-open .mm-contact-widget,body.moomi-lucky-modal-open .mm-baby-top{visibility:hidden!important;pointer-events:none!important}
@media(prefers-reduced-motion:reduce){.moomi_lucky_wheel_wrap *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Opaque fallback without overriding the configured background color. */
:where(.moomi_lucky_wheel_content){background-color:#f8e9ed}

.moomi-close-wheel .moomi-cancel,.moomi-hide-after-spin .moomi-cancel{background:center/16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 4 12 12M16 4 4 16' stroke='%238f5566' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E")!important}
.moomi-close-wheel .moomi-cancel:before,.moomi-close-wheel .moomi-cancel:after,.moomi-hide-after-spin .moomi-cancel:before,.moomi-hide-after-spin .moomi-cancel:after{display:none!important}

/* Shared soft form styling, scoped to Lucky: never touches booking/contact forms. */
.moomi_lucky_wheel_wrap .moomi_lucky_wheel_content .wheel_content_right .moomi_user_lucky{box-sizing:border-box;padding:22px!important;border:1px solid #ead9df;border-radius:24px;background:#fffcfa;box-shadow:0 8px 22px #87516b0b}
.moomi_lucky_wheel_wrap .moomi_user_lucky .moomi_field_input,.moomi_lucky_wheel_wrap .moomi_user_lucky select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:50px;height:auto;padding:12px 15px!important;border:1px solid #e3d6db!important;border-radius:13px!important;background:#fffdfc!important;color:#513c45;font-family:inherit;font-size:16px!important;line-height:1.4;box-shadow:none!important}
.moomi_lucky_wheel_wrap .moomi_user_lucky .moomi_field_input:focus,.moomi_lucky_wheel_wrap .moomi_user_lucky select:focus{border-color:#bb7f97!important;outline:2px solid #bb7f9726!important;outline-offset:1px}
.moomi_lucky_wheel_wrap .moomi_user_lucky .moomi_field_mobile_inner{gap:10px}
.moomi_lucky_wheel_wrap .moomi_user_lucky .moomi_spin_button{display:flex;align-items:center;justify-content:center;min-height:50px;margin-top:6px;padding:12px 18px;border-radius:13px!important;background:#bb7f97!important;color:#fff!important;border:0!important;box-shadow:none!important;font:600 16px/1.4 inherit;letter-spacing:0}
.moomi_lucky_wheel_wrap .moomi_user_lucky .moomi_spin_button:hover{background:#a66b83!important}
.moomi_lucky_wheel_wrap.moomi_lucky_wheel_inline_wrap,.moomi_lucky_wheel_wrap.moomi_lucky_wheel_inline_wrap .moomi_lucky_wheel_content{height:auto!important;min-height:0!important;max-height:none!important}
.moomi_lucky_wheel_inline_wrap .wheel-content-wrapper{min-height:0!important}
.moomi-landing-page .moomi-landing-wheel-shell{padding-bottom:10px}
.moomi-landing-page .moomi-landing-stats{margin-top:16px}
@media(max-width:767px){.moomi_lucky_wheel_wrap .moomi_lucky_wheel_content .wheel_content_right .moomi_user_lucky{padding:16px!important;border-radius:20px}.moomi_lucky_wheel_wrap .moomi_user_lucky .moomi_field_input{margin-bottom:0}}
/* Compact campaign copy and aligned popup fields. */
.moomi_lucky_wheel_content.moomi-finish-spinning .wheel_description{display:none!important}
.moomi_lucky_wheel_content .wheel_description h2{font-size:clamp(22px,1.65vw,28px)!important;line-height:1.25!important;letter-spacing:.01em!important;margin:0 0 14px!important;font-weight:700!important}
.moomi_lucky_wheel_content .wheel_description{margin-bottom:16px!important}
.moomi_lucky_wheel_content .wheel_description p{font-size:15px!important;line-height:1.55!important;margin:0 0 10px!important}
.moomi_lucky_wheel_content .wheel_description p:not(:last-child){position:relative;padding-left:15px!important}
.moomi_lucky_wheel_content .wheel_description p:not(:last-child)::before{content:'•';position:absolute;left:0;color:#962d4e}
.moomi_lucky_wheel_content .wheel_description p:last-child{margin-bottom:0!important}
.moomi_lucky_wheel_content .wheel_description strong{font-weight:700!important}
.moomi_lucky_wheel_content .moomi_user_lucky .moomi_field_name_wrap,.moomi_lucky_wheel_content .moomi_user_lucky .moomi_field_mobile_wrap,.moomi_lucky_wheel_content .moomi_user_lucky .moomi_field_email_wrap{display:block!important;width:100%!important;margin:0 0 10px!important}
.moomi_lucky_wheel_content .moomi_field_mobile_inner{display:flex!important;gap:10px!important;align-items:stretch!important}
.moomi_lucky_wheel_content .moomi_field_mobile_inner select,.moomi_lucky_wheel_content .moomi_field_mobile_inner input{margin:0!important;height:50px!important;min-height:50px!important;box-sizing:border-box!important;align-self:stretch!important}
.moomi_lucky_wheel_content .moomi_field_mobile_inner select{flex:0 0 110px!important;width:110px!important;min-width:0!important;padding:10px!important}
.moomi_lucky_wheel_content .moomi_field_mobile_inner input{flex:1 1 0!important;width:0!important;min-width:0!important}
.moomi_lucky_wheel_content .moomi_spin_button{margin-top:0!important}
@media(max-width:480px){.moomi_lucky_wheel_content .moomi_user_lucky{padding:16px!important}.moomi_lucky_wheel_content .wheel_description h2{font-size:22px!important}.moomi_lucky_wheel_content .moomi_field_mobile_inner select{flex-basis:98px!important;width:98px!important}}

.moomi_lucky_wheel_wrap button.moomi-close-wheel{padding:0!important;cursor:pointer;font:inherit}
.moomi_lucky_wheel_wrap button.moomi-close-wheel:focus-visible{outline:2px solid #a55777;outline-offset:3px}

/* Guided popup reading flow. The wheel is a shortcut, never a submit button. */
.moomi_lucky_wheel_content[role=dialog]:focus{outline:none}
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .wheel_spin[role=button]{cursor:pointer;touch-action:pan-y}
.moomi_lucky_wheel_wrap .moomi-wheel-form-hint{display:block!important;position:relative;margin:16px auto 0!important;padding:8px 12px!important;min-height:40px;background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;font:400 12px/1.5 Arial,sans-serif!important;text-align:center;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px;cursor:pointer}
.moomi-finish-spinning .moomi-wheel-form-hint{display:none!important}
.moomi-result-card:focus{outline:none}

.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .wheel_content_left{flex-direction:column;gap:0}
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .wheel_content_left .wheel_spin{flex-shrink:0}
.moomi_lucky_wheel_wrap .moomi-wheel-form-hint{flex:none;max-width:100%;width:auto;white-space:normal}

/* Symmetric padding: keep both columns within the popup content box. */
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper{
 width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;
 padding-left:0!important;padding-right:0!important;box-sizing:border-box;scrollbar-gutter:stable both-edges;
}
.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content .wheel-content-wrapper .wheel_content_right{padding-left:0!important;padding-right:0!important}
@media(max-width:991px){.moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content{padding-left:12px!important;padding-right:12px!important}}
.moomi_lucky_wheel_wrap .moomi-wheel-form-hint{display:none!important}

@media(max-width:991px){
 .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-left,
 .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-popup-side-right{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
 .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{padding-left:0!important;padding-right:0!important}
 .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi_lucky_wheel_content_mobile .wheel-content-wrapper .wheel_content_right .moomi_user_lucky{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
}

/* Separate the form from both overlay and classic mobile scrollbar tracks. */
@media(max-width:991px){
 .moomi_lucky_wheel_wrap:not(.moomi_lucky_wheel_inline_wrap) .moomi_lucky_wheel_content.moomi-two-col-stack .wheel-content-wrapper .wheel_content_right{box-sizing:border-box;padding-left:12px!important;padding-right:12px!important}
}
