/* KS Robux – customer widget, isolated styles */
.ksrbx-root,.ksrbx-root *{box-sizing:border-box}
.ksrbx-root{--rbgreen:#19b978;--rbdeep:#067247;clear:both;width:100%;max-width:1100px;margin:28px auto 25px;padding:26px;font-family:inherit;color:#14352b;background:linear-gradient(155deg,#ffffff,#f5fcf9);border:1px solid #d2e9dc;border-radius:26px;box-shadow:0 24px 65px rgba(12,96,65,.10);text-align:left;overflow:hidden}
.ksrbx-top{display:flex;align-items:center;gap:16px}
.ksrbx-symbol{width:66px;height:66px;flex:0 0 66px;border-radius:21px;color:white;background:radial-gradient(circle at 25% 15%,#7befbf,#19b778 57%,#007c4c);display:flex;align-items:center;justify-content:center;box-shadow:0 13px 27px rgba(6,152,96,.24);border:1px solid #28bf83}
.ksrbx-symbol svg{width:37px;height:37px}
.ksrbx-heading{min-width:0;flex:1}.ksrbx-eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:900;color:#118653;margin-bottom:3px}
.ksrbx-top h3{font-size:clamp(21px,2.5vw,27px)!important;line-height:1.25;letter-spacing:-.7px;color:#102e24!important;font-weight:900!important;margin:0!important}
.ksrbx-top p{color:#72867e;font-size:13px;margin:5px 0 0!important;line-height:1.5}
.ksrbx-online{display:flex;gap:7px;align-items:center;background:#e7f9ef;border:1px solid #bce9cf;color:#07854b;padding:9px 12px;border-radius:999px;font-size:10px;letter-spacing:.5px;font-weight:900;white-space:nowrap;align-self:flex-start}
.ksrbx-online i{width:8px;height:8px;background:#20c481;border-radius:50%;box-shadow:0 0 0 4px #24ca7f24}
.ksrbx-main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:16px;margin-top:25px}
.ksrbx-number-card{border:1px solid #d5e9de;background:#fff;border-radius:19px;padding:17px;box-shadow:0 5px 17px #17583b07;min-width:0}
.ksrbx-card-label{font-size:10px;letter-spacing:1.2px;font-weight:900;color:#6e897b;margin-bottom:12px}
.ksrbx-number{display:flex;align-items:center;justify-content:space-between;gap:9px}.ksrbx-number>button{width:52px;height:52px;min-width:52px;border-radius:14px;border:1px solid #bce7cf;background:#eafbF1;color:#0c9b60;font-weight:800;font-size:26px;cursor:pointer;transition:transform .15s,background .15s}
.ksrbx-number>button:hover{background:#d8f7e5;transform:translateY(-1px)}.ksrbx-number label{display:flex;justify-content:center;align-items:center;flex:1;gap:8px;margin:0!important;min-width:0}.ksrbx-number input{font-size:clamp(25px,4vw,33px);font-weight:950;line-height:1.1;letter-spacing:-.6px;color:#0a3326;border:0;outline:0;min-width:0;width:100%;max-width:160px;background:transparent;text-align:right;box-shadow:none!important;appearance:textfield;-moz-appearance:textfield;padding:0}
.ksrbx-number input::-webkit-inner-spin-button,.ksrbx-number input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ksrbx-number em{font-size:17px;color:#15a36b;font-weight:900;font-style:normal}
.ksrbx-card-foot{color:#84958d;font-size:11px;display:block;margin-top:14px}
.ksrbx-price{border:1px solid #076b48;border-radius:19px;background:radial-gradient(circle at 110% -20%,#40c99066,transparent 58%),linear-gradient(125deg,#0a4533,#047247);color:#fff;padding:22px;display:flex;flex-direction:column;justify-content:center;min-width:0;box-shadow:0 13px 26px #036e4330}
.ksrbx-price .ksrbx-card-label{color:#b5e9cd}.ksrbx-price strong{font-size:clamp(27px,3.4vw,39px);letter-spacing:-1px;color:white;font-weight:950;line-height:1.15;overflow-wrap:anywhere}
.ksrbx-price-foot{color:#c5ead7;font-size:12px;margin-top:9px}
.ksrbx-range-wrap{margin-top:24px;padding:20px 20px 15px;background:#f0f8f3;border-radius:19px;border:1px solid #d4eadf}
.ksrbx-range-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.ksrbx-range-heading strong{color:#164733;font-size:13px}.ksrbx-range-heading span{color:#69907a;font-size:11px;font-weight:650;text-align:right}
.ksrbx-range-wrap input[type=range]{display:block;width:100%;height:10px;border:0;border-radius:999px;-webkit-appearance:none;appearance:none;outline:none;cursor:pointer;background:#e2ebe7}
.ksrbx-range-wrap input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#fff;border:6px solid #13b477;border-radius:50%;width:27px;height:27px;box-shadow:0 3px 12px #0eab7055}
.ksrbx-range-wrap input[type=range]::-moz-range-thumb{background:#fff;border:6px solid #13b477;border-radius:50%;width:15px;height:15px;box-shadow:0 3px 12px #0eab7055}
.ksrbx-range-scale{display:flex;justify-content:space-between;align-items:start;margin-top:11px;color:#648574;font-size:11px;font-weight:750}.ksrbx-pivot{text-align:center;color:#096f4a;display:flex;flex-direction:column;gap:1px;transform:translateX(0)}.ksrbx-pivot b{font-size:12px;white-space:nowrap}.ksrbx-pivot small{font-size:9px;color:#7a9987}
.ksrbx-range-explain{color:#789384;font-size:11px;margin-top:15px;text-align:center}
.ksrbx-bottom{margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.ksrbx-bottom p{font-size:12px;line-height:1.5;color:#567969;margin:0;max-width:43%}.ksrbx-bottom p.ok{color:#0a8854}.ksrbx-bottom p.error{color:#c84057}
.ksrbx-cart-btn{display:flex;gap:11px;align-items:center;justify-content:center;padding:15px 20px;min-height:52px;border:0;border-radius:15px;background:linear-gradient(110deg,#1cb877,#087d4b);color:#fff;font-weight:900;font-size:14px;cursor:pointer;box-shadow:0 12px 24px #15945e35}
.ksrbx-cart-btn svg{width:19px;height:19px;flex-shrink:0}.ksrbx-cart-btn:disabled{background:#94ada0;box-shadow:none;cursor:not-allowed}
.ksrbx-error{color:#b62839}
@media(max-width:890px){.ksrbx-main{grid-template-columns:1fr}.ksrbx-price{min-height:100px}.ksrbx-online{display:none}.ksrbx-bottom{flex-direction:column;align-items:stretch}.ksrbx-bottom p{max-width:100%}.ksrbx-cart-btn{width:100%}}
@media(max-width:520px){.ksrbx-root{padding:15px 13px;margin:17px auto;border-radius:19px}.ksrbx-top{align-items:flex-start;gap:11px}.ksrbx-symbol{width:49px;height:49px;flex-basis:49px;border-radius:15px}.ksrbx-symbol svg{width:29px;height:29px}.ksrbx-top h3{font-size:20px!important}.ksrbx-top p{font-size:12px}.ksrbx-main{margin-top:17px;gap:11px}.ksrbx-number-card,.ksrbx-price{padding:15px}.ksrbx-number>button{width:43px;height:47px;min-width:43px}.ksrbx-number input{font-size:27px;max-width:120px}.ksrbx-range-wrap{padding:16px 11px 14px}.ksrbx-range-heading{display:block;margin-bottom:18px}.ksrbx-range-heading span{display:block;text-align:left;margin-top:3px}.ksrbx-range-explain{font-size:10px}.ksrbx-price strong{font-size:32px}.ksrbx-cart-btn{font-size:13px}}
.ksrbx-admin{background:#f5f9fc;font-family:Inter,Arial,sans-serif;padding:22px;border-radius:20px;max-width:1480px;color:#213f34}.ksrbx-admin .ksrbx-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(105deg,#073d32,#125b48);color:white;border-radius:18px;padding:26px 30px;margin-bottom:19px}.ksrbx-overline{font-size:10px;letter-spacing:2px;color:#b4e8d0;font-weight:800}.ksrbx-admin h1{color:#fff!important;margin:4px 0!important;font-size:28px!important}.ksrbx-admin h1 span{color:#64e8ae}.ksrbx-admin .ksrbx-hero p{color:#bedbcf;margin:5px 0}.ksrbx-bubble{font-size:12px;border-radius:99px;background:#ffffff24;padding:9px 14px;font-weight:800}.ksrbx-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.ksrbx-panel,.ksrbx-product-hook{background:#fff;border:1px solid #dce7e1;border-radius:18px;padding:24px;box-shadow:0 15px 27px #2c6a4610}.ksrbx-panel h2,.ksrbx-product-hook h3{color:#164934;font-size:21px;font-weight:850;margin:0 0 15px}.ksrbx-panel label{display:block;color:#587467;font-weight:750;font-size:12px;margin:13px 0 6px}.ksrbx-panel input,.ksrbx-panel select,.ksrbx-product-hook input{width:100%;border:1px solid #ceded5;border-radius:10px;padding:12px;color:#152c20;background:white}.ksrbx-panel .ksrbx-check{display:flex;gap:10px;align-items:center}.ksrbx-panel .ksrbx-check input{width:auto}.ksrbx-adminbtn{border:0;border-radius:10px;padding:12px 16px;color:white;background:linear-gradient(90deg,#22ae72,#0b8056);font-weight:800;margin-top:14px;cursor:pointer}.ksrbx-linkbtn{border:0;color:#1b7f55;background:none;padding:9px 0;font-weight:700;cursor:pointer}.ksrbx-token{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px;background:#eefaf2;border-radius:13px;border:1px solid #ceecda;margin:16px 0}.ksrbx-token small{color:#55836b}.ksrbx-token strong{color:#166b45;font:700 16px monospace;letter-spacing:1px}.ksrbx-token button{margin-left:auto;border:0;background:#daf0e3;color:#1a7c4c;padding:8px 12px;border-radius:9px;cursor:pointer}.ksrbx-note{font-size:12px;line-height:1.6;color:#6c7c74}.ksrbx-api-status{font-size:13px;margin-top:10px}.ksrbx-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ksrbx-config-grid label{display:block;font-size:12px;font-weight:750}.ksrbx-config-grid input[type=checkbox]{width:18px;height:18px}.ksrbx-panel-preview{margin-top:20px}.ksrbx-preview-well{background:linear-gradient(135deg,#f0fcf5,#fafefb);border-radius:15px;padding:22px}.ksrbx-stepper{display:flex;max-width:360px;align-items:center;border:1px solid #c6e2d4;border-radius:12px;overflow:hidden;background:white}.ksrbx-stepper button{width:51px;height:50px;border:0;background:#e6f8ee;font-weight:900;font-size:22px;color:#218458;cursor:pointer}.ksrbx-stepper input{text-align:center;border:0!important;font-size:24px!important;font-weight:900!important;width:100%;padding:5px!important}.ksrbx-preview-well input[type=range]{width:100%;accent-color:#1db577;margin-top:24px}.ksrbx-preview-result{display:flex;flex-wrap:wrap;gap:14px;margin-top:19px}.ksrbx-preview-result>div{background:white;border:1px solid #d7ecdf;padding:15px 18px;border-radius:13px;min-width:200px}.ksrbx-preview-result small{display:block;color:#718c7c;font-size:11px}.ksrbx-preview-result strong{font-size:24px;color:#0e744b}.ksrbx-preview-well canvas{width:100%;max-width:850px;height:95px;margin-top:15px}.ksrbx-product-hook{margin:16px 0}.ksrbx-product-hook .ksrbx-config-grid{grid-template-columns:repeat(5,1fr);gap:10px}.ksrbx-product-hook .ksrbx-config-grid label{display:flex;flex-direction:column;gap:6px}.ksrbx-product-hook .ksrbx-config-grid input[type=checkbox]{width:18px}
@media(max-width:900px){.ksrbx-main{flex-direction:column}.ksrbx-price{flex:auto}.ksrbx-admin-grid{grid-template-columns:1fr}.ksrbx-product-hook .ksrbx-config-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.ksrbx-root{border-radius:16px;padding:15px 13px;margin:16px 0}.ksrbx-top{gap:10px;align-items:flex-start}.ksrbx-top .ksrbx-symbol{flex-basis:43px;height:43px;border-radius:12px}.ksrbx-top .ksrbx-symbol svg{width:25px}.ksrbx-top h3{font-size:18px!important}.ksrbx-top p{font-size:12px}.ksrbx-online{display:none}.ksrbx-main{gap:12px;margin-top:16px}.ksrbx-number>button{min-width:43px;min-height:72px}.ksrbx-number label{flex-wrap:wrap;gap:0}.ksrbx-number label span{width:100%;text-align:center;font-size:10px}.ksrbx-number input{font-size:24px}.ksrbx-price{padding:14px 16px}.ksrbx-price strong{font-size:25px}.ksrbx-bottom{flex-direction:column;align-items:stretch}.ksrbx-bottom p{max-width:100%}.ksrbx-cart-btn{width:100%}.ksrbx-admin{padding:9px}.ksrbx-admin .ksrbx-hero{padding:15px}.ksrbx-admin h1{font-size:22px!important}.ksrbx-panel{padding:15px}.ksrbx-config-grid{grid-template-columns:1fr 1fr}.ksrbx-token strong{font-size:13px}}
/* FOUC prevention: progressive enhancement, widget still appears if JS is blocked */
@keyframes ksrbxFadeIn { to {opacity:1} }
.ksrbx-root{opacity:1;animation:none}
.ksrbx-root.ksrbx-ready{animation:none;opacity:1}
.ksrbx-status{min-height:20px}

/* v1.0.3: stable, touch-friendly slider and calm price transitions */
.ksrbx-root .ksrbx-quote-pending{opacity:.55;transition:opacity .18s ease}
.ksrbx-root .ksrbx-range-wrap input[type=range]{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.ksrbx-root .ksrbx-range-wrap input[type=range]::-webkit-slider-thumb{touch-action:pan-y}
.ksrbx-root .ksrbx-price strong{min-height:1.2em}

/* v1.0.4: native range replaced by custom pointer slider to avoid theme-wide range CSS interference */
.ksrbx-root .ksrbx-track{--ksrbx-progress:0%;position:relative;height:28px;width:100%;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;outline:none;margin:4px 0 10px;display:block}
.ksrbx-root .ksrbx-track:before{content:"";position:absolute;left:0;right:0;top:9px;height:10px;border-radius:99px;background:#dce9e2}
.ksrbx-root .ksrbx-track-fill{position:absolute;left:0;top:9px;height:10px;width:var(--ksrbx-progress);border-radius:99px;background:linear-gradient(90deg,#2acb86,#0d9863);pointer-events:none}
.ksrbx-root .ksrbx-track-thumb{position:absolute;left:var(--ksrbx-progress);top:0;transform:translateX(-50%);width:28px;height:28px;border:6px solid #11af70;background:#fff;border-radius:50%;box-shadow:0 2px 0 #fff,0 4px 12px #0b94644d;pointer-events:none}
.ksrbx-root .ksrbx-track:focus-visible .ksrbx-track-thumb{outline:3px solid #166dbb;outline-offset:2px}
.ksrbx-root .ksrbx-track[data-dragging="1"] .ksrbx-track-thumb{box-shadow:0 0 0 5px #16bd7e33,0 4px 15px #0b946455}
.ksrbx-root .ksrbx-price strong{transition:none}

/* v1.0.5 - full-width placement and protection from narrow product-additional hook slots */
.ksrbx-root{display:block!important;position:relative!important;float:none!important;width:100%!important;max-width:1100px!important;min-width:0!important;flex:0 1 auto!important;align-self:stretch!important;overflow:hidden!important;margin:26px auto!important;isolation:isolate}
.ksrbx-root:not(.ksrbx-ready){visibility:visible!important;opacity:1!important}
.ksrbx-root.ksrbx-ready{visibility:visible!important;opacity:1!important}
.ksrbx-root .ksrbx-top{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:14px!important;min-width:0!important}
.ksrbx-root .ksrbx-heading{flex:1 1 270px!important;min-width:200px!important;max-width:100%!important}
.ksrbx-root .ksrbx-heading h3,.ksrbx-root .ksrbx-heading p,.ksrbx-root .ksrbx-eyebrow{word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;hyphens:none!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;letter-spacing:normal}
.ksrbx-root .ksrbx-eyebrow{letter-spacing:1.2px!important}
.ksrbx-root .ksrbx-online{flex:0 0 auto;order:3;max-width:100%}
.ksrbx-root .ksrbx-main,.ksrbx-root .ksrbx-range-wrap,.ksrbx-root .ksrbx-bottom{width:100%;min-width:0}
.ksrbx-root .ksrbx-price{min-width:0}
@media(max-width:650px){.ksrbx-root{padding:16px!important;border-radius:20px!important}.ksrbx-root .ksrbx-heading{flex:1 1 170px!important;min-width:0!important}.ksrbx-root .ksrbx-main{grid-template-columns:minmax(0,1fr)!important}.ksrbx-root .ksrbx-top h3{font-size:20px!important;line-height:1.2!important}.ksrbx-root .ksrbx-online{display:flex!important;font-size:9px!important;padding:6px 8px!important}.ksrbx-root .ksrbx-bottom{flex-direction:column;align-items:stretch}.ksrbx-root .ksrbx-bottom p{max-width:100%}.ksrbx-root .ksrbx-cart-btn{width:100%}}

/* v1.0.8: stable full-width mobile placement below product images + purchase summary. */
.ksrbx-root[hidden],.ksrbx-root.ksrbx-ineligible{display:none!important;visibility:hidden!important}
.ksrbx-root{display:block!important;width:100%!important;max-width:1100px;min-width:0!important;isolation:isolate}
.ksrbx-root .ksrbx-number,
.ksrbx-root .ksrbx-number *{box-sizing:border-box}
.ksrbx-root .ksrbx-number{display:grid!important;grid-template-columns:52px minmax(0,1fr) 52px;gap:9px;align-items:center;width:100%;min-width:0;justify-content:normal}
.ksrbx-root .ksrbx-number>button{width:52px;max-width:52px;min-width:0;height:52px;display:grid;place-items:center;padding:0;line-height:1}
.ksrbx-root .ksrbx-number label{min-width:0!important;width:100%!important;display:flex!important;align-items:center;justify-content:center;gap:4px;padding:0!important;flex:none!important;white-space:nowrap}
.ksrbx-root .ksrbx-number input{width:calc(100% - 35px)!important;max-width:170px!important;min-width:0!important;margin:0!important;padding:0!important;font-size:clamp(23px,3vw,33px)!important;font-weight:900!important;line-height:1.1!important;text-align:right!important;border:0!important;box-shadow:none!important;background:transparent!important;appearance:textfield!important;-webkit-appearance:none!important;color:#0a3326!important}
.ksrbx-root .ksrbx-number em{display:inline-block!important;flex:0 0 27px;min-width:27px;white-space:nowrap;font-size:16px!important}
.ksrbx-root .ksrbx-number input::-webkit-inner-spin-button,
.ksrbx-root .ksrbx-number input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.ksrbx-root .ksrbx-top,.ksrbx-root .ksrbx-heading,.ksrbx-root .ksrbx-main,.ksrbx-root .ksrbx-number-card{min-width:0!important}
@media(max-width:767px){
  .ksrbx-root{margin:17px 0 24px!important;padding:16px 14px!important;border-radius:20px!important;max-width:100%!important;overflow:hidden}
  .ksrbx-root .ksrbx-top{display:grid!important;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:10px!important}
  .ksrbx-root .ksrbx-symbol{width:46px;height:46px;flex-basis:auto;border-radius:14px}
  .ksrbx-root .ksrbx-heading{width:100%;min-width:0!important}
  .ksrbx-root .ksrbx-heading h3{font-size:clamp(18px,5.4vw,23px)!important;line-height:1.25!important;overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important}
  .ksrbx-root .ksrbx-eyebrow{font-size:9px;letter-spacing:.7px!important;line-height:1.35}
  .ksrbx-root .ksrbx-online{display:none!important}
  .ksrbx-root .ksrbx-main{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin-top:16px}
  .ksrbx-root .ksrbx-number-card,.ksrbx-root .ksrbx-price{width:100%;min-width:0;padding:14px!important;border-radius:16px}
  .ksrbx-root .ksrbx-number{grid-template-columns:44px minmax(0,1fr) 44px!important;gap:6px!important}
  .ksrbx-root .ksrbx-number>button{height:46px;width:44px;max-width:44px;font-size:23px;border-radius:12px}
  .ksrbx-root .ksrbx-number label{gap:3px!important}
  .ksrbx-root .ksrbx-number input{font-size:clamp(22px,7vw,30px)!important;max-width:160px!important}
  .ksrbx-root .ksrbx-number em{font-size:15px!important;flex-basis:23px;min-width:23px}
  .ksrbx-root .ksrbx-price{min-height:90px}
  .ksrbx-root .ksrbx-price strong{font-size:clamp(27px,8vw,35px)}
  .ksrbx-root .ksrbx-range-wrap{padding:15px 11px 14px;margin-top:15px}
  .ksrbx-root .ksrbx-range-scale{gap:5px;min-width:0}
  .ksrbx-root .ksrbx-range-scale span{font-size:10px!important;white-space:nowrap}
  .ksrbx-root .ksrbx-pivot b{font-size:10px!important}
  .ksrbx-root .ksrbx-pivot small{font-size:8px}
  .ksrbx-root .ksrbx-bottom{margin-top:17px!important;gap:12px}
  .ksrbx-root .ksrbx-bottom p{max-width:100%!important;font-size:11px!important;line-height:1.6}
  .ksrbx-root .ksrbx-cart-btn{width:100%!important;padding:14px!important;text-align:center;line-height:1.3;min-height:50px}
}
@media(max-width:360px){
  .ksrbx-root{padding:14px 10px!important}
  .ksrbx-root .ksrbx-number{grid-template-columns:39px minmax(0,1fr) 39px!important;gap:4px!important}
  .ksrbx-root .ksrbx-number>button{width:39px;height:43px}
  .ksrbx-root .ksrbx-number input{font-size:22px!important}
  .ksrbx-root .ksrbx-number em{font-size:13px!important;flex-basis:19px;min-width:19px}
  .ksrbx-root .ksrbx-range-scale span{font-size:9px!important}
}

/* v1.0.13: FIX - never hide the general selector; only hide explicitly ineligible products. */

/* v1.0.11: cached HTML from an unrelated product must never show a selector. */
.ksrbx-root.ksrbx-ineligible {display:none!important;visibility:hidden!important;}

/* v1.0.12: only eligible Robux + Roblox products render a purchase widget. */
.ksrbx-root[hidden],.ksrbx-root.ksrbx-ineligible{display:none!important;visibility:hidden!important}

/* 1.0.13 visible state: the selector is never hidden while a live price is loading. */
.ksrbx-root:not([hidden]):not(.ksrbx-ineligible){display:block!important;visibility:visible!important;}
.ksrbx-root[hidden],.ksrbx-root.ksrbx-ineligible{display:none!important;visibility:hidden!important;}
