/* DL-inspired selection sheet; confined to ZUNO's demo modal. */
.zwe-modal.zuno-sheet{padding:0!important;align-items:flex-end!important;justify-content:center!important;background:#000a!important;z-index:12000!important}
.zuno-sheet .zwe-dialog.zuno-sheet-card{width:min(500px,100%)!important;max-height:min(88dvh,720px);overflow-y:auto;overscroll-behavior:contain;border-radius:14px 14px 0 0!important;padding:0!important;background:#fff!important;animation:zunoSheetUp .2s ease-out}
@keyframes zunoSheetUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.zuno-sheet .zuno-sheet-head{margin:0!important;min-height:91px!important;display:flex!important;flex-direction:column;justify-content:flex-start;align-items:center;padding:17px 18px 12px!important;background:#ff595d!important;color:#fff!important;position:relative}
.zuno-sheet-head strong{font-size:16px!important;font-weight:500!important}
.zuno-sheet-head button#zwe-close{position:absolute;right:12px;top:4px;opacity:.75;font-size:19px!important}
.zuno-sheet-head .zwe-choice{display:none!important}
.zuno-sheet .zuno-select-label{margin:-45px auto 0;z-index:2;position:relative;display:flex;width:78%;height:35px;border-radius:6px;background:#fff;color:#111;font-size:16px;align-items:center;justify-content:center}
.zuno-sheet .zuno-sheet-head::after{content:'';position:absolute;top:100%;left:0;right:0;height:37px;background:inherit;clip-path:polygon(0 0,100% 0,50% 100%);z-index:1}
.zuno-sheet .zuno-sheet-body{padding:100px 17px 18px;display:flex;flex-direction:column;gap:16px}
.zuno-sheet .zuno-sheet-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px}
.zuno-sheet .zuno-sheet-row>label{font-size:18px;font-weight:400;color:#142038;min-width:82px}
.zuno-sheet .zwe-stakes{display:flex;gap:5px;flex:1;justify-content:flex-end}
.zuno-sheet .zwe-stakes button{flex:none!important;min-width:42px;font-size:14px!important;font-weight:400!important;border-radius:5px!important;background:#f6f6f6!important;color:#75819b!important;padding:9px 8px!important}
.zuno-sheet .zwe-stakes button.on{background:var(--zuno-sheet-accent,#ff595d)!important;color:#fff!important}
.zuno-sheet .zuno-qty-controls{display:flex;align-items:center;gap:12px}
.zuno-sheet .zwe-qty{display:none}
.zuno-sheet #zwe-minus,.zuno-sheet #zwe-plus{width:31px;height:36px;border:0;border-radius:5px;background:var(--zuno-sheet-accent,#ff595d);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.zuno-sheet #zwe-quantity{display:inline-flex;align-items:center;justify-content:center;min-width:94px;height:36px;background:#f5f6fa;font-weight:400;font-size:17px}
.zuno-sheet .zuno-sheet-multipliers{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.zuno-sheet .zuno-sheet-multipliers button{border:0;border-radius:5px;background:#f6f6f6;color:#75819b;padding:10px 12px;font-size:14px;min-width:48px;cursor:pointer}
.zuno-sheet .zuno-sheet-multipliers button.active{background:var(--zuno-sheet-accent,#ff595d);color:white}
.zuno-sheet .zuno-sheet-agreement{display:flex;align-items:center;font-size:14px;gap:5px;color:#8b92ab}
.zuno-sheet .zuno-sheet-agreement input{accent-color:#ff595d;width:18px;height:18px}
.zuno-sheet .zuno-terms{color:#ff595d}
.zuno-sheet .zuno-sheet-note{font-size:11px;color:#9da3b0;margin:0;text-align:center}
.zuno-sheet .zuno-sheet-footer{display:flex;position:sticky;bottom:0;background:#fff;min-height:48px}
.zuno-sheet .zuno-sheet-cancel,.zuno-sheet .zuno-sheet-confirm{border-radius:0!important;border:0;font-size:15px!important;font-weight:400!important;padding:15px 10px!important;cursor:pointer}
.zuno-sheet .zuno-sheet-cancel{flex:1;background:#f5f5f5;color:#8993ae}
.zuno-sheet .zuno-sheet-confirm{flex:2!important;width:auto!important;margin:0!important;background:var(--zuno-sheet-accent,#ff595d)!important;color:#fff!important}
.zuno-sheet [data-zuno-color="green"]{--zuno-sheet-accent:#17bb6f}
.zuno-sheet [data-zuno-color="violet"]{--zuno-sheet-accent:#c65cf5}
.zuno-sheet [data-zuno-color="red"]{--zuno-sheet-accent:#ff595d}
.zuno-sheet [data-zuno-color="big"]{--zuno-sheet-accent:#ffad55}
.zuno-sheet [data-zuno-color="small"]{--zuno-sheet-accent:#6fa5f4}
.zuno-sheet [data-zuno-color="zero"]{--zuno-sheet-accent:#d164d4}
.zuno-sheet .zuno-sheet-head,.zuno-sheet .zuno-sheet-confirm{background:var(--zuno-sheet-accent,#ff595d)!important}
.zuno-sheet [data-zuno-color="zero"] .zuno-sheet-head{background:linear-gradient(155deg,#ff595d 50%,#c65cf5 50%)!important}
@media(max-width:375px){.zuno-sheet .zuno-sheet-body{padding-left:10px;padding-right:10px}.zuno-sheet .zuno-sheet-row>label{min-width:72px;font-size:16px}.zuno-sheet #zwe-quantity{min-width:62px}.zuno-sheet .zuno-sheet-multipliers button{padding:9px;min-width:40px}}
@media(prefers-reduced-motion:reduce){.zuno-sheet .zwe-dialog.zuno-sheet-card{animation:none}}

/* ZUNO NUMBER 0 AND 5 FIX */
.zuno-sheet [data-zuno-color="zero"] {
    --zuno-sheet-accent: #ff595d;
}
.zuno-sheet [data-zuno-color="five"] {
    --zuno-sheet-accent: #17bb6f;
}
.zuno-sheet [data-zuno-color="zero"] .zuno-sheet-head {
    background: linear-gradient(
        155deg, #ff595d 50%, #c65cf5 50%
    ) !important;
}
.zuno-sheet [data-zuno-color="five"] .zuno-sheet-head {
    background: linear-gradient(
        155deg, #17bb6f 50%, #c65cf5 50%
    ) !important;
}
.zuno-sheet .zuno-sheet-multipliers button {
    min-width: 0;
    flex: 1 1 0;
    padding: 10px 5px;
}
/* ZUNO SINGLE GRADIENT HEADER FIX */

/* Number 0: Red + Violet */
.zuno-sheet [data-zuno-color="zero"] {
    --zuno-sheet-accent: #ff595d;
}

/* Number 5: Green + Violet */
.zuno-sheet [data-zuno-color="five"] {
    --zuno-sheet-accent: #17bb6f;
}

/* Stop the old duplicate triangular gradient layer */
.zuno-sheet [data-zuno-color="zero"] .zuno-sheet-head::after,
.zuno-sheet [data-zuno-color="five"] .zuno-sheet-head::after {
    display: none !important;
    content: none !important;
}

/* Use just one shaped background */
.zuno-sheet [data-zuno-color="zero"] .zuno-sheet-head,
.zuno-sheet [data-zuno-color="five"] .zuno-sheet-head {
    background: transparent !important;
    position: relative !important;
    isolation: isolate;
}

/* Full header and arrow formed from one gradient */
.zuno-sheet [data-zuno-color="zero"] .zuno-sheet-head::before,
.zuno-sheet [data-zuno-color="five"] .zuno-sheet-head::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: -37px !important;
    left: 0 !important;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 37px),
        50% 100%,
        0 calc(100% - 37px)
    );
    z-index: -1 !important;
}

.zuno-sheet [data-zuno-color="zero"] .zuno-sheet-head::before {
    background: linear-gradient(
        155deg,
        #ff595d 50%,
        #c65cf5 50%
    ) !important;
}

.zuno-sheet [data-zuno-color="five"] .zuno-sheet-head::before {
    background: linear-gradient(
        155deg,
        #17bb6f 50%,
        #c65cf5 50%
    ) !important;
}
