/* Nov 17 2026 (Naaj: "add everything ... lock it"). Goes with assets/js/menu-extras.js. Load AFTER site.css. */

/* ================= 1. PRINTS & MERCH CARD: the Shop button plays with him ================= */
/* wide screens: the button drops to the right of the text block, under his pointing finger */
@media (min-width:1181px){
  .meta[data-side=lookup]{display:flex;flex-direction:column;align-items:flex-start;max-width:max(300px,calc(50vw - .234*min(100vw,150vh) - var(--pad)))}
  .meta[data-side=lookup] .enter{order:3;align-self:flex-end;margin-top:14px}
  .meta[data-side=lookup] .enter-in{order:2}
}
.meta[data-side=lookup] .enter{transform-origin:60% 60%;
  transition:transform .5s var(--pop),gap .35s var(--pop),background-color .4s,color .4s,box-shadow .5s,border-radius .4s}
/* while the cartoon runs: drawn into the picture */
.cast-stick.merch-on:not(.merch-point) .meta[data-side=lookup] .enter{background:#f6c744;color:#16130f;
  border-radius:36px 44px 38px 46px/44px 36px 46px 38px;box-shadow:inset 0 0 0 2.5px #16130f;transform:rotate(-2.5deg) scale(.94)}
.cast-stick.merch-on:not(.merch-point) .meta[data-side=lookup] .enter:before{animation:none;opacity:0}
.cast-stick.merch-on:not(.merch-point) .meta[data-side=lookup] .enter i:after{animation:none}
/* his finger lands: it pops out of the page */
.cast-stick.merch-point .meta[data-side=lookup] .enter{transform:translateY(-4px) scale(1.16);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.3),inset 0 -2px 0 rgba(0,0,0,.4),0 4px 0 #c9861a,0 18px 26px -10px rgba(0,0,0,.5),0 0 0 0 rgba(242,165,26,0);
  animation:shop-pop .75s var(--pop) both,shop-glow 2.6s ease-in-out .75s infinite}
.cast-stick.merch-point .meta[data-side=lookup] .enter:before{
  background:linear-gradient(100deg,transparent 35%,rgba(255,238,196,.6) 50%,transparent 65%) no-repeat;background-size:300% 100%;
  animation:shop-shine 1.1s .12s ease-out both,enter-sheen 5s 1.6s ease-in-out infinite}
@keyframes shop-pop{0%{transform:rotate(-2.5deg) scale(.94)}42%{transform:translateY(-10px) scale(1.3) rotate(1.5deg)}100%{transform:translateY(-4px) scale(1.16)}}
@keyframes shop-shine{0%{background-position:120% 0}100%{background-position:-20% 0}}
@keyframes shop-glow{0%,100%{box-shadow:inset 0 1.5px 0 rgba(255,255,255,.3),inset 0 -2px 0 rgba(0,0,0,.4),0 4px 0 #c9861a,0 18px 26px -10px rgba(0,0,0,.5),0 0 0 0 rgba(242,165,26,0)}
  50%{box-shadow:inset 0 1.5px 0 rgba(255,255,255,.3),inset 0 -2px 0 rgba(0,0,0,.4),0 4px 0 #c9861a,0 18px 26px -10px rgba(0,0,0,.5),0 0 26px 5px rgba(242,165,26,.6)}}

/* ================= 2. THE FLIP: inside a world, what is inside becomes the menu ================= */
.wroll{display:none}
@media (min-width:861px){ .world:not([data-side=lookup]) .wroll:not([hidden]){display:block} }
.wroll{--rh:28px;--rha:46px;--rp:14px;--mbe:cubic-bezier(.3,1.25,.4,1);--mbs:cubic-bezier(.34,1.3,.5,1);
  position:fixed;left:max(8px,calc(var(--pad) - 18px));top:78px;z-index:6;width:236px;box-sizing:border-box;padding:var(--rp) 18px var(--rp) 38px;color:var(--wfg)}
.wroll::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:20px;
  background:linear-gradient(color-mix(in srgb,var(--wfg) 24%,transparent) 0 0) no-repeat left 20px top calc(var(--rp) + 8px)/1px calc((var(--rn,5) - 1)*var(--rh) + var(--rha) - 16px),
    color-mix(in srgb,var(--wbg) 62%,transparent);
  -webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--wfg) 13%,transparent),0 20px 44px -22px rgba(0,0,0,.5)}
.wroll ol{position:relative;list-style:none;margin:0;padding:0}
.wroll ol::after{content:"";position:absolute;left:-22px;top:0;width:9px;height:9px;border-radius:50%;background:var(--wacc,#f2a51a);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--wacc,#f2a51a) 26%,transparent),0 0 16px 2px color-mix(in srgb,var(--wacc,#f2a51a) 70%,transparent);
  transform:translateY(calc(var(--ri,0)*var(--rh) + var(--rha)/2 - 4.5px));transition:transform .55s var(--mbs),background-color .4s;animation:roll-dot 2.6s ease-in-out infinite}
.wroll li{display:flex;align-items:center;height:var(--rh);transition:height .5s var(--mbe)}
.wroll li:has(.on){height:var(--rha)}
.wroll li button{all:unset;box-sizing:border-box;cursor:pointer;font:500 11px/1.22 var(--text);letter-spacing:.18em;text-transform:uppercase;opacity:.5;
  transition:opacity .3s,font-size .45s var(--mbe),transform .3s var(--pop)}
.wroll li button:hover,.wroll li button:focus-visible{opacity:.92}
@media (hover:hover){.wroll li button:not(.on):hover{transform:translateX(4px)}}
.wroll button:focus-visible{outline:2px solid var(--wacc,#f2a51a);outline-offset:5px;border-radius:4px}
.wroll li button.on{opacity:1;font:800 21px/.92 var(--disp);font-stretch:70%;letter-spacing:.03em}
/* the sides, now the small print */
.wr-sides{margin:10px 0 0;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--wfg) 16%,transparent);display:flex;flex-wrap:wrap;gap:5px 10px;font:500 9px/1.2 var(--text);letter-spacing:.16em;text-transform:uppercase}
.wr-sides .wr-all{flex:0 0 100%;opacity:.55}
.wr-sides button{all:unset;cursor:pointer;opacity:.5;transition:opacity .25s}
.wr-sides span{opacity:.5}
.wr-sides button:hover,.wr-sides button:focus-visible{opacity:1}
.wr-sides .here{opacity:1;font-weight:700;color:var(--wacc,#f2a51a)}
/* the box takes the top-left corner: the "All sides" pill and the 2 / 5 count step aside (the box's small print carries "All sides") */
@media (min-width:861px){
  .world:not([data-side=lookup]):has(.wroll:not([hidden])) .world-top{display:none}
  .world .wroll{top:22px}
}
@media (prefers-reduced-motion:reduce){.wroll li,.wroll button,.wroll ol::after{transition:none!important;animation:none!important}}
/* merged in v71 (main site chat), the same two fixes the main box got in v70: the line that loses the selection snaps back to
   small type at once (no two-line balloon while the dot moves), and the hover nudge only on screens that really hover. */
.wroll li button:not(.on){transition:opacity .3s,transform .3s var(--pop)}

/* Nov 17 late (Naaj: no box, minimalist, only the moving dot): the same treatment for the list inside the worlds.
   No glass panel, no rail; plain lines with a soft halo in the world's colour, the selected one bold, the dot slides.
   Append at the END of assets/css/menu-extras.css. */
.wroll::before{content:none}
.wroll{padding:0 0 0 22px;width:auto;max-width:260px}
.wroll li button{text-shadow:0 0 14px var(--wbg),0 0 5px var(--wbg)}
.wroll li button.on{font:700 15px/1 var(--text);letter-spacing:.14em;text-transform:uppercase}
.wroll{--rh:24px;--rha:34px;--rp:0px}
.wroll ol::after{left:-22px}
.wr-sides{border-top:0;padding-top:4px}
.wr-sides,.wr-sides button,.wr-sides span{text-shadow:0 0 10px var(--wbg),0 0 4px var(--wbg)}
