.bonus-launcher[hidden]{display:none!important}
.bonus-launcher{position:fixed;right:calc(24px + env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:75;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);min-height:64px;padding:12px 18px 12px 12px;border:1px solid #ffe59d;border-radius:14px;background:linear-gradient(115deg,#ffe38c,#efb52e);color:#261331;cursor:pointer;box-shadow:0 6px 28px #0008;font:inherit;text-align:left;animation:bonus-launcher-glow 2.8s ease-in-out infinite}
.bonus-launcher-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#382044;color:#ffdb6e}.bonus-launcher-icon svg{width:27px;height:27px}.bonus-launcher-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.bonus-launcher-copy strong{font-size:15px;line-height:1.2}.bonus-launcher-copy small{font-size:11px;line-height:1.3;color:#4c3547}.bonus-launcher-plus{font-size:22px;line-height:1;font-weight:700;margin-left:3px}.bonus-launcher:hover{background:#ffe49a;animation-play-state:paused}.bonus-launcher:focus-visible{outline:3px solid #fff;outline-offset:5px;animation:none}.bonus-popup-open .bonus-launcher,.bonus-tools-open .bonus-launcher{animation:none}
@keyframes bonus-launcher-glow{0%,100%{box-shadow:0 6px 28px #0008,0 0 0 0 #f9c54655}50%{box-shadow:0 6px 30px #0008,0 0 0 8px #f9c54600,0 0 25px #f9c54665}}
.bonus-tools-open{overflow:hidden}
.bonus-tools-dialog{padding:0;width:min(1140px,calc(100% - 40px));max-width:1140px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);border:1px solid #77518d;border-radius:16px;background:#160e22;color:#fff;overflow:hidden;box-shadow:0 24px 100px #000b}
.bonus-tools-dialog:not([open]){display:none}.bonus-tools-dialog[open]{display:flex;flex-direction:column}
.bonus-tools-dialog::backdrop{background:#080410cf;backdrop-filter:blur(5px)}
.bonus-tools-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-shrink:0;padding:22px 26px;border-bottom:1px solid #51335f;background:linear-gradient(120deg,#30203f,#1b1128)}
.bonus-tools-dialog-header h2{font-size:24px;line-height:1.2;margin:0 0 5px;color:#ffe093}.bonus-tools-dialog-header p{font-size:12px;margin:0;color:#cbb7df}.bonus-tools-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:10px;border:1px solid #77588c;border-radius:50%;background:#382347;color:#fff;cursor:pointer}.bonus-tools-close svg{width:22px;height:22px}.bonus-tools-close:hover{background:#513361}
.bonus-tools-dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:22px;scrollbar-width:thin;scrollbar-color:#7c5598 #20132d}.bonus-tools-dialog .bonus-tools{margin:0}.bonus-tools-dialog .bonus-tool-panel{padding:22px}.bonus-tools-dialog .tool-heading{margin-bottom:18px}
.bonus-tools-switch{display:none;flex-shrink:0;padding:12px 16px;gap:8px;background:#20132d;border-bottom:1px solid #493051}.bonus-tools-switch button{flex:1;min-height:44px;padding:10px 8px;border:1px solid #71518b;border-radius:6px;background:#281a36;color:#e0cdee;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.bonus-tools-switch button[aria-pressed=true]{background:#583471;border-color:#d5a9f7;color:#fff;box-shadow:inset 0 -2px 0 #d5a9f7}
.cookie-notice{bottom:calc(20px + env(safe-area-inset-bottom,0px))}
@media(max-width:900px){body:has(.cookie-notice:not([hidden])) .bonus-launcher{bottom:calc(84px + env(safe-area-inset-bottom,0px))}}
@media(max-width:760px){.bonus-launcher{right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));min-height:58px;gap:10px;padding:10px 14px 10px 10px;border-radius:12px}.bonus-launcher-icon{width:36px;height:36px}.bonus-launcher-copy strong{font-size:14px}.bonus-launcher-copy small{font-size:10px}.bonus-tools-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:12px}.bonus-tools-dialog-header{padding:16px;gap:12px}.bonus-tools-dialog-header h2{font-size:21px}.bonus-tools-dialog-header p{font-size:11px}.bonus-tools-dialog-body{padding:12px}.bonus-tools-dialog .bonus-tool-panel{padding:18px 14px}.bonus-tools-switch{display:flex}.bonus-tools-dialog[data-pane=finder] #bonus-calculator-panel,.bonus-tools-dialog[data-pane=calculator] #bonus-finder-panel{display:none}.bonus-tools-dialog .bonus-tools-grid{display:block}}
@media(max-width:360px){.bonus-tools-dialog{width:calc(100% - 16px)}.bonus-tools-dialog-body{padding:8px}.bonus-tools-dialog-header{padding:12px}.bonus-tools-dialog-header h2{font-size:19px}.bonus-tools-dialog-header p{font-size:10px}.bonus-tools-switch{padding:10px 12px}.bonus-launcher{right:12px;gap:8px}.bonus-launcher-copy strong{font-size:13px}}
@media(max-height:500px){.bonus-tools-dialog-header{padding:10px 16px}.bonus-tools-dialog-header p{display:none}.bonus-tools-switch{padding-top:8px;padding-bottom:8px}.bonus-tools-dialog-body{padding:10px}}
@media(prefers-reduced-motion:reduce){.bonus-launcher{animation:none}}
.bonus-popup .fortune-wheel{container-type:inline-size;overflow:visible}
.bonus-popup .wheel-disc{z-index:1;background:transparent;border-radius:50%;overflow:hidden;transform-origin:50% 50%;will-change:transform}
.bonus-popup .wheel-disc .wheel-base,.bonus-popup .wheel-disc .wheel-sectors{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:50%;pointer-events:none}
.bonus-popup .wheel-disc .wheel-base{z-index:0}
.bonus-popup .wheel-disc .wheel-sectors{z-index:1}
.bonus-popup .wheel-rewards{position:absolute;inset:0;z-index:2;pointer-events:none}
.bonus-popup .wheel-reward{position:absolute;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:20%;height:19%;padding:0;color:#fff;font-size:clamp(8px,4.2cqw,15px);font-weight:900;line-height:1;text-align:center;text-shadow:0 1px 2px #160c28,0 0 4px #160c28;object-fit:initial;pointer-events:none;transition:filter .2s ease}
.bonus-popup .wheel-reward-value{white-space:nowrap}
.bonus-popup .wheel-reward-icon{display:block;color:#ffda67;font-size:.76em;line-height:1;text-shadow:0 1px 3px #241330}
.bonus-popup .wheel-reward[data-kind=coin] .wheel-reward-icon{display:grid;place-items:center;width:1em;height:1em;border:1px solid #ffdb70;border-radius:50%;color:#ffc944;font-size:.62em}
.bonus-popup .wheel-border{z-index:3;filter:drop-shadow(0 3px 5px #090516aa)}
.bonus-popup .wheel-center{z-index:4;width:19%;height:19%;filter:drop-shadow(0 3px 5px #10091a99)}
.bonus-popup .wheel-arrow{z-index:5;top:-1%;border-left-width:10px;border-right-width:10px;border-top-width:23px;border-top-color:#ffc62e;filter:drop-shadow(0 2px 3px #12081f)}
.bonus-popup .wheel-selected{filter:drop-shadow(0 0 7px #fff) drop-shadow(0 0 11px #ffd34e)}
@media(max-width:520px){.bonus-popup .wheel-reward{font-size:clamp(8px,4.2cqw,12px);width:21%;height:19%}.bonus-popup .wheel-center{width:20%;height:20%}}
.bonus-popup .wheel-disc .wheel-sectors{background:conic-gradient(from -15deg,#fa8b00 0deg 30deg,#4d219c 30deg 60deg,#fa8b00 60deg 90deg,#4d219c 90deg 120deg,#fa8b00 120deg 150deg,#4d219c 150deg 180deg,#fa8b00 180deg 210deg,#4d219c 210deg 240deg,#fa8b00 240deg 270deg,#4d219c 270deg 300deg,#fa8b00 300deg 330deg,#4d219c 330deg 360deg);-webkit-mask-image:url("../img/wheel-sectors-DhKoQMp6.webp");mask-image:url("../img/wheel-sectors-DhKoQMp6.webp");-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;object-fit:initial}
.bonus-popup .wheel-reward{width:23%;height:23%;gap:3px;font-size:clamp(12px,5.2cqw,19px)}
.bonus-popup .wheel-reward-icon{display:block;width:1.12em;height:1.12em;color:#ffdc6c;font-size:.9em;line-height:1}
.bonus-popup .wheel-reward-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bonus-popup .wheel-reward-icon[data-kind=gift]{color:#9bf16a}
.bonus-popup .wheel-reward-icon[data-kind=repeat]{color:#ffdc6c}
.bonus-popup .wheel-reward-icon[data-kind=coin]{color:#ffd267}
.bonus-popup .wheel-center{display:grid;place-items:center;border:2px solid #fff0b0;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff3bd 0%,#ffc952 35%,#db8016 72%,#8f4312 100%);box-shadow:inset 0 0 0 3px #e39420,0 3px 7px #10091a99;color:#74330b;font-family:Montserrat,Arial,sans-serif;font-size:clamp(16px,6cqw,24px);font-weight:900;line-height:1;text-shadow:0 1px 0 #ffedaa}
.bonus-popup .wheel-arrow::before{content:"";position:absolute;left:-4px;top:-13px;width:8px;height:13px;border:1px solid #ffe18b;border-bottom:0;border-radius:4px 4px 1px 1px;background:linear-gradient(90deg,#e1840f,#ffda58,#e1840f);box-shadow:0 1px 3px #12081f}
@media(max-width:520px){.bonus-popup .wheel-reward{width:24%;height:24%;font-size:clamp(11px,5.2cqw,15px)}.bonus-popup .wheel-reward-icon{width:1em;height:1em}.bonus-popup .wheel-center{font-size:clamp(15px,6cqw,20px)}}
