
:root{--bg:#fff8ec;--ink:#2a1a0e;--mut:#6b4f3a;--gold:#f4b400;--or:#d9480f;--dk:#a63c06;--gr:#2b8a3e;--pu:#7048e8;--sky:#1971c2;--card:#fff;--fs:1}
*{box-sizing:border-box}html{font-size:calc(17px*var(--fs))}
body{margin:0;font-family:Rubik,"Noto Sans Hebrew",Heebo,Arial,sans-serif;background:var(--bg) radial-gradient(circle at 10% 0,#ffe8b0 0,transparent 40%) fixed;color:var(--ink);line-height:1.65}
a{color:#8f3200}a:hover{color:var(--or)}
:focus-visible{outline:4px solid var(--pu);outline-offset:2px;border-radius:6px}
.skip{position:absolute;right:-999px;top:0;background:#fff;padding:.5rem 1rem;z-index:99}.skip:focus{right:1rem}
header.top{background:linear-gradient(135deg,#7a2e00,#d9480f 55%,#f4b400);color:#fff;box-shadow:0 4px 0 #5c2300,0 8px 20px rgba(90,40,0,.25);position:sticky;top:0;z-index:20}
.bar{display:flex;align-items:center;gap:.6rem;max-width:1180px;margin:auto;padding:.45rem .9rem;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.5rem;color:#fff;text-decoration:none;font-weight:800;font-size:1.05rem}
.brand img{width:40px;height:40px;border-radius:50%;background:#fff;box-shadow:0 2px 0 #5c2300}
.tools{margin-inline-start:auto;display:flex;gap:.35rem}
.tools button,.navt{background:#fff;color:#7a2e00;border:0;border-radius:999px;padding:.3rem .7rem;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 3px 0 #5c2300}
nav.main{max-width:1180px;margin:auto;padding:0 .6rem .45rem;display:flex;gap:.3rem;flex-wrap:wrap}
nav.main a{color:#fff;text-decoration:none;font-weight:700;padding:.22rem .6rem;border-radius:999px;background:rgba(255,255,255,.14);font-size:.93rem}
nav.main a[aria-current]{background:#fff;color:#7a2e00}
.navt{display:none}
@media(max-width:720px){.navt{display:inline-block}nav.main{display:none}nav.main.open{display:flex}}
main{max-width:1180px;margin:auto;padding:1rem}
.crumbs{font-size:.9rem;color:var(--mut);margin:.2rem 0 .8rem}.crumbs a{color:var(--mut)}
h1{font-size:2rem;margin:.2rem 0 .6rem;color:#7a2e00;text-shadow:0 2px 0 #ffd8a8}
h2{color:var(--dk);font-size:1.45rem;margin:1.6rem 0 .6rem;border-bottom:3px dotted #ffc078;padding-bottom:.2rem}
h3{color:#5c2300;margin:.8rem 0 .4rem}
.hero{position:relative;border-radius:28px;padding:1.6rem 1.4rem;background:linear-gradient(160deg,#fff 0,#fff3d6 60%,#ffe0a3);box-shadow:0 10px 0 #ffc078,0 18px 40px rgba(160,70,0,.22);overflow:hidden;margin-bottom:1.6rem}
.hero h1{font-size:2.3rem}.hero p{font-size:1.15rem;max-width:640px}
.hero svg{position:absolute;left:1rem;bottom:.5rem;width:230px;opacity:.95}
@media(max-width:720px){.hero svg{position:static;width:170px;display:block;margin:auto}}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem}
.card{display:block;background:var(--card);border-radius:20px;padding:1rem 1.1rem;text-decoration:none;color:var(--ink);box-shadow:0 6px 0 var(--c,#ffc078),0 12px 24px rgba(120,60,0,.12);border:2px solid var(--c,#ffc078);transition:transform .15s}
a.card:hover{transform:translateY(-4px) rotate(-.4deg)}
.card .e{font-size:2.4rem;display:inline-block;filter:drop-shadow(0 4px 2px rgba(0,0,0,.18))}
.card b{display:block;font-size:1.15rem;color:#5c2300}
.lvl-beg{--c:#69db7c}.lvl-mid{--c:#ffd43b}.lvl-adv{--c:#ff922b}.lvl-t{--c:#b197fc}.lvl-g{--c:#74c0fc}
.panel{background:#fff;border-radius:20px;padding:1rem 1.2rem;margin:1rem 0;box-shadow:0 5px 0 #ffd8a8,0 10px 24px rgba(120,60,0,.1)}
.read{font-size:1.18rem;line-height:2}.nik .read,.nik{font-family:"Noto Sans Hebrew",Arial,sans-serif}
.nik .read{font-size:1.32rem;line-height:2.25}
.say{background:#fff3bf;border:2px solid var(--gold);border-radius:999px;padding:.15rem .6rem;cursor:pointer;font:inherit;font-weight:700;color:#5c2300}
.say:hover{background:var(--gold)}
.btn{background:var(--or);color:#fff;border:0;border-radius:14px;padding:.5rem 1rem;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 4px 0 #8f3200}
.btn:active{transform:translateY(3px);box-shadow:0 1px 0 #8f3200}.btn.g{background:var(--gr);box-shadow:0 4px 0 #1b5e20}.btn.s{background:#fff;color:#7a2e00;border:2px solid #ffc078;box-shadow:0 4px 0 #ffc078}
.opts{display:flex;flex-wrap:wrap;gap:.5rem;margin:.4rem 0}
.opt{background:#fff;border:2px solid #ffc078;border-radius:14px;padding:.45rem .9rem;font:inherit;cursor:pointer;color:var(--ink)}
.opt.ok{background:#d3f9d8;border-color:#2b8a3e}.opt.no{background:#ffe3e3;border-color:#e03131}
.fb{min-height:1.4em;font-weight:700;margin:.2rem 0}.fb.ok{color:#1b6b2d}.fb.no{color:#b02525}
.q{border-bottom:1px dashed #ffd8a8;padding:.6rem 0}
.chips{display:flex;flex-wrap:wrap;gap:.4rem;min-height:2.6rem;padding:.4rem;border-radius:14px}
.chip{background:#fff;border:2px solid #ffa94d;border-radius:12px;padding:.3rem .7rem;cursor:grab;font:inherit;font-weight:700;color:var(--ink)}
.drop{background:#fff8e6;border:2px dashed #ffa94d}
.match{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.match .col{display:flex;flex-direction:column;gap:.45rem}
.match button{font:inherit;padding:.45rem;border-radius:14px;border:2px solid #ffc078;background:#fff;cursor:pointer;min-height:3rem}
.match .em{font-size:2rem}.match .sel{border-color:var(--pu);background:#f3f0ff}.match .done{background:#d3f9d8;border-color:#2b8a3e}
table.gl{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden}
table.gl th{background:#ffe8cc;color:#5c2300;padding:.4rem;text-align:right}table.gl td{border-top:1px solid #ffe8cc;padding:.4rem;vertical-align:top}
.tblw{overflow-x:auto}
.am{font-family:"Noto Sans Ethiopic","Abyssinica SIL",sans-serif}
.v{font-size:.75rem;background:#fff3bf;border-radius:6px;padding:0 .3rem;color:#7a5600}
.pcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.9rem}
.flip{perspective:900px;height:200px;cursor:pointer;background:none;border:0;padding:0;font:inherit;text-align:center}
.flip .in{position:relative;width:100%;height:100%;transition:transform .5s;transform-style:preserve-3d}
.flip.on .in{transform:rotateY(180deg)}
.flip .f,.flip .b{position:absolute;inset:0;backface-visibility:hidden;border-radius:20px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:.8rem;box-shadow:0 6px 0 var(--c,#ffc078);border:2px solid var(--c,#ffc078);background:#fff}
.flip .b{transform:rotateY(180deg);background:#fffbf0;font-size:.95rem}
.flip .e{font-size:2.6rem}
.ctl{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.5rem 0}
input[type=text],input[type=search],select,textarea{font:inherit;padding:.4rem .6rem;border-radius:12px;border:2px solid #ffc078;background:#fff}
textarea{width:100%;min-height:9rem}
.lines textarea{background:repeating-linear-gradient(#fff,#fff 2.1rem,#ffd8a8 2.15rem);line-height:2.15rem}
.qz-a{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.qz-a button{font:inherit;font-weight:800;color:#fff;border:0;border-radius:18px;padding:1rem;cursor:pointer;min-height:4.2rem;font-size:1.1rem;text-align:right}
.c0{background:#e03131;box-shadow:0 5px 0 #8a1c1c}.c1{background:#1971c2;box-shadow:0 5px 0 #0b3d6e}.c2{background:#e8a200;box-shadow:0 5px 0 #8a5d00;color:#2a1a0e!important}.c3{background:#2b8a3e;box-shadow:0 5px 0 #1b5e20}
.timer{height:14px;background:#ffe8cc;border-radius:99px;overflow:hidden}.timer i{display:block;height:100%;background:linear-gradient(90deg,#f4b400,#d9480f);width:100%;transition:width .25s linear}
.teams{display:flex;gap:.5rem;flex-wrap:wrap}.team{padding:.3rem .8rem;border-radius:12px;background:#fff;border:2px solid #ffc078;font-weight:800}.team.cur{background:var(--gold)}
.kb{display:flex;flex-wrap:wrap;gap:.3rem;direction:rtl}.kb button{width:2.5rem;height:2.5rem;font:inherit;font-weight:800;border-radius:10px;border:2px solid #ffc078;background:#fff;cursor:pointer}.kb button:disabled{opacity:.35}
.hw{font-size:2rem;letter-spacing:.4rem;font-weight:800;direction:rtl}
.mem{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;max-width:560px}
.mem button{aspect-ratio:1;border-radius:16px;border:0;font:inherit;font-weight:800;font-size:1.05rem;cursor:pointer;background:linear-gradient(135deg,#d9480f,#f4b400);color:#fff;box-shadow:0 4px 0 #8f3200}
.mem button.up{background:#fff;color:var(--ink);border:2px solid #ffc078}.mem button.got{background:#d3f9d8;color:#1b5e20;box-shadow:0 4px 0 #2b8a3e}
.ws{border-collapse:collapse;user-select:none;margin:auto}.ws td{width:2.3rem;height:2.3rem;text-align:center;font-weight:800;font-size:1.15rem;border:1px solid #ffd8a8;background:#fff;cursor:pointer}
.ws td.s{background:#e5dbff}.ws td.f{background:#b2f2bb}
.wsl li.f{text-decoration:line-through;color:#2b8a3e}
.deck{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}@media(max-width:560px){.deck{grid-template-columns:repeat(2,1fr)}}
.cb{--c:#74c0fc}.cp{--c:#f783ac}.cg{--c:#69db7c}.cy{--c:#ffd43b}
.slides{position:relative;background:#fff;border-radius:24px;min-height:420px;box-shadow:0 8px 0 #ffc078;overflow:hidden}
.slide{display:none;padding:2rem;text-align:center;min-height:420px;flex-direction:column;justify-content:center}.slide.on{display:flex}
.slide .e{font-size:5rem}.slide h2{border:0;font-size:2rem}
.pn{display:flex;justify-content:space-between;gap:.5rem;margin:1.5rem 0;flex-wrap:wrap}
.pn a{background:#fff;border:2px solid #ffc078;border-radius:14px;padding:.4rem .9rem;text-decoration:none;font-weight:700;box-shadow:0 3px 0 #ffc078}
footer{text-align:center;padding:1.5rem 1rem 2.2rem;color:var(--mut);font-size:.95rem}footer img{width:46px;height:46px;border-radius:50%;vertical-align:middle;margin-inline-end:.4rem}
.toc{columns:2 220px;background:#fff;border-radius:16px;padding:.8rem 1.6rem}
.lv-badge{display:inline-block;border-radius:999px;padding:.1rem .7rem;font-weight:800;background:var(--c);color:#2a1a0e}
.files li{margin:.25rem 0}.tag{font-size:.8rem;border-radius:6px;padding:.05rem .35rem;margin-inline-start:.3rem;background:#ffe8cc}.tag.t{background:#e5dbff}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.emo{font-size:1.6rem}
@media print{header.top,.pn,footer,.tools{display:none}}
.mx{display:flex;flex-direction:column;gap:.7rem}.mxr{display:grid;grid-template-columns:7rem repeat(3,1fr);gap:.7rem;align-items:stretch}
.mxh{font-weight:800;color:#7a2e00;display:flex;align-items:center;justify-content:center;text-align:center;background:#fff3d6;border-radius:16px;padding:.4rem;text-decoration:none;font-size:1.1rem}
.mxr span[role=cell]{display:flex}.mxr .card{flex:1}
.lvl-ragil{--c:#74c0fc}.lvl-chanam{--c:#ffd43b}.lvl-olim{--c:#69db7c}
@media(max-width:720px){.mxr{grid-template-columns:1fr}.mxr:first-child{display:none}.mxr .mxh{justify-content:flex-start}}
