/* Jump Up – "הדמויות שלי" (mychar.js) */
.chars-btn{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;font-size:21px;
  background:linear-gradient(135deg,#a7f3d0,#34d399);color:#064e3b;box-shadow:0 6px 0 #059669}
.chars-btn-av{width:44px;height:44px;border-radius:50%;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;
  font-size:30px;background:#fff;box-shadow:0 0 0 3px #fff}
.chars-btn-img{width:100%;height:100%;object-fit:cover;display:block}
#screen-chars{padding-bottom:28px}
.mc-me{display:grid;grid-template-columns:136px 1fr;gap:12px 14px;align-items:center;background:linear-gradient(160deg,#fff7c2,#ffe0f0);
  border-radius:24px;padding:14px;margin:6px 0 14px;box-shadow:0 6px 0 rgba(43,35,80,.12);scroll-margin-top:12px}
.mc-pic{position:relative;width:136px;height:136px;border-radius:22px;overflow:hidden;padding:0;border:4px solid #fff;background:#fde7f1;cursor:pointer;
  box-shadow:0 4px 0 rgba(43,35,80,.18)}
.mc-pic-img{width:100%;height:100%;object-fit:cover;display:block}
.mc-play{position:absolute;inset-inline-start:8px;bottom:8px;width:38px;height:38px;border-radius:50%;background:rgba(43,35,80,.82);color:#fff;
  font-size:18px;display:flex;align-items:center;justify-content:center;padding-inline-start:3px}
.mc-info{min-width:0}
.mc-name{font-size:26px;font-weight:800;color:#6d28d9;line-height:1.15}
.mc-pips{display:flex;gap:4px;margin:6px 0 2px;direction:rtl}
.mc-pip{font-size:20px;line-height:1}
.mc-pip.lock{filter:grayscale(1);opacity:.55}
.mc-pip.now{transform:scale(1.18)}
.mc-stage{font-weight:800;font-size:16px;color:#2b2350}
.mc-next{font-size:14px;color:#5b5680;margin-top:2px}
.mc-watch{grid-column:1/-1;width:100%;min-height:54px;font-size:20px}
.mc-empty{grid-template-columns:1fr;text-align:center}
.mc-empty-e{font-size:56px;line-height:1}
.mc-empty-t{margin:0;font-size:18px;font-weight:700;color:#2b2350}
.mc-cat{margin:14px 4px 8px;font-size:19px;color:#2b2350}
.mc-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.mc-tile{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 4px 6px;border-radius:16px;border:3px solid transparent;
  background:#fff;box-shadow:0 3px 0 rgba(43,35,80,.12);cursor:pointer;font:inherit;color:#2b2350;min-height:44px}
.mc-tile.on{border-color:#6d28d9;background:#f3e8ff}
.mc-tile-img{width:100%;aspect-ratio:1/1;border-radius:12px;object-fit:cover;display:block;background:#fde7f1}
.mc-tile-n{font-size:14px;font-weight:700;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mc-tile:focus-visible,.mc-pic:focus-visible{outline:4px solid var(--accent,#ffcc33);outline-offset:2px}
/* level-up: the character's still in the avatar spot (the clip follows in the viewer) */
.lu-char{width:150px;height:150px;border-radius:50%;object-fit:cover;display:block;margin:0 auto;border:6px solid #fff;
  box-shadow:0 0 0 6px rgba(255,204,51,.65),0 0 40px rgba(255,204,51,.8)}
@media (min-width:600px){.mc-row{grid-template-columns:repeat(auto-fill,minmax(128px,1fr))}.mc-me{grid-template-columns:160px 1fr}.mc-pic{width:160px;height:160px}}
@media (max-width:360px){.mc-me{grid-template-columns:112px 1fr}.mc-pic{width:112px;height:112px}.mc-row{grid-template-columns:repeat(3,1fr)}}

/* ---------- ארון התצוגה (v29): a wooden display cabinet with shelves ---------- */
.cab-open{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;font-size:21px;margin:0 0 4px;
  background:linear-gradient(135deg,#fde68a,#f59e0b);color:#5a3410;box-shadow:0 6px 0 #b45309}
.cab-open-i{font-size:28px;line-height:1}
.cab-open-n{min-width:30px;height:30px;border-radius:15px;background:#fff;color:#92400e;font-size:17px;display:none;align-items:center;justify-content:center;padding:0 7px}
.cab-open.has .cab-open-n{display:inline-flex}
.mc-done{grid-column:1/-1;display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:16px;padding:10px 12px;border:3px dashed #f59e0b;
  color:#5a3410;font-size:16px;line-height:1.35}
.mc-done b{font-size:18px}
.mc-tile{position:relative}
.mc-tile.won{background:#fff8e1;border-color:#f59e0b}
.mc-tile-won{position:absolute;top:2px;inset-inline-end:2px;font-size:20px;line-height:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
#screen-cabinet{padding-bottom:24px}
.cab-body{display:flex;flex-direction:column;gap:12px;align-items:center}
.cab-way{display:flex;align-items:center;gap:10px;width:100%;max-width:520px;box-sizing:border-box;background:linear-gradient(160deg,#fff7c2,#ffe0f0);
  border-radius:20px;padding:8px 12px;box-shadow:0 4px 0 rgba(43,35,80,.12);font-weight:700;color:#2b2350;font-size:16px;line-height:1.3}
.cab-way-img{width:54px;height:54px;border-radius:50%;object-fit:cover;flex:none;border:3px solid #fff;background:#fde7f1}
.cab-way-e{font-size:38px;line-height:1;flex:none}
.cab{position:relative;width:100%;max-width:520px;box-sizing:border-box;padding:46px 14px 16px;border-radius:26px 26px 14px 14px;
  background:linear-gradient(90deg,#8a4b1e,#b0682c 12%,#c47a37 50%,#b0682c 88%,#8a4b1e);
  box-shadow:inset 0 0 0 4px #6b3812,inset 0 6px 0 #d89b5b,0 10px 0 #5a2e0e,0 16px 24px rgba(43,35,80,.25)}
.cab::before,.cab::after{content:"";position:absolute;bottom:-18px;width:34px;height:20px;background:#5a2e0e;border-radius:0 0 10px 10px}
.cab::before{inset-inline-start:26px}.cab::after{inset-inline-end:26px}
.cab-crown{position:absolute;top:8px;left:50%;transform:translateX(-50%);background:#fff3c4;color:#7c3f12;font-weight:800;font-size:17px;
  padding:4px 16px;border-radius:14px;box-shadow:0 3px 0 #6b3812;white-space:nowrap}
.cab-shelf{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:end;padding:10px 10px 0;margin-bottom:22px;
  background:linear-gradient(180deg,#f6e3c8,#ead0a8);border-radius:12px 12px 4px 4px;box-shadow:inset 0 6px 10px rgba(90,46,14,.25);min-height:150px}
.cab-shelf::after{content:"";position:absolute;left:-8px;right:-8px;bottom:-16px;height:16px;border-radius:4px;
  background:linear-gradient(180deg,#d38c48,#9c5520);box-shadow:0 4px 0 #6b3812}
.cab-shelf:last-child{margin-bottom:12px}
.cab-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;padding:0 0 6px;min-height:138px;
  background:none;border:0;font:inherit;color:#2b2350}
.cab-char{cursor:pointer}
.cab-img{width:100%;max-width:120px;aspect-ratio:1/1;object-fit:cover;border-radius:50% 50% 18px 18px;display:block;background:#fff7e6;
  border:4px solid #fff;box-shadow:0 6px 8px rgba(90,46,14,.35);transition:transform .15s}
.cab-char:active .cab-img{transform:scale(.95)}
.cab-char:focus-visible{outline:4px solid var(--accent,#ffcc33);outline-offset:2px;border-radius:16px}
.cab-name{font-size:14px;font-weight:800;background:#fff;border-radius:10px;padding:2px 8px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  box-shadow:0 2px 0 rgba(90,46,14,.3)}
.cab-empty{color:#c9a57a}
.cab-empty svg{width:72%;max-width:96px;height:auto;display:block;opacity:.6;margin-bottom:2px}
.cab-empty .cab-name{background:rgba(255,255,255,.6);color:#8a6a45;font-weight:700;box-shadow:none}
.cab-empty.next svg{opacity:.85;animation:cabpulse 2.4s ease-in-out infinite}
@keyframes cabpulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.cab-new{position:absolute;top:-6px;inset-inline-end:0;background:#ff4f8b;color:#fff;font-size:13px;font-weight:800;border-radius:10px;padding:2px 7px;
  box-shadow:0 2px 0 #b8245a}
.cab-char.fresh .cab-img{animation:cabin .9s cubic-bezier(.2,1.4,.4,1) both;box-shadow:0 0 0 4px #ffcc33,0 0 26px rgba(255,204,51,.9)}
@keyframes cabin{0%{transform:translateY(-60px) scale(.4);opacity:0}100%{transform:none;opacity:1}}
.cab-count{margin:6px 0 0;text-align:center;font-weight:700;color:#2b2350;font-size:17px;max-width:520px}
/* sheets: "move to the cabinet?" and a completed character's 4 stages */
.cab-sheet-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;background:rgba(43,35,80,.55);display:flex;align-items:center;justify-content:center;padding:16px;direction:rtl}
.cab-sheet{width:100%;max-width:420px;max-height:calc(100vh - 32px);overflow:auto;box-sizing:border-box;background:#fffaf0;border-radius:26px;padding:18px;
  box-shadow:0 10px 0 rgba(43,35,80,.25);display:flex;flex-direction:column;gap:12px;align-items:stretch;text-align:center;animation:fade .25s ease}
.cab-ask-pics{display:flex;align-items:center;justify-content:center;gap:10px}
.cab-ask-img{width:110px;height:110px;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 0 0 4px #f59e0b;background:#fde7f1}
.cab-ask-arrow{font-size:30px;color:#b45309}
.cab-ask-t{margin:0;font-size:19px;font-weight:700;color:#2b2350;line-height:1.4}
.cab-no{min-height:48px;border-radius:18px;background:#fff;font-size:19px;font-weight:700;color:#5b5680;box-shadow:0 3px 0 rgba(43,35,80,.18)}
.cab-st-title{margin:0;font-size:24px;color:#7c3f12}
.cab-st-row{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.cab-st{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;border-radius:18px;background:#fff;border:3px solid #fde68a;
  box-shadow:0 3px 0 rgba(43,35,80,.14);font:inherit;color:#2b2350;cursor:pointer}
.cab-st-img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;display:block;background:#fde7f1}
.cab-st-play{position:absolute;top:10px;inset-inline-start:10px;width:34px;height:34px;border-radius:50%;background:rgba(43,35,80,.82);color:#fff;
  font-size:16px;display:flex;align-items:center;justify-content:center;padding-inline-start:3px}
.cab-st-n{font-weight:800;font-size:16px}
.cab-close{width:100%;min-height:54px;font-size:20px}
@media (min-width:600px){.cab-st-row{grid-template-columns:repeat(4,1fr)}.cab-sheet.cab-stages{max-width:640px}.cab-shelf{min-height:170px}.cab-slot{min-height:156px}}
@media (max-width:360px){.cab-shelf{gap:6px;padding:8px 6px 0}.cab-name{font-size:13px}}
@media (prefers-reduced-motion:reduce){.cab-empty.next svg,.cab-char.fresh .cab-img{animation:none}}
html.tab .cab-sheet{zoom:var(--z);max-height:calc((100vh - 32px) / var(--z))}

/* Per-character stage is visible in the picker; cabinet mark is an inline icon. */
.mc-tile-stage{display:block;font-size:12px;font-weight:700;line-height:1.3;color:#5b4479;margin:2px 0 4px}
.mc-tile-won svg{display:block}
