/* Nicky.dk — the aquarium playground: canvas scene, Void mode, backpack grid and items.
   (The site itself — layout, menu, text — lives in /assets/css/style.css.) */

/* ---- The scene -----------------------------------------------------------
   One fixed canvas draws the whole world (sky, sea, sand) for the part of the
   page that is scrolled into view. A woven texture and a vignette sit on top. */

#aquarium,
.texture {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#aquarium { z-index: 1; transition: filter 2.6s ease; }

/* "Doom": everything goes red and black */
html.doom #aquarium {
  filter: grayscale(1) sepia(1) hue-rotate(-42deg) saturate(6) brightness(.92) contrast(1.15);
}
html.doom {
  --ink: #f3dcd8;
  --ink-dim: #c9918b;
  --ink-faint: #9a6460;
  --glass: rgba(28, 3, 5, .48);
  --hair: rgba(255, 110, 100, .18);
  background: #050101;
}
html.doom .signature-svg { filter: drop-shadow(0 0 14px rgba(255, 70, 50, .3)); }
html.doom .signature-svg path { fill: #ffe6e1; stroke: #ffe6e1; }
html.doom .panel h2 { color: #ffe3de; }
html.doom .panel p { color: #d6a6a0; }
html.doom .menu a:hover, html.doom .menu a:focus-visible { text-shadow: 0 0 18px rgba(255, 80, 60, .6); }
.panel h2, .panel p, .tagline { transition: color 2.4s ease; }

/* …and the whole site shakes for a few seconds */
@keyframes quake {
  0%   { transform: translate(0, 0); }
  15%  { transform: translate(-6px, 3px); }
  30%  { transform: translate(5px, -4px); }
  45%  { transform: translate(-4px, -3px); }
  60%  { transform: translate(6px, 2px); }
  75%  { transform: translate(-3px, 4px); }
  100% { transform: translate(0, 0); }
}
html.quake main, html.quake #aquarium, html.quake .texture { animation: quake .34s linear infinite; }

.texture {
  z-index: 2;
  opacity: .8;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .34) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .5) 100%);
}

html.over-jelly { cursor: grab; }

/* invisible drag handles laid over the lure crates on the dock */
.lure-zone {
  position: absolute;
  z-index: 4;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
html.dragging-lure, html.dragging-lure * { cursor: grabbing !important; }


/* ---- Backpack: the menu turns into a 6 x 6 grid of food ------------------ */

.menu-stage {
  display: grid;
  align-items: center;
  justify-items: center;
}
.menu-stage > * {
  grid-area: 1 / 1;
  width: 100%;
  transition: opacity .45s ease, transform .45s ease, visibility 0s;
}
.menu-stage > :not(.is-active) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.97);
  transition: opacity .35s ease, transform .35s ease, visibility 0s .35s;
}

.backpack-view { margin-top: .1rem; }

.bp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: min(100%, 244px);
  margin: 0 auto .7rem;
}
.bp-title {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.bp-back {
  appearance: none;
  background: none;
  border: 0;
  padding: .2rem 0;
  font: inherit;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color .4s ease;
}
.bp-back:hover, .bp-back:focus-visible { color: #fff; outline: none; }

.bp-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  width: min(100%, 344px);
  margin: 0 auto;
}
.slot {
  position: relative;
  appearance: none;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 0;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--hair);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}
.slot.is-empty { background: rgba(255, 255, 255, .012); cursor: default; }
button.slot:hover, button.slot:focus-visible { border-color: rgba(190, 210, 230, .45); outline: none; }
button.slot.is-on {
  border-color: rgba(228, 213, 171, .8);
  background: rgba(228, 213, 171, .08);
  box-shadow: 0 0 12px rgba(228, 213, 171, .18);
}

.ico { display: block; }
.ico-normal { width: 9px; height: 9px; border-radius: 50%; background: #e4d5ab; box-shadow: 0 0 0 3px rgba(228, 213, 171, .22); }
.ico-dark { width: 8px; height: 8px; background: #12162a; border: 1px solid rgba(150, 162, 215, .9); }
.ico-red {
  width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffb4a0, #e02d2d 50%, #8a1010);
  box-shadow: 0 0 0 3px rgba(255, 90, 72, .25);
}

.ico-lightning { width: 13px; height: 17px; background: #ffe45a; clip-path: polygon(62% 0, 8% 58%, 44% 58%, 30% 100%, 94% 38%, 56% 38%); filter: drop-shadow(0 0 3px rgba(255, 228, 90, .6)); }
.ico-skull { position: relative; width: 12px; height: 11px; border-radius: 6px 6px 3px 3px; background: #dfe5ee; }
.ico-skull::before { content: ""; position: absolute; left: 2px; top: 3px; width: 2.5px; height: 2.5px; border-radius: 50%; background: #0a111c; box-shadow: 5px 0 0 #0a111c; }
.ico-green { width: 9px; height: 9px; border-radius: 50%; background: #5dff9a; box-shadow: 0 0 0 3px rgba(93, 255, 154, .22); }
.ico-purple { width: 9px; height: 9px; border-radius: 50%; background: #b07cff; box-shadow: 0 0 0 3px rgba(176, 124, 255, .24); }
.ico-star { width: 15px; height: 15px; background: #ffe9a0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
/* items with a cooldown get a shade that drains away */
button.slot[data-food]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 2px;
  background: rgba(4, 8, 16, .72);
  transform-origin: 50% 100%;
  transform: scaleY(var(--cd, 0));
}
.ico-phone { position: relative; width: 11px; height: 19px; border: 1.5px solid #cfd8ea; border-radius: 3px; background: linear-gradient(#1c3c56, #1c3c56) 50% 2px / 6px 10px no-repeat, #0a111c; box-sizing: border-box; }
.ico-phone::after { content: ""; position: absolute; left: 50%; bottom: 1.5px; width: 2.5px; height: 2.5px; margin-left: -1.25px; border-radius: 50%; background: #cfd8ea; }
.ico-shoe { width: 18px; height: 14px; background: #7a5538; clip-path: polygon(0 0, 38% 0, 38% 48%, 78% 62%, 100% 78%, 100% 100%, 0 100%); }
.ico-pink { width: 8px; height: 8px; border-radius: 50%; background: #ff7ac8; box-shadow: 0 0 0 3px rgba(255, 122, 200, .24); }
.ico-glow { width: 4px; height: 19px; border-radius: 2px; background: #9dffc8; box-shadow: 0 0 8px 2px rgba(125, 255, 176, .7); transform: rotate(35deg); }
.ico-ring { width: 19px; height: 19px; border-radius: 50%;
  background: conic-gradient(#e0453c 0 12.5%, #eef0f4 0 25%, #e0453c 0 37.5%, #eef0f4 0 50%, #e0453c 0 62.5%, #eef0f4 0 75%, #e0453c 0 87.5%, #eef0f4 0);
  -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px); mask: radial-gradient(circle, transparent 4.5px, #000 5px); }

.ico-duck { position: relative; width: 15px; height: 10px; border-radius: 50% 50% 45% 45%; background: #ffd84a; margin-top: 4px; }
.ico-duck::before { content: ""; position: absolute; right: -2px; top: -6px; width: 8px; height: 8px; border-radius: 50%; background: #ffd84a; }
.ico-duck::after { content: ""; position: absolute; right: -6px; top: -3px; width: 5px; height: 3px; background: #ff9a2e; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ico-gray { width: 9px; height: 9px; border-radius: 50%; background: #9aa3b2; box-shadow: 0 0 0 3px rgba(154, 163, 178, .24); }
.ico-plane { width: 19px; height: 14px; background: linear-gradient(180deg, #eef2f8 50%, #9fb0c9 50%); clip-path: polygon(100% 50%, 0 6%, 30% 50%, 0 94%); }

/* the phone is dragged out of its slot and dropped on the man */
button.slot[data-drag] { touch-action: none; }
button.slot[data-drag]:active { cursor: grabbing; }
button.slot.is-held .ico { opacity: .12; }
button.slot.respawn .ico { animation: slot-pop .5s ease-out; }
@keyframes slot-pop { from { transform: scale(.2); opacity: 0; } 70% { transform: scale(1.25); } to { transform: scale(1); opacity: 1; } }
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; transform: translate(-9999px, -9999px); }
.drag-ghost .ico { transform: translate(-50%, -55%) scale(2.2) rotate(-8deg); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }

/* the two groups of the backpack */
.bp-label {
  width: min(100%, 344px); margin: .9rem auto .4rem;
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint);
}
.bp-head + .bp-label { margin-top: .2rem; }

/* new food */
.ico-orb { width: 9px; height: 9px; border-radius: 50%; background: #3a1260; border: 1px solid #a05cff; box-shadow: 0 0 7px 2px rgba(150, 70, 255, .7); }
.ico-flake { position: relative; width: 12px; height: 12px; }
.ico-flake::before, .ico-flake::after { content: ""; position: absolute; background: #ff9a2e; }
.ico-flake::before { left: 1px; top: 2px; width: 5px; height: 3px; transform: rotate(-20deg); box-shadow: 5px 5px 0 #ffb24a, -1px 6px 0 #ff8a1f; }
.ico-flake::after { left: 7px; top: 1px; width: 3px; height: 4px; transform: rotate(25deg); }
.ico-apple { position: relative; width: 13px; height: 13px; border-radius: 50% 50% 46% 46%; background: #d6372f; margin-top: 2px; }
.ico-apple::before { content: ""; position: absolute; left: 6px; top: -4px; width: 1.5px; height: 4px; background: #6b4a2a; }
.ico-apple::after { content: ""; position: absolute; left: 7px; top: -3px; width: 5px; height: 3px; border-radius: 50%; background: #5fbf5a; }
.ico-diamond { width: 13px; height: 15px; background: linear-gradient(135deg, #ffffff, #aeb9cc 55%, #7d8aa0); clip-path: polygon(50% 0, 100% 36%, 50% 100%, 0 36%); filter: drop-shadow(0 0 4px rgba(220, 230, 255, .7)); }

/* new items */
.ico-shovel { position: relative; width: 4px; height: 19px; background: #8a6a4a; transform: rotate(35deg); border-radius: 2px; }
.ico-shovel::after { content: ""; position: absolute; left: -3px; bottom: -6px; width: 10px; height: 9px; background: #b8c0cc; clip-path: polygon(0 0, 100% 0, 85% 70%, 50% 100%, 15% 70%); }
.ico-egg { width: 12px; height: 16px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(circle at 35% 30%, #fffbe0, #ffd56a 55%, #d9902a); box-shadow: 0 0 9px 2px rgba(255, 210, 100, .7); }
.ico-gem { width: 14px; height: 18px; background: linear-gradient(135deg, #ffd27a, #ff8a1f 55%, #c4520a); clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%); filter: drop-shadow(0 0 5px rgba(255, 140, 30, .85)); animation: gem-pulse 1.6s ease-in-out infinite; }
@keyframes gem-pulse { 50% { filter: drop-shadow(0 0 9px rgba(255, 160, 40, 1)); } }

/* found items are hidden until they have been found; NEW marks the fresh ones */
button.slot.is-locked { pointer-events: none; cursor: default; background: rgba(255, 255, 255, .012); } /* not found yet: looks like an empty square */
button.slot.is-locked .ico, button.slot.is-locked::before, button.slot.is-locked::after { visibility: hidden; }
button.slot.is-new { border-color: rgba(255, 190, 90, .85); box-shadow: 0 0 12px rgba(255, 170, 60, .35); }
.new-badge { margin-left: .4em; padding: .08em .4em; font-size: .6em; letter-spacing: .1em; vertical-align: .15em; color: #1a0f05; background: #ffb24a; border-radius: 2px; animation: badge-blink 1.2s ease-in-out infinite; }
@keyframes badge-blink { 50% { opacity: .55; } }

/* after the black hole: only the man in the dark */
html.hole-gone, html.hole-gone body { background: #000; }
html.hole-gone .texture, html.hole-gone .lure-zone { display: none; }

/* a tooltip for every slot */
.slot[data-tip]::before {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
  z-index: 6; white-space: nowrap; pointer-events: none;
  padding: 3px 8px; font-size: 11px; letter-spacing: .05em; color: var(--ink);
  background: rgba(6, 12, 24, .94); border: 1px solid var(--hair); border-radius: 2px;
  opacity: 0; transition: opacity .2s ease;
}
button.slot[data-tip]:hover::before, button.slot[data-tip]:focus-visible::before { opacity: 1; }


/* the phone chat: a little text-message box beside the man */
.imsg {
  position: fixed; z-index: 45; width: 236px; pointer-events: none;
  transform: translateY(-100%) scale(.92); transform-origin: 20% 100%; opacity: 0; visibility: hidden;
  background: rgba(10, 14, 24, .94); border: 1px solid rgba(190, 210, 230, .22); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font: 13px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color: #fff;
  transition: opacity .3s ease, transform .3s ease, visibility 0s .3s;
}
.imsg.is-on { opacity: 1; visibility: visible; transform: translateY(-100%) scale(1); transition: opacity .3s ease, transform .3s ease; }
.imsg.is-on.is-out { opacity: 0; transform: translateY(-100%) scale(.96); }
.imsg-head { padding: .55rem 0 .4rem; text-align: center; font-size: .66rem; letter-spacing: .08em; color: rgba(190, 205, 225, .6); border-bottom: 1px solid rgba(190, 210, 230, .12); }
.imsg-body { display: flex; flex-direction: column; gap: 6px; padding: .7rem .7rem .8rem; }
.imsg-row { display: flex; flex-direction: column; max-width: 82%; animation: imsg-pop .25s ease-out; }
.imsg-row.l { align-self: flex-start; align-items: flex-start; }
.imsg-row.r { align-self: flex-end; align-items: flex-end; }
.imsg-name { margin: 0 .5rem 2px; font-size: .62rem; color: rgba(190, 205, 225, .6); }
.imsg-b { padding: .45rem .75rem; border-radius: 16px; }
.imsg-row.l .imsg-b { background: #2b303c; border-bottom-left-radius: 5px; }
.imsg-row.r .imsg-b { background: #0a84ff; border-bottom-right-radius: 5px; }
.imsg-b.typing { background: #2b303c !important; color: rgba(255, 255, 255, .65); font-style: italic; }
@keyframes imsg-pop { from { opacity: 0; transform: translateY(6px) scale(.9); } to { opacity: 1; transform: none; } }

/* Claude Items */
.ico-pearl { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #f1dcea 55%, #a9bfe0); box-shadow: 0 0 7px 1px rgba(255, 230, 245, .6); }
.ico-popping { position: relative; width: 11px; height: 11px; background: #ff9ad5; transform: rotate(20deg); box-shadow: 8px -5px 0 -3px #9ad8ff, -7px 5px 0 -3px #fff2a0; }
.ico-ice { width: 13px; height: 13px; background: linear-gradient(135deg, #ebf8ff, #8cc8f5); border: 1px solid #d4ecff; transform: rotate(-12deg); box-shadow: 0 0 6px rgba(160, 210, 255, .6); }
.ico-magnet { position: relative; width: 14px; height: 15px; border: 4px solid #d8403a; border-bottom: 0; border-radius: 8px 8px 0 0; box-sizing: border-box; }
.ico-magnet::before, .ico-magnet::after { content: ""; position: absolute; bottom: -3px; width: 4px; height: 4px; background: #dfe6f0; }
.ico-magnet::before { left: -4px; } .ico-magnet::after { right: -4px; }
.ico-gummy { width: 18px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #ff5aa0, #ffb02e 50%, #58d46a); transform: rotate(-25deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset; }

/* Claude Items, round 14 */
.ico-prism { width: 13px; height: 15px; clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%); background: linear-gradient(135deg, #ff6a8a, #ffd45a 35%, #5affb0 60%, #6aa8ff 85%, #c06aff); filter: drop-shadow(0 0 4px rgba(255, 255, 255, .5)); }
.ico-gum { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd0ea, #ff7fbf 55%, #d9488f); box-shadow: 0 0 0 2px rgba(255, 150, 205, .35); }
.ico-disco { width: 13px; height: 13px; border-radius: 50%; background: repeating-linear-gradient(0deg, rgba(40, 50, 70, .5) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(40, 50, 70, .5) 0 1px, transparent 1px 3px), radial-gradient(circle at 35% 30%, #fff, #aab4c6 60%, #5c6578); box-shadow: 0 0 6px rgba(200, 160, 255, .6); }

.ico-mirror { position: relative; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #cfe0f2 55%, #8fa6c4); border: 2px solid #b9c6d8; box-sizing: border-box; margin-top: -3px; }
.ico-mirror::after { content: ""; position: absolute; left: 3px; top: 10px; width: 2px; height: 7px; background: #8a6a4a; }

/* "Acid": everything goes green and black while the blob has eaten the mermaid */
html.acid #aquarium {
  filter: grayscale(1) sepia(1) hue-rotate(82deg) saturate(6) brightness(.92) contrast(1.15);
}
html.acid {
  --ink: #dcf3d6;
  --ink-dim: #8fc58a;
  --ink-faint: #5f9a5c;
  --glass: rgba(3, 24, 6, .5);
  --hair: rgba(110, 255, 100, .2);
  background: #010501;
}
html.acid .signature-svg { filter: drop-shadow(0 0 14px rgba(90, 255, 80, .3)); }
html.acid .signature-svg path { fill: #e6ffe1; stroke: #e6ffe1; }
html.acid .panel h2 { color: #e3ffde; }
html.acid .panel p { color: #a6d6a0; }
html.acid .menu a:hover, html.acid .menu a:focus-visible { text-shadow: 0 0 18px rgba(80, 255, 70, .6); }

.ico-note { position: relative; width: 14px; height: 17px; background: linear-gradient(180deg, #d6d8dc, #aeb2b9); border-radius: 1px; clip-path: polygon(0 4%, 88% 0, 100% 12%, 94% 100%, 55% 92%, 20% 100%, 0 96%); }
.ico-note::before { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 6px; background: repeating-linear-gradient(180deg, rgba(70, 76, 90, .55) 0 1px, transparent 1px 3px); }

/* the old note: a worn grey-white scroll that is a bit hard to read */
.scroll-pop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; background: rgba(2, 5, 12, .55); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.scroll-pop.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.sp-paper {
  position: relative; width: min(88vw, 340px); padding: 2.6rem 1.6rem 2.4rem; transform: rotate(-1.2deg) scale(.94); transition: transform .35s ease;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(120, 110, 90, .22), transparent 38%),
    radial-gradient(ellipse at 82% 70%, rgba(110, 105, 95, .26), transparent 42%),
    linear-gradient(180deg, #e9e8e4, #d3d3d0 60%, #c5c6c6);
  clip-path: polygon(0 1.5%, 6% 0, 14% 1.4%, 27% 0, 41% 1.6%, 55% 0.2%, 70% 1.4%, 84% 0, 100% 1.3%, 99% 18%, 100.4% 35%, 99% 52%, 100% 71%, 98.8% 88%, 100% 99%, 86% 100%, 73% 98.6%, 58% 100%, 44% 98.8%, 28% 100%, 12% 98.6%, 0 100%, 1.2% 80%, 0 62%, 1.2% 44%, 0 26%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .5));
}
.scroll-pop.is-open .sp-paper { transform: rotate(-1.2deg) scale(1); }
.sp-text { margin: 0; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: .98rem; line-height: 1.7; letter-spacing: .01em; color: rgba(58, 54, 48, .7); text-shadow: 0 0 1.2px rgba(58, 54, 48, .45); transform: rotate(.6deg); }
.sp-stain { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(150, 145, 130, .5), rgba(150, 145, 130, 0) 70%); }
.sp-stain.s1 { left: 22%; top: 30%; width: 90px; height: 46px; }
.sp-stain.s2 { right: 10%; top: 54%; width: 70px; height: 60px; background: radial-gradient(circle, rgba(215, 214, 208, .85), rgba(215, 214, 208, 0) 70%); }
.sp-stain.s3 { left: 8%; bottom: 14%; width: 110px; height: 34px; }
.sp-hole { position: absolute; right: 16%; top: 22%; width: 14px; height: 11px; border-radius: 50% 40% 55% 45%; background: rgba(40, 42, 50, .55); box-shadow: inset 0 0 3px rgba(0, 0, 0, .6); pointer-events: none; }
.sp-roll { position: absolute; left: -4px; right: -4px; height: 16px; border-radius: 9px; background: linear-gradient(180deg, #f2f1ed, #bdbdbb 55%, #9d9ea1); }
.sp-top { top: -6px; } .sp-bot { bottom: -6px; }
.sp-x { position: absolute; right: .9rem; top: 1.5rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; padding: 0; font: inherit; font-size: 1.2rem; line-height: 1; color: rgba(58, 54, 48, .75); background: rgba(255, 255, 255, .35); border: 1px solid rgba(58, 54, 48, .3); border-radius: 50%; cursor: pointer; }
.sp-x:hover, .sp-x:focus-visible { background: rgba(255, 255, 255, .7); outline: none; }

/* the world menu: glass, like the site menus */
.wmenu {
  position: fixed; z-index: 70; width: 210px; padding: 14px 14px 12px;
  background: rgba(5, 10, 24, .58); border: 1px solid rgba(190, 210, 230, .22); border-radius: 3px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4); color: #dbe4ee;
  font: 400 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .18em;
  opacity: 0; visibility: hidden; transform: translateY(8px); transform-origin: var(--tail, 40px) 100%;
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
}
.wmenu.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.wm-title { display: block; margin: 0 0 8px; font-size: 10px; font-weight: 400; letter-spacing: .26em; color: #8b99ab; }
.wmenu button {
  appearance: none; display: flex; align-items: center; gap: 12px; width: 100%; margin: 2px 0; padding: 9px 6px;
  font: inherit; color: #dbe4ee; text-align: left; text-transform: inherit; letter-spacing: inherit; cursor: pointer;
  background: none; border: 0; border-top: 1px solid rgba(190, 210, 230, .10);
  transition: background .2s ease, color .2s ease;
}
.wmenu button i { font-style: normal; font-size: 10px; color: #667386; width: 12px; }
.wmenu button span { flex: 1; }
.wmenu button em { font-style: normal; font-size: 10px; letter-spacing: .12em; color: #8b99ab; }
.wmenu button:hover, .wmenu button:focus-visible { background: rgba(190, 210, 230, .10); outline: none; }
.wmenu button.is-locked { color: #667386; cursor: not-allowed; }
.wmenu button.is-locked:hover { background: none; }
.wm-lock { color: #8b99ab; flex: none; }
.wm-tail { position: absolute; left: var(--tail, 40px); bottom: -7px; width: 12px; height: 12px; background: rgba(5, 10, 24, .75); border-right: 1px solid rgba(190, 210, 230, .22); border-bottom: 1px solid rgba(190, 210, 230, .22); transform: rotate(45deg); }
.pf-unlock { animation: pfUnlock .9s ease; }
@keyframes pfUnlock { 0% { filter: brightness(1); } 25% { filter: brightness(1.8) saturate(1.4); } 100% { filter: brightness(1); } }
@media (max-width: 700px) { .wmenu { width: 190px; } }

/* round 16: eight more things for the fish */
.ico-chili { position: relative; width: 17px; height: 7px; background: #d6261f; border-radius: 9px 2px 9px 2px; transform: rotate(-32deg); }
.ico-chili::before { content: ""; position: absolute; left: -3px; top: 1px; width: 4px; height: 5px; background: #3c9a3c; border-radius: 2px; }
.ico-cookie { position: relative; width: 17px; height: 10px; background: #e0b060; border-radius: 50% 50% 35% 35% / 100% 100% 0 0; margin-top: 3px; box-shadow: inset 0 -2px 0 rgba(120, 70, 20, .35); }
.ico-cookie::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 2px; background: #fff; }
.ico-rocket { position: relative; width: 6px; height: 16px; background: linear-gradient(#f1f1f1 0 32%, #d63a3a 32% 85%, #ffdd55 85%); border-radius: 3px 3px 1px 1px; transform: rotate(25deg); }
.ico-rocket::after { content: ""; position: absolute; left: 1px; bottom: -5px; width: 4px; height: 5px; background: #ff9a2a; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.ico-pepper { width: 4px; height: 4px; border-radius: 50%; background: #2a2a2e; box-shadow: 6px 3px 0 #2a2a2e, -5px 3px 0 #2a2a2e, 2px -6px 0 #2a2a2e, -3px 8px 0 #2a2a2e, 7px 9px 0 #2a2a2e; }
.ico-seed { position: relative; width: 8px; height: 11px; background: #6a4a2a; border-radius: 50%; margin-top: 3px; }
.ico-seed::before { content: ""; position: absolute; left: 3.5px; top: -6px; width: 1.5px; height: 6px; background: #7affd9; box-shadow: 0 0 5px #7affd9; }
.ico-clock { position: relative; width: 16px; height: 16px; border: 2px solid #dfe9f7; border-radius: 50%; background: #141e3c; box-sizing: border-box; }
.ico-clock::before { content: ""; position: absolute; left: 5px; top: 2px; width: 1.5px; height: 5px; background: #dfe9f7; }
.ico-clock::after { content: ""; position: absolute; left: 5px; top: 6px; width: 4px; height: 1.5px; background: #dfe9f7; }
.ico-shroom { position: relative; width: 16px; height: 8px; background: #ff5aa0; border-radius: 8px 8px 1px 1px; margin-top: -4px; box-shadow: inset 4px 2px 0 -1px rgba(255, 255, 255, .85); }
.ico-shroom::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 7px; background: #f3e6d0; border-radius: 0 0 2px 2px; }
.ico-ghost { position: relative; width: 14px; height: 16px; background: #f0f8ff; border-radius: 7px 7px 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 83% 82%, 66% 100%, 50% 82%, 33% 100%, 16% 82%, 0 100%); }
.ico-ghost::before { content: ""; position: absolute; left: 3px; top: 5px; width: 2.5px; height: 3.5px; background: #1a2238; box-shadow: 5px 0 0 #1a2238; }

/* the new worlds have no items yet: the item squares are empty there (room for new things) */
html[data-world]:not([data-world="ocean"]) .bp-grid[data-g="items"] button.slot { pointer-events: none; cursor: default; background: rgba(255, 255, 255, .012); }
html[data-world]:not([data-world="ocean"]) .bp-grid[data-g="items"] button.slot .ico,
html[data-world]:not([data-world="ocean"]) .bp-grid[data-g="items"] button.slot::before,
html[data-world]:not([data-world="ocean"]) .bp-grid[data-g="items"] button.slot::after { visibility: hidden; }
