:root{--gold:#f6c026;--gold2:#ffe27a;--leaf:#2e9e4f;--blue:#2f7fd8;--bg:#fffdf3;--ink:#111}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:"Heebo","Assistant","Arial Hebrew",Arial,sans-serif;direction:rtl;-webkit-tap-highlight-color:transparent}
body{min-height:100vh;background:linear-gradient(#fffdf3,#fff6cf 60%,#e9f4ff)}
header{text-align:center;padding:14px 12px 4px}
header h1{margin:0;font-size:26px;line-height:1.2}
header .sub{font-size:15px;color:#444}
main{max-width:520px;margin:0 auto;padding:8px 14px 40px}
.btn{display:block;width:100%;min-height:64px;border:0;border-radius:22px;font:700 22px inherit;font-family:inherit;color:#111;background:var(--gold);box-shadow:0 5px 0 #c99a0c;padding:12px 18px;cursor:pointer;margin:12px 0}
.btn:active{transform:translateY(3px);box-shadow:0 2px 0 #c99a0c}
.btn.big{min-height:96px;font-size:30px;background:linear-gradient(#ffe27a,#f6c026)}
.btn.blue{background:#9fd0ff;box-shadow:0 5px 0 #5a9fe0}
.btn.green{background:#9be3ad;box-shadow:0 5px 0 #4aa862}
.btn.ghost{background:#fff;border:3px solid #e2d28a;box-shadow:none}
.btn[disabled]{opacity:.5}
input,select{width:100%;min-height:64px;font:600 22px inherit;font-family:inherit;border:3px solid #e2d28a;border-radius:18px;padding:8px 14px;background:#fff;color:#111;text-align:right;margin:6px 0}
label{font-weight:700;font-size:18px}
.card{background:#fff;border-radius:24px;padding:16px;margin:14px 0;box-shadow:0 4px 14px #0001}
.center{text-align:center}
.bulbwrap{position:relative;margin:6px auto;width:230px}
.pct{font-size:34px;font-weight:800;text-align:center}
.small-lights{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:8px 0}
.sl{width:38px;height:38px;border-radius:50%;background:#e8e8e8;border:3px solid #cfcfcf;display:flex;align-items:center;justify-content:center;font-size:20px;transition:all .5s}
.sl.on{background:radial-gradient(circle,#fff6b0,#f6c026);border-color:#d9a40e;box-shadow:0 0 14px #ffd54a}
.deeds{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.deed{position:relative;background:#fff;border:4px solid #e2d28a;border-radius:22px;min-height:120px;padding:8px 4px;font:700 20px inherit;font-family:inherit;text-align:center;cursor:pointer;color:#111}
.deed .em{font-size:48px;display:block}
.deed.sel{border-color:var(--leaf);background:#eaffef}
.deed .spk{position:absolute;top:4px;left:4px;width:44px;height:44px;border-radius:50%;border:0;background:#cfe8ff;font-size:22px}
.kids{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:6px 0}
.kid{min-width:88px;min-height:88px;border-radius:24px;border:4px solid #e2d28a;background:#fff;font:700 18px inherit;font-family:inherit;color:#111}
.kid.sel{border-color:var(--blue);background:#e8f3ff}
.kid .av{font-size:38px;display:block}
.code{font-size:48px;letter-spacing:10px;font-weight:800;text-align:center;background:#fff6cf;border-radius:18px;padding:10px;direction:ltr}
.err{color:#b00020;font-weight:700;min-height:24px;text-align:center}
.cel{position:fixed;inset:0;background:#fffdf3;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;overflow:hidden}.cel>*{position:relative;z-index:2}.cel .star{z-index:1;opacity:.55}
.cel h2{font-size:34px;margin:8px}
.star{position:absolute;font-size:30px;animation:fall 2.5s linear forwards}
@keyframes fall{from{transform:translateY(-40px) rotate(0)}to{transform:translateY(105vh) rotate(360deg)}}
.zap{stroke:#ffd54a;stroke-width:8;fill:none;stroke-dasharray:14 10;animation:flow .5s linear infinite;filter:drop-shadow(0 0 6px #ffd54a)}
@keyframes flow{to{stroke-dashoffset:-48}}
.wall{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.wall span{font-size:34px}
.hide{display:none!important}
table{border-collapse:collapse;width:100%;background:#fff}td,th{border-bottom:1px solid #eee;padding:8px;text-align:right;font-size:16px}
.admin main{max-width:900px}
.admin .btn{min-height:48px;font-size:17px;display:inline-block;width:auto;margin:4px}
.admin input,.admin select{min-height:44px;font-size:17px}
.row{display:flex;gap:10px;flex-wrap:wrap}.row>*{flex:1;min-width:140px}
.bar{height:26px;background:#eee;border-radius:13px;overflow:hidden}.bar>i{display:block;height:100%;background:linear-gradient(90deg,#f6c026,#ffe27a);transition:width .6s}

main{position:relative;z-index:2}.star{z-index:0}
