
:root{--c:#1971c2;--bg:#f3f9ff;--ink:#1d2433;--fs:1}
*{box-sizing:border-box}
html{font-size:calc(17px * var(--fs))}
body{margin:0;font-family:Heebo,Assistant,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.65;direction:rtl}
a{color:#0b5cad}
a:focus,button:focus,[tabindex]:focus{outline:3px solid #f59f00;outline-offset:2px}
.skip{position:absolute;right:-999px;top:0;background:#fff;padding:8px;z-index:99}.skip:focus{right:8px}
header.top{background:linear-gradient(90deg,#1864ab,#1098ad 60%,#2f9e44);color:#fff;position:sticky;top:0;z-index:20;box-shadow:0 3px 10px #0002}
.bar{max-width:1100px;margin:auto;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:6px 12px}
.brand{color:#fff;font-weight:800;text-decoration:none;font-size:1.05rem;white-space:nowrap}
nav.main{display:flex;flex-wrap:wrap;gap:4px}
nav.main a{color:#fff;text-decoration:none;padding:5px 9px;border-radius:999px;background:#ffffff22;font-size:.88rem}
nav.main a[aria-current]{background:#fff;color:#1864ab;font-weight:700}
.tools{display:flex;gap:4px;margin-inline-start:auto;flex-wrap:wrap}
.tools button,.tsw button{border:0;border-radius:999px;padding:5px 9px;font:inherit;font-size:.82rem;cursor:pointer;background:#fff;color:#1864ab;min-height:34px}
.tsw{display:flex;gap:3px;background:#ffffff33;padding:3px;border-radius:999px}
.tsw button[aria-pressed=true]{background:#ffd43b;color:#222;font-weight:800}
main{max-width:1100px;margin:auto;padding:12px 14px 40px}
.crumbs{font-size:.85rem;margin:6px 0 2px;color:#555}.crumbs a{color:#1864ab}
h1{font-size:1.9rem;line-height:1.25;margin:8px 0 6px;color:#123}
h2{font-size:1.4rem;margin:22px 0 8px;color:var(--c)}
h3{font-size:1.15rem;margin:14px 0 6px}
.lead{font-size:1.1rem;color:#334}
.hero{position:relative;border-radius:24px;overflow:hidden;box-shadow:0 8px 24px #1864ab33;margin:10px 0 16px;background:#cfe8ff}
.hero img{width:100%;height:auto;max-height:420px;object-fit:cover;display:block}
.hero .cap{position:absolute;inset:auto 0 0 0;background:linear-gradient(0deg,#000a,#0000);color:#fff;padding:18px 16px 12px}
.hero .cap h1{color:#fff;margin:0;text-shadow:0 2px 6px #000a}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.card{background:#fff;border-radius:20px;padding:14px;box-shadow:0 4px 0 #0001,0 6px 18px #1864ab14;border:2px solid #e7f0ff}
.card h3{margin:6px 0}
.ucard{display:flex;flex-direction:column;text-decoration:none;color:inherit;border-top:8px solid var(--uc,#1971c2);transition:transform .15s}
.ucard:hover{transform:translateY(-3px)}
.ucard img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;background:#eef}
.ucard .num{font-weight:800;color:var(--uc)}
.links{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.btn,.links a{display:inline-flex;align-items:center;gap:4px;padding:8px 13px;border-radius:999px;background:var(--c);color:#fff;text-decoration:none;font-weight:700;border:0;font:inherit;font-weight:700;cursor:pointer;min-height:44px}
.links a.alt,.btn.alt{background:#fff;color:var(--c);border:2px solid var(--c)}
.tracks{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:10px 0}
.trk{border:3px solid #dee2e6;border-radius:20px;padding:14px;background:#fff;cursor:pointer;font:inherit;text-align:right;min-height:120px}
.trk[aria-pressed=true]{border-color:#f59f00;background:#fff9db;box-shadow:0 0 0 4px #ffe066}
.trk .e{font-size:2rem}.trk b{display:block;font-size:1.15rem}
section.lsn{background:#fff;border-radius:22px;padding:14px 16px;margin:14px 0;box-shadow:0 4px 14px #0000000d;border-right:8px solid var(--c)}
.simple{display:none;font-size:1.12rem}
.t-k .full,.t-o .full{display:none}.t-k .simple,.t-o .simple{display:block}
body.showfull .full{display:block!important}body.showfull .simple{display:none!important}
.t-k{--fs:1.1}
.fig{margin:10px 0;background:#f8fbff;border-radius:16px;padding:8px}
.ex{background:#fff9db;border-radius:14px;padding:8px 12px;margin:8px 0;border-right:5px solid #f59f00}
.w{border-bottom:2px dotted #e8590c;cursor:help;font-weight:600}
.t-o .w{background:#fff3bf;border-radius:6px;padding:0 3px}
.pop{position:fixed;z-index:60;background:#fff;border:3px solid #f08c00;border-radius:18px;padding:12px 14px;box-shadow:0 10px 30px #0004;max-width:300px;text-align:center}
.pop .pe{font-size:2.6rem}.pop b{font-size:1.2rem;display:block}.pop .en{color:#666;direction:ltr}
.say{border:0;background:#e7f5ff;color:#1864ab;border-radius:999px;padding:4px 10px;cursor:pointer;font:inherit;font-size:.85rem;min-height:36px}
.reveal summary{cursor:pointer;font-weight:700;padding:6px 0;min-height:40px}
.reveal{background:#f1f3f5;border-radius:12px;padding:4px 12px;margin:6px 0}
.act{background:#fff;border-radius:22px;padding:14px;margin:16px 0;box-shadow:0 4px 14px #0000000f;border:3px solid #e7f0ff}
.act h2{margin-top:2px}
.opts{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.opt,.chip,.bin,.mi,.oi{font:inherit;border:2px solid #ced4da;background:#fff;border-radius:14px;padding:9px 14px;cursor:pointer;min-height:48px;text-align:right}
.opt.ok,.chip.ok,.mi.ok,.oi.ok{background:#d3f9d8;border-color:#2f9e44}
.opt.no,.mi.no,.oi.no{background:#ffe3e3;border-color:#e03131;animation:sh .3s}
.chip.sel,.mi.sel{border-color:#f59f00;background:#fff3bf;box-shadow:0 0 0 3px #ffe066}
@keyframes sh{0%,100%{transform:none}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.q{margin:12px 0;padding:10px;border-radius:14px;background:#f8f9fa}
.fb{min-height:1.4em;font-weight:700}.fb.good{color:#2b8a3e}.fb.bad{color:#c92a2a}
.hint{background:#e7f5ff;border-radius:10px;padding:6px 10px;margin-top:6px}
.bins{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:10px}
.bin{min-height:120px;border-style:dashed;background:#f8fbff;display:flex;flex-direction:column;gap:6px;align-items:stretch}
.bin>b{text-align:center}
.pool{display:flex;flex-wrap:wrap;gap:8px}
.mcols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mcols>div{display:flex;flex-direction:column;gap:8px}
.score{position:fixed;bottom:12px;left:12px;background:#ffd43b;border-radius:999px;padding:8px 14px;font-weight:800;box-shadow:0 4px 12px #0003;z-index:30}
.pager{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:24px 0}
.pager a{flex:1;min-width:150px;background:#fff;border:2px solid var(--c);border-radius:16px;padding:10px;text-decoration:none;color:var(--c);font-weight:700;text-align:center}
footer{background:#123;color:#dfe;padding:18px 14px;font-size:.9rem}footer a{color:#a5d8ff}
footer .in{max-width:1100px;margin:auto}
.info img{width:100%;max-width:640px;height:auto;border-radius:14px;border:2px solid #dee2e6;display:block;margin:6px auto}
.info{text-align:center}
table.t{border-collapse:collapse;width:100%;background:#fff}table.t td,table.t th{border:1px solid #ced4da;padding:6px 8px;vertical-align:top}table.t th{background:#e7f5ff}
.tbl{overflow-x:auto}
.note{background:#fff4e6;border-right:5px solid #f08c00;border-radius:12px;padding:8px 12px;margin:10px 0}
.gridsvg circle.pt{fill:#fff;stroke:#1971c2;stroke-width:2;cursor:pointer}.gridsvg circle.pt:hover,.gridsvg circle.pt:focus{fill:#ffe066}
.gridsvg circle.ok{fill:#40c057}.gridsvg circle.no{fill:#fa5252}
.zb{cursor:pointer}.zb:hover,.zb:focus{opacity:.75;stroke:#000;stroke-width:2}
.deck{background:#fff;border-radius:24px;min-height:360px;padding:24px;box-shadow:0 8px 24px #0002;display:flex;flex-direction:column;justify-content:center;text-align:center;position:relative;overflow:hidden}
.deck .se{font-size:4rem}.deck h2{font-size:2rem;margin:4px}.deck .ss{color:#555;font-size:1.2rem}
.deck ul{text-align:right;display:inline-block;font-size:1.25rem;margin:10px auto}
.deck img{max-height:170px;max-width:100%;border-radius:16px;margin:6px auto;display:block}
.dctl{display:flex;justify-content:center;gap:10px;margin:12px 0;align-items:center}
.game{background:linear-gradient(135deg,#fff9db,#e7f5ff);border-radius:24px;padding:16px;box-shadow:0 8px 24px #0002;text-align:center}
.game .gq{font-size:1.35rem;font-weight:800;margin:10px 0}
.game .opts{justify-content:center}.game .opt{font-size:1.15rem;min-width:180px;text-align:center}
.hud{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-weight:800}
.embed{direction:ltr;text-align:left;background:#212529;color:#e9ecef;padding:8px;border-radius:10px;font-size:.8rem;overflow-x:auto;white-space:pre-wrap;word-break:break-all}
body.emb header.top,body.emb footer,body.emb .crumbs,body.emb .pager,body.emb .noemb{display:none}
.hc{filter:contrast(1.25)}.hc body,body.hc{background:#fff}
@media (max-width:600px){h1{font-size:1.5rem}.mcols{grid-template-columns:1fr}.bar{padding:6px 8px}.brand{font-size:.95rem}.deck{min-height:300px;padding:14px}.deck h2{font-size:1.5rem}.deck ul{font-size:1.05rem}}
@media print{header.top,footer,.tools,.pager,.score,.pr-block,.noprint{display:none!important}body{background:#fff}section.lsn,.act{box-shadow:none;border:1px solid #ccc}.simple{display:none!important}.full{display:block!important}}

.dfig{max-width:520px;margin:6px auto}.dfig svg{max-height:240px}

@media(max-width:640px){header.top{position:static}.hero div[aria-hidden]{font-size:2.6rem!important}}
