/*
 * Fortune Wheel Orders — глобальный попап-колесо.
 * Дизайн по фигме: левая половина — колесо в зелёном ободе с пином-каплей,
 * правая — кремовая панель с заголовком, формой и согласием.
 * Без правого баннера/иллюстраций. Лейблы секторов — только текст.
 */

:root {
    --fwo-cream: #f9f7f2;
    --fwo-green: #70c043;
    --fwo-btn-green: #59c037;
    --fwo-btn-green-hover: #4caf2d;
    --fwo-btn-disabled: #b3b3b3;
    --fwo-text: #4a4a4a;
    --fwo-text-muted: #6b6b6b;
    --fwo-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fwo-field-border: #c5c5c5;
    --fwo-check-border: #b8b8b8;
    --fwo-wheel-size: 520px;
    --fwo-wheel-outer: var(--fwo-wheel-size);
    --fwo-wheel-bw: 12px;
    --fwo-layout-pad-t: 28px;
    --fwo-layout-pad-b: 28px;
    --fwo-layout-pad-l: 22px;
    --fwo-layout-pad-r: 48px;
    --fwo-card-min-h: calc(var(--fwo-layout-pad-t) + var(--fwo-wheel-size) + var(--fwo-layout-pad-b));
    --fwo-card-left-r: calc(var(--fwo-card-min-h) / 2);
    --fwo-card-right-r: 22px;
}

.fwo-widget {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

.fwo-widget.fwo-widget--open {
    display: block;
    pointer-events: auto;
}

.fwo-widget__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 18, 14, 0.55);
    backdrop-filter: blur(2px);
}

.fwo-widget__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1100px, calc(100vw - 40px));
    transform: translate(-50%, -50%);
    background: transparent;
    border-radius: 28px;
    overflow: visible;
    isolation: isolate;
}

.fwo-layout-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--fwo-card-left-r) var(--fwo-card-right-r) var(--fwo-card-right-r) var(--fwo-card-left-r);
    box-shadow: 0 20px 48px rgba(33, 24, 18, 0.18);
}

.fwo-layout {
    position: relative;
    display: grid;
    grid-template-columns: var(--fwo-wheel-size) minmax(0, 1fr);
    align-items: center;
    column-gap: 36px;
    width: 100%;
    min-height: var(--fwo-card-min-h);
    padding: var(--fwo-layout-pad-t) var(--fwo-layout-pad-r) var(--fwo-layout-pad-b) var(--fwo-layout-pad-l);
    box-sizing: border-box;
    background: var(--fwo-cream);
    border-radius: var(--fwo-card-left-r) var(--fwo-card-right-r) var(--fwo-card-right-r) var(--fwo-card-left-r);
    overflow: visible;
}

@media (min-width: 901px) and (max-width: 1100px) {
    :root {
        --fwo-wheel-size: 480px;
        --fwo-layout-pad-t: 22px;
        --fwo-layout-pad-b: 22px;
        --fwo-layout-pad-l: 18px;
        --fwo-card-min-h: calc(var(--fwo-layout-pad-t) + var(--fwo-wheel-size) + var(--fwo-layout-pad-b));
        --fwo-card-left-r: calc(var(--fwo-card-min-h) / 2);
    }
}

.fwo-widget__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

.fwo-widget__close span {
    position: absolute;
    top: 15px;
    left: 6px;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #826d5d;
}

.fwo-widget__close span:first-child {
    transform: rotate(45deg);
}

.fwo-widget__close span:last-child {
    transform: rotate(-45deg);
}

/* ----------------------------- Колесо ----------------------------- */

.fwo-wheel-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--fwo-wheel-size);
    margin: 0;
    padding: 0;
    justify-self: center;
    align-self: center;
    pointer-events: auto;
    aspect-ratio: 1;
}

.fwo-wheel-frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
}

.fwo-wheel {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: var(--fwo-wheel-bw) solid var(--fwo-green);
    --fwo-wheel-inner-r: calc((var(--fwo-wheel-outer) - 2 * var(--fwo-wheel-bw)) / 2);
    background: #fffefa;
    box-shadow: none;
    transform: rotate(90deg);
    transition: transform 5.2s cubic-bezier(0.17, 0.86, 0.32, 1);
    overflow: hidden;
}

.fwo-wheel__sectors {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    transform: rotate(18deg);
}

.fwo-wheel__sector {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    /* Долька 36° (10 секторов) */
    clip-path: polygon(
        50% 50%,
        36.10% 7.80%,
        36.15% 6.20%,
        36.65% 4.65%,
        37.85% 3.20%,
        39.70% 2.10%,
        42.25% 1.35%,
        45.40% 1.05%,
        54.60% 1.05%,
        57.75% 1.35%,
        60.30% 2.10%,
        62.15% 3.20%,
        63.35% 4.65%,
        63.85% 6.20%,
        63.90% 7.80%
    );
    transform: rotate(calc(var(--segment-index) * 36deg));
    transform-origin: 50% 50%;
    overflow: hidden;
}

.fwo-wheel__sector::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 1px;
    height: 46%;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.34) 0%,
        rgba(255, 255, 255, 0.18) 28%,
        rgba(128, 111, 98, 0.16) 100%
    );
    transform: translateX(-50%) rotate(-18deg);
    transform-origin: center bottom;
    pointer-events: none;
}

.fwo-wheel__sector::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 1px;
    height: 46%;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(128, 111, 98, 0.16) 0%,
        rgba(255, 255, 255, 0.16) 55%,
        rgba(255, 255, 255, 0.30) 100%
    );
    transform: translateX(-50%) rotate(18deg);
    transform-origin: center bottom;
    pointer-events: none;
}

.fwo-wheel__sector--light {
    background: #fffefa;
}

.fwo-wheel__sector--dark {
    background: #f6f2ea;
}

.fwo-wheel__label {
    position: absolute;
    top: 50%;
    left: 50%;
    box-sizing: border-box;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--fwo-font);
    color: #5a4f45;
    transform:
        translate(-50%, -50%)
        rotate(calc(var(--segment-index) * 36deg - 90deg))
        translateY(calc(-0.62 * var(--fwo-wheel-inner-r)))
        rotate(90deg);
    transform-origin: center center;
    z-index: 2;
    pointer-events: none;
}

.fwo-wheel__label-text {
    display: block;
    font-size: 14px;
    line-height: 1.18;
    font-weight: 600;
    text-align: center;
    word-break: break-word;
}

.fwo-wheel__center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88px;
    height: 88px;
    margin: -44px 0 0 -44px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #8d6f60;
    box-shadow: 0 0 0 6px #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
    z-index: 3;
}

.fwo-wheel__center-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.fwo-wheel-pin {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 34px;
    height: 34px;
    transform: translateX(-50%) rotate(-45deg);
    border-radius: 50% 50% 50% 0;
    background: var(--fwo-green);
    box-shadow: 0 8px 18px rgba(74, 95, 45, 0.26);
    z-index: 4;
}

.fwo-wheel-pin::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: #fff;
}

/* ----------------------------- Правая панель ----------------------------- */

.fwo-panel {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: var(--fwo-font);
    background: transparent;
    margin: 0;
    padding: 0 0 0 8px;
    align-self: center;
}

.fwo-title {
    width: 100%;
    margin: 0 0 18px;
    color: #5a4f45;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    font-family: var(--fwo-font);
}

.fwo-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fwo-form[hidden],
.fwo-result[hidden],
.fwo-success[hidden],
.fwo-cert[hidden] {
    display: none !important;
}

.fwo-form--secondary {
    margin-top: 18px;
}

.fwo-field input {
    width: 100%;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--fwo-field-border);
    background: #fff;
    color: var(--fwo-text);
    font-size: 15px;
    font-family: var(--fwo-font);
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fwo-field input::placeholder {
    color: #9a9a9a;
}

.fwo-field input:focus {
    outline: none;
    border-color: var(--fwo-btn-green);
    box-shadow: 0 0 0 2px rgba(89, 192, 55, 0.25);
}

.fwo-button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--fwo-btn-green);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--fwo-font);
    cursor: pointer;
    transition: background 0.2s ease;
}

.fwo-button:hover:not(:disabled) {
    background: var(--fwo-btn-green-hover);
}

.fwo-button:disabled {
    background: var(--fwo-btn-disabled);
    color: #fff;
    cursor: not-allowed;
}

.fwo-check {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: flex-start;
    gap: 8px;
    color: #6f6f6f;
    font-size: 12px;
    line-height: 1.4;
    font-family: var(--fwo-font);
    margin-top: 4px;
}

.fwo-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fwo-check__box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--fwo-check-border);
    background: #fff;
    position: relative;
    margin-top: 1px;
    flex-shrink: 0;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.fwo-check input:checked + .fwo-check__box {
    background: var(--fwo-btn-green);
    border-color: var(--fwo-btn-green);
}

.fwo-check input:checked + .fwo-check__box::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fwo-check a {
    color: #5a5a5a;
    text-decoration: underline;
}

.fwo-error {
    margin: 0;
    color: #c44f48;
    font-size: 12px;
    line-height: 1.35;
}

.fwo-result,
.fwo-success {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(147, 128, 115, 0.12);
}

.fwo-result__eyebrow {
    margin: 0 0 6px;
    color: var(--fwo-btn-green);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.fwo-result__title,
.fwo-success__title {
    margin: 0 0 8px;
    color: #6c5948;
    font-size: 22px;
    line-height: 1.08;
}

.fwo-result__text,
.fwo-success__text,
.fwo-hint {
    margin: 0;
    color: #74685d;
    font-size: 14px;
    line-height: 1.4;
}

.fwo-cert {
    margin-top: 12px;
}

.fwo-cert__hint {
    margin: 0 0 8px;
    color: #74685d;
    font-size: 13px;
    line-height: 1.35;
}

.fwo-cert__link {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--fwo-btn-green);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
    line-height: 1.2;
}

.fwo-cert__link:hover {
    background: var(--fwo-btn-green-hover);
    color: #fff;
}

.fwo-code {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f1f8eb;
    color: #448629;
    font-size: 16px;
    font-weight: 700;
    word-break: break-word;
}

body.fwo-body-lock {
    overflow: hidden;
}

/* ----------------------------- Mobile ----------------------------- */

@media (max-width: 900px) {
    .fwo-widget__dialog {
        width: min(360px, calc(100vw - 16px));
        background: var(--fwo-cream);
        border-radius: 24px;
        box-shadow: 0 30px 70px rgba(33, 24, 18, 0.28);
    }

    .fwo-layout-outer {
        box-shadow: none;
        overflow: visible;
        border-radius: 24px;
    }

    .fwo-layout {
        display: block;
        min-height: 0;
        background: transparent;
        border-radius: 0;
        padding: 16px 0 8px;
    }

    .fwo-wheel-card {
        --fwo-wheel-outer: 278px;
        --fwo-wheel-bw: 8px;
        position: relative;
        width: 278px;
        height: 278px;
        max-width: 278px;
        aspect-ratio: auto;
        margin: 22px auto 0;
        padding: 0;
        min-height: 0;
    }

    .fwo-wheel-frame {
        position: relative;
        inset: auto;
        width: 278px;
        height: 278px;
        margin: 0 auto;
    }

    .fwo-wheel__label {
        width: 84px;
        transform:
            translate(-50%, -50%)
            rotate(calc(var(--segment-index) * 36deg - 90deg))
            translateY(calc(-0.56 * var(--fwo-wheel-inner-r)))
            rotate(90deg);
    }

    .fwo-wheel__label-text {
        font-size: 9px;
        line-height: 1.08;
        max-height: 30px;
        overflow: visible;
        overflow-wrap: anywhere;
    }

    .fwo-wheel__center {
        width: 64px;
        height: 64px;
        margin: -32px 0 0 -32px;
        box-shadow: 0 0 0 4px #fff;
    }

    .fwo-wheel__center-logo {
        width: 40px;
        height: 40px;
    }

    .fwo-wheel-pin {
        top: 2px;
        width: 26px;
        height: 26px;
    }

    .fwo-wheel-pin::before {
        inset: 6px;
    }

    .fwo-panel {
        display: block;
        align-self: auto;
        background: transparent;
        margin-left: 0;
        padding: 8px 16px 18px;
    }

    .fwo-title {
        font-size: 28px;
        margin: 8px 0 14px;
    }

    .fwo-field input {
        height: 44px;
        border-radius: 10px;
    }

    .fwo-button {
        height: 44px;
        border-radius: 999px;
    }

    .fwo-check {
        grid-template-columns: 16px 1fr;
        font-size: 11px;
        gap: 6px;
    }

    .fwo-widget__close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(4px);
    }

    .fwo-widget__close span {
        left: 8px;
    }
}

/* Reviews/NPS wheel: visual alignment with the Figma "Для отзывов" popup. */
:root {
    --fwo-cream: #fbf7f4;
    --fwo-green: #61c43c;
    --fwo-text: #665744;
    --fwo-dialog-w: 929px;
    --fwo-dialog-h: 545px;
    --fwo-card-x: 273px;
    --fwo-card-y: 26px;
    --fwo-card-w: 656px;
    --fwo-card-h: 480px;
    --fwo-panel-x: 314px;
    --fwo-panel-y: 166px;
    --fwo-panel-w: 270px;
    --fwo-wheel-size: 480px;
    --fwo-wheel-outer: var(--fwo-wheel-size);
    --fwo-wheel-bw: 7px;
}

@media (min-width: 901px) {
    .fwo-widget__backdrop {
        background: rgba(18, 18, 18, 0.55);
        backdrop-filter: none;
    }

    .fwo-widget__dialog {
        width: min(var(--fwo-dialog-w), calc(100vw - 40px));
        height: var(--fwo-dialog-h);
        box-shadow: none;
    }

    .fwo-layout-outer {
        position: absolute;
        left: var(--fwo-card-x);
        top: var(--fwo-card-y);
        width: var(--fwo-card-w);
        height: var(--fwo-card-h);
        overflow: visible;
        border-radius: 0 28px 28px 0;
        box-shadow: 0 20px 48px rgba(33, 24, 18, 0.18);
    }

    .fwo-layout {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 0;
        background: var(--fwo-cream);
        border-radius: 0 28px 28px 0;
        overflow: visible;
    }

    .fwo-wheel-card {
        position: absolute;
        left: calc(var(--fwo-wheel-size) / -2);
        top: 0;
        width: var(--fwo-wheel-size);
        height: var(--fwo-wheel-size);
        max-width: none;
        aspect-ratio: auto;
        justify-self: auto;
        align-self: auto;
    }

    .fwo-wheel-frame {
        position: absolute;
        inset: 0;
        width: var(--fwo-wheel-size);
        height: var(--fwo-wheel-size);
    }

    .fwo-panel {
        position: absolute;
        left: var(--fwo-panel-x);
        top: var(--fwo-panel-y);
        width: var(--fwo-panel-w);
        min-width: 0;
        display: flex;
        justify-content: flex-start;
        padding: 0;
        align-self: auto;
    }

    .fwo-widget__close {
        top: calc(var(--fwo-card-y) + 24px);
        right: 22px;
    }
}

.fwo-wheel {
    border: 0;
    background: var(--fwo-green);
    --fwo-wheel-inner-r: calc((var(--fwo-wheel-outer) - 2 * var(--fwo-wheel-bw)) / 2);
}

.fwo-wheel__sectors {
    inset: var(--fwo-wheel-bw);
    transform: rotate(18deg);
}

.fwo-wheel__sector {
    clip-path: polygon(
        50% 50%,
        34.20% 10.90%,
        34.35% 8.30%,
        35.15% 6.10%,
        36.75% 4.25%,
        39.10% 2.90%,
        42.35% 2.00%,
        46.05% 1.55%,
        53.95% 1.55%,
        57.65% 2.00%,
        60.90% 2.90%,
        63.25% 4.25%,
        64.85% 6.10%,
        65.65% 8.30%,
        65.80% 10.90%
    );
}

.fwo-wheel__sector--light,
.fwo-wheel__sector--dark {
    background: #fffefd;
}

.fwo-wheel__sector::before,
.fwo-wheel__sector::after {
    background: rgba(128, 111, 98, 0.14);
}

.fwo-wheel__label {
    width: 126px;
    color: #5a4f45;
    transform:
        translate(-50%, -50%)
        rotate(calc(var(--segment-index) * 36deg - 90deg))
        translateY(calc(-0.64 * var(--fwo-wheel-inner-r)))
        rotate(90deg);
}

.fwo-wheel__label-text {
    font-size: 14px;
    line-height: 1.16;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.fwo-wheel__center {
    width: 88px;
    height: 88px;
    margin: -44px 0 0 -44px;
    border: 3px solid #8c6f5f;
    box-shadow: 0 0 0 6px #fff;
}

.fwo-wheel__center-logo {
    width: 58px;
    height: 58px;
}

.fwo-wheel-pin {
    top: -24px;
    width: 40px;
    height: 61px;
    transform: translateX(-50%);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.fwo-wheel-pin::before {
    top: 9px;
    left: calc(50% + 5px);
    width: 16px;
    height: 16px;
    inset: auto;
    transform: translateX(-50%);
    z-index: 2;
}

.fwo-wheel-pin::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #5d7c3b;
    clip-path: polygon(
        50% 100%,
        13% 62%,
        2% 43%,
        0 25%,
        8% 10%,
        26% 1%,
        50% 0,
        74% 1%,
        92% 10%,
        100% 25%,
        98% 43%,
        87% 62%
    );
    z-index: 1;
}

.fwo-title {
    margin: 0 0 14px;
    color: var(--fwo-text);
    font-size: 28px;
    line-height: 38px;
    font-weight: 600;
    letter-spacing: 0;
}

.fwo-form {
    gap: 8px;
}

.fwo-field input {
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 12px;
}

.fwo-button {
    height: 38px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.fwo-button:disabled {
    background: #b7afa5;
    color: #9da09d;
}

.fwo-check {
    grid-template-columns: 17px 1fr;
    gap: 8px;
    margin-top: 8px;
    color: var(--fwo-text);
    font-size: 8px;
    line-height: 10.4px;
}

.fwo-check__box {
    width: 17px;
    height: 17px;
    border-radius: 3px;
}

.fwo-check input:checked + .fwo-check__box::after {
    top: 3px;
    left: 5px;
    width: 5px;
    height: 9px;
}

.fwo-result,
.fwo-success {
    margin-top: 0;
    padding: 16px 18px;
    border-radius: 16px;
}

body.fwo-body-lock .fw3-widget,
body.fwo-body-lock .b24-widget-button-wrapper,
body.fwo-body-lock [class*="jivo"],
body.fwo-body-lock [id*="jivo"] {
    display: none !important;
}

@media (max-width: 900px) {
    :root {
        --fwo-dialog-w: 343px;
        --fwo-dialog-h: 627px;
        --fwo-card-x: 0px;
        --fwo-card-y: 80px;
        --fwo-card-w: 343px;
        --fwo-card-h: 620px;
        --fwo-panel-x: 30px;
        --fwo-panel-y: 342px;
        --fwo-panel-w: 270px;
        --fwo-wheel-size: 301px;
        --fwo-wheel-outer: 301px;
        --fwo-wheel-bw: 5px;
    }

    .fwo-widget__backdrop {
        background: rgba(18, 18, 18, 0.55);
        backdrop-filter: none;
    }

    .fwo-widget__dialog {
        width: min(var(--fwo-dialog-w), calc(100vw - 16px));
        height: var(--fwo-dialog-h);
        background: transparent;
        border-radius: 0;
        box-shadow: 0 30px 70px rgba(33, 24, 18, 0.28);
    }

    .fwo-layout-outer {
        position: absolute;
        left: var(--fwo-card-x);
        top: var(--fwo-card-y);
        width: min(var(--fwo-card-w), 100%);
        height: var(--fwo-card-h);
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
    }

    .fwo-layout {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 0;
        background: var(--fwo-cream);
        border-radius: 0;
        overflow: visible;
    }

    .fwo-wheel-card {
        position: absolute;
        left: 20px;
        top: -63px;
        width: var(--fwo-wheel-size);
        height: var(--fwo-wheel-size);
        max-width: none;
        margin: 0;
    }

    .fwo-wheel-frame {
        position: absolute;
        inset: 0 auto auto 0;
        width: var(--fwo-wheel-size);
        height: var(--fwo-wheel-size);
    }

    .fwo-panel {
        position: absolute;
        left: var(--fwo-panel-x);
        top: var(--fwo-panel-y);
        width: var(--fwo-panel-w);
        display: block;
        padding: 0;
    }

    .fwo-wheel__label {
        width: 88px;
        transform:
            translate(-50%, -50%)
            rotate(calc(var(--segment-index) * 36deg - 90deg))
            translateY(calc(-0.66 * var(--fwo-wheel-inner-r)))
            rotate(90deg);
    }

    .fwo-wheel__label-text {
        font-size: 10px;
        line-height: 1.1;
    }

    .fwo-wheel__center {
        width: 55px;
        height: 55px;
        margin: -27.5px 0 0 -27.5px;
        box-shadow: 0 0 0 4px #fff;
    }

    .fwo-wheel__center-logo {
        width: 35px;
        height: 35px;
    }

    .fwo-wheel-pin {
        top: -16px;
        width: 25px;
        height: 38px;
    }

    .fwo-wheel-pin::before {
        top: 6px;
        left: calc(50% + 3px);
        width: 10px;
        height: 10px;
        transform: translateX(-50%);
    }

    .fwo-title {
        margin: 0 0 14px;
        font-size: 28px;
        line-height: 38px;
    }

    .fwo-widget__close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #fff;
        backdrop-filter: none;
    }
}

.fwo-widget .fwo-wheel-pin::before {
    left: 11px !important;
    top: 10px !important;
    transform: none !important;
}

@media (max-width: 900px) {
    .fwo-widget .fwo-wheel-pin::before {
        left: 7px !important;
        transform: none !important;
    }
}
