.howto-ov{--howto-bg:rgba(10,8,24,.82);--howto-card:#221a40;--howto-card2:#33275e;--howto-accent:#ffd84d;--howto-on-accent:#1a1430;--howto-text:#fff8ec;--howto-muted:#cfc5ea;
  position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));
  background:var(--howto-bg);color:var(--howto-text);font-family:system-ui,-apple-system,"Segoe UI","Noto Sans Hebrew",Arial,sans-serif;-webkit-tap-highlight-color:transparent;animation:howto-in .2s ease-out;box-sizing:border-box}
.howto-ov *{box-sizing:border-box}
.howto-ov.out{opacity:0;transition:opacity .2s}
.howto-box{width:min(460px,100%);max-height:100%;display:flex;flex-direction:column;background:var(--howto-card);border:2px solid var(--howto-card2);border-radius:22px;padding:12px 14px;box-shadow:0 14px 50px rgba(0,0,0,.5);overflow:hidden;user-select:none;-webkit-user-select:none}
.howto-bars{display:flex;gap:5px;direction:rtl}
.howto-bar{flex:1;height:6px;border-radius:3px;background:rgba(255,255,255,.18);overflow:hidden}
.howto-fill{height:100%;width:0;background:var(--howto-accent);border-radius:3px;float:right}
.howto-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 2px}
.howto-title{font-weight:800;font-size:17px;color:var(--howto-accent)}.howto-title span{color:var(--howto-muted);font-weight:600}
.howto-skip,.howto-next{min-height:44px;min-width:64px;padding:0 16px;border-radius:12px;border:2px solid var(--howto-card2);background:transparent;color:var(--howto-text);font:inherit;font-size:16px;font-weight:800;cursor:pointer}
.howto-next{background:var(--howto-accent);color:var(--howto-on-accent);border-color:var(--howto-accent)}
.howto-skip:focus-visible,.howto-next:focus-visible{outline:3px solid #7fe3ff;outline-offset:2px}
.howto-stage{flex:1;min-height:0;display:flex;cursor:pointer}
.howto-card{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;animation:howto-pop .28s ease-out;min-height:0}
.howto-h{margin:6px 0;font-size:22px;line-height:1.25}.howto-hicon{font-size:24px}
.howto-vis{width:100%;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;margin:4px 0}
.howto-p{margin:4px 0 2px;font-size:16px;line-height:1.45;color:var(--howto-muted)}
.howto-foot{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.howto-count{color:var(--howto-muted);font-size:14px}
.howto-stack{display:flex;flex-direction:column;gap:8px;align-items:center;width:100%}
.howto-emoji{font-size:56px;line-height:1.1}
.howto-emoji.a-bounce{animation:howto-bounce 1s ease-in-out infinite}.howto-emoji.a-pulse{animation:howto-pulse 1.2s ease-in-out infinite}
.howto-canvas{width:100%;height:min(170px,26vh);display:block}
.howto-keys{display:flex;flex-direction:column;gap:7px;width:100%}
.howto-krow{display:flex;align-items:center;justify-content:space-between;gap:10px;background:rgba(255,255,255,.05);border-radius:12px;padding:5px 8px}
.howto-caps{display:flex;flex-wrap:wrap;gap:4px;align-items:center;direction:ltr}
.howto-kbd{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 7px;border-radius:7px;background:#f4efe4;color:#1a1430;font:800 15px/1 ui-monospace,Menlo,Consolas,monospace;box-shadow:0 3px 0 #9d94b8;animation:howto-press 2.4s ease-in-out infinite}
.howto-kbd.wide{min-width:56px;font-family:inherit}
.howto-krow:nth-child(2) .howto-kbd{animation-delay:.6s}.howto-krow:nth-child(3) .howto-kbd{animation-delay:1.2s}.howto-krow:nth-child(4) .howto-kbd{animation-delay:1.8s}
.howto-or{color:var(--howto-muted);font-size:13px;margin:0 3px}
.howto-klbl{font-weight:800;font-size:16px}
.howto-phone{position:relative;width:min(330px,100%);aspect-ratio:2/1;max-height:min(170px,30vh);border:3px solid #8b80b3;border-radius:22px;background:linear-gradient(#3a2d6b,#22183f);overflow:hidden}
.howto-stick{position:absolute;left:9%;bottom:16%;width:30%;aspect-ratio:1;max-width:84px;border-radius:50%;border:3px solid rgba(255,255,255,.55);background:rgba(255,255,255,.08)}
.howto-knob{position:absolute;left:50%;top:50%;width:44%;height:44%;margin:-22% 0 0 -22%;border-radius:50%;background:rgba(255,255,255,.85);animation:howto-knob 2.6s ease-in-out infinite}
.howto-sticklbl{position:absolute;left:6%;top:9%;font-size:14px;font-weight:800;direction:rtl}
.howto-finger{position:absolute;left:19%;bottom:4%;font-size:26px;animation:howto-knob 2.6s ease-in-out infinite;pointer-events:none}
.howto-tbtns{position:absolute;right:5%;bottom:10%;width:48%;height:80%}
.howto-tb{position:absolute;display:flex;align-items:center;justify-content:center;width:36%;aspect-ratio:1;max-width:58px;border-radius:50%;border:2px solid rgba(255,255,255,.75);background:rgba(38,29,71,.85);font-size:12px;font-weight:800;direction:rtl;animation:howto-tap 2.4s ease-in-out infinite}
.howto-tb.big{width:46%;max-width:74px;background:rgba(255,90,54,.88);font-size:14px}
.howto-tb:nth-child(1){right:0;bottom:0}.howto-tb:nth-child(2){right:48%;bottom:0}.howto-tb:nth-child(3){right:2%;bottom:56%}.howto-tb:nth-child(4){right:46%;bottom:50%}
.howto-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;width:100%}
.howto-tile{background:rgba(255,255,255,.06);border:2px solid var(--howto-card2);border-radius:14px;padding:7px 6px;animation:howto-pop .35s ease-out both}
.howto-ticon{font-size:30px;line-height:1.1}.howto-tlbl{font-weight:800;font-size:16px;margin-top:2px}.howto-tsub{color:var(--howto-muted);font-size:14px;line-height:1.3}
.howto-flow{display:flex;align-items:flex-start;justify-content:center;gap:3px;flex-wrap:nowrap;width:100%}
.howto-step{display:flex;flex-direction:column;align-items:center;animation:howto-pop .4s ease-out both}
.howto-sicon{font-size:clamp(26px,8vw,42px);width:clamp(46px,15vw,70px);height:clamp(46px,15vw,70px);display:flex;align-items:center;justify-content:center;border-radius:18px;background:rgba(255,255,255,.07);border:2px solid var(--howto-card2)}
.howto-slbl{font-size:14px;font-weight:700;margin-top:4px;max-width:clamp(64px,19vw,96px);line-height:1.25}
.howto-arrow{font-size:18px;margin-top:clamp(12px,4vw,22px);color:var(--howto-accent);font-weight:900}
@keyframes howto-in{from{opacity:0}to{opacity:1}}
@keyframes howto-pop{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@keyframes howto-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes howto-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
@keyframes howto-press{0%,70%,100%{transform:none;box-shadow:0 3px 0 #9d94b8}80%{transform:translateY(3px);box-shadow:0 0 0 #9d94b8;background:var(--howto-accent)}}
@keyframes howto-tap{0%,70%,100%{transform:none}80%{transform:scale(.86);background:var(--howto-accent);color:var(--howto-on-accent)}}
@keyframes howto-knob{0%,100%{transform:none}25%{transform:translate(14px,-10px)}50%{transform:translate(-12px,-12px)}75%{transform:translate(10px,10px)}}
@media (max-height:520px){.howto-box{padding:8px 12px}.howto-h{font-size:19px;margin:2px 0}.howto-p{font-size:15px;margin:2px 0}.howto-foot{margin-top:4px}.howto-tiles{grid-template-columns:repeat(4,1fr)}.howto-ticon{font-size:24px}.howto-tsub{display:none}.howto-canvas{height:min(120px,28vh)}.howto-emoji{font-size:40px}.howto-keys{gap:4px}.howto-krow{padding:3px 8px}.howto-kbd{height:28px;min-width:28px}}
@media (prefers-reduced-motion:reduce){.howto-ov *,.howto-ov{animation:none!important;transition:none!important}}
