/* ═══ השער, המדף ומסך המיזוג — המעטפה האישית בלבד. ═══
   "האריזה מעוצבת, הסרט פונקציונלי": כל הפיזיות כאן, כי כאן אין מידע תפעולי לקריאה.
   פיצול צבע ופסי סריקה — בשער בלבד (הכרעת מוטי 23.9). REC יצא: שקר ויזואלי. */
/* השער הוא טלוויזיה — כהה תמיד, גם כשהטלפון במצב בהיר */
.gate{--bg:#141312;--surface:#1f1d1c;--text:#eeebe8;--divider:color-mix(in srgb,#eeebe8 30%,transparent);--mute:#bab6b6;
  --accent:#5b82f5;--on-accent:#141312;--link:#9fb5ee;--c2:#8cbcff;--c2-ink:#0d1a33;color:var(--text);color-scheme:dark}
.gate{--vx-ink:#201e1d;--vx-paper:#e6e2de;--vx-n3:#c9c6c3;--vx-n5:#8d8985;--vx-n7:#4d4a47;--vx-n8:#343230;--vx-n9:#262423;--color-accent:var(--accent)}
.gate .scroll{flex:1;overflow:auto;display:flex;flex-direction:column}
.g-head{flex:none;display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-bottom:2px solid var(--text)}
.g-brand{font-family:var(--heb);font-weight:900;font-size:18px}
.g-brand i{font-style:normal;color:var(--accent)}
.g-head .ch{font-family:var(--num);font-size:12px;color:var(--mute)}

.mon-wrap{flex:none;padding:14px 18px 0;position:relative;z-index:2;background:var(--bg)}
.mon{border:2px solid var(--text);padding:8px;background:var(--surface)}
.scr{aspect-ratio:16/10;background:var(--mon);color:var(--mon-fg);position:relative;overflow:hidden}
.scr::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(243,242,242,.05) 0 1px,transparent 1px 3px);pointer-events:none;z-index:1}
.scr .lay{position:absolute;inset:0;padding:12px 14px;display:flex;flex-direction:column;justify-content:space-between;z-index:2}
.scr .chl{font-family:var(--num);font-size:17px}
.scr .chl em{font-style:normal;color:var(--c2)}
.notape{font-family:var(--osd);font-size:71px;line-height:.85;direction:ltr;text-align:left;text-shadow:2px 0 rgba(255,60,60,.45),-2px 0 rgba(60,170,255,.45)}
.scr .tap{position:absolute;bottom:12px;right:14px;font-size:12px;font-weight:700;display:flex;gap:6px;align-items:center;opacity:.85}
.play{display:flex;justify-content:space-between;font-family:var(--num);font-size:19px;line-height:1}
.play span:first-child{color:var(--c2);animation:blink 1s steps(1,end) infinite}
@keyframes blink{50%{opacity:0}}
.rd{margin-top:auto;display:flex;flex-direction:column;gap:3px}
.rd .l1{font-family:var(--num);font-size:15px}
.rd .l2{font-size:19px;font-weight:800;font-family:var(--heb)}
.rd .l3{font-size:13px}
.prog{height:10px;border:2px solid var(--mon-fg);margin-top:6px}.prog i{display:block;height:100%;background:var(--c2)}
.slot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:8px}
.slot .sl{height:12px;border:2px solid var(--text);transition:background .3s}
.slot .sl.on{background:var(--c2)}
.slot .vcr{font-family:var(--num);font-size:15px;line-height:1;background:var(--mon);color:var(--c2);padding:3px 8px}

/* ── הקסטה ── */
.deck{flex:none;height:186px;margin:0 18px;position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden}
.tape{border:0;background:none;padding:0;position:relative;width:250px;flex:none;aspect-ratio:2148/1201;margin-top:10px;z-index:1;
  transition:transform 1s cubic-bezier(.6,.02,.3,1)}
.tape.hintb{animation:hint 2.4s ease-in-out infinite}
@keyframes hint{50%{transform:translateY(-5px)}}
.tape.fly{transform:translateY(-112%)}
.tape svg{display:block;width:100%;height:100%}
.tape .lbl{position:absolute;left:29.8%;width:40.4%;top:31.7%;height:43.7%;padding:6px 8px;display:flex;flex-direction:column;text-align:start;color:var(--vx-ink);overflow:hidden}
.tape .lbl b{font-family:var(--heb);font-weight:800;font-size:12.5px;line-height:1.05;text-wrap:balance}
.tape .lbl small{font-size:9.5px;margin-top:2px}
.tape .lbl span{margin-top:auto;display:flex;justify-content:space-between;font-family:var(--num);font-size:10px}
.tape .lbl span i{font-style:normal;color:#153689}
.skip{border:0;background:none;padding:0;margin-top:auto;margin-bottom:8px;font-size:12px;font-weight:700}

/* ── המדף ── */
.shelf-h{flex:none;padding:4px 18px 8px;display:flex;justify-content:space-between;align-items:baseline;border-top:2px solid var(--text)}
.shelf-h h2{font-size:22px;margin-top:8px}
.shelf-h span{font-size:12px}
.shelf{flex:none;display:flex;gap:6px;align-items:flex-end;overflow-x:auto;padding:0 18px 18px;height:224px}
.spine{flex:none;border:0;padding:0;background:none;position:relative;height:200px;width:50px;transition:width .35s var(--ease)}
.spine.on{width:118px}
.spine>span:first-child{position:absolute;inset:0}
.spine svg{display:block;width:100%;height:100%}
.spine .st{position:absolute;left:28.9%;width:49.3%;top:4.2%;height:26%;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--vx-ink)}
.spine .st b{writing-mode:vertical-rl;font-family:var(--heb);font-weight:800;font-size:11px;line-height:1.05;max-height:100%;text-align:center;text-wrap:balance}
.spine .sr{position:absolute;left:28.9%;width:49.3%;top:53%;height:30%;display:flex;align-items:center;justify-content:center;color:var(--vx-paper)}
.spine .sr b{writing-mode:vertical-rl;font-family:var(--num);font-size:11px;font-weight:600;white-space:nowrap}
.spine .fl{position:absolute;left:5.95%;width:88.1%;top:3.94%;height:26.2%;padding:6px 7px;display:flex;flex-direction:column;text-align:start;color:var(--vx-ink);overflow:hidden}
.spine .fl b{font-family:var(--heb);font-weight:900;font-size:14px;line-height:1.05;text-wrap:balance}
.spine .fl small{font-size:9.5px;margin-top:auto;white-space:nowrap}
/* REV.N על הגוף הצבעוני של העטיפה, מתחת לפסים — שם יש מקום ואין תוכן אחר */
.spine .fr{position:absolute;left:10%;top:56%;font-family:var(--num);font-weight:600;font-size:12px;color:var(--vx-ink);direction:ltr}
.spine.new{cursor:pointer;--vx-p:var(--vx-n5);--c2:var(--vx-n3)}
.spine.new .st{display:grid;place-items:center;font-size:18px}
.spine.new .sr b{font-family:var(--heb);font-weight:800}
.g-msg{padding:0 18px 12px;font-size:13px;line-height:1.5}
.g-msg.err{color:var(--c2)}
.g-msg button{border:0;background:none;padding:0;color:var(--link);font-weight:700;text-decoration:underline;text-underline-offset:2px}

/* ── מסך המיזוג: על המסך השחור, VT323 ו-c2. התנגשות אחת בכל פעם ── */
.scr.mg{aspect-ratio:auto;min-height:230px}
.scr.mg .lay{position:relative;inset:auto;justify-content:flex-start;gap:8px;min-height:230px}
.mg-top{display:flex;justify-content:space-between;align-items:baseline;font-family:var(--osd);font-size:21px;line-height:1}
.mg-top b{font-weight:400;color:var(--c2)}
.mg-q{font-size:12.5px;font-weight:700;color:#bab6b6;display:flex;justify-content:space-between;gap:8px}
.mg-q i{font-style:normal;font-family:var(--osd);font-size:18px;color:var(--mon-fg)}
.mg-old{font-size:14px;text-decoration:line-through;opacity:.5}
.mg-new{font-size:16px;font-weight:800;font-family:var(--heb)}
.mg-opt{border:0;background:none;padding:5px 0;text-align:start;display:flex;gap:8px;align-items:center;font-size:14px;color:#bab6b6;width:100%}
.mg-opt i{font-style:normal;font-family:var(--osd);font-size:18px;width:12px;color:var(--c2);opacity:0}
.mg-opt.on{color:var(--mon-fg);font-weight:700}.mg-opt.on i{opacity:1}
.mg-go{margin-top:auto;display:flex;gap:10px;align-items:center}
.mg-go .btn{background:var(--c2);color:var(--c2-ink);font-family:var(--heb)}
.mg-go .btn.ghost{background:none;color:var(--mon-fg);border:1px solid var(--mon-2)}
.mg-keep{font-size:13px;line-height:1.5}
.mg-keep b{font-family:var(--osd);font-size:18px;font-weight:400;color:var(--c2)}
.mg-ch{margin:0;padding:0;list-style:none;font-size:12.5px;line-height:1.45;color:#d8d4cf;display:flex;flex-direction:column;gap:2px}
.mg-ch li::before{content:'▸ ';color:var(--c2);font-family:var(--osd)}
