body{display:flex;flex-direction:column;min-height:100dvh;overscroll-behavior:none}
#hud{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));background:#fff;font-weight:700;position:sticky;top:0;z-index:1000}
#hname{display:flex;align-items:center;gap:6px;min-width:0;flex:1}
#hname b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#htime{min-width:2.4em;text-align:center;background:var(--sun);border-radius:99px;padding:.1em .6em;font-size:1.25rem}
#htime:empty{visibility:hidden}
#htime.hot{background:var(--c0);color:#fff}
#hscore{flex:1;text-align:left}
#bar{height:8px;background:var(--line)}
#bar i{display:block;height:100%;width:0;background:var(--c0);border-radius:0 0 0 8px}
#app{flex:1;width:100%;max-width:560px;margin:0 auto;padding:16px;padding-bottom:max(20px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}
.center{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;text-align:center}
.huge{font-size:6.5rem;line-height:1}
.q{font-size:1.3rem;text-align:center;line-height:1.3}
.hint{text-align:center;color:var(--mut);font-weight:600}
.qimg{max-height:24vh;border-radius:18px;align-self:center}
.pts{font-size:3rem;font-weight:700;line-height:1}
.row{display:flex;gap:10px}.row>*{flex:1}
.parade{display:flex;gap:4px;font-size:3.2rem;justify-content:center}
.parade>*:nth-child(2n){animation-delay:-1.3s}

/* כניסה */
#join{width:100%;display:flex;flex-direction:column;gap:14px}
#join .txt{text-align:center;font-size:1.35rem}
.avs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.avs button{font-size:1.65rem;line-height:1;height:46px;border-radius:14px;background:var(--cream)}
.avs button[aria-pressed=true]{background:var(--sun);box-shadow:0 0 0 3px var(--c1)}

/* תשובות */
.opts{display:grid;gap:12px;flex:1;grid-auto-rows:1fr;max-height:640px}
.opts.four{grid-template-columns:1fr 1fr}
.opt{border-radius:24px;color:#fff;font-weight:700;font-size:1.2rem;box-shadow:0 6px 0 var(--bd);padding:12px;min-height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;overflow-wrap:anywhere}
.opt:active{transform:translateY(4px);box-shadow:0 2px 0 var(--bd)}
.opt .face{font-size:1.7rem}
.opt.bool{font-size:2rem}.opt.bool .fruit{font-size:5rem}
#olist{display:flex;flex-direction:column;gap:10px}
.oi{display:flex;gap:12px;align-items:center;background:#fff;border:3px solid var(--line);border-radius:20px;padding:12px;font-weight:600;font-size:1.1rem;text-align:start;width:100%}
.oi b{min-width:40px;height:40px;border-radius:50%;background:var(--cream);display:grid;place-items:center;font-size:1.2rem}
.oi.sel{border-color:var(--c1);background:#FFF1E0}.oi.sel b{background:var(--c1);color:#fff}
#pin{touch-action:none;cursor:crosshair}
#pin img{max-height:56dvh;user-select:none;-webkit-user-drag:none}
#lboxes{font-size:clamp(1.1rem,5.4vw,1.7rem);padding:8px 0}
.bank{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.bank button{width:2.1em;height:2.1em;font-size:1.5rem;font-weight:700;border-radius:14px;background:var(--c3);color:#fff;box-shadow:0 4px 0 var(--c3d)}
.bank button:active{transform:translateY(3px);box-shadow:0 1px 0 var(--c3d)}
.bank button[disabled]{background:#E6DDF5;box-shadow:none;color:transparent}
#sval{font-size:3.2rem;font-weight:700;text-align:center;line-height:1.1}
.srange{direction:ltr;width:100%;position:relative}
.srange input{position:absolute;inset:0;width:100%;height:100%;margin:0;background:none;appearance:none;-webkit-appearance:none;touch-action:pan-y}
.srange input::-webkit-slider-thumb{-webkit-appearance:none;width:46px;height:74px;border-radius:18px;background:var(--c0);border:5px solid #fff;box-shadow:0 4px 0 var(--c0d)}
.srange input::-moz-range-thumb{width:38px;height:66px;border-radius:18px;background:var(--c0);border:5px solid #fff;box-shadow:0 4px 0 var(--c0d)}
.steps{direction:ltr;display:flex;gap:10px;justify-content:center}
.steps button{width:72px}
#map{height:54dvh;border-radius:22px;box-shadow:0 6px 0 var(--line);z-index:0}
.list{width:100%;display:flex;flex-direction:column;gap:8px}
.li{display:flex;gap:10px;align-items:center;background:#fff;border-radius:18px;padding:10px 14px;font-weight:700}
.li .n{flex:1;text-align:start}
.li.me{background:var(--sun)}
#net{position:fixed;inset-inline:0;top:60px;margin:auto;width:max-content;background:var(--c0d);color:#fff;padding:.3em 1em;border-radius:99px;font-weight:600;z-index:1001}
@media (max-height:620px){.opt{min-height:64px}.huge{font-size:4.5rem}}
