/* LK2: scoped controls stay compact inside the shared package form. */
.lk1-settings{direction:rtl;background:#effaff;border:1px solid #cce8f3;border-radius:22px;padding:18px;margin:16px 0;color:#17485b;font-family:inherit;box-sizing:border-box;min-width:0}
.lk1-settings .lk1-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;line-height:1.8;font-size:14px;font-weight:850;cursor:pointer}
.lk1-settings .lk1-toggle>span:first-child{min-width:0}
.lk1-settings .lk1-switch{display:block;position:relative;flex:0 0 48px;width:48px;height:28px;direction:ltr}
.lk1-settings .lk1-switch input{appearance:none!important;-webkit-appearance:none!important;position:absolute!important;inset:0!important;display:block!important;opacity:0!important;width:48px!important;min-width:48px!important;max-width:48px!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0!important;margin:0!important;border:0!important;z-index:1;cursor:pointer}
.lk1-settings .lk1-switch-track{display:block;width:48px;height:28px;border-radius:999px;background:#b9cbd3;box-shadow:inset 0 0 0 1px #123b4b0a;pointer-events:none;transition:background .18s}
.lk1-settings .lk1-switch-track:before{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0002;transition:transform .18s}
.lk1-settings .lk1-switch input:checked+.lk1-switch-track{background:#129ec5}
.lk1-settings .lk1-switch input:checked+.lk1-switch-track:before{transform:translateX(20px)}
.lk1-settings .lk1-switch input:focus-visible+.lk1-switch-track{outline:3px solid #2aa7d1;outline-offset:3px}
.lk1-settings .lk1-switch input:disabled{cursor:default}
.lk1-settings .lk1-switch input:disabled+.lk1-switch-track{opacity:.55}
.lk1-settings .lk1-count{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0 0;font-size:14px;line-height:1.6}
.lk1-settings .lk1-count>span:first-child{flex:0 0 auto;white-space:nowrap}
.lk1-settings .lk1-select{position:relative;display:block;flex:1 1 160px;min-width:106px;max-width:220px}
.lk1-settings .lk1-select select{appearance:none!important;-webkit-appearance:none!important;display:block;width:100%!important;min-width:0!important;min-height:46px!important;height:46px!important;box-sizing:border-box;border:1px solid #bfdde9!important;border-radius:12px;background:#fff!important;padding:9px 14px 9px 40px!important;color:#16475c;font:inherit;line-height:1.5;direction:rtl;text-align:right;cursor:pointer}
.lk1-settings .lk1-select svg{position:absolute;left:12px;right:auto;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:#60818d;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.lk1-settings .lk1-select select:disabled{opacity:.6;cursor:default}
.lk1-settings .lk1-select select:focus-visible{outline:3px solid #2aa7d1;outline-offset:2px}
.lk1-settings .lk1-rules{font-size:12px;line-height:1.9;margin:14px 0 0;color:#5d7d8c;text-align:right}
@media(prefers-reduced-motion:reduce){.lk1-settings .lk1-switch-track,.lk1-settings .lk1-switch-track:before{transition:none}}
.lk1-overlay{position:fixed;inset:0;z-index:2147483646;background:#123a5266;backdrop-filter:blur(10px);display:grid;place-items:center;padding:16px;direction:rtl;font-family:Vazirmatn,Tahoma,sans-serif}.lk1-dialog{position:relative;width:min(100%,430px);box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;border-radius:30px;padding:28px 22px;background:linear-gradient(165deg,#fff,#ecf9ff);border:1px solid #fff;box-shadow:0 24px 80px #07365250;text-align:center;color:#16475c}.lk1-dialog h2{font-size:22px;margin:8px 24px 16px}.lk1-close{position:absolute;top:12px;left:14px;background:#e9f3f8;border:0;border-radius:50%;width:34px;height:34px;color:#456675;font:26px/1 sans-serif}.lk1-prize-image{width:180px;height:180px;display:block;margin:auto;filter:drop-shadow(0 14px 18px #d2b56944)}.lk1-congratulation{font-size:17px;line-height:2}.lk1-congratulation strong{display:block;font-size:25px;color:#058fbd}.lk1-code{width:100%;padding:14px;background:#fff5d2;border:1px dashed #d4ad4c;border-radius:16px;color:#7c5c13;font-family:inherit;font-size:19px;font-weight:800;line-height:1.5}.lk1-primary{width:100%;border:0;border-radius:17px;padding:15px;background:linear-gradient(125deg,#078aad,#10abd1);color:white;font:850 15px/1.5 Vazirmatn,Tahoma,sans-serif;cursor:pointer}.lk1-primary:disabled{opacity:.6}.lk1-credit-note{font-size:12px;color:#63838f}.lk1-found article{display:flex;gap:12px;text-align:right;background:white;border:1px solid #d4eaf3;border-radius:18px;padding:12px;margin:10px 0}.lk1-found img{width:64px;height:64px;flex-shrink:0}.lk1-found b{font-size:13px}.lk1-found p,.lk1-found small{font-size:11px;display:block;line-height:1.8;margin:4px 0}.lk1-found button{background:#edf8fd;border:0;border-radius:8px;padding:8px;font:inherit;color:#127393}.lk1-dialog :focus-visible{outline:3px solid #2aa7d1;outline-offset:3px}@media(max-width:360px){.lk1-dialog{padding:22px 15px}.lk1-congratulation{font-size:15px}.lk1-settings{padding:13px}}@media(prefers-reduced-motion:no-preference){.lk1-dialog{animation:lk1-enter .24s ease-out}@keyframes lk1-enter{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}}

/* LK5: use the same locally hosted font as the customer page throughout. */
.lk1-overlay,.lk1-overlay *{font-family:Vazirmatn,Tahoma,Arial,sans-serif!important}
.lk1-credit-note{line-height:1.9}.lk1-dialog h2{overflow-wrap:anywhere}

/* LK6: readable multi-paragraph game rules inside staff settings only. */
.lk1-settings .lk1-rules-title{display:block;color:#17485b;font-size:13px;font-weight:800;line-height:1.9}
.lk1-settings .lk1-rules p{margin:10px 0 0;font:inherit;line-height:2}
.lk1-settings .lk1-rules .lk1-rules-warning{padding-top:12px;border-top:1px solid #cce3eb;color:#80572c}
