/* student.css · סדר גודל לתלמידים (task 080d322c) */
@font-face{font-family:Rubik;src:url(/fonts/rubik-regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Rubik;src:url(/fonts/rubik-medium.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Rubik;src:url(/fonts/rubik-bold.woff2) format("woff2");font-weight:700;font-display:swap}
:root{--bg:#f4f8fb;--ink:#26304f;--soft:#5b6585;--line:#dfe6ef;--mint:#5fae9c;--mintx:#2f7565}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Rubik,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5;overflow-x:hidden;background-image:radial-gradient(circle at 10% 0,#dff3ee 0,transparent 340px),radial-gradient(circle at 95% 22%,#e3eefb 0,transparent 320px)}
img,video{display:block;max-width:100%;height:auto}
.i{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.2em}
.s-wrap{max-width:980px;margin:0 auto;padding:0 16px}
a{color:var(--mintx)}
:focus-visible{outline:3px solid var(--mint);outline-offset:2px}
.s-top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}
.s-top .s-wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:60px}
.s-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.s-brand img{width:34px;height:34px;border-radius:9px}
.s-brand span{display:flex;flex-direction:column;line-height:1.15}
.s-brand .s-name{margin:0;font-size:19px;font-weight:700;line-height:1.15}
.s-brand small{font-size:13px;color:var(--mintx);font-weight:500}
.s-cls{font-weight:700;font-size:15px;background:#eef7f4;color:var(--mintx);border:1px solid #cfe9e0;border-radius:999px;padding:5px 14px;white-space:nowrap;max-width:50%;overflow:hidden;text-overflow:ellipsis}
main{padding-top:18px;padding-bottom:10px;display:flex;flex-direction:column;gap:16px;outline:none}
.s-load{color:var(--soft);font-size:16px;margin:30px 0}
.s-hero{background:#26304f;color:#fff;border-radius:22px;padding:20px 20px 22px;box-shadow:0 6px 22px rgba(38,48,79,.18)}
.s-kick{margin:0 0 6px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14.5px;color:#cfe9e0;font-weight:500}
.s-here{display:inline-flex;align-items:center;gap:5px;background:#5fae9c;color:#fff;font-weight:700;border-radius:999px;padding:3px 11px 3px 10px}
.s-here .i{width:16px;height:16px}
.s-hero .s-ht{margin:0;font-size:clamp(26px,6.6vw,38px);line-height:1.2;font-weight:700}
.s-lead{margin:8px 0 0;font-size:16.5px;color:#e6ebf5}
.s-weeks{display:flex;flex-direction:column;gap:8px}
.s-vh{margin:0;font-size:15px;color:var(--soft);font-weight:500}
.s-wrow{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.s-wk{font:inherit;flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:right;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 14px;color:var(--ink);cursor:pointer;max-width:220px;min-height:48px}
.s-wk b{font-size:14.5px;font-weight:700}
.s-wk span{font-size:13.5px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}
.s-wk.cur b::after{content:" · הכיתה כאן";color:var(--mintx);font-weight:500}
.s-wk.on{background:#26304f;border-color:#26304f;color:#fff}
.s-wk.on span{color:#d6dcea}
.s-wk.on.cur b::after{color:#bfe8dc}
.s-card{background:#fff;border:1px solid #e3e9f2;border-radius:20px;padding:16px 16px 18px;box-shadow:0 2px 10px rgba(40,60,110,.06)}
.s-card h2{margin:0;display:flex;align-items:center;gap:9px;font-size:21px;font-weight:700}
.s-card h2 .i{color:var(--mintx);width:22px;height:22px}
.s-card h2 small{font-size:14px;color:var(--soft);font-weight:500;margin-inline-start:auto}
.s-sub{margin:4px 0 12px;color:var(--soft);font-size:15px}
.s-vid{border-radius:14px;overflow:hidden;background:#1d2238;aspect-ratio:16/9}
.s-vid video{width:100%;height:100%;object-fit:contain;background:#1d2238}
.s-simb{display:grid;gap:14px;margin-top:12px}
.s-simb img{border-radius:14px;width:100%;aspect-ratio:16/9;object-fit:cover;background:#e9eef6}
.s-simt h3{margin:0;font-size:19px;font-weight:700}
.s-simt p{margin:4px 0 0;color:#424b6b;font-size:15.5px}
.s-simt p.s-note{color:var(--soft);font-size:14px;margin-top:10px}
.s-btn{display:inline-flex;align-items:center;gap:8px;margin-top:12px;background:#26304f;color:#fff;text-decoration:none;font-weight:700;font-size:16.5px;padding:11px 20px;border-radius:999px;min-height:48px}
.s-btn:hover{background:#323d63}
.s-qs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.s-q{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fbfcfe}
.s-qt{margin:0;display:flex;gap:10px;align-items:flex-start;font-size:17px;font-weight:500}
.s-qn{flex:none;width:30px;height:30px;border-radius:999px;background:#26304f;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}
.s-qi{border-radius:12px;margin:10px 0 0;width:100%;max-width:480px;aspect-ratio:16/9;object-fit:cover}
.s-opts{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.s-opts li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 12px;font-size:16px}
.s-l{flex:none;width:26px;height:26px;border-radius:8px;background:#eef7f4;color:var(--mintx);font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.s-msg h2{margin:0 0 6px;font-size:22px}
.s-msg p{margin:0;color:#424b6b;font-size:16px}
.s-foot{padding-top:10px;padding-bottom:28px}
.s-priv{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;color:var(--soft);margin:8px 0}
.s-priv .i{color:var(--mintx);margin-top:2px}
.s-cred{font-size:13px;color:var(--soft);margin:0}
@media(min-width:760px){.s-simb{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}.s-opts{grid-template-columns:1fr 1fr}.s-hero{padding:26px 28px}}

/* play (task 080d322c phase 3) */
.s-game{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}
.s-game .s-sub{margin-bottom:0}
.s-gbtn{margin-top:0;border:0;font:inherit;font-weight:700;font-size:16.5px;cursor:pointer}
body.pg-on{overflow:hidden}
.pg{position:fixed;inset:0;z-index:50;background:#f4f8fb;display:flex;flex-direction:column;overflow:auto}
.pg-top{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#26304f;color:#fff;min-height:56px}
.pg-brand{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:17px}
.pg-brand .i{color:#bfe8dc}
.pg-me{margin-inline-start:auto;background:rgba(255,255,255,.14);border-radius:999px;padding:4px 12px;font-weight:600;font-size:15px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-x{margin-inline-start:auto;width:42px;height:42px;border-radius:999px;border:0;background:rgba(255,255,255,.14);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.pg-me + .pg-x{margin-inline-start:8px}
.pg-in{flex:1;width:100%;max-width:640px;margin:0 auto;padding:18px 16px 28px;display:flex;flex-direction:column;gap:14px}
.pg-h{margin:0;font-size:26px;font-weight:700;text-align:center}
.pg-h3{margin:6px 0 0;font-size:18px;font-weight:700}
.pg-sub{margin:0;text-align:center;color:#424b6b;font-size:17px}
.pg-note{display:flex;gap:7px;align-items:center;justify-content:center;color:#5b6585;font-size:14px;margin:0}
.pg-join{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #dfe6ef;border-radius:20px;padding:16px}
.pg-join label{font-weight:600;font-size:15.5px}
.pg-inp{font:inherit;font-size:20px;border:1.5px solid #dfe6ef;border-radius:14px;padding:10px 14px;min-height:54px;color:#26304f;background:#fff;width:100%}
.pg-pin{font-size:30px;letter-spacing:.35em;text-align:center;font-weight:700}
.pg-btn{font:inherit;font-weight:700;font-size:19px;background:#26304f;color:#fff;border:0;border-radius:999px;min-height:56px;padding:0 24px;cursor:pointer;margin-top:6px}
.pg-btn:disabled{opacity:.6}
.pg-err{margin:0;color:#b4372f;font-weight:500;min-height:1.2em}
.pg-big{align-self:center;width:84px;height:84px;border-radius:999px;background:#5fae9c;color:#fff;display:flex;align-items:center;justify-content:center;margin-top:24px}
.pg-big .i{width:46px;height:46px;stroke-width:2.6}
.pg-qh{display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#3d4770;font-size:16px}
.pg-time{min-width:52px;height:52px;border-radius:999px;background:#26304f;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:22px;font-weight:700}
.pg-q{margin:0;font-size:19px;font-weight:600;line-height:1.4}
.pg-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex:1;min-height:300px}
.pg-o{font:inherit;color:#fff;border:0;border-radius:18px;padding:14px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:17px;font-weight:600;line-height:1.3;cursor:pointer;min-height:130px;box-shadow:0 4px 0 rgba(0,0,0,.18);text-align:center}
.pg-o:active{transform:translateY(2px);box-shadow:0 2px 0 rgba(0,0,0,.18)}
.pg-o:disabled{opacity:.45}.pg-o.pick{opacity:1;outline:4px solid #26304f;outline-offset:2px}
.pg-sh{width:40px;height:40px;fill:#fff;stroke:none;flex:none}
.pg-c0{background:#cf4f43}.pg-c1{background:#2f6fb5}.pg-c2{background:#b47a0e}.pg-c3{background:#2f7565}
.pg-res{align-self:center;display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:24px;padding:22px 34px;margin-top:20px;color:#fff;font-size:20px}
.pg-res b{font-size:32px}.pg-res .i{width:40px;height:40px;stroke-width:2.6}
.pg-res.ok{background:#2f7565}.pg-res.no{background:#5b6585}
.pg-score{margin:0;text-align:center;font-size:18px}
.pg-top5{margin:0;padding:0;list-style:none;counter-reset:t;display:flex;flex-direction:column;gap:8px}
.pg-top5 li{counter-increment:t;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dfe6ef;border-radius:14px;padding:10px 14px;font-size:17px}
.pg-top5 li::before{content:counter(t);width:30px;height:30px;border-radius:999px;background:#26304f;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.pg-top5 li b{margin-inline-start:auto}
