/* Aleph Spark: the live class quiz. The portal's own look (admin.css tokens), big and calm for a class screen.
   Answers are soft rounded squares marked א ב ג ד, never coloured shapes. Rounded squares for every big shape.
   The type is Noto Sans Hebrew, self-hosted (fonts/fonts.css), as on the class board. */
:root{font-family:"Noto Sans Hebrew",system-ui,-apple-system,"Segoe UI",Arial,sans-serif}

/* ---- the teacher's page ---- */
.spark-page{width:min(960px,100% - 32px);margin:28px auto 40px}
.spark-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.spark-head h1{margin:0;font-size:34px;letter-spacing:-.4px;direction:ltr;unicode-bidi:isolate}
.spark-head p{margin:4px 0 0;color:var(--muted);font-size:18px}
.spark-actions{display:flex;gap:10px;flex-wrap:wrap}
.spark-list{display:grid;gap:12px}
.spark-card{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:18px 22px;background:var(--sheen),var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);animation:spark-rise var(--calm) var(--ease) both}
.spark-card .grow{flex:1 1 220px;min-width:0}
.spark-card strong{display:block;font-size:19px}
.spark-card small{color:var(--muted);font-size:15px}
.spark-empty{padding:28px;text-align:center;color:var(--muted);font-size:18px;border:1.5px dashed var(--line-strong);border-radius:var(--r-lg)}
.spark-section{margin-top:30px}
.spark-section>h2{font-size:22px;margin:0 0 12px}
.spark-started{text-align:center}
.spark-for{display:flex;flex-direction:column;gap:14px}
.spark-for-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
.spark-for-chip{height:56px;padding:0 12px;border:0;border-radius:18px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);font:inherit;font-size:16px;font-weight:650;cursor:pointer;transition:background-color .15s,color .15s,box-shadow .15s}
.spark-for-chip:hover{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 50%,transparent)}
.spark-for-chip[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);box-shadow:0 8px 20px var(--accent-glow)}
.spark-for button.primary{align-self:flex-start}
.spark-started .code{font-size:56px;font-weight:800;letter-spacing:8px;direction:ltr;margin:6px 0 10px}
.spark-started a.primary{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:12px 30px;border-radius:var(--pill);background:var(--accent);color:var(--on-accent);font-weight:700;font-size:18px;text-decoration:none;box-shadow:0 8px 20px var(--accent-glow)}
.spark-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.spark-table th,.spark-table td{padding:12px 14px;text-align:start;border-bottom:1px solid var(--line);font-size:16px}
.spark-table tr:last-child td{border-bottom:0}
.spark-table .yes{color:var(--ok-ink);font-weight:700}
.spark-table .no{color:var(--muted)}
.spark-scroll{overflow-x:auto}
@keyframes spark-rise{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}


/* ==== the quiz editor (owner, 2026-11-04): spark-editor.js. Every question is a live slide, drawn as the class board
   will show it, in Aleph Spark's own identity (Aleph-builds/spark-personality): Rubik (Noto Sans Hebrew where Rubik is
   not installed), Aleph blue, mint, coral and sunflower, chunky tiles with a solid shadow under them, the four symbols.
   The slide list on the side, the big slide, the settings strip under it; a phone: the list is a strip under the slide. */
body.sp-editing .site-footer{display:none}
body.sp-editing .spark-page{width:auto;margin:0}
.sk{--blue:#3B74E4;--blue-d:#2753B5;--mint:#34C79A;--mint-d:#1C9672;--coral:#FF6F5B;--coral-d:#D64A37;--sun:#FFC83D;--sun-d:#D99A0E;
  --lav:#EEF0FC;--lav-2:#E1E5FA;--lav-3:#D3DAF2;--ink:#1B2240;--ink-2:#565E7E;--spring:cubic-bezier(.25,1.6,.45,1);
  position:relative;height:calc(100dvh - var(--mast,72px));min-height:600px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;
  padding:14px 20px 18px;background:var(--lav);color:var(--ink);font-family:Rubik,"Noto Sans Hebrew",system-ui,sans-serif}
.sk :where(button,input,textarea){all:unset;box-sizing:border-box;font-family:inherit}
/* On the slide itself, the look the owner approved (2026-11-04, Aleph-builds/spark-editor/00-approved-look.jpg): each answer
   sits plainly on its tile, with no outlined circles; the right one shows a white check. Keep this rule as it is. */
.sk-slide :is(button,input,textarea){all:unset;box-sizing:border-box;font-family:inherit}
.sk button{cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none}
.sk button:disabled{cursor:default;opacity:.5}
.sk :is(button,input,textarea):focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.sk ::placeholder{color:currentColor;opacity:.55}
.sk [hidden]{display:none!important}
.sk .sk-ic{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sk .sk-ic .fill{fill:currentColor;stroke:none}
.sk .sk-ic.flip{transform:scaleX(-1)}

/* ---- the top bar ---- */
.sk-top{display:flex;align-items:center;gap:12px;min-width:0}
.sk-back{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 14px;border-radius:14px;color:var(--ink-2);font-weight:700;font-size:15px}
.sk-back:hover{background:#fff}
.sk-back.armed{background:#fff;color:var(--coral-d);box-shadow:0 3px 0 var(--lav-3)}
.sk-title{flex:1 1 200px;min-width:120px;height:46px;padding:0 14px;border-radius:14px;font-weight:800;font-size:22px;color:var(--ink)}
.sk-title:hover,.sk-title:focus{background:#fff;box-shadow:0 3px 0 var(--lav-3)}
.sk-title.need{background:#fff;box-shadow:0 0 0 2.5px var(--coral) inset}
.sk-state{display:inline-flex;align-items:center;gap:6px;color:var(--ink-2);font-weight:600;font-size:14px;white-space:nowrap}
.sk-state .sk-ic{width:16px;height:16px;color:var(--mint-d)}
.sk-state .sk-dot{width:8px;height:8px;border-radius:50%;background:var(--lav-3)}
.sk-state[data-kind=saving] .sk-dot{background:var(--blue);animation:sk-blink 1s infinite}
.sk-state[data-kind=ai] .sk-dot{background:var(--sun)}
.sk-state[data-kind=error]{color:var(--coral-d)}.sk-state[data-kind=error] .sk-dot{background:var(--coral)}
.sk-tools{display:flex;gap:10px;margin-inline-start:auto}
.sk-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 18px;border-radius:16px;background:#fff;color:var(--ink);
  font-weight:800;font-size:16px;white-space:nowrap;box-shadow:0 4px 0 var(--lav-3);transition:transform .15s,box-shadow .15s}
.sk-btn:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 5px 0 var(--lav-3)}
.sk-btn:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px 0 var(--lav-3)}
.sk-ai{color:var(--blue)}.sk-ai .sk-ic{color:var(--sun-d)}
.sk-ai.open{box-shadow:0 0 0 2.5px var(--blue) inset,0 4px 0 var(--lav-3)}
.sk-go{background:var(--sun);color:var(--ink);box-shadow:0 4px 0 var(--sun-d)}
.sk-go:not(:disabled):hover{box-shadow:0 5px 0 var(--sun-d)}.sk-go:not(:disabled):active{box-shadow:0 1px 0 var(--sun-d)}
.sk-go.busy{animation:sk-blink 1s infinite}

/* ---- the two parts: the slide list, the stage ---- */
.sk-work{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;min-height:0}
.sk-rail{display:flex;flex-direction:column;gap:10px;min-height:0}
.sk-list{list-style:none;margin:0;padding:4px 4px 8px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;min-height:0;scrollbar-width:thin}
.sk-thumb{position:relative;flex:none;touch-action:none}
.sk-pick{display:flex;align-items:flex-start;gap:6px;width:100%;cursor:grab}
.sk-n{flex:none;width:18px;padding-top:4px;text-align:center;font-weight:800;font-size:14px;color:var(--ink-2)}
.sk-thumb.on .sk-n{color:var(--blue)}
.sk-pick .sk-slide{flex:1;min-width:0;border-radius:10px;box-shadow:0 0 0 1.5px var(--lav-3);transition:box-shadow .2s}
.sk-thumb:hover .sk-slide{box-shadow:0 0 0 2px var(--blue-d)}
.sk-thumb.on .sk-slide{box-shadow:0 0 0 3px var(--blue)}
.sk-thumb.need .sk-n::after{content:"";display:block;width:7px;height:7px;margin:5px auto 0;border-radius:50%;background:var(--coral)}
.sk-thumb.lift{z-index:3}.sk-thumb.lift .sk-slide{box-shadow:0 0 0 3px var(--blue),0 14px 26px rgba(27,34,64,.18)}
.sk-list.sorting .sk-pick{cursor:grabbing}
.sk-thumb-tools{position:absolute;top:5px;left:5px;display:flex;gap:4px;opacity:0;transition:opacity .15s}
.sk-thumb:is(:hover,:focus-within,.on) .sk-thumb-tools{opacity:1}
.sk-list.sorting .sk-thumb-tools{opacity:0}
.sk-mini-btn{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#fff;color:var(--ink-2);box-shadow:0 2px 0 var(--lav-3)}
.sk-mini-btn .sk-ic{width:15px;height:15px}
.sk-mini-btn:hover{color:var(--ink)}
.sk-ask{position:absolute;inset:0 24px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:10px;background:#fff;box-shadow:0 0 0 2px var(--coral)}
.sk-ask b{font-size:15px}
.sk-ask-row{display:flex;gap:6px}
.sk-ask-row button{height:30px;padding:0 12px;border-radius:10px;font-weight:700;font-size:14px;background:var(--lav)}
.sk-ask-row .sk-ask-yes{background:var(--coral);color:#fff}
.sk-add{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;height:46px;margin-inline-start:24px;border-radius:14px;background:#fff;color:var(--blue);font-weight:800;font-size:15px;box-shadow:0 4px 0 var(--lav-3)}
.sk-add:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px 0 var(--lav-3)}

.sk-stage{display:flex;flex-direction:column;gap:14px;min-height:0;min-width:0}
.sk-frame{position:relative;flex:1;min-height:0;container-type:size;display:grid;place-items:center}
.sk-frame>.sk-old{position:absolute}

/* ---- the slide: the board's question screen. 1cqw is a hundredth of the slide's width, so every copy is the same picture ---- */
.sk-slide{container-type:inline-size;position:relative;box-sizing:border-box;width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--lav);color:var(--ink);font-family:Rubik,"Noto Sans Hebrew",system-ui,sans-serif}
.sk-in{position:absolute;inset:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:1.6cqw;padding:2.4cqw 2.5cqw 2.6cqw}
.sk-frame>.sk-slide{width:min(100cqw,calc(100cqh * 16 / 9));border-radius:22px;box-shadow:0 0 0 1px var(--lav-3),0 18px 40px rgba(27,34,64,.10)}
.sk-bar{display:flex;align-items:center;gap:1cqw}
.sk-brand{display:inline-flex;align-items:center;gap:.8cqw}
.sk-brand b{font-weight:900;font-size:1.9cqw;direction:ltr}
.sk-logo{display:grid;place-items:center;width:3.6cqw;height:3.6cqw;border-radius:1cqw;background:var(--blue);box-shadow:0 .3cqw 0 var(--blue-d);color:#fff;font-weight:900;font-size:2.2cqw;direction:ltr}
.sk-chip{padding:.55cqw 1.4cqw;border-radius:99px;background:#fff;box-shadow:0 .25cqw 0 var(--lav-2);font-weight:800;font-size:1.3cqw;white-space:nowrap}
.sk-tags{display:flex;gap:.7cqw;margin-inline-start:auto}
.sk-tag{padding:.5cqw 1.2cqw;border-radius:99px;background:#fff;box-shadow:0 .25cqw 0 var(--lav-2);font-weight:800;font-size:1.25cqw;color:var(--ink-2)}
.sk-tag.sun{background:var(--sun);box-shadow:0 .25cqw 0 var(--sun-d);color:var(--ink)}
.sk-head{display:grid;grid-template-columns:15.6cqw minmax(0,1fr) 15.6cqw;gap:1.6cqw;height:15.6cqw}
.sk-ring{position:relative;width:15.6cqw;height:15.6cqw}
.sk-ring svg{width:100%;height:100%}
.sk-ring line{stroke:#CDD3EE;stroke-width:6;stroke-linecap:round;opacity:.7;transition:stroke .25s,opacity .25s}
.sk-ring line.on{opacity:1;stroke:var(--blue)}
.sk-ring[data-tone=sun] line.on{stroke:#F0A90F}.sk-ring[data-tone=coral] line.on{stroke:var(--coral)}
.sk-ring .face{fill:#fff}
.sk-ring b{position:absolute;inset:0;display:grid;place-items:center;font-weight:900;font-size:5.4cqw}
.sk-card{display:grid;place-items:center;min-width:0;padding:1cqw 2.6cqw;border-radius:2.5cqw;background:#fff;box-shadow:0 .5cqw 0 var(--lav-2);transition:box-shadow .2s}
.sk-card .sk-qtext{width:100%;margin:0;text-align:center;font-weight:900;font-size:3.5cqw;line-height:1.15;letter-spacing:-.02em;color:var(--ink);overflow-wrap:anywhere}
.sk-card textarea.sk-qtext{resize:none;field-sizing:content;max-height:12cqw;overflow:hidden}
.sk-card .sk-qtext.blank{opacity:.35}
.sk-card:focus-within{box-shadow:0 0 0 .3cqw var(--blue),0 .5cqw 0 var(--lav-2)}
.sk-card.need{box-shadow:0 0 0 .3cqw var(--coral),0 .5cqw 0 var(--lav-2)}
.sk-side{min-width:0}
.sk-pic{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4cqw;height:100%;border-radius:2.5cqw;background:#fff;box-shadow:inset 0 0 0 .2cqw var(--lav-3);overflow:hidden}
.sk-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sk-pic-add{display:flex;flex-direction:column;align-items:center;gap:.4cqw;color:var(--ink-2);font-weight:800;font-size:1.3cqw;z-index:1}
.sk-pic-add .sk-ic{width:3.4cqw;height:3.4cqw;color:var(--blue)}
.sk-pic.has .sk-pic-add{position:absolute;bottom:.7cqw;flex-direction:row;padding:.4cqw .9cqw;border-radius:99px;background:#fffffff0;font-size:1.05cqw;opacity:0;transition:opacity .15s}
.sk-pic.has .sk-pic-add .sk-ic{width:1.5cqw;height:1.5cqw}
.sk-pic.has:is(:hover,:focus-within) .sk-pic-add{opacity:1}
.sk-pic-x{position:absolute;top:.6cqw;left:.6cqw;display:grid;place-items:center;width:2.6cqw;height:2.6cqw;border-radius:50%;background:#fff;color:var(--ink-2);z-index:1}
.sk-pic-x .sk-ic{width:1.5cqw;height:1.5cqw}
.sk-pic-note{color:var(--ink-2);opacity:.7;font-size:1.05cqw;font-weight:600}
.sk-mini .sk-pic-add,.sk-mini .sk-pic-note{display:none}
.sk-answered{display:grid;align-content:center;justify-items:center;height:100%;border-radius:2.5cqw;background:var(--ink);color:#fff;box-shadow:0 .5cqw 0 #0B1028}
.sk-answered b{font-weight:900;font-size:6cqw;line-height:1}.sk-answered span{font-weight:700;font-size:1.4cqw;opacity:.85}

.sk-tiles{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(0,1fr);gap:1.4cqw;min-height:0}
.sk-tile{--c:var(--blue);--d:var(--blue-d);--tx:#fff;position:relative;display:flex;align-items:center;gap:1.6cqw;min-width:0;padding:0 2cqw;border-radius:2.2cqw;
  background:var(--c);color:var(--tx);box-shadow:0 .56cqw 0 var(--d);transition:opacity .25s,filter .25s,box-shadow .2s,transform .2s}
.sk-tile.c1{--c:var(--mint);--d:var(--mint-d);--tx:var(--ink)}
.sk-tile.c2{--c:var(--coral);--d:var(--coral-d);--tx:#fff}
.sk-tile.c3{--c:var(--sun);--d:var(--sun-d);--tx:var(--ink)}
.sk-sym{flex:none;display:grid;place-items:center;width:8.4cqw;height:8.4cqw;border-radius:50%;background:var(--d)}
.sk-sym svg{width:70%;height:70%}
.sk-words{flex:1;min-width:0;font-weight:900;font-size:3cqw;line-height:1.15;color:var(--tx);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
input.sk-words{height:6cqw;padding:0 .6cqw;border-radius:1.2cqw}
input.sk-words:focus{background:#ffffff26}
input.sk-words[readonly]{cursor:default}
.sk-check{flex:none;display:grid;place-items:center;width:4.2cqw;height:4.2cqw;border-radius:50%;box-shadow:inset 0 0 0 .3cqw currentColor;color:var(--tx);opacity:.7;transition:background .2s,opacity .2s,transform .2s}
.sk-check .sk-ic{width:2.4cqw;height:2.4cqw;stroke-width:3;opacity:0;transition:opacity .2s}
.sk-check:hover{opacity:1}.sk-check:hover .sk-ic{opacity:.5}
.sk-tile.right{box-shadow:0 0 0 .45cqw #fff inset,0 .56cqw 0 var(--d)}
.sk-tile.right .sk-check{opacity:1;background:#fff;box-shadow:none;color:var(--d)}
.sk-tile.right .sk-check .sk-ic{opacity:1}
.sk-edit .sk-tile.vacant:is(.c2,.c3):not(:focus-within){opacity:.55}
.sk-tile.need{box-shadow:0 0 0 .35cqw var(--ink) inset,0 .56cqw 0 var(--d)}
.sk-tiles.ask .sk-check{animation:sk-ask 1.6s ease-in-out infinite}
.sk-mini .sk-tile.vacant{opacity:.45}
.sk-slide.tf .sk-tiles{grid-template-columns:1fr 1fr;grid-template-rows:1fr}
.sk-slide.tf .sk-tile{flex-direction:column;justify-content:center;gap:1.4cqw;text-align:center}
.sk-slide.tf .sk-words{flex:none;font-size:3.6cqw}
.sk-slide.tf .sk-check{position:absolute;top:1.4cqw;left:1.4cqw}
.sk-hint{position:absolute;bottom:.8cqw;left:50%;margin:0;padding:.5cqw 1.6cqw;border-radius:99px;background:var(--ink);color:#fff;font-weight:700;font-size:1.3cqw;transform:translateX(-50%);opacity:0;pointer-events:none;white-space:nowrap}
.sk-hint.on{opacity:1}
.sk-mini .sk-hint{display:none}
/* The preview, revealed: the right tile stays bright with its mark, the others step back. */
.sk-mark{position:absolute;top:1.2cqw;left:1.2cqw;display:none;width:4cqw;height:4cqw;border-radius:50%;background:#fff}
.sk-mark::after{content:"";position:absolute;inset:1.05cqw 1.25cqw 1.45cqw;border:solid var(--d);border-width:0 0 .55cqw .55cqw;transform:rotate(-45deg)}
.sk-play .sk-tile.right .sk-mark{display:block}
.sk-play .sk-tile.dim{opacity:.32;filter:saturate(.5)}
/* Aleph AI at work: the tiles breathe in turn. */
.sk.thinking .sk-frame .sk-tile{animation:sk-think 1.1s ease-in-out infinite alternate}
.sk.thinking .sk-frame .sk-tile.c1{animation-delay:.15s}.sk.thinking .sk-frame .sk-tile.c2{animation-delay:.3s}.sk.thinking .sk-frame .sk-tile.c3{animation-delay:.45s}

/* ---- the settings strip: time, points, the kind; the question's own buttons ---- */
.sk-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 22px}
.sk-set{display:flex;align-items:center;gap:10px}
.sk-set-name{display:inline-flex;align-items:center;gap:5px;color:var(--ink-2);font-weight:700;font-size:14px}
.sk-set-name .sk-ic{width:17px;height:17px}
.sk-seg{display:flex;gap:6px}
.sk-opt{height:38px;padding:0 13px;border-radius:12px;background:#fff;color:var(--ink);font-weight:700;font-size:15px;line-height:38px;white-space:nowrap;box-shadow:0 3px 0 var(--lav-3);transition:background .15s,color .15s,transform .15s}
.sk-opt:hover{transform:translateY(-1px)}
.sk-opt.on{background:var(--blue);color:#fff;box-shadow:0 3px 0 var(--blue-d)}
.sk-own{display:flex;gap:6px}
.sk-soft{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border-radius:12px;color:var(--ink-2);font-weight:700;font-size:14px}
.sk-soft .sk-ic{width:17px;height:17px}
.sk-soft:hover{background:#fff}
.sk-soft.danger:hover{color:var(--coral-d)}

/* ---- Aleph AI writes questions: a white card under its button ---- */
.sk-sheet{position:absolute;z-index:20;display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:22px;background:#fff;box-shadow:0 0 0 1px var(--lav-3),0 24px 50px rgba(27,34,64,.18)}
.sk-sheet-head{display:flex;align-items:center;gap:8px;font-size:18px}
.sk-sheet-head>.sk-ic{color:var(--sun-d)}
.sk-x{display:grid;place-items:center;width:34px;height:34px;margin-inline-start:auto;border-radius:11px;color:var(--ink-2)}
.sk-x:hover{background:var(--lav)}
.sk-field{width:100%;min-height:48px;padding:12px 14px;border-radius:14px;background:var(--lav);font-size:16px;font-weight:500;color:var(--ink)}
.sk-lesson{min-height:96px;max-height:220px;resize:vertical;overflow:auto}
.sk-sheet-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.sk-sheet-foot .sk-opt{height:34px;line-height:34px;padding:0 11px}
.sk-sheet-msg{margin:0;min-height:0;color:var(--coral-d);font-weight:600;font-size:14px}
.sk-sheet-msg:not(.on){display:none}
.sk-refusal{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:16px;background:var(--lav);font-size:15px}
.sk-refusal span{color:var(--ink-2)}
.sk-link{align-self:flex-start;color:var(--blue);font-weight:800;text-decoration:none}

/* ---- the preview: the whole window, as the board ---- */
.sk-preview{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;gap:14px;padding:22px;background:var(--lav)}
.sk-preview-frame{flex:1;min-height:0;container-type:size;display:grid;place-items:center}
.sk-preview-frame>.sk-slide{width:min(100cqw,calc(100cqh * 16 / 9));border-radius:24px}
.sk-preview-foot{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}

@keyframes sk-blink{50%{opacity:.4}}
@keyframes sk-ask{50%{transform:scale(1.12);opacity:1}}
@keyframes sk-think{to{filter:brightness(1.12) saturate(1.15);transform:scale(.985)}}

/* ---- a phone or a narrow window: the slide on top, the list as a strip under it, the slide laid out as the phone shows it ---- */
@media(max-width:860px){
  .sk{height:auto;min-height:0;padding:12px 16px 18px}
  .sk-top{flex-wrap:wrap}
  .sk-title{order:-1;flex-basis:100%;font-size:20px}
  .sk-tools{flex-wrap:wrap;margin-inline-start:0;width:100%}
  .sk-tools .sk-btn{flex:1 1 auto;height:44px;padding:0 12px;font-size:15px}
  .sk-work{grid-template-columns:minmax(0,1fr);gap:12px}
  /* The big slide, then the strip of slides right under it, then the settings. */
  .sk-stage{display:contents}
  .sk-frame{order:1}.sk-rail{order:2;flex-direction:row;align-items:stretch}.sk-strip{order:3}
  .sk-list{flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:4px 4px 10px}
  .sk-thumb{width:132px}
  .sk-n{display:none}
  .sk-ask{inset:0}
  .sk-add{width:56px;height:auto;margin:4px 0 10px;flex-direction:column;gap:2px;font-size:13px}
  .sk-frame{container-type:inline-size;display:block}
  .sk-frame>.sk-slide{width:100%;aspect-ratio:auto;border-radius:20px}
  .sk-frame .sk-in{position:relative;inset:auto;grid-template-rows:auto auto auto;gap:3.2cqw;padding:4cqw}
  .sk-frame .sk-brand b,.sk-frame .sk-tags{display:none}
  .sk-frame .sk-logo{width:8cqw;height:8cqw;font-size:4.6cqw;border-radius:2.4cqw}
  .sk-frame .sk-chip{font-size:3.6cqw;padding:1.4cqw 3.2cqw}
  .sk-frame .sk-head{grid-template-columns:24cqw minmax(0,1fr);grid-template-rows:auto 24cqw;grid-template-areas:"card card" "ring pic";height:auto;gap:3cqw}
  .sk-frame .sk-ring{grid-area:ring}.sk-frame .sk-side{grid-area:pic}
  .sk-frame .sk-card{grid-area:card;min-height:22cqw;border-radius:5cqw;padding:3cqw 4cqw}
  .sk-frame .sk-card .sk-qtext{font-size:7cqw;max-height:none}
  .sk-frame .sk-ring{width:24cqw;height:24cqw}.sk-frame .sk-ring b{font-size:8cqw}
  .sk-frame .sk-pic{border-radius:5cqw;flex-direction:row;gap:2cqw}
  .sk-frame .sk-pic-add{flex-direction:row;font-size:4cqw;gap:2cqw}.sk-frame .sk-pic-add .sk-ic{width:7cqw;height:7cqw}
  .sk-frame .sk-pic-note{font-size:3.2cqw}
  .sk-frame .sk-pic-x{width:7cqw;height:7cqw;top:2cqw;left:2cqw}.sk-frame .sk-pic-x .sk-ic{width:4cqw;height:4cqw}
  .sk-frame .sk-tiles{grid-auto-rows:44cqw;gap:3.4cqw}
  .sk-frame .sk-slide.tf .sk-tiles{grid-template-rows:44cqw}
  .sk-frame .sk-tile{flex-direction:column;justify-content:center;gap:3cqw;padding:3cqw;border-radius:6cqw;box-shadow:0 1.6cqw 0 var(--d);text-align:center}
  .sk-frame .sk-tile.right{box-shadow:0 0 0 1.2cqw #fff inset,0 1.6cqw 0 var(--d)}
  .sk-frame .sk-tile.need{box-shadow:0 0 0 1cqw var(--ink) inset,0 1.6cqw 0 var(--d)}
  .sk-frame .sk-sym{width:20cqw;height:20cqw}
  .sk-frame .sk-words{flex:none;width:100%;font-size:5.6cqw;white-space:normal;text-align:center}
  .sk-frame input.sk-words{height:10cqw;border-radius:3cqw}
  .sk-frame .sk-check{position:absolute;top:2.6cqw;left:2.6cqw;width:9cqw;height:9cqw;box-shadow:inset 0 0 0 .8cqw currentColor}
  .sk-frame .sk-check .sk-ic{width:5.4cqw;height:5.4cqw}
  .sk-frame .sk-hint{position:static;transform:none;justify-self:center;font-size:3.6cqw;padding:1.6cqw 4cqw;white-space:normal;text-align:center}
  .sk-frame .sk-hint:not(.on){display:none}
  .sk-strip{justify-content:flex-start;gap:10px}
  .sk-set{flex-wrap:wrap;gap:6px}
  .sk-set-name{width:100%}
  .sk-opt{padding:0 11px;font-size:14px}
  .sk-preview{padding:14px}
}
@media(prefers-reduced-motion:reduce){
  .spark-card{animation:none}
  .sk *,.sk-preview *{animation:none!important;transition-duration:.01s!important}
}


/* ==== the right answer and the settings, made premium (owner, 2026-11-04). The slide's layout is 00-approved-look's,
   untouched: only the check, the right tile and the chips below. ====
   The check: a big white circle with a soft shadow at the tile's edge. Marked: it fills with the tile's deep colour and a
   bold white check (a spring pop and a tiny burst of the logo's three lines, spark-editor.js). The right tile keeps its
   full colour with a soft glow; the others step back a little, so the right one shows at a glance. */
.sk-slide .sk-tile .sk-check{flex:none;display:grid;place-items:center;width:max(44px,4.6cqw);height:max(44px,4.6cqw);border-radius:50%;background:#fff;color:var(--d);opacity:1;cursor:pointer;
  box-shadow:0 .3cqw 0 rgba(27,34,64,.14),0 .8cqw 1.8cqw rgba(27,34,64,.16);transition:background .22s,box-shadow .22s}
.sk-slide .sk-tile .sk-check .sk-ic{width:52%;height:52%;stroke-width:3.6;opacity:0;color:currentColor;transition:opacity .18s}
.sk-slide .sk-tile .sk-check:hover .sk-ic{opacity:.35}
.sk-slide .sk-tile.right .sk-check{background:var(--d);color:#fff;box-shadow:0 0 0 max(3px,.28cqw) #fff,0 .8cqw 1.8cqw rgba(27,34,64,.22)}
.sk-slide .sk-tile.right .sk-check .sk-ic{opacity:1}
.sk-slide .sk-tile.right{box-shadow:0 .56cqw 0 var(--d),0 0 0 .5cqw color-mix(in srgb,var(--c) 38%,transparent),0 0 3.2cqw color-mix(in srgb,var(--c) 60%,transparent);filter:none}
.sk-slide .sk-tiles.has-right .sk-tile:not(.right){opacity:.7}
.sk-slide .sk-tiles.has-right .sk-tile:not(.right):focus-within{opacity:1}
.sk-slide .sk-check .sk-pop{position:absolute;inset:0;pointer-events:none}
.sk-slide .sk-check .sk-pop i{position:absolute;left:50%;top:50%;width:max(5px,.45cqw);height:42%;margin:-21% 0 0 calc(max(5px,.45cqw) / -2);border-radius:99px;background:var(--d);opacity:0}
@media(min-width:861px){.sk-slide:not(.tf) .sk-tile .sk-check{position:relative}}
@media(max-width:860px){
  .sk-frame .sk-slide .sk-tile .sk-check{position:absolute;top:2.6cqw;left:2.6cqw;width:max(44px,11cqw);height:max(44px,11cqw)}
}
@media(prefers-reduced-motion:reduce){.sk-slide .sk-check .sk-pop{display:none}}

/* The settings: chunky rounded chips, each setting in its own Spark colour; the chosen one filled, white words, a gentle lift. */
.sk-set{--tone:var(--blue);--tone-d:var(--blue-d)}
.sk-set.tone-star{--tone:var(--coral);--tone-d:var(--coral-d)}
.sk-set.tone-kind{--tone:var(--mint-d);--tone-d:#127256}
.sk-set .sk-set-name .sk-ic{color:var(--tone)}
.sk .sk-set .sk-opt{height:40px;line-height:40px;padding:0 12px;border-radius:14px;background:#fff;color:var(--ink);font-weight:800;font-size:15px;box-shadow:0 4px 0 var(--lav-3);font-size:14px;
  transition:transform .32s var(--spring),background .2s,color .2s,box-shadow .2s}
.sk .sk-set .sk-opt:hover{transform:translateY(-1px)}
.sk .sk-set .sk-opt:active{transform:translateY(3px);box-shadow:0 1px 0 var(--lav-3)}
.sk .sk-strip{gap:8px 14px;flex-wrap:nowrap}.sk .sk-set{gap:7px}.sk .sk-seg{gap:5px}
.sk .sk-set .sk-opt.on{background:var(--tone);color:#fff;box-shadow:0 4px 0 var(--tone-d);transform:scale(1.06)}
.sk .sk-sheet .sk-set .sk-opt{height:38px;line-height:38px;padding:0 13px}
@media(max-width:860px){.sk .sk-strip{flex-wrap:wrap}.sk .sk-set .sk-opt{height:42px;line-height:42px;padding:0 13px;font-size:14px}}

/* ==== the quiz list and the library (owner, 2026-11-04): Aleph Spark's own look (Aleph-builds/spark-personality) ====
   Chunky cards with a solid shadow under them, a colour band with the burst lines, the first question on a soft card,
   big play and edit. Never generic white rounded cards with icon squares, no glass, no glow. */
.spark-page:has(.sh){width:auto;margin:0}
.sh{--blue:#3B74E4;--blue-d:#2753B5;--mint:#34C79A;--mint-d:#1C9672;--coral:#FF6F5B;--coral-d:#D64A37;--sun:#FFC83D;--sun-d:#D99A0E;
  --lav:#EEF0FC;--lav-2:#E1E5FA;--lav-3:#D3DAF2;--ink:#1B2240;--ink-2:#565E7E;
  min-height:calc(100dvh - 72px);padding:28px max(16px,calc((100% - 1180px) / 2)) 48px;background:var(--lav);color:var(--ink);font-family:Rubik,"Noto Sans Hebrew",system-ui,sans-serif}
.sh :where(button,input){font-family:inherit}
.sh-top{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.sh-words{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}
.sh-logo{grid-row:span 2;display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--blue);box-shadow:0 5px 0 var(--blue-d);color:#fff;font-weight:900;font-size:32px}
.sh-words h1{margin:0;font-weight:900;font-size:34px;letter-spacing:-.02em}
.sh-words p{margin:0;color:var(--ink-2);font-size:16px;font-weight:500}
.sh-actions{display:flex;gap:12px;flex-wrap:wrap}
.sh .sh-big{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 24px;border:0;border-radius:18px;background:#fff;color:var(--ink);font-weight:900;font-size:18px;cursor:pointer;box-shadow:0 5px 0 var(--lav-3);transition:transform .15s,box-shadow .15s}
.sh .sh-big.sun{background:var(--sun);box-shadow:0 5px 0 var(--sun-d)}
.sh .sh-big:hover{transform:translateY(-1px)}
.sh .sh-big:active{transform:translateY(4px);box-shadow:0 1px 0 var(--lav-3)}
.sh .sh-big.sun:active{box-shadow:0 1px 0 var(--sun-d)}
.sh .sh-small{min-height:34px;padding:0 12px;border:0;border-radius:11px;background:transparent;color:var(--ink-2);font-weight:700;font-size:14px;cursor:pointer;box-shadow:none}
.sh .sh-small:hover{background:var(--lav)}
.sh .sh-small.danger:hover{color:var(--coral-d)}
.sh :is(button,input):focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.sh-tabs{display:inline-flex;gap:6px;margin:26px 0 18px;padding:6px;border-radius:20px;background:#fff;box-shadow:0 4px 0 var(--lav-3)}
.sh .sh-tab{min-height:44px;padding:0 20px;border:0;border-radius:14px;background:transparent;color:var(--ink-2);font-weight:800;font-size:16px;cursor:pointer;box-shadow:none}
.sh .sh-tab[aria-selected=true]{background:var(--blue);color:#fff;box-shadow:0 3px 0 var(--blue-d)}
.sh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:22px}
.sh-card{--c:var(--blue);--d:var(--blue-d);--tx:#fff;display:flex;flex-direction:column;border-radius:26px;background:#fff;box-shadow:0 7px 0 var(--lav-3);overflow:hidden;animation:spark-rise .45s cubic-bezier(.22,.61,.36,1) both}
.sh-card.c1{--c:var(--mint);--d:var(--mint-d);--tx:var(--ink)}.sh-card.c2{--c:var(--coral);--d:var(--coral-d);--tx:#fff}.sh-card.c3{--c:var(--sun);--d:var(--sun-d);--tx:var(--ink)}
.sh-band{position:relative;display:flex;align-items:center;gap:8px;min-height:74px;padding:0 18px;background:var(--c);color:var(--tx);box-shadow:inset 0 -6px 0 var(--d);overflow:hidden}
.sh-burst{position:absolute;left:-14px;top:-18px;width:110px;height:110px;fill:none;stroke:var(--tx);stroke-width:9;stroke-linecap:round;opacity:.28}
.sh-count{font-weight:900;font-size:20px}
.sh-flag{padding:4px 11px;border-radius:99px;background:#ffffffd9;color:var(--ink);font-weight:800;font-size:13px}
.sh-flag.warn{background:var(--ink);color:#fff}
.sh-face{display:flex;flex-direction:column;gap:8px;padding:16px 18px 6px}
.sh-face h2{margin:0;font-weight:900;font-size:22px;line-height:1.2}
.sh-first{margin:0;padding:12px 14px;border-radius:16px;background:var(--lav);font-weight:800;font-size:16px;line-height:1.3;text-align:center;min-height:2.6em;display:grid;place-items:center}
.sh-first:empty{display:none}
.sh-meta{color:var(--ink-2);font-weight:600;font-size:14px}
.sh-card .sh-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 18px 4px}
.sh-card .sh-big{min-height:52px;padding:0 10px;font-size:17px}
.sh-card .sh-big:not(.sun){background:var(--lav);box-shadow:0 5px 0 var(--lav-3)}
.sh-foot{display:flex;justify-content:space-between;gap:6px;padding:6px 10px 12px}
.sh-empty{grid-column:1/-1;padding:34px;border-radius:24px;background:#fff;box-shadow:0 5px 0 var(--lav-3);text-align:center;color:var(--ink-2);font-weight:600;font-size:17px}
.sh-past{margin-top:36px}
.sh-past h2{margin:0 0 12px;font-weight:900;font-size:22px}
.sh-game{display:flex;align-items:center;gap:10px;padding:12px 16px;margin-bottom:8px;border-radius:18px;background:#fff;box-shadow:0 4px 0 var(--lav-3)}
.sh-game .grow{flex:1;min-width:0}.sh-game strong{display:block;font-weight:800}.sh-game small{color:var(--ink-2)}
.sh-filters{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}
.sh .sh-search{box-sizing:border-box;width:100%;min-height:54px;padding:0 18px;border:0;border-radius:18px;background:#fff;color:var(--ink);font-size:17px;font-weight:600;box-shadow:0 4px 0 var(--lav-3)}
.sh-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}
.sh .sh-chip,.sh-sheet .sh-chip{flex:none;min-height:40px;padding:0 14px;border:0;border-radius:13px;background:#fff;color:#1B2240;font-family:inherit;font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 3px 0 #D3DAF2}
.sh .sh-chip[aria-pressed=true],.sh-sheet .sh-chip[aria-pressed=true]{background:#3B74E4;color:#fff;box-shadow:0 3px 0 #2753B5}
.sh-layer{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:16px;background:#1B224066}
.sh-sheet{box-sizing:border-box;width:min(560px,100%);max-height:calc(100dvh - 32px);overflow:auto;display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:26px;background:#fff;color:#1B2240;font-family:Rubik,"Noto Sans Hebrew",system-ui,sans-serif;box-shadow:0 8px 0 #D3DAF2}
.sh-sheet.wide{width:min(760px,100%)}
.sh-sheet h2{margin:0;font-weight:900;font-size:22px}.sh-sheet h3{margin:6px 0 0;font-size:15px;color:#565E7E}
.sh-sheet .sh-chips{flex-wrap:wrap;overflow:visible}
.sh-sheet .sh-chip{background:#EEF0FC}
.sh-note{margin:0;color:#565E7E;font-size:15px}
.sh-check{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:14px;background:#FFF5D6;font-weight:600}
.sh-check input{width:20px;height:20px;margin-top:2px;accent-color:#3B74E4}
.sh-msg{margin:0;color:#D64A37;font-weight:700}.sh-msg:empty{display:none}
.sh-sheet .sh-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.sh-sheet .sh-big{display:inline-flex;align-items:center;min-height:50px;padding:0 22px;border:0;border-radius:16px;background:#EEF0FC;color:#1B2240;font:inherit;font-weight:900;font-size:17px;cursor:pointer;box-shadow:0 5px 0 #D3DAF2}
.sh-sheet .sh-big.sun{background:#FFC83D;box-shadow:0 5px 0 #D99A0E}
.sh-questions{margin:0;padding:0 22px 0 0;display:flex;flex-direction:column;gap:14px}
.sh-questions li strong{display:block;font-weight:800;font-size:17px;margin-bottom:6px}
.sh-answers{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:4px}
.sh-answer{padding:8px 12px;border-radius:12px;font-weight:800;color:#fff;background:#3B74E4;box-shadow:0 3px 0 #2753B5}
.sh-answer.c1{background:#34C79A;color:#1B2240;box-shadow:0 3px 0 #1C9672}.sh-answer.c2{background:#FF6F5B;box-shadow:0 3px 0 #D64A37}.sh-answer.c3{background:#FFC83D;color:#1B2240;box-shadow:0 3px 0 #D99A0E}
.sh-answer:not(.right){opacity:.45}
.sh-answer.right::before{content:"\2713  "}
@media(max-width:560px){.sh{padding:18px 16px 36px}.sh-words h1{font-size:28px}.sh-actions,.sh-actions .sh-big{width:100%}.sh-tabs{display:flex}.sh .sh-tab{flex:1}}
@media(prefers-reduced-motion:reduce){.sh-card{animation:none}.sh .sh-big{transition:none}}
