/* v5.11.0 visitor features */
[data-klrt-install-link][hidden],[data-klrt-push-btn][hidden],.klrt-nextdraw [hidden],.klrt-mytickets [hidden],[data-klrt-push-state][hidden]{display:none!important}
.klrt-ml{display:block;font-size:.88em;font-weight:500;color:#4b5563;margin-top:2px}
.klrt-en+.klrt-ml{line-height:1.45}

/* Next draw */
.klrt-nextdraw{margin:16px 0;border-left:5px solid var(--klrt-accent,#f5b400)}
.klrt-nextdraw .klrt-badge .klrt-en,.klrt-nextdraw .klrt-badge [lang=ml]{display:inline}
.klrt-nd-title{margin:10px 0 2px;font-size:22px;line-height:1.25}
.klrt-nd-when{margin:0 0 10px;color:#374151;font-weight:600}
.klrt-nd-when .klrt-ml{display:inline;margin-left:6px}
.klrt-nd-when .klrt-ml:before{content:"· "}
.klrt-nd-timer{display:flex;gap:8px;margin:4px 0 12px;flex-wrap:wrap}
.klrt-nd-timer span{background:#064e3b;color:#fff;border-radius:12px;min-width:62px;padding:8px 6px;text-align:center;display:flex;flex-direction:column;line-height:1.1}
.klrt-nd-timer strong{font-size:22px;font-variant-numeric:tabular-nums}
.klrt-nd-timer small{font-size:11px;opacity:.85;margin-top:3px;text-transform:uppercase;letter-spacing:.04em}
.klrt-nd-live{background:#fef3c7;border-radius:10px;padding:10px 12px;font-weight:700;margin:6px 0 10px}
.klrt-nd-actions{display:flex;flex-wrap:wrap;gap:0 6px}
.klrt-nd-actions .klrt-btn{flex:1 1 220px}
.klrt-btn.light{background:#ecfdf5;color:#065f46!important;border:1px solid #a7f3d0}

/* My Tickets */
.klrt-mytickets{margin:16px 0}
.klrt-mytickets h2{margin:10px 0 6px}
.klrt-mt-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin:12px 0 4px}
.klrt-mt-form label{grid-row:1;font-size:13px;font-weight:700;color:#374151}
.klrt-mt-form input,.klrt-mt-form select{grid-row:2;width:100%;min-height:46px;border:1px solid #d1d5db;border-radius:12px;padding:10px 12px;font-size:16px;background:#fff;box-sizing:border-box}
.klrt-mt-form input{text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.klrt-mt-form .klrt-btn{grid-row:2;margin:0;width:auto;min-height:46px}
.klrt-mt-msg{min-height:1.2em;margin:6px 0;font-weight:600;color:#065f46}
.klrt-mt-msg.klrt-mt-bad{color:#b42318}
.klrt-mt-news{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;padding:10px 12px;font-weight:700;margin:10px 0}
.klrt-mt-list{list-style:none;margin:8px 0;padding:0;display:grid;gap:8px}
.klrt-mt-item{border:1px solid #e5e7eb;border-radius:14px;padding:10px 12px;background:#f9fafb}
.klrt-mt-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:baseline}
.klrt-mt-num{font-size:18px;letter-spacing:.06em}
.klrt-mt-draw{color:#4b5563;font-size:13px;font-weight:600}
.klrt-mt-state{margin-top:4px;font-weight:600}
.klrt-mt-state small{display:block;font-weight:500;color:#6b7280;margin-top:2px}
.klrt-mt-won{background:#fffbeb;border-color:#fcd34d}
.klrt-mt-nowin .klrt-mt-state{color:#4b5563}
.klrt-mt-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;font-size:14px}
.klrt-mt-remove{background:none;border:0;color:#b42318;font-weight:700;padding:6px 0;cursor:pointer;font-size:14px}
.klrt-mt-savethis{width:auto;margin-top:8px}
.klrt-mt-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:14px;padding:10px 40px 10px 12px;margin:10px 0;position:relative;font-weight:600}
.klrt-mt-top-win{background:#fffbeb;border-color:#fcd34d}
.klrt-mt-top a{font-weight:800}
.klrt-mt-top-x{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:none;border:0;font-size:22px;line-height:1;padding:6px 8px;cursor:pointer;color:#374151}
@media(max-width:600px){.klrt-mt-form{grid-template-columns:1fr}.klrt-mt-form label,.klrt-mt-form input,.klrt-mt-form select,.klrt-mt-form .klrt-btn{grid-row:auto}.klrt-mt-form .klrt-btn{width:100%}}

/* Follow */
.klrt-follow{margin:16px 0}
.klrt-follow-btns{display:flex;flex-wrap:wrap;gap:0 6px}
.klrt-follow-btns .klrt-btn{flex:1 1 180px}
.klrt-follow-wa{background:#128c4a}
.klrt-follow-tg{background:#1f7fc1}
.klrt-engage-links a{margin-right:10px}

/* Install link in the header row */
.klrt-main-nav .klrt-install-link{background:#fef3c7;color:#92400e!important;border-radius:999px}

/* Bottom bar (install / alerts) */
.klrt-bar{position:fixed;left:10px;right:10px;bottom:12px;z-index:10000;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.18);padding:10px 12px;max-width:560px;margin:0 auto;animation:klrtUp .25s ease-out}
@keyframes klrtUp{from{transform:translateY(20px);opacity:0}to{transform:none;opacity:1}}
.klrt-bar-icon{width:40px;height:40px;border-radius:10px;flex:0 0 40px}
.klrt-bar-text{flex:1 1 auto;min-width:0;font-size:13px;line-height:1.3;color:#374151}
.klrt-bar-text strong{display:block;font-size:14px;color:#111827}
.klrt-bar-text strong .klrt-ml{font-size:12px}
.klrt-bar-text>span{display:none}
.klrt-bar-btns{display:flex;flex-direction:column;gap:4px;flex:0 0 auto}
.klrt-bar .klrt-bar-go{width:auto;margin:0;padding:9px 12px;font-size:14px}
.klrt-bar-later{background:none;border:0;color:#6b7280;font-size:13px;padding:2px;cursor:pointer}
@media(min-width:600px){.klrt-bar-text>span{display:block}}

/* Install guide sheet (opened only by a tap) */
.klrt-sheet-wrap{position:fixed;inset:0;background:rgba(17,24,39,.45);z-index:10001;display:flex;align-items:flex-end;justify-content:center}
.klrt-sheet{background:#fff;border-radius:20px 20px 0 0;padding:20px 18px 26px;width:100%;max-width:520px;position:relative;max-height:85vh;overflow:auto}
.klrt-sheet h3{margin:0 30px 10px 0;font-size:18px}
.klrt-sheet ol{padding-left:20px;margin:8px 0}
.klrt-sheet li{margin:10px 0}
.klrt-sheet-note{background:#fef3c7;border-radius:10px;padding:8px 10px}
.klrt-sheet-x{position:absolute;right:10px;top:8px;background:none;border:0;font-size:28px;line-height:1;cursor:pointer;padding:4px 8px}
.klrt-ios-arrow{text-align:center;font-size:28px;color:#0b7a3b;animation:klrtBob 1.2s ease-in-out infinite}
@keyframes klrtBob{50%{transform:translateY(6px)}}
@media(prefers-reduced-motion:reduce){.klrt-bar,.klrt-ios-arrow{animation:none}}
