#wheel-app-pro,
#content #wheel-app-pro,
.entry-content #wheel-app-pro {
    width: 100%;
    max-width: 100%;
    font-family: Arial, sans-serif;
    background: #f7f7fb;
    padding: 12px;
    color: #222;
    overflow: hidden;
}

#content #wheel-app-pro *,
.entry-content #wheel-app-pro *,
#wheel-app-pro * {
    box-sizing: border-box;
}

#wheel-app-pro .wheel-layout {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
}

#wheel-app-pro .wheel-intro-content {
    width: 100%;
    max-width: 760px;
    margin: 0 0 14px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 18px;
    border: 2px solid #f0c24a;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff9c9 0%, #fff4a8 100%);
    color: #15110a;
    font-size: clamp(19px, 2.2vw, 26px);
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 8px 24px rgba(126, 87, 0, .18);
}

#wheel-app-pro .wheel-intro-content p {
    margin: 0 0 8px;
}

#wheel-app-pro .wheel-intro-content p:last-child {
    margin-bottom: 0;
}

#wheel-app-pro .wheel-intro-content a {
    color: #0a55c7;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#wheel-app-pro .wheel-left,
#wheel-app-pro .wheel-right {
    min-width: 0;
}

#wheel-app-pro .wheel-left {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    float: none;
    text-align: center;
}

#wheel-app-pro .wheel-right {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    float: none;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

#wheel-app-pro.wheel-columns-2 .wheel-left {
    flex: 999 1 460px;
    width: auto;
    max-width: none;
}

#wheel-app-pro.wheel-columns-2 .wheel-right {
    flex: 1 1 320px;
    width: auto;
    max-width: none;
}

#wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-left {
    flex: 0 1 calc(var(--wheel-left-size, 55%) - 9px);
}

#wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-right {
    flex: 0 1 calc(var(--wheel-right-size, 45%) - 9px);
}

#wheel-app-pro .wheel-stage {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 14px;
    line-height: 0;
}

#wheel-app-pro.wheel-has-px-size .wheel-stage {
    width: min(var(--wheel-stage-size, 760px), 100%);
    max-width: min(var(--wheel-stage-size, 760px), 100%);
}

#wheel-app-pro.wheel-has-px-size .wheel-live-recent {
    max-width: min(var(--wheel-stage-size, 760px), 100%);
}

#wheel-app-pro #wheel-canvas {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border: 0 !important;
    background: transparent !important;
}

#wheel-app-pro #wheel-spin-center {
    position: absolute !important;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(78px, 18%, 132px);
    height: clamp(78px, 18%, 132px);
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: clamp(3px, .7vw, 6px) solid rgba(255,255,255,.9);
    background:
        radial-gradient(circle at 50% 38%, #ffffff 0%, #fff7d5 32%, #f7bd31 68%, #d98205 100%);
    color: #16110a;
    font-size: clamp(14px, calc(var(--wheel-stage-size, 760px) / 24), 31px);
    font-weight: 900;
    cursor: pointer;
    z-index: 5;
    box-shadow:
        0 0 0 clamp(4px, .8vw, 8px) rgba(17, 24, 39, .12),
        inset 0 2px 0 rgba(255,255,255,.95),
        inset 0 -5px 10px rgba(126, 58, 0, .24),
        0 9px 18px rgba(0,0,0,.25);
    padding: 0;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
}

#wheel-app-pro #wheel-spin-center:hover {
    transform: translate(-50%, -50%) scale(1.055);
    filter: brightness(1.04);
}

#wheel-app-pro #wheel-spin-center:active {
    transform: translate(-50%, -50%) scale(.97);
    box-shadow:
        0 0 0 clamp(4px, .8vw, 8px) rgba(17, 24, 39, .10),
        inset 0 3px 8px rgba(126, 58, 0, .3),
        0 5px 12px rgba(0,0,0,.22);
}

#wheel-app-pro .wheel-pointer {
    position: absolute;
    right: -3.5%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: clamp(13px, 3vw, 26px) solid transparent;
    border-bottom: clamp(13px, 3vw, 26px) solid transparent;
    border-right: clamp(24px, 5vw, 48px) solid #111;
    z-index: 4;
}

#wheel-app-pro .wheel-pointer:after {
    content: "";
    position: absolute;
    top: calc(clamp(9px, 2vw, 18px) * -1);
    right: calc(clamp(21px, 4.5vw, 43px) * -1);
    border-top: clamp(9px, 2vw, 18px) solid transparent;
    border-bottom: clamp(9px, 2vw, 18px) solid transparent;
    border-right: clamp(17px, 3.7vw, 34px) solid #fff;
}

#wheel-app-pro .wheel-menu,
#wheel-app-pro .wheel-top-bar,
#wheel-app-pro .wheel-small-controls {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

#wheel-app-pro button {
    border: 0;
    background: #d7dce1;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
    color: #111;
    font-family: Arial, sans-serif;
}

#wheel-app-pro button:hover {
    background: #c6ccd2;
}

#wheel-app-pro .wheel-top-bar select,
#wheel-app-pro .wheel-top-bar input {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #aaa;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
}

#wheel-app-pro #wheel-items {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 220px;
    border: 1px solid #333;
    border-radius: 7px;
    padding: 12px;
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
    resize: vertical;
    color: #111;
    font-family: Arial, sans-serif;
    margin: 0 0 12px;
    float: none;
    clear: both;
}

#wheel-app-pro .wheel-result {
    text-align: center;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 600;
    margin-top: 10px;
    word-break: break-word;
}

#wheel-app-pro .wheel-live-recent {
    width: 100%;
    max-width: 760px;
    margin: 12px auto 0;
    padding: 12px;
    border: 1px solid #d8e2f0;
    border-radius: 8px;
    background: #ffffff;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

#wheel-app-pro .wheel-live-recent h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #111827;
}

#wheel-app-pro .wheel-live-recent-list {
    display: grid;
    gap: 6px;
    max-height: 378px;
    overflow-y: auto;
    padding-right: 4px;
}

#wheel-app-pro .wheel-live-recent-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #f8fafc;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

#wheel-app-pro .wheel-live-recent-list::-webkit-scrollbar {
    width: 8px;
}

#wheel-app-pro .wheel-live-recent-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

#wheel-app-pro .wheel-live-recent-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #f7bd31;
    color: #111;
    font-size: 12px;
}

#wheel-app-pro .wheel-live-recent-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wheel-app-pro.wheel-history-only {
    background: transparent;
    padding: 0;
    overflow: visible;
}

.wheel-app-pro.wheel-history-only .wheel-live-recent {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid #d8e2f0;
    border-radius: 8px;
    background: #ffffff;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.wheel-app-pro.wheel-history-only .wheel-live-recent h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #111827;
}

.wheel-app-pro.wheel-history-only .wheel-live-recent-list {
    display: grid;
    gap: 6px;
    max-height: 378px;
    overflow-y: auto;
    padding-right: 4px;
}

.wheel-app-pro.wheel-history-only .wheel-live-recent-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #f8fafc;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.wheel-app-pro.wheel-history-only .wheel-live-recent-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #f7bd31;
    color: #111;
    font-size: 12px;
}

.wheel-app-pro.wheel-history-only .wheel-live-recent-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wheel-app-pro.wheel-history-only .wheel-live-empty {
    padding: 10px;
    border-radius: 6px;
    background: #f8fafc;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

#wheel-app-pro .wheel-live-empty {
    padding: 10px;
    border-radius: 6px;
    background: #f8fafc;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.wheel-live-toast {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1000000;
    width: min(420px, calc(100vw - 44px));
    padding: 0;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(22px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.wheel-live-toast.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.wheel-live-toast-card {
    position: relative;
    width: 100%;
    padding: 18px 18px 16px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7d6 0%, #ffffff 48%, #dff7ff 100%);
    color: #111827;
    text-align: left;
    box-shadow: 0 18px 44px rgba(15,23,42,.22);
    animation: wheelPopupIn .22s ease-out;
}

.wheel-live-toast-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #eef2f7;
    color: #111827;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.wheel-live-toast-icon {
    width: 44px;
    height: 44px;
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff7d6;
    font-size: 26px;
    box-shadow: inset 0 0 0 2px rgba(251,191,36,.35);
}

.wheel-live-toast-title {
    margin: 0 40px 10px 0;
    color: #334155;
    font-size: 18px;
    font-weight: 800;
}

.wheel-live-toast-lines {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.wheel-live-toast-close {
    display: none;
    border: 0;
    border-radius: 999px;
    background: #2f6df6;
    color: #fff;
    min-width: 112px;
    padding: 13px 22px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

#wheel-app-pro .wheel-box {
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    max-height: 180px;
    overflow: auto;
    font-size: 14px;
}

#wheel-app-pro .wheel-box h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

#wheel-app-pro .wheel-panel-hidden #wheel-items,
#wheel-app-pro .wheel-panel-hidden .wheel-top-bar,
#wheel-app-pro .wheel-panel-hidden .wheel-small-controls,
#wheel-app-pro .wheel-panel-hidden .wheel-box {
    display: none;
}

#wheel-app-pro.wheel-controls-hidden .wheel-right {
    display: none !important;
}

#wheel-app-pro.wheel-controls-hidden .wheel-left {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

#wheel-app-pro.wheel-controls-hidden .wheel-stage {
    max-width: min(760px, 100%);
}

/* Khi shortcode bị theme bọc ngoài bằng Bootstrap col */
.col-xs-6 > #wheel-app-pro,
.col-sm-6 > #wheel-app-pro,
.col-md-6 > #wheel-app-pro,
.class_fix > #wheel-app-pro {
    padding: 8px;
}

.col-xs-6 > #wheel-app-pro .wheel-layout,
.col-sm-6 > #wheel-app-pro .wheel-layout,
.col-md-6 > #wheel-app-pro .wheel-layout,
.class_fix > #wheel-app-pro .wheel-layout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

.col-xs-6 > #wheel-app-pro .wheel-left,
.col-sm-6 > #wheel-app-pro .wheel-left,
.col-md-6 > #wheel-app-pro .wheel-left,
.class_fix > #wheel-app-pro .wheel-left {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.col-xs-6 > #wheel-app-pro .wheel-right,
.col-sm-6 > #wheel-app-pro .wheel-right,
.col-md-6 > #wheel-app-pro .wheel-right,
.class_fix > #wheel-app-pro .wheel-right {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.col-xs-6 > #wheel-app-pro .wheel-stage,
.col-sm-6 > #wheel-app-pro .wheel-stage,
.col-md-6 > #wheel-app-pro .wheel-stage,
.class_fix > #wheel-app-pro .wheel-stage {
    max-width: 100%;
}

.col-xs-6 > #wheel-app-pro .wheel-pointer,
.col-sm-6 > #wheel-app-pro .wheel-pointer,
.col-md-6 > #wheel-app-pro .wheel-pointer,
.class_fix > #wheel-app-pro .wheel-pointer {
    right: -2%;
}

.col-xs-6 > #wheel-app-pro #wheel-items,
.col-sm-6 > #wheel-app-pro #wheel-items,
.col-md-6 > #wheel-app-pro #wheel-items,
.class_fix > #wheel-app-pro #wheel-items {
    min-height: 180px;
}

.col-xs-6 > #wheel-app-pro.wheel-columns-2 .wheel-left,
.col-sm-6 > #wheel-app-pro.wheel-columns-2 .wheel-left,
.col-md-6 > #wheel-app-pro.wheel-columns-2 .wheel-left,
.class_fix > #wheel-app-pro.wheel-columns-2 .wheel-left {
    flex: 999 1 460px !important;
    width: auto !important;
    max-width: none !important;
}

.col-xs-6 > #wheel-app-pro.wheel-columns-2 .wheel-right,
.col-sm-6 > #wheel-app-pro.wheel-columns-2 .wheel-right,
.col-md-6 > #wheel-app-pro.wheel-columns-2 .wheel-right,
.class_fix > #wheel-app-pro.wheel-columns-2 .wheel-right {
    flex: 1 1 320px !important;
    width: auto !important;
    max-width: none !important;
}

.col-xs-6 > #wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-left,
.col-sm-6 > #wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-left,
.col-md-6 > #wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-left,
.class_fix > #wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-left {
    flex: 0 1 calc(var(--wheel-left-size, 55%) - 9px) !important;
}

.col-xs-6 > #wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-right,
.col-sm-6 > #wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-right,
.col-md-6 > #wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-right,
.class_fix > #wheel-app-pro.wheel-columns-2.wheel-has-size .wheel-right {
    flex: 0 1 calc(var(--wheel-right-size, 45%) - 9px) !important;
}

@media (max-width: 991px) {
    #wheel-app-pro .wheel-layout {
        display: block;
    }

    #wheel-app-pro .wheel-left,
    #wheel-app-pro .wheel-right {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    #wheel-app-pro.wheel-columns-2 .wheel-left,
    #wheel-app-pro.wheel-columns-2 .wheel-right,
    .col-xs-6 > #wheel-app-pro.wheel-columns-2 .wheel-left,
    .col-xs-6 > #wheel-app-pro.wheel-columns-2 .wheel-right,
    .col-sm-6 > #wheel-app-pro.wheel-columns-2 .wheel-left,
    .col-sm-6 > #wheel-app-pro.wheel-columns-2 .wheel-right,
    .col-md-6 > #wheel-app-pro.wheel-columns-2 .wheel-left,
    .col-md-6 > #wheel-app-pro.wheel-columns-2 .wheel-right,
    .class_fix > #wheel-app-pro.wheel-columns-2 .wheel-left,
    .class_fix > #wheel-app-pro.wheel-columns-2 .wheel-right {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    #wheel-app-pro .wheel-right {
        margin-top: 14px;
    }

    #wheel-app-pro .wheel-pointer {
        right: -2%;
    }
}

@media (max-width: 767px) {
    #wheel-app-pro {
        padding: 8px;
    }

    #wheel-app-pro #wheel-spin-center {
        width: clamp(62px, 18%, 84px);
        height: clamp(62px, 18%, 84px);
        font-size: clamp(13px, calc(var(--wheel-stage-size, 760px) / 28), 19px);
    }

    #wheel-app-pro #wheel-items {
        min-height: 180px;
        font-size: 15px;
    }
}


#wheel-app-pro .wheel-result-image-wrap {
    margin-top: 12px;
    text-align: center;
}

#wheel-app-pro .wheel-result-image {
    display: inline-block;
    max-width: 100%;
    max-height: 280px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

/* ==============================
   RESULT POPUP
   ============================== */
.wheel-result-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(7, 12, 28, .66);
    backdrop-filter: blur(6px);
}

.wheel-result-popup-card {
    position: relative;
    width: min(420px, 94vw);
    padding: 28px 22px 22px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #111827;
    text-align: center;
    box-shadow: 0 22px 70px rgba(0,0,0,.34);
    animation: wheelPopupIn .22s ease-out;
}

@keyframes wheelPopupIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wheel-popup-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #eef2f7;
    color: #111827;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.wheel-popup-x:hover {
    background: #e5e7eb;
}

.wheel-popup-crown {
    width: 74px;
    height: 74px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff7d6;
    font-size: 42px;
    box-shadow: inset 0 0 0 2px rgba(251,191,36,.35);
}

.wheel-popup-title {
    font-size: 16px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 8px;
}

.wheel-popup-win {
    margin: 0 auto 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #111827;
    color: #fff;
    font-size: clamp(22px, 5vw, 34px);
    font-weight: 900;
    line-height: 1.2;
    word-break: break-word;
}

.wheel-popup-image-wrap {
    margin: 12px 0 16px;
}

.wheel-popup-image {
    max-width: 100%;
    max-height: 220px;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.wheel-popup-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.wheel-popup-actions button {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 800;
    cursor: pointer;
}

.wheel-popup-remove {
    background: #fee2e2;
    color: #b91c1c;
}

.wheel-popup-remove:hover {
    background: #fecaca;
}

.wheel-popup-close {
    background: #2563eb;
    color: #fff;
}

.wheel-popup-close:hover {
    background: #1d4ed8;
}


/* v34 config layout fix */
#wheel-app-pro .wheel-config-controls{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:flex-start;
    width:100%;
    max-width:100%;
    clear:both;
}
#wheel-app-pro .wheel-config-group{
    width:calc(50% - 6px);
    min-width:220px;
    max-width:100%;
}
#wheel-app-pro .wheel-config-group label{
    display:block;
    margin:0 0 5px;
    font-size:15px;
    line-height:1.35;
    font-weight:600;
}
#wheel-app-pro .wheel-config-group select{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
}
#wheel-app-pro .wheel-config-check-group{
    display:flex;
    align-items:center;
}
#wheel-app-pro .wheel-config-check-group .wheel-check-row{
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
    margin-top:28px;
}
#wheel-app-pro .wheel-config-check-group input{
    flex:0 0 auto;
}

#wheel-app-pro.wheel-columns-1 .wheel-top-bar,
#wheel-app-pro.wheel-columns-1 #wheel-items,
#wheel-app-pro.wheel-columns-1 .wheel-config-controls,
#wheel-app-pro.wheel-columns-1 .wheel-small-controls,
#wheel-app-pro.wheel-columns-1 .wheel-box {
    width: 100%;
    max-width: 100%;
}

#wheel-app-pro.wheel-columns-1 .wheel-config-group {
    display: block;
    flex: none;
    width: 100%;
    min-width: 0;
    margin: 0 0 12px;
}

#wheel-app-pro.wheel-columns-1 .wheel-config-check-group .wheel-check-row {
    margin-top: 0;
    min-height: 0;
}

#wheel-app-pro.wheel-columns-1 .wheel-right {
    overflow: hidden;
}

#wheel-app-pro.wheel-columns-1 .wheel-top-bar > *,
#wheel-app-pro.wheel-columns-1 .wheel-small-controls > * {
    flex: 1 1 100%;
}

#wheel-app-pro.wheel-columns-1 .wheel-top-bar select,
#wheel-app-pro.wheel-columns-1 .wheel-top-bar input,
#wheel-app-pro.wheel-columns-1 .wheel-config-group select {
    width: 100%;
    max-width: 100%;
}

#wheel-app-pro.wheel-columns-1 .wheel-config-controls {
    display: block;
}

@media(max-width:768px){
    #wheel-app-pro .wheel-config-group{
        width:100%;
        min-width:0;
    }
    #wheel-app-pro .wheel-config-check-group .wheel-check-row{
        margin-top:0;
    }
}

.wheel-live-toast {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 18px;
    background: rgba(7, 12, 28, .66);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.wheel-live-toast.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.wheel-live-toast .wheel-live-toast-card {
    width: min(560px, 94vw);
    padding: 34px 26px 28px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #111827;
    text-align: center;
    box-shadow: 0 22px 70px rgba(0,0,0,.34);
}

.wheel-live-toast .wheel-live-toast-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
    display: inline-flex;
    font-size: 46px;
}

.wheel-live-toast .wheel-live-toast-title {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 22px;
    text-align: center;
}

.wheel-live-toast .wheel-live-toast-lines {
    margin: 0 auto 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #111827;
    color: #fff;
    font-size: clamp(28px, 4.2vw, 48px);
    text-align: center;
}

.wheel-live-toast .wheel-live-toast-close {
    display: inline-block;
}

.wheel-live-poll {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1000001;
    width: min(380px, calc(100vw - 44px));
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    pointer-events: none;
}

.wheel-live-poll.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.wheel-live-poll-card {
    position: relative;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7d6 0%, #ffffff 48%, #dcfce7 100%);
    box-shadow: 0 16px 38px rgba(15,23,42,.22);
    color: #111827;
}

.wheel-live-poll-x {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(15,23,42,.08);
    color: #111827;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.wheel-live-poll-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 30px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 900;
}

.wheel-live-poll-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,.16);
}

.wheel-live-poll-lines {
    display: grid;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.wheel-live-poll-close {
    margin-top: 10px;
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    padding: 9px 12px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 767px) {
    .wheel-live-poll {
        display: none !important;
    }
}

#wheel-music-enable {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 999999;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .22);
    cursor: pointer;
}

.wheel-left {
    position: relative;
}

.wheel-update-poll {
    position: absolute;
    left: 50%;
    bottom: 8px;
    z-index: 30;
    width: min(86%, 420px);
    border: 1px solid rgba(202, 138, 4, .55);
    border-radius: 8px;
    background: #fde047 !important;
    background-color: #fde047 !important;
    color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .2);
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}

.live-wheel .wheel-update-poll,
.live-wheel .wheel-update-poll .wheel-update-poll-lines,
.live-wheel .wheel-update-poll .wheel-update-poll-lines div,
.wheel-update-poll,
.wheel-update-poll .wheel-update-poll-lines,
.wheel-update-poll .wheel-update-poll-lines div {
    background: #fde047 !important;
    background-color: #fde047 !important;
}

.wheel-update-poll.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.wheel-update-poll-lines {
    display: grid;
    gap: 3px;
    padding: 9px 12px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(15px, 1.7vw, 22px);
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
    background: transparent !important;
    background-color: transparent !important;
}

.wheel-update-poll-timeline {
    height: 4px;
    background: rgba(120, 53, 15, .2) !important;
    background-color: rgba(120, 53, 15, .2) !important;
}

.wheel-update-poll-timeline span {
    display: block;
    width: 100%;
    height: 100%;
    background: #b91c1c !important;
    background-color: #b91c1c !important;
    transform-origin: left center;
    animation-name: wheel-update-poll-time;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes wheel-update-poll-time {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}
