
:root{--or:#ff7a1a;--or2:#ffa94d;--dk:#1d1530;--pu:#5b3d8f;--lpu:#efe7ff;--cream:#fff8ef;--gr:#3fa34d;--tx:#24192f;--mut:#6b5f78;--r:22px;--sh:0 6px 18px rgba(40,20,70,.12)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Rubik","Assistant","Heebo","Segoe UI",Arial,sans-serif;background:var(--cream);color:var(--tx);line-height:1.65;font-size:17px;overflow-x:hidden}
a{color:var(--pu)}
button,.btn{font:inherit;cursor:pointer;border:0;border-radius:999px;padding:.7em 1.2em;min-height:48px;background:var(--or);color:#fff;font-weight:700;box-shadow:0 3px 0 #c95500;transition:transform .1s;display:inline-flex;align-items:center;gap:.4em;justify-content:center;text-decoration:none}
button:active,.btn:active{transform:translateY(2px);box-shadow:0 1px 0 #c95500}
button:focus-visible,.btn:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--pu);outline-offset:3px}
.btn2{background:var(--pu);box-shadow:0 3px 0 #3b2463}
.btn3{background:#fff;color:var(--pu);border:2px solid var(--pu);box-shadow:none}
.small{min-height:40px;padding:.45em .9em;font-size:.92em}
header.top{position:sticky;top:0;z-index:20;background:var(--dk);color:#fff;padding:.5rem .8rem;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;box-shadow:0 3px 12px rgba(0,0,0,.25)}
header.top .home{display:flex;align-items:center;gap:.4rem;color:#fff;text-decoration:none;font-weight:800;font-size:1.05rem;flex:1;min-width:0}
header.top .home span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lvls{display:flex;gap:.3rem;flex-wrap:nowrap;width:100%;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.lvls::-webkit-scrollbar{display:none}
.lvls button{flex:0 0 auto;min-height:40px;padding:.3em .7em;font-size:.86rem;background:#3a2b55;box-shadow:none;color:#fff}
.lvls button[aria-pressed=true]{background:var(--or);color:#1d1530}
main{max-width:1060px;margin:0 auto;padding:1rem .9rem 2rem}
h1{font-size:1.75rem;line-height:1.25;margin:.4rem 0}
h2{font-size:1.45rem;margin:.2rem 0 .6rem;color:var(--pu)}
h3{margin:.3rem 0;font-size:1.15rem}
.hero{background:linear-gradient(160deg,#2a1d47,#1d1530 60%,#3b1f0f);color:#fff;border-radius:28px;padding:1.2rem;display:flex;gap:1rem;align-items:center;flex-wrap:wrap;position:relative;overflow:hidden}
.hero .moon{position:absolute;top:14px;left:18px;width:58px;height:58px;border-radius:50%;background:#fff3c4;box-shadow:0 0 30px #ffe58a}
.hero .txt{flex:1 1 260px;position:relative}
.hero p{margin:.3rem 0;color:#ffe9d2}
.hero .m{flex:0 0 auto;margin:auto}
.tag{display:inline-block;background:var(--or);color:#1d1530;border-radius:999px;padding:.15em .8em;font-weight:800;font-size:.85rem}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.7rem;margin-top:1rem}
.card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:1rem}
a.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.2rem;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:1rem .6rem;min-height:110px;text-decoration:none;color:var(--tx);font-weight:700;border:3px solid transparent}
a.tile:hover{border-color:var(--or2)}
a.tile .ic{font-size:2rem}
.box{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:1rem 1.1rem;margin:.8rem 0}
.note{background:var(--lpu);border-radius:16px;padding:.7rem 1rem;margin:.8rem 0}
.ok{color:#1d7a2c;font-weight:700}.bad{color:#b3261e;font-weight:700}
.row{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.pagehead{display:flex;align-items:center;gap:.6rem;margin-bottom:.4rem}
.pagehead .m{flex:0 0 auto}
.back{margin:.2rem 0 .6rem}
.timeline{position:relative;padding-right:22px}
.timeline:before{content:"";position:absolute;right:8px;top:0;bottom:0;width:4px;background:var(--or2);border-radius:4px}
.tl{position:relative;margin:.8rem 0}
.tl:before{content:"";position:absolute;right:-20px;top:1.1rem;width:16px;height:16px;border-radius:50%;background:var(--or);border:3px solid #fff;box-shadow:0 0 0 2px var(--or)}
.when{font-size:.85rem;color:var(--mut);font-weight:700}
.big{font-size:1.3rem}
.cc{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.6rem}
.cc .card{text-align:center;font-size:1.25rem;font-weight:700}
/* venn */
.venn{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.5rem;margin:.8rem 0}
.zone{min-height:160px;border-radius:26px;padding:.6rem;border:3px dashed #c8b8e6;background:#fff}
.zone h3{font-size:1rem;text-align:center;margin:0 0 .4rem}
.zone.h{background:#fff1e6;border-color:var(--or2)}
.zone.b{background:#f4ecff;border-color:#a98bdc}
.zone.p{background:#e9f8ec;border-color:#7fc98a}
.zone.sel{outline:3px solid var(--pu)}
.chips{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0}
.chip{background:#fff;color:var(--tx);border:2px solid #d9cdea;box-shadow:none;border-radius:16px;min-height:44px;padding:.35em .7em;font-weight:600;font-size:.92rem;text-align:right}
.chip[aria-pressed=true]{border-color:var(--pu);background:var(--lpu)}
.chip.right{border-color:#2e9b43;background:#e7f7ea}.chip.wrong{border-color:#d0453b;background:#fde9e7}
@media(max-width:640px){.venn{grid-template-columns:1fr}.zone{min-height:90px}}
.vennart{display:block;margin:.4rem auto;max-width:360px;width:100%}
/* words */
.fl{perspective:800px;height:170px;cursor:pointer;border:0;padding:0;background:none;box-shadow:none;border-radius:20px;display:block;width:100%}
.fl .in{position:relative;width:100%;height:100%;transition:transform .5s;transform-style:preserve-3d}
.fl.on .in{transform:rotateY(180deg)}
.fl .f,.fl .bk{position:absolute;inset:0;backface-visibility:hidden;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.5rem;box-shadow:var(--sh);color:var(--tx)}
.fl .f{background:#fff}
.fl .bk{background:#fff1e6;transform:rotateY(180deg)}
.fl .em{font-size:2.4rem}.fl .hw{font-size:1.45rem;font-weight:800}
.fl .en{direction:ltr;font-weight:700;color:var(--pu)}
.fl .sn{font-size:.95rem;text-align:center}
/* pumpkin */
.pb{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start}
@media(max-width:700px){.pb{grid-template-columns:1fr}}
.pbsvg{width:100%;max-width:340px;display:block;margin:auto;background:radial-gradient(circle at 50% 40%,#3b2a5c,#1d1530);border-radius:28px}
.opts{display:flex;flex-wrap:wrap;gap:.35rem;margin:.2rem 0 .7rem}
.opts button{min-height:44px;padding:.3em .8em;background:#fff;color:var(--tx);border:2px solid #e2d6f2;box-shadow:none;font-weight:600}
.opts button[aria-pressed=true]{border-color:var(--or);background:#fff1e6}
/* memory */
.mem{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;max-width:560px;margin:.6rem auto}
.mc{aspect-ratio:1/1;min-height:64px;border-radius:18px;font-size:1.05rem;padding:.2rem;background:var(--pu);box-shadow:0 3px 0 #3b2463;color:#fff;line-height:1.2}
.mc.open,.mc.done{background:#fff;color:var(--tx);border:3px solid var(--or2);box-shadow:none}
.mc.done{border-color:#4caf50;background:#eefaf0}
.mc .e{font-size:1.9rem}
/* quiz */
.qcard{text-align:center}
.qcard .q{font-size:1.25rem;font-weight:700;margin:.6rem 0 1rem}
.tf{display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap}
.tf button{min-width:130px;font-size:1.1rem}
.prog{height:12px;background:#eadff7;border-radius:99px;overflow:hidden;margin:.4rem 0}
.prog i{display:block;height:100%;background:var(--or)}
/* word search */
.wsg{display:grid;gap:3px;max-width:430px;margin:.6rem auto;user-select:none;touch-action:manipulation}
.wsc{aspect-ratio:1/1;min-height:30px;padding:0;border-radius:8px;background:#fff;color:var(--tx);box-shadow:none;border:1px solid #e2d6f2;font-size:1.1rem;font-weight:700;min-width:0}
.wsc.a{background:#ffd8b8;border-color:var(--or)}
.wsc.f{background:#cdeed3;border-color:#4caf50}
.wsw{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center}
.wsw span{background:#fff;border-radius:99px;padding:.2em .8em;border:2px solid #e2d6f2;font-weight:700}
.wsw span.f{text-decoration:line-through;background:#e7f7ea;border-color:#4caf50}
/* riddles */
.rid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.7rem}
.rid .ans{margin-top:.5rem;font-weight:800;color:var(--pu);font-size:1.15rem}
/* story */
textarea,input[type=text],select{font:inherit;width:100%;border:2px solid #d9cdea;border-radius:16px;padding:.6rem .8rem;background:#fff;color:var(--tx)}
textarea{min-height:80px}
.storyout{white-space:pre-wrap;background:#fffdf7;border:2px dashed var(--or2);border-radius:18px;padding:1rem;min-height:80px}
/* safety, feelings */
.tips{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.7rem}
.tips .card .ic{font-size:2rem}
.therm{display:flex;gap:.3rem;flex-wrap:wrap}
.therm button{flex:1 1 50px;min-width:50px;font-size:1.4rem;padding:.3em;background:#fff;color:var(--tx);border:3px solid #eee;box-shadow:none}
.therm button[aria-pressed=true]{border-color:var(--pu);background:var(--lpu)}
.breath{width:150px;height:150px;border-radius:50%;margin:1rem auto;background:radial-gradient(circle,#ffd08a,#ff7a1a);display:flex;align-items:center;justify-content:center;font-weight:800;color:#3b1f0f;transform:scale(.7);transition:transform 4s ease-in-out;text-align:center;padding:.5rem}
.breath.inh{transform:scale(1)}
/* slides */
.deck{background:#0f0b18;color:#fff;border-radius:26px;padding:0;overflow:hidden;position:relative;box-shadow:var(--sh)}
.slide{min-height:430px;padding:1.4rem 1.3rem 1rem;display:flex;flex-direction:column;gap:.6rem;animation:fade .7s ease}
@keyframes fade{from{opacity:0}to{opacity:1}}
.slide h2{color:var(--or);font-size:1.9rem;margin:0}
.slide .sub{color:#ffd6b0;font-weight:700;font-size:1.1rem}
.slide ul{margin:.3rem 0;padding-inline-start:1.2rem;font-size:1.12rem}
.slide li{margin:.35rem 0}
.slide .art{display:flex;justify-content:center;margin:.3rem 0}
.deckbar{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .8rem;background:#1d1530}
.dots{display:flex;gap:.3rem}
.dots i{width:10px;height:10px;border-radius:50%;background:#55457a;display:block}
.dots i.on{background:var(--or)}
.deck .btn3{background:transparent;color:#fff;border-color:#fff}
/* teacher */
table{border-collapse:collapse;width:100%;background:#fff;border-radius:14px;overflow:hidden}
th,td{border:1px solid #e6dcf3;padding:.45rem .55rem;text-align:right;vertical-align:top}
th{background:#f4ecff}
.tabs{display:flex;gap:.35rem;flex-wrap:wrap;margin:.5rem 0}
.tabs button{min-height:42px;padding:.35em .9em;background:#fff;color:var(--pu);border:2px solid var(--pu);box-shadow:none}
.tabs button[aria-pressed=true]{background:var(--pu);color:#fff}
.verify li{margin:.3rem 0}
.vtag{background:#ffe1a8;color:#5a3a00;border-radius:8px;padding:0 .4em;font-weight:800;font-size:.85em}
details{background:#fff;border-radius:16px;box-shadow:var(--sh);padding:.6rem 1rem;margin:.6rem 0}
summary{cursor:pointer;font-weight:800;color:var(--pu);min-height:36px;display:flex;align-items:center}
/* mascot */
.mascot{display:block}
.mascot .wave{transform-origin:22px 70px;animation:wave 1.6s ease-in-out infinite}
@keyframes wave{0%,100%{transform:rotate(0)}50%{transform:rotate(-18deg)}}
.bob{animation:bob 3s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.speech{background:#fff;color:var(--tx);border-radius:18px;padding:.5rem .8rem;position:relative;font-weight:700;box-shadow:var(--sh)}
.olim-tip{background:#e7f7ea;border-radius:14px;padding:.5rem .8rem;margin:.6rem 0}
footer{background:var(--dk);color:#fff;text-align:center;padding:1.2rem .8rem;margin-top:1.5rem}
footer img{width:72px;height:72px;border-radius:50%;background:#fff;display:block;margin:0 auto .4rem}
footer .credit{font-weight:800}
.printnote{font-size:.95rem;background:#fff4d6;border-radius:12px;padding:.5rem .8rem;display:inline-block}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.stmt{display:grid;grid-template-columns:1fr;gap:.3rem;margin:.6rem 0;padding:.6rem;background:#fff;border-radius:14px;box-shadow:var(--sh)}
.scale{display:flex;gap:.3rem;flex-wrap:wrap}
.scale button{flex:1 1 60px;min-height:42px;padding:.3em;font-size:.85rem;background:#f4ecff;color:var(--tx);box-shadow:none}
.scale button[aria-pressed=true]{background:var(--pu);color:#fff}
@media print{
 @page{size:A4;margin:15mm}
 body{background:#fff;font-size:12pt;direction:rtl;text-align:right}
 header.top,footer .noprint,.noprint,.lvls,.deckbar,button{display:none!important}
 main{max-width:none;padding:0}
 .box,.card,details{box-shadow:none;border:1px solid #ccc;break-inside:avoid}
 details{display:block}details>*{display:block}
 .hero{background:#fff;color:#000;border:2px solid #ff7a1a}
 .hero p{color:#000}
 .deck{background:#fff;color:#000}.slide h2{color:#c95500}
 footer{background:#fff;color:#000}
}

@media(max-width:700px){#pbart{position:sticky;top:96px;z-index:5;background:var(--cream);padding:.3rem 0}#pbart .pbsvg{max-width:190px}
 header.top{padding:.4rem .6rem;gap:.35rem}header.top .home{font-size:.98rem}}
svg text{direction:ltr}

/* ===== v2: levels ===== */
.lvls{flex-wrap:wrap;overflow:visible}
@media(max-width:700px){
 header.top{position:static}
 .lvls{display:grid;grid-template-columns:repeat(6,1fr);gap:.3rem}
 .lvls button{grid-column:span 2;width:100%;min-height:42px;padding:.25em .3em;font-size:.88rem;white-space:nowrap}
 .lvls button:nth-child(4),.lvls button:nth-child(5){grid-column:span 3}
 #pbart{top:0!important}
}
.lvls button[aria-pressed=true]{outline:3px solid #ffe0b8;font-weight:800}
.lvpick{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.7rem;margin:.6rem 0}
.lvcard{flex-direction:column;align-items:center;text-align:center;background:#fff;color:var(--tx);border:3px solid #eadff7;box-shadow:var(--sh);border-radius:24px;padding:1rem .8rem;min-height:140px;gap:.2rem}
.lvcard .e{font-size:2.4rem;line-height:1}.lvcard b{font-size:1.3rem}.lvcard small{font-weight:500;color:var(--mut);line-height:1.35}
.lvcard:hover{border-color:var(--or)}
.lvnow{display:flex;align-items:center;gap:.7rem;background:#fff;border:3px solid var(--or);border-radius:22px;padding:.6rem .9rem;margin:1rem 0 .4rem;box-shadow:var(--sh)}
.lvnow .big{font-size:2rem}.lvnow div{flex:1;display:flex;flex-direction:column;line-height:1.2}.lvnow small{color:var(--mut);font-weight:700}.lvnow b{font-size:1.35rem}
.lvban{background:#fff4d6;border:2px solid #ffc861;border-radius:16px;padding:.6rem .8rem;margin:0 0 .8rem;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
a.tile.act{position:relative;border:2px solid #ffd8b5}
a.tile .num{position:absolute;top:8px;right:10px;background:var(--or);color:#1d1530;border-radius:99px;width:26px;height:26px;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:800}
a.tile small{font-size:.78rem;color:var(--mut);font-weight:600;line-height:1.25}
.cacts{grid-template-columns:repeat(2,1fr)}.cacts a.tile{min-height:150px;font-size:1.25rem}.cacts a.tile .ic{font-size:3rem}
.en{direction:ltr;unicode-bidi:isolate;color:#2a6f3a;font-weight:600;font-size:.9em}
.hero .en{color:#bff0c8}
.score{font-weight:800;color:var(--pu);margin:.4rem 0}
.qblock{margin:.6rem 0}.qblock p{margin:.2rem 0 .4rem}
.mcq button{flex:1 1 auto}
.opts.col{flex-direction:column}.opts.col button{text-align:right;justify-content:flex-start;white-space:normal;line-height:1.35}
.opts button.right{border-color:#2e9b43;background:#e7f7ea}.opts button.wrong{border-color:#d0453b;background:#fde9e7}
.opts button:disabled{opacity:.6;cursor:default}.opts button.right:disabled{opacity:1}
.mfb p{margin:.2rem 0}
.bigpic{font-size:2.6rem;text-align:center;line-height:1.3;margin:.3rem 0;direction:ltr}
.blank{border-bottom:2px solid var(--or);padding:0 .3em;color:var(--or);font-weight:800}
.clztext{line-height:2.4}
.clz{font:inherit;font-size:1rem;min-height:44px;border-radius:12px;border:2px solid #d6c7ec;padding:.15em .3em;background:#fff8ef;margin:.1em;max-width:9.5em}
.clz.right{border-color:#2e9b43;background:#e7f7ea}.clz.wrong{border-color:#d0453b;background:#fde9e7}
.checklist{list-style:none;padding:0;margin:.5rem 0}.checklist li{padding:.15rem 0;color:var(--mut)}.checklist li.ok{color:#1d7a2c}
.tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.tscroll table{min-width:100%}
table.matrix td,table.matrix th{padding:.35rem .3rem;font-size:.85rem}
table.tally td,table.tally th{padding:.25rem;font-size:.8rem;text-align:center}table.tally button{min-height:38px;padding:.2em .5em}
table.rub button{min-height:40px;padding:.2em .6em}
table.rub button[aria-pressed=true],table.tally button:active{background:var(--pu)}
.lbl{display:block;margin:.6rem 0;font-weight:600}.lbl textarea{margin-top:.3rem}
.two{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}@media(max-width:560px){.two{grid-template-columns:1fr}}
.src2{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}@media(max-width:700px){.src2{grid-template-columns:1fr}}
blockquote.src{margin:0;border-right:6px solid var(--or)}blockquote.src.b{border-right-color:var(--pu)}
.adbox{background:linear-gradient(150deg,#ff7a1a,#7b4bc4);color:#fff;border-radius:22px;padding:1rem 1.1rem;margin:.8rem 0;text-align:center;box-shadow:var(--sh)}
.adbox h3{color:#fff}.adl{margin:.25rem 0;font-weight:800;font-size:1.1rem}.adl.tiny{font-size:.72rem;font-weight:400;opacity:.85}
.chain{background:#f6f0ff;border-radius:14px;padding:.4rem 2rem .4rem .6rem;min-height:2rem}.chain li{margin:.25rem 0;font-weight:600}
.timer{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin:.5rem 0}.timer span{font-size:1.8rem;font-weight:800;min-width:4.5ch;text-align:center;font-variant-numeric:tabular-nums}
.ck{display:flex;gap:.5rem;align-items:center;margin:.3rem 0;font-weight:500}.ck input{width:24px;height:24px;flex:0 0 auto}
.dcard p{font-weight:600}
.card.mine{border:3px solid var(--or)}
/* color page */
.ycw{display:grid;grid-template-columns:1fr;gap:.5rem;max-width:560px;margin:0 auto}
.pal{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center}
.sw{width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #cbb9e6}
.sw[aria-pressed=true]{box-shadow:0 0 0 4px var(--pu)}
.ycart svg{width:100%;height:auto;display:block;background:#fff;border-radius:18px;box-shadow:var(--sh);cursor:pointer}
.ycart [data-rg]{cursor:pointer}
/* olim */
.match2{display:grid;grid-template-columns:1fr 1.4fr;gap:.6rem;max-width:520px;margin:.5rem auto}
.mcol{display:flex;flex-direction:column;gap:.45rem}
.mpic,.mword{background:#fff;color:var(--tx);border:3px solid #e2d6f2;box-shadow:none;min-height:58px;border-radius:18px}
.mpic{font-size:2rem;padding:.1em}.mword{font-size:1.15rem;flex-direction:column;gap:0;line-height:1.2}
.mpic[aria-pressed=true]{border-color:var(--or);background:#fff1e6}
.mpic.right,.mword.right{border-color:#2e9b43;background:#e7f7ea}.mword.wrong{border-color:#d0453b;background:#fde9e7}
.mword .hint{display:none;font-size:.78rem}.mword .hint.show{display:block}
.hint2{background:#e7f7ea;border-radius:12px;padding:.3rem .6rem;display:inline-block}
.slots{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center;min-height:60px;margin:.6rem 0;padding:.5rem;border:3px dashed #d6c7ec;border-radius:18px}
.slot{background:var(--lpu);border-radius:14px;padding:.35em .7em;font-size:1.3rem;font-weight:700}.slot.empty{background:none;color:#bbb}
#ob .opts{justify-content:center}#ob .opts button{font-size:1.3rem;min-height:56px}
.rd .nikud{font-size:1.35rem;line-height:2}.gl{margin:.4rem 0}
/* chinuch */
.cbig h2.cq{font-size:1.6rem;margin:.4rem 0}
.cgrid{display:grid;gap:.6rem;margin:.6rem auto;max-width:520px}
.cgrid.n2{grid-template-columns:repeat(2,1fr)}.cgrid.n3{grid-template-columns:repeat(3,1fr)}.cgrid.n4{grid-template-columns:repeat(4,1fr)}
.cbtn{min-height:104px;font-size:3.2rem;background:#fff;color:var(--tx);border:4px solid #e2d6f2;border-radius:24px;box-shadow:0 4px 0 #d6c7ec;flex-direction:column;gap:0;padding:.2em}
.cbtn.lbl2 span{font-size:1.05rem;font-weight:800;line-height:1.2}
.cgrid.n4 .cbtn{min-height:84px;font-size:2.4rem}.cgrid.n4 .cbtn.lbl2 span{font-size:.9rem}
.cbtn[aria-pressed=true]{border-color:var(--or);background:#fff1e6}
.cbtn.right{border-color:#2e9b43;background:#e7f7ea}.cbtn.wrong{border-color:#d0453b;background:#fde9e7;animation:shk .4s}
.cbtn:disabled{opacity:.55}.cbtn.right:disabled{opacity:1}
@keyframes shk{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.huge{font-size:1.4rem;min-height:64px;padding:.5em 1.6em;margin:.4rem}
p.big{font-size:1.35rem}
.dots{display:flex;gap:.35rem;justify-content:center}.dots i{width:14px;height:14px;border-radius:50%;background:#eadff7}.dots i.on{background:var(--gr)}
.sep{text-align:center;font-size:1.6rem}
.cslots{display:flex;align-items:center;justify-content:center;gap:.2rem;margin:.5rem 0}
.cslot{width:92px;height:96px;border:3px dashed #cbb9e6;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:2.3rem;background:#fff;line-height:1.1}
.cslot b{font-size:1.6rem;color:#bbb}.cslot span{font-size:.75rem;font-weight:700}
.arr{font-size:1.1rem}
@media(max-width:380px){.cslot{width:84px;height:90px}.cbtn{min-height:96px;font-size:2.8rem}.cgrid.n4 .cbtn{min-height:76px;font-size:2rem}}
main[data-level=c] .note,main[data-level=c] .pagehead h1{font-size:1.15em}

@media(max-width:600px){
 .hero{flex-wrap:nowrap;align-items:center;padding:.9rem;gap:.6rem}
 .hero .m{margin:0}.hero .m svg{width:84px;height:84px}
 .hero .moon{width:34px;height:34px;top:10px;left:10px}
 .hero h1{font-size:1.35rem}.hero p{font-size:.95rem}
 .lvpick{grid-template-columns:repeat(2,1fr)}.lvcard{min-height:120px;padding:.7rem .5rem}.lvcard small{font-size:.78rem}
}
