/* دروس التربية الفنية المطوّرة — الصف الأول. تكمل claude-science/v1/lesson.css (هوية المناهج: خط Cairo والألوان). كل القواعد داخل .il */
.il.a-art{--art1:#E53935;--art2:#FDD835;--art3:#1E88E5;--art4:#43A047;--art5:#8E24AA;--art6:#FB8C00}
.il .hero{position:relative;overflow:hidden}
.il.a-art .hero .faces{position:relative;z-index:1}
.il.a-art .hero::after{content:"";position:absolute;inset-inline-end:-40px;bottom:-40px;width:160px;height:160px;border-radius:50%;background:conic-gradient(var(--art1),var(--art6),var(--art2),var(--art4),var(--art3),var(--art5),var(--art1));opacity:.22;pointer-events:none}
.il .ap{display:inline-grid;place-items:center;width:64px;height:64px;flex:0 0 auto;line-height:1}
.il .ap svg,.il .ap img{width:100%;height:100%;object-fit:contain}
.il .ap.emo{font-size:48px}
.il .ap.col{border-radius:50%;background:var(--c);border:3px solid #fff;box-shadow:0 0 0 2px var(--line),inset -6px -8px 14px rgba(0,0,0,.12)}
.il .ap.tx{width:auto;min-width:64px;font-weight:800;font-size:20px;padding:0 8px}
.il .ap.bk{width:120px;height:150px;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.il .ap.bk img{object-fit:cover;object-position:top}
.il .ap.big{width:110px;height:110px}.il .ap.big.emo{font-size:84px}.il .ap.big.bk{width:170px;height:210px}
.il .ap.emo.row,.il .ap.big.emo.row{width:auto;font-size:30px;letter-spacing:1px;white-space:nowrap}
.il .ap.sm{width:34px;height:34px}.il .ap.sm.emo{font-size:26px}
.il .a-hero-pic{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.il .a-ask{background:var(--surface);border:2px dashed var(--gold);border-radius:var(--r);padding:12px;display:flex;flex-direction:column;gap:10px;animation:rise .35s ease-out both}
.il .choice.picb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:0 1 150px;min-height:120px}
.il .choice.picb span{font-size:16px}
.il .opts.a-tf .choice{font-size:24px;flex:1 1 140px}
.il .a-qpic{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.il .a-area{display:flex;flex-direction:column;gap:12px}
/* learn */
.il .a-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.il .a-steps li{display:flex;align-items:center;gap:12px;background:var(--teal-pale);border-radius:14px;padding:8px 12px;font-weight:700;font-size:18px}
.il .a-sn{width:32px;height:32px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;flex:0 0 auto;font-weight:800}
.il .a-steps .ap{width:48px;height:48px}.il .a-steps .ap.emo{font-size:36px}
.il .a-wheel{display:flex;flex-direction:column;align-items:center;gap:8px}
.il .a-wheel svg{width:min(280px,80vw);height:auto;animation:spin-in 1s ease-out}
.il .a-wheel path{cursor:pointer;transition:opacity .2s,transform .2s;transform-origin:100px 100px}
.il .a-wheel path:hover{transform:scale(1.04)}
.il .a-wheel-l{font-size:22px;font-weight:800;min-height:1.6em}
@keyframes spin-in{from{transform:rotate(-180deg) scale(.6);opacity:0}}
.il .a-legend{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:center;font-weight:700}
.il .a-legend span{display:flex;align-items:center;gap:4px}
.il .a-mixrows{display:flex;flex-direction:column;gap:10px}
.il .a-mixrow{display:flex;align-items:center;justify-content:center;gap:10px;border:2px solid var(--line);background:var(--surface);border-radius:var(--r);padding:8px;font-size:30px;font-weight:800;flex-wrap:wrap}
.il .a-mixrow span{font-size:20px;min-width:80px}
.il .a-shade{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.il .a-shapes{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}
.il .a-shape{border:2px solid var(--line);background:var(--surface);border-radius:var(--r);padding:12px;display:flex;flex-direction:column;align-items:center;gap:4px}
.il .a-shape svg{width:72px;height:72px}.il .a-shape b{font-size:20px}.il .a-shape small{color:var(--muted);font-size:14px;line-height:1.4}
.il .a-band{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--gold-pale);border-radius:var(--r);padding:10px}
.il .a-band>b{font-size:20px;min-width:70px}
.il .a-band>div{display:flex;gap:4px;flex-wrap:wrap}
.il .a-band i{animation:rise .4s ease-out both}
.il .a-band .ap{width:46px;height:46px}
.il .a-gal{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
.il .a-gal figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:6px;max-width:190px;text-align:center}
.il .a-gal figcaption{font-size:15px;font-weight:700;color:var(--muted)}
/* questions */
.il .a-seq{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;align-items:center;background:var(--gold-pale);border-radius:var(--r);padding:12px}
.il .a-seq i{display:grid;place-items:center}
.il .a-seq .ap{width:54px;height:54px}
.il .a-gap{width:58px;height:58px;border:3px dashed var(--teal);border-radius:14px;font-style:normal;font-weight:800;font-size:28px;color:var(--teal)}
.il .a-gap.a-filled{border-style:solid;border-color:var(--good);background:var(--good-pale)}
.il .a-chip{display:flex;align-items:center;gap:6px;font-size:17px}
.il .slot .ap{width:30px;height:30px}
.il .a-match{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.il .a-mcol{display:flex;flex-direction:column;gap:10px}
.il .a-mi{border:2px solid var(--line);background:var(--surface);border-radius:16px;min-height:64px;padding:6px 10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}
.il .a-mi .ap{width:48px;height:48px}
.il .a-mi.sel{border-color:var(--gold);background:var(--gold-pale);transform:scale(1.03)}
.il .a-mi.done{border-color:var(--good);background:var(--good-pale);opacity:.8}
.il .a-sortcur{display:grid;place-items:center;min-height:150px}
.il .a-sortcard{display:flex;flex-direction:column;align-items:center;gap:4px;background:var(--surface);border:3px solid var(--navy);border-radius:18px;padding:10px 18px;font-weight:800;animation:drop .6s cubic-bezier(.3,1.5,.5,1) both}
.il .a-sbins{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:10px}
.il .a-sbin{border:3px dashed var(--teal);background:var(--teal-pale);border-radius:20px;min-height:110px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;font-size:18px}
.il .a-sin{display:flex;flex-wrap:wrap;gap:2px;justify-content:center}
/* games */
.il .a-game{display:flex;flex-direction:column;gap:12px;position:relative;min-height:300px}
.il .a-lab{display:grid;gap:14px;justify-items:center}
.il .a-target{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800}
.il .a-bowl{position:relative;width:180px;height:110px;border-radius:0 0 90px 90px;background:#eef3f4;border:5px solid #b9c7cc;border-top-width:2px;overflow:hidden;display:flex;align-items:flex-end}
.il .a-paint{width:100%;height:0;transition:height .5s,background .6s}
.il .a-paint.swirl{animation:swirl .7s linear}
@keyframes swirl{50%{filter:hue-rotate(40deg) blur(2px)}}
.il .a-bl{position:absolute;top:6px;inset-inline:0;text-align:center;font-size:13px;color:var(--muted)}
.il .a-pots{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.il .a-pot{border:none;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;font-weight:700;font-size:15px}
.il .a-pot i{width:58px;height:58px;border-radius:12px 12px 20px 20px;background:var(--c);border:4px solid #fff;box-shadow:0 0 0 2px var(--line),inset 0 -8px 0 rgba(0,0,0,.12)}
.il .a-catch{background:linear-gradient(180deg,#fdf7e6,#e8f4f5)}
.il .a-fall{animation:fall 5s linear forwards;top:-100px}
@keyframes fall{to{transform:translateY(560px)}}
.il .a-fall .ap{width:70%;height:70%}
.il .a-frame{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;padding:12px;border:6px double var(--gold);border-radius:14px;background:#fffdf6}
.il .a-frame i{width:52px;height:52px;display:grid;place-items:center}
.il .a-frame .ap{width:48px;height:48px}
.il .a-hole{border:3px dashed var(--teal);border-radius:10px;font-style:normal;font-size:26px;font-weight:800;color:var(--teal);animation:glow 1.4s infinite}
.il .a-filled{animation:glow .6s}
.il .a-shine{box-shadow:0 0 0 6px var(--gold-pale),0 0 24px var(--gold)}
.il .a-tools{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
.il .a-stamps{display:flex;gap:8px;flex-wrap:wrap}
.il .a-stp{width:58px;height:58px;border:2px solid var(--line);background:var(--surface);border-radius:14px;padding:6px}
.il .a-stp svg{width:100%;height:100%}
.il .a-stp.on{border-color:var(--gold);background:var(--gold-pale);box-shadow:0 4px 0 #c4912c}
.il .a-inks{display:flex;gap:8px;flex-wrap:wrap}
.il .a-ink{min-width:44px;height:44px;border-radius:99px;border:3px solid #fff;background:var(--c);box-shadow:0 0 0 2px var(--line);padding:0 10px;font-weight:800;font-size:14px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.il .a-ink.on{box-shadow:0 0 0 4px var(--ink);transform:scale(1.08)}
.il .a-paper{position:relative;height:300px;border-radius:12px;background:#fff;border:2px solid var(--line);overflow:hidden;cursor:crosshair;background-image:radial-gradient(#eee 1px,transparent 1px);background-size:18px 18px}
.il .a-print{position:absolute;width:64px;height:64px;pointer-events:none;animation:press .25s ease-out}
.il .a-print svg{width:100%;height:100%;opacity:.88}
.il .a-print.a-fade{opacity:0;transition:opacity .5s}
@keyframes press{from{scale:1.5;opacity:0}}
.il .a-spot{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.il .a-sp{border:2px solid var(--line);background:var(--surface);border-radius:16px;padding:8px;display:flex;flex-direction:column;align-items:center;gap:2px;font-weight:700}
.il .a-sp small{font-size:14px}
.il .a-sp.found{border-color:var(--good);background:var(--good-pale);box-shadow:0 0 0 3px var(--good)}
.il .a-pz{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px;align-items:start}
.il .a-pzimg{position:relative;border-radius:14px;overflow:hidden;border:1px solid var(--line);aspect-ratio:3/4;background:#fff}
.il .a-pzimg img{width:100%;height:100%;object-fit:cover;object-position:top}
.il .a-ptiles{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr)}
.il .a-pt{background:var(--teal);border:2px solid var(--teal-pale);transition:opacity .5s,transform .5s}
.il .a-pt:nth-child(2n){background:#0a6f7a}
.il .a-pt.off{opacity:0;transform:scale(.6) rotate(10deg)}
.il .a-pzq{display:flex;flex-direction:column;gap:10px}
.il .a-wh{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:center}
.il .a-whbox{position:relative;max-width:280px;width:100%;justify-self:center}
.il .a-whs{width:100%;height:auto;transition:transform 2s cubic-bezier(.2,.8,.2,1)}
.il .a-whpin{position:absolute;top:-6px;left:50%;transform:translateX(-50%);border:14px solid transparent;border-top:24px solid var(--navy)}
.il .a-whq{display:flex;flex-direction:column;gap:10px}
.il .a-cb{display:flex;flex-direction:column;gap:12px;align-items:center}
.il .a-cbs{width:min(340px,90vw);height:auto;background:#fff;border-radius:16px;border:1px solid var(--line)}
.il .a-cbs path{cursor:pointer;transition:fill .3s}
.il .a-cbt{pointer-events:none;font-family:var(--font)}
.il .a-race{display:flex;flex-direction:column;gap:12px}
.il .a-track{position:relative;height:84px;border-radius:16px;background:repeating-linear-gradient(90deg,#e9dfc8 0 40px,#efe7d3 40px 80px);border:2px solid var(--road-edge)}
.il .a-runner{position:absolute;top:10px;inset-inline-start:0;transition:inset-inline-start .4s}
.il .a-runner img{width:62px;height:62px;border-radius:50%;border:3px solid var(--gold);background:var(--gold-pale);object-fit:cover;object-position:top}
.il .a-flag{position:absolute;inset-inline-end:8px;top:16px;font-size:40px}
.il .a-clock{font-weight:800;font-size:20px;color:var(--teal)}
/* studio */
.il .a-studio{display:flex;flex-direction:column;gap:10px}
.il .a-canvas{position:relative;width:100%;aspect-ratio:5/3;border-radius:16px;border:2px solid var(--line);overflow:hidden;background:#fff;touch-action:none}
.il .a-canvas canvas{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair}
.il .a-tpl{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.il .a-bar{display:flex;flex-direction:column;gap:10px}
.il .a-sizes{gap:8px}
.il .a-sz{width:46px;height:46px;border:2px solid var(--line);background:var(--surface);border-radius:12px;display:grid;place-items:center}
.il .a-sz i{background:var(--ink);border-radius:50%;display:block}
.il .a-sz.on{border-color:var(--gold);background:var(--gold-pale)}
.il .a-tag{background:var(--gold-pale);border-radius:99px;padding:2px 12px;font-weight:700;font-size:14px}
.il .a-strip{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:4px;padding:10px;border:6px double var(--gold);border-radius:14px;background:#fffdf6}
.il .a-cell{aspect-ratio:1;border:2px dashed var(--line);background:#fff;border-radius:8px;padding:3px}
.il .a-cell svg{width:100%;height:100%}
@media (max-width:620px){.il .a-pz,.il .a-wh{grid-template-columns:1fr}.il .a-pzimg{max-width:260px;justify-self:center;width:100%}.il .a-strip{grid-template-columns:repeat(5,1fr)}.il .ap.big{width:84px;height:84px}.il .ap.big.emo{font-size:64px}.il .choice.picb{flex-basis:120px;min-height:100px}}
