.autoplay-popup{
  position:fixed;inset:auto;margin:0;width:min(360px,calc(100vw - 24px));
  padding:18px 20px 20px;box-sizing:border-box;overflow:auto;
  border:1px solid #ffffff24;border-radius:10px;background:#171717;color:#f7f7f7;
  box-shadow:0 8px 28px #0006;font-family:BuyRubik,Arial,sans-serif;
}
.autoplay-popup::backdrop{background:transparent;pointer-events:none}
.autoplay-popup .auto-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #ffffff20}
.autoplay-popup h2{margin:0;font-size:15px;line-height:20px;font-weight:550;letter-spacing:0}
.autoplay-popup #close-autospin{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:5px;background:transparent;color:#ddd;font-size:25px;line-height:1}
.autoplay-popup #close-autospin:hover{background:#333;color:white}
.autoplay-popup .auto-count-options{margin:16px 0 18px;padding:0;border:0}
.autoplay-popup .auto-count-options legend{margin-bottom:9px;color:#f7f7f7;font-size:12px;font-weight:550;text-transform:uppercase}
.autoplay-popup .auto-chips{gap:7px;grid-template-columns:repeat(5,minmax(0,1fr))}
.autoplay-popup .auto-chips span{height:38px;border:0;border-radius:24px;background:#4a4a4a;color:#fff;font-size:14px;font-weight:650}
.autoplay-popup .auto-chips label:hover span{background:#5b5b5b}
.autoplay-popup .auto-chips input:checked+span{background:#e9573f;color:#fff}
.autoplay-popup .auto-chips input:focus-visible+span{outline:2px solid white;outline-offset:3px}
.autoplay-popup #start-autospin{min-height:43px;padding:11px 12px;background:#e9573f;color:white;border:0;border-radius:6px;font:600 14px/20px BuyRubik,Arial,sans-serif;width:100%}
.autoplay-popup #start-autospin:hover{background:#d34630}
.autoplay-popup button:focus-visible{outline:2px solid white;outline-offset:3px}
.app[data-ui=modern] #autospin[aria-expanded=true]{color:#fff}
#autospin[aria-expanded=true] svg,#autospin[aria-expanded=true]>span{display:none}
#autospin[aria-expanded=true]::after{content:'×';font:600 34px/1 Arial,sans-serif}
/* Stop on bonus, Advanced (loss and single win limits), as Waylanders offers them. */
.autoplay-popup .auto-bonus{margin:0 0 16px;padding-top:14px;border-top:1px solid #ffffff20}
.autoplay-popup .auto-switch{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}
.autoplay-popup .auto-switch b{display:block;font-size:12px;font-weight:550;text-transform:uppercase}
.autoplay-popup .auto-switch small{display:block;margin-top:3px;color:#a9a9a9;font-size:12px}
.autoplay-popup .auto-switch input{position:absolute;opacity:0;width:1px;height:1px}
.autoplay-popup .auto-switch i{position:relative;flex:none;width:40px;height:22px;border-radius:11px;background:#4a4a4a;transition:background .15s}
.autoplay-popup .auto-switch i::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
.autoplay-popup .auto-switch input:checked+i{background:#e9573f}
.autoplay-popup .auto-switch input:checked+i::after{transform:translateX(18px)}
.autoplay-popup .auto-switch input:focus-visible+i{outline:2px solid white;outline-offset:3px}
.autoplay-popup .auto-bonus-types{margin-top:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
.autoplay-popup .auto-bonus-types span{font-size:12px}
.autoplay-popup .auto-bonus-types[hidden]{display:none}
.autoplay-popup .auto-advanced{margin:0 0 18px;padding-top:14px;border-top:1px solid #ffffff20}
.autoplay-popup .auto-advanced summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:12px;font-weight:550;text-transform:uppercase;list-style:none}
.autoplay-popup .auto-advanced summary::-webkit-details-marker{display:none}
.autoplay-popup .auto-advanced summary::after{content:"";width:7px;height:7px;margin-right:4px;border-right:2px solid #ddd;border-bottom:2px solid #ddd;transform:rotate(45deg);transition:transform .15s}
.autoplay-popup .auto-advanced[open] summary::after{transform:rotate(225deg)}
.autoplay-popup .auto-advanced summary:focus-visible{outline:2px solid white;outline-offset:3px}
.autoplay-popup .auto-limit{margin:14px 0 0;padding:0;border:0;min-width:0}
.autoplay-popup .auto-limit legend{margin-bottom:9px;color:#f7f7f7;font-size:12px;font-weight:550;text-transform:uppercase}
.autoplay-popup .auto-limit .auto-chips{grid-template-columns:repeat(6,minmax(0,1fr))}
.autoplay-popup .auto-limit .auto-chips span{font-size:13px}
