.sm-auto-tool{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:16000;width:min(320px,calc(100vw - 24px));font-family:'Manrope','Inter','Segoe UI',sans-serif;color:#f5f7fb;pointer-events:none;transition:opacity .25s ease,transform .25s ease,visibility .25s ease}
.sm-auto-tool__panel{background:linear-gradient(145deg,#0b0e13,#141923);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:18px 20px;box-shadow:0 15px 35px rgba(0,0,0,.55);pointer-events:auto;overflow:hidden}
.sm-auto-tool--hidden{opacity:0;transform:translateY(-14px);visibility:hidden}
.sm-auto-tool--visible{opacity:1;transform:translateY(0);visibility:visible}
.sm-auto-tool__eyebrow{margin:0 0 6px;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:#ffbf45;font-weight:800}
.sm-auto-tool__body{margin:0 0.75rem 12px 0;font-size:.92rem;line-height:1.4;color:#dbe2ef}
.sm-auto-tool__body--subtle{font-size:.8rem;color:#aeb9cf;opacity:.85;margin-bottom:8px}
.sm-auto-tool__recommendation{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}
.sm-auto-tool__label{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#9aa6bb;font-weight:700}
.sm-auto-tool__casino{font-size:1.05rem;color:#f5f7fb}
.sm-auto-tool__meta{margin:0 0 10px;font-size:.82rem;color:#97a4ba}
.sm-auto-tool__countdown{margin:0 0 16px;font-weight:600;color:#ffbf45;font-size:.86rem}
.sm-auto-tool__value-stack{display:flex;flex-direction:column;gap:6px;margin:12px 0 14px;text-align:center}
.sm-auto-tool__info{margin:0;font-size:.9rem;color:#cfd5e4;line-height:1.35}
.sm-auto-tool__info--spins{font-size:1.65rem;font-weight:800;text-transform:none;background:linear-gradient(120deg,#ffe7b0,#ffb347);color:#1a120b;padding:14px 16px;border-radius:18px;box-shadow:0 12px 30px rgba(255,179,71,.26);letter-spacing:.01em;text-align:center}
.sm-auto-tool__info--bonus{font-size:1.1rem;font-weight:700;color:#f8fbff;white-space:pre-line;text-align:center}
.sm-auto-tool__scarcity{margin:4px 0 0;font-size:.7rem;color:#d3b979;letter-spacing:.04em;text-transform:none;opacity:.75;font-weight:600}
.sm-auto-tool__info--payments{font-size:.68rem;color:#a3aec4;opacity:.6}
.sm-auto-tool__info[hidden]{display:none!important}
.sm-auto-tool__warning{margin:-6px 0 12px;font-size:.78rem;font-weight:600;color:#ff8f5a}
.sm-auto-tool__warning[hidden]{display:none!important}
.sm-auto-tool__actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.sm-auto-tool__cta{flex:1 1 140px;border:none;border-radius:14px;background:linear-gradient(130deg,#ffca5f,#ff7b02);color:#0b0e13;font-weight:800;padding:.85rem 1.1rem;font-size:1rem;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 12px 28px rgba(255,123,2,.4);display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.sm-auto-tool__cta-label{font-size:1rem;line-height:1}
.sm-auto-tool__cta-sub{font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.sm-auto-tool__cta:disabled{opacity:.5;cursor:wait;box-shadow:none}
.sm-auto-tool__cta:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(255,123,2,.5)}
.sm-auto-tool__secondary{flex:1 1 120px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.04);color:#cfd5e4;border-radius:12px;padding:.65rem 1rem;font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease}
.sm-auto-tool__secondary:hover{background:rgba(255,255,255,.08);color:#fff}
.sm-auto-tool__legal{margin:0;font-size:.72rem;color:#7e8aa5}
.sm-auto-tool__close{position:absolute;top:10px;right:12px;border:none;background:transparent;color:#9aa6bb;font-size:1.1rem;font-weight:700;cursor:pointer;padding:2px;line-height:1}
.sm-auto-tool__close:hover{color:#fff}
.sm-auto-tool__panel{position:relative}

@media (min-width:577px){
  /* Keep English desktop CTA copy centered so the button stays visually balanced */
  .sm-auto-tool[data-lang="en"] .sm-auto-tool__cta{
    align-items:center;
    justify-content:center;
    text-align:center;
  }
}

.sm-auto-tool__confirm{position:absolute;inset:0;background:rgba(6,8,12,.82);display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(2px);z-index:2}
.sm-auto-tool__confirm[hidden]{display:none!important}
.sm-auto-tool__confirm-panel{background:rgba(19,23,32,.95);border-radius:18px;padding:18px 20px;border:1px solid rgba(255,255,255,.08);text-align:center;max-width:260px}
.sm-auto-tool__confirm-text{margin:0 0 14px;font-size:.95rem;color:#f3f6ff;font-weight:700}
.sm-auto-tool__confirm-actions{display:flex;flex-direction:column;gap:8px}
.sm-auto-tool__confirm-primary{border:none;border-radius:12px;background:linear-gradient(120deg,#ffd37d,#ff8b26);color:#0c0f16;font-weight:800;padding:.85rem 1rem;font-size:.95rem;cursor:pointer;box-shadow:0 8px 22px rgba(255,139,38,.35)}
.sm-auto-tool__confirm-secondary{border:none;border-radius:12px;background:rgba(255,255,255,.08);color:#dbe2ef;font-weight:600;padding:.7rem 1rem;font-size:.88rem;cursor:pointer}
.sm-auto-tool__confirm-secondary:hover{background:rgba(255,255,255,.12)}

body[data-auto-tool="1"] .sm-auto-tool__panel{animation:smAutoIntro .3s ease both}
@keyframes smAutoIntro{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

@media (max-width:640px){
  .sm-auto-tool{top:auto;right:0;left:0;bottom:env(safe-area-inset-bottom);width:100%;padding:0 12px 12px;transform:translateY(100%);}
  .sm-auto-tool--hidden{transform:translateY(100%);}
  .sm-auto-tool--visible{transform:translateY(0)}
  .sm-auto-tool__panel{border-radius:22px 22px 18px 18px;max-width:640px;margin:0 auto;padding:22px}
  .sm-auto-tool__actions{flex-direction:column}
}

@media (max-width:576px){
  .sm-auto-tool{padding:0 10px calc(10px + env(safe-area-inset-bottom));max-height:calc(100svh - 16px);display:block;margin:0 auto;overflow:visible}
  .sm-auto-tool__panel{padding:12px 14px;border-radius:20px 20px 16px 16px;max-width:480px;margin:0 auto;display:block;max-height:calc(100svh - 16px);overflow:hidden;gap:0}
  .sm-auto-tool__eyebrow{font-size:.72rem;margin-bottom:4px;letter-spacing:.06em}
  .sm-auto-tool__body--subtle{font-size:.72rem;margin-bottom:6px}
  .sm-auto-tool__recommendation{margin-bottom:4px}
  .sm-auto-tool__label{font-size:.68rem}
  .sm-auto-tool__casino{font-size:.92rem}
  .sm-auto-tool__value-stack{gap:3px;margin:4px 0 2px;text-align:left}
  .sm-auto-tool__info--spins{font-size:1.2rem;padding:8px 12px;border-radius:999px;margin:0 auto 4px auto;text-align:center;white-space:nowrap;width:min(240px,80%);display:flex;align-items:center;justify-content:center}
  .sm-auto-tool__info--bonus{font-size:.92rem;line-height:1.2;text-align:left}
  .sm-auto-tool__scarcity{font-size:.6rem;text-align:left;margin-top:2px}
  .sm-auto-tool__info--payments{font-size:.6rem;text-align:left}
  .sm-auto-tool__info[data-role="bonus-line"]{white-space:pre-line;overflow:visible;text-overflow:clip;word-break:break-word}
  .sm-auto-tool__actions{gap:4px;margin-bottom:0;padding-top:4px}
  .sm-auto-tool__cta{width:min(280px,90%);height:48px;padding:0 14px;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;margin:0 auto}
  .sm-auto-tool__cta-label{font-size:.95rem;white-space:nowrap;line-height:1}
  .sm-auto-tool__cta-sub{font-size:.6rem;line-height:1;letter-spacing:.04em;text-transform:uppercase}
  .sm-auto-tool__secondary{width:min(280px,90%);height:44px;padding:0 14px;border-radius:12px;font-size:.78rem;display:flex;align-items:center;justify-content:center;text-align:center;margin:0 auto}
  .sm-auto-tool .sm-auto-tool__panel-footer .sm-auto-tool__actions > .sm-auto-tool__cta{
    flex:0 0 auto;
    height:48px;
    min-height:48px;
    padding:0 14px;
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    width:min(280px,90%);
    margin-left:auto;
    margin-right:auto;
  }
  .sm-auto-tool .sm-auto-tool__panel-footer .sm-auto-tool__actions > .sm-auto-tool__secondary{
    flex:0 0 auto;
    height:44px;
    min-height:44px;
    padding:0 14px;
    box-sizing:border-box;
    text-align:center;
    width:min(280px,90%);
    margin-left:auto;
    margin-right:auto;
  }
  .sm-auto-tool__legal{font-size:.58rem}
  .sm-auto-tool__close{top:8px;right:10px}
  .sm-auto-tool__confirm-panel{width:100%}
  .sm-auto-tool__panel-inner{display:flex;flex-direction:column;gap:0;max-height:calc(100svh - 28px);overflow:hidden}
  .sm-auto-tool__panel-body{flex:1 1 auto;overflow:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;min-height:0}
  .sm-auto-tool__panel-footer{flex:0 0 auto;position:sticky;bottom:0;padding-top:4px;background:linear-gradient(180deg,rgba(11,12,18,.95) 0%,rgba(11,12,18,1) 60%);padding-bottom:calc(4px + env(safe-area-inset-bottom));}
  .sm-auto-tool__legal{margin-bottom:0}
}
