/* ==========================================================
   nullzoro — the plaza (tier 2): the social view inside the core
   same purple chrome metalheart language as shelf.css / cabinet.css:
   dark glass, chrome rims, violet light, pixel labels. calm: one
   panel at a time, one coach line, numbers over sentences.
   ========================================================== */
.pz { position: fixed; inset: 0; z-index: 50; background: #05020a; opacity: 0; overflow: hidden; font-family: var(--mono); text-transform: none; letter-spacing: normal; }
.panel.pz-notes, .pz-cp, .pz-ct { font-family: var(--mono); text-transform: none; letter-spacing: normal; }
.pz[hidden] { display: none; }
.pz.on { opacity: 1; }
.pz.out { opacity: 0; transition: opacity .32s ease; }
.pz-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.pz-cv[hidden] { display: none; }
.pz-flash {
  position: absolute; inset: 0; z-index: 30; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 46%, #f6f2ff 0%, #c9b6ff 12%, #8b5cf6 34%, #3b1d8a 62%, #12072a 86%, #05020a 100%);
}
.pz-flash.on { opacity: 1; transition: opacity .2s ease-in; }
.pz-flash.fade { opacity: 0; transition: opacity 1.15s cubic-bezier(.35, 0, .2, 1); }
.pz button { -webkit-tap-highlight-color: transparent; }
.pz :focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }

/* ---------- header: back · tabs · bell · you ---------- */
.pz-head {
  position: absolute; left: 0; right: 0; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 14px;
  padding: max(clamp(12px, 2vh, 22px), env(safe-area-inset-top)) clamp(14px, 2.4vw, 36px) 0;
  pointer-events: none; opacity: 0; transform: translateY(-14px);
  transition: opacity .45s ease .25s, transform .55s cubic-bezier(.2, 1.2, .3, 1) .25s;
}
.pz.in .pz-head { opacity: 1; transform: none; }
.pz-head > * { pointer-events: auto; }
.pz-back {
  flex: none; height: 46px; display: flex; align-items: center; gap: 6px; padding: 0 18px 0 10px; border: 0; border-radius: 40px; cursor: pointer;
  font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #e9e2ff;
  background: linear-gradient(180deg, #4b3a80 0%, #241540 45%, #0b0616 52%, #1d1236 78%, #3b2a6e 100%);
  box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(196, 181, 253, .45), inset 0 -3px 8px rgba(0, 0, 0, .6), 0 8px 20px -8px #000;
  transition: transform .15s, box-shadow .2s;
}
.pz-back:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(221, 214, 254, .85), inset 0 -3px 8px rgba(0, 0, 0, .6), 0 0 22px -4px rgba(139, 92, 246, .9); }
.pz-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pz-back .pz-i { width: 22px; height: 22px; color: #c4b5fd; }
.pz-tabs {
  display: flex; gap: 4px; margin: 0 auto; padding: 5px; border-radius: 40px; min-width: 0;
  background: linear-gradient(180deg, rgba(28, 17, 50, .86), rgba(8, 4, 16, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(196, 181, 253, .24), 0 0 0 1px #05020a, 0 10px 30px -12px #000;
}
.pz-tabs button {
  flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border: 0; border-radius: 30px; cursor: pointer;
  font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: transparent;
  transition: color .2s, background .2s;
}
.pz-tabs button:hover { color: #fff; }
.pz-tabs button[aria-selected="true"] {
  color: #fff; text-shadow: 0 1px 0 rgba(60, 0, 100, .6);
  background: linear-gradient(180deg, #c4b5fd 0%, #8b5cf6 46%, #3b1d8a 50%, #5b21b6 72%, #8b5cf6 100%);
  box-shadow: 0 0 0 1px #05020a, 0 0 16px -4px rgba(139, 92, 246, .9);
}
.pz-tabs .pz-i { width: 18px; height: 18px; }
.pz-tabs b { font-weight: 400; }
.pz-tabs .pz-ts { display: none; }
.pz-tr { flex: none; display: flex; gap: 10px; align-items: center; }
.pz-bell {
  position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #c4b5fd; pointer-events: auto;
  background: radial-gradient(circle at 50% 50%, #120a22 0 58%, transparent 59%), conic-gradient(from 200deg, #ffffff, #8f7ad6 12%, #1a0f30 24%, #e9e2ff 36%, #4b3590 52%, #ffffff 62%, #2a1650 76%, #c9bcf6 88%, #ffffff);
  box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(196, 181, 253, .3), 0 6px 16px -6px #000;
  transition: transform .16s cubic-bezier(.2, 1.6, .4, 1), box-shadow .2s;
}
.pz-bell[hidden] { display: none; }
.pz-bell .pz-i { width: 21px; height: 21px; filter: drop-shadow(0 0 4px rgba(139, 92, 246, .9)); }
.pz-bell:hover, .pz-bell[aria-expanded="true"] { transform: scale(1.06); color: #fff; box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(221, 214, 254, .7), 0 0 24px -4px rgba(167, 139, 250, .95); }
.pz-bn {
  position: absolute; right: -4px; top: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center;
  font: 400 10px/1 var(--pixel); font-style: normal; color: #fff; background: radial-gradient(circle at 35% 30%, #f5d0fe, #e879f9 45%, #86198f);
  box-shadow: 0 0 0 2px #05020a, 0 0 10px #e879f9;
}
.pz-bn[hidden] { display: none; }
/* the shelf's bell: beside the profile chip, or alone top-right on phones */
.top-r .pz-bell.shelf { width: 44px; height: 44px; }
.pz-bell.shelf.solo { position: fixed; z-index: 21; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 42px; height: 42px; }
body.shelf-asleep .pz-bell.solo, body.is-leaving .pz-bell.solo, body.pz-on .pz-bell.solo, body.is-open .pz-bell.solo { visibility: hidden; }
body.label-on-top .pz-bell.shelf { opacity: .25; }
.pz-me {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 4px; border: 0; border-radius: 40px; cursor: pointer; color: var(--text);
  font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(42, 22, 80, .8), rgba(10, 5, 20, .85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(196, 181, 253, .3), 0 6px 18px -8px #000;
  transition: box-shadow .2s, transform .15s;
}
.pz-me img { width: 38px; height: 38px; border-radius: 50%; }
.pz-me:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(221, 214, 254, .7), 0 0 22px -6px rgba(139, 92, 246, .9); }

/* ---------- the one panel (slides in from the right; a bottom sheet on phones) ---------- */
.pz-panel {
  position: absolute; z-index: 9; right: clamp(12px, 1.6vw, 28px); top: calc(max(clamp(12px, 2vh, 22px), env(safe-area-inset-top)) + 62px); bottom: 18px;
  width: min(560px, 42vw); min-width: 380px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(0deg, rgba(196, 181, 253, .03) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(28, 17, 50, .95), rgba(8, 4, 16, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(196, 181, 253, .24), 0 0 0 1px #05020a, 0 30px 80px -20px #000, 0 0 60px -24px rgba(139, 92, 246, .9);
  opacity: 0; transform: translateX(34px); transition: opacity .25s ease, transform .34s cubic-bezier(.2, 1.15, .3, 1);
}
.pz-panel[hidden] { display: none; }
.pz-panel.on { opacity: 1; transform: none; }
.pz-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, #2a1650, #e9e2ff 18%, #0e0719 19%, #6d58b8 50%, #0e0719 81%, #e9e2ff 82%, #2a1650); }
.pz-ph { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 12px 12px 20px; border-bottom: 1px solid rgba(196, 181, 253, .12); }
.pz-ph h3 { flex: 1; min-width: 0; margin: 0; font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 14px rgba(139, 92, 246, .7); }
.pz-x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--lilac); background: linear-gradient(180deg, #1d1236, #0b0616); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .25); }
.pz-x:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(221, 214, 254, .7); }
.pz-pb { flex: 1; overflow-y: auto; padding: 16px 20px 24px; overscroll-behavior: contain; touch-action: pan-y; scrollbar-width: thin; scrollbar-color: rgba(167, 139, 250, .4) transparent; }
.pz-pb:focus { outline: none; }

/* ---------- coach line, hover tag, bubbles ---------- */
.pz-coach {
  position: absolute; z-index: 8; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 10px 20px; border-radius: 30px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: #ddd3ff; white-space: nowrap;
  background: rgba(8, 4, 18, .72); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .22), 0 8px 24px -10px #000;
  opacity: 0; transition: opacity .4s ease .6s;
}
.pz.in .pz-coach { opacity: 1; }
.pz-coach span { overflow: hidden; text-overflow: ellipsis; }
.pz-coach:empty { display: none; }
body.pz-panel-on .pz.in .pz-coach { opacity: 0; pointer-events: none; transition-delay: 0s; }
.pz-sign, .pz-signrow {
  flex: none; border: 0; cursor: pointer; padding: 6px 14px; border-radius: 20px; font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, #d8ccff 0%, #9f7aff 40%, #5b21b6 52%, #7c3aed 76%, #b69cff 100%); text-shadow: 0 1px 0 rgba(40, 0, 80, .8);
}
.pz-signrow { display: block; width: 100%; padding: 13px 16px; margin-bottom: 14px; font-size: 11px; }
.pz-tag {
  position: absolute; z-index: 6; left: 0; top: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 16px 9px; border-radius: 10px; opacity: 0; transition: opacity .18s;
  background: linear-gradient(180deg, rgba(28, 17, 50, .92), rgba(8, 4, 16, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px color-mix(in srgb, var(--acc, #a78bfa) 60%, transparent), 0 0 22px -6px var(--acc, #a78bfa);
}
.pz-tag.on { opacity: 1; }
.pz-tag b { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: .06em; color: #fff; white-space: nowrap; }
.pz-tag small { font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); white-space: nowrap; }
.pz-tag small:empty { display: none; }
.pz-bubs { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.pz-bub {
  position: absolute; left: 0; top: 0; display: flex; gap: 7px; align-items: flex-start; max-width: 250px; padding: 7px 12px 8px; border-radius: 12px;
  font-family: var(--mono); font-size: 13px; line-height: 1.35; color: #f6f2ff; opacity: 0; transition: opacity .35s ease; will-change: transform;
  background: repeating-linear-gradient(0deg, rgba(196, 181, 253, .07) 0 1px, transparent 1px 3px), rgba(14, 7, 32, .8);
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .5), 0 0 18px -4px rgba(139, 92, 246, .85);
  transform-origin: 50% 100%;
}
.pz-bub::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg); background: rgba(14, 7, 32, .85); box-shadow: 1px 1px 0 rgba(196, 181, 253, .5); }
.pz-bub i { font-style: normal; color: #c4b5fd; flex: none; }
.pz-bub span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pz-bub.pb { box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .55), 0 0 18px -4px rgba(134, 239, 172, .6); }
.pz-bub.pb i { color: #86efac; }
.pz-bub.ach { box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .6), 0 0 18px -4px rgba(245, 197, 66, .55); }
.pz-bub.ach i { color: #f5c542; }

/* ---------- panel content ---------- */
.pz-sub { margin: 22px 0 10px; font-family: var(--pixel); font-weight: 400; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--violet-2); display: flex; align-items: center; gap: 10px; }
.pz-sub::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(196, 181, 253, .5), transparent); }
.pz-pb > .pz-sub:first-child, .pz-card > .pz-sub:first-child { margin-top: 4px; }
.pz-calm { margin: 14px 0; font-family: var(--mono); font-size: 14px; color: var(--dim); text-align: center; }
.pz-dim { margin: 6px 0; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.pz-num { font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pz-msg { margin: 10px 0 0; font-family: var(--mono); font-size: 13px; color: #e9d5ff; }
.pz-msg[hidden] { display: none; }
.pz-pb .cab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pz-pb .cab-btn .pz-i { width: 16px; height: 16px; }
.pz-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }
.pz-acts.sticky { position: sticky; bottom: -24px; margin: 22px -20px -24px; padding: 14px 20px 18px; background: linear-gradient(180deg, rgba(8, 4, 16, 0), rgba(8, 4, 16, .96) 30%); justify-content: flex-end; }
.pz-row {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; margin-bottom: 6px; border: 0; border-radius: 12px; cursor: pointer; text-align: left; color: var(--text);
  background: linear-gradient(180deg, rgba(42, 22, 80, .4), rgba(14, 8, 26, .55)); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .12);
  transition: box-shadow .2s, transform .15s;
}
.pz-row:hover, .pz-row:focus-visible { box-shadow: inset 0 0 0 1px rgba(221, 214, 254, .6), 0 0 16px -6px rgba(139, 92, 246, .9); transform: translateX(2px); outline: none; }
.pz-row img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.pz-row b { flex: 1; min-width: 0; font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-row .pz-zt { font-family: var(--pixel); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); max-width: 34%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-row.you { box-shadow: inset 0 0 0 1px rgba(221, 214, 254, .4), 0 0 18px -8px rgba(167, 139, 250, .9); }
.pz-row.dim { filter: saturate(.4) brightness(.75); }
.pz-row .cab-btn { min-height: 36px; padding: 0 14px; font-size: 10px; }
.pz-on { font-family: var(--pixel); font-size: 10px; color: var(--good); letter-spacing: .12em; text-transform: uppercase; }
.pz-find { display: flex; gap: 10px; margin-bottom: 14px; }
.pz-pb input:not([type=color]):not([type=file]), .pz-pb textarea, .pz-pb select {
  font-family: var(--mono); font-size: 15px; color: #fff; padding: 10px 12px; border: 0; border-radius: 8px; min-width: 0;
  background: #0b0616; box-shadow: inset 0 1px 3px #000, inset 0 0 0 1px rgba(196, 181, 253, .3);
  user-select: text; -webkit-user-select: text;
}
.pz-pb select { font-size: 13px; padding: 9px 10px; cursor: pointer; }
.pz-find input { flex: 1; }
.pz-pb input:focus, .pz-pb textarea:focus, .pz-pb select:focus { outline: 2px solid var(--lilac); outline-offset: 1px; }

/* profile card */
.pz-ctop { display: flex; gap: 18px; align-items: center; }
.pz-big { width: 112px; height: 112px; border-radius: 50%; flex: none; filter: drop-shadow(0 0 16px rgba(139, 92, 246, .6)); }
.pz-cid { min-width: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pz-cname { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: .03em; color: #fff; overflow-wrap: anywhere; text-shadow: 0 0 18px rgba(139, 92, 246, .7); }
.pz-lv { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.pz-lv > b { grid-row: span 2; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: #fff; }
.pz-lv > span { font-family: var(--pixel); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.pz-bar { display: block; height: 6px; border-radius: 3px; background: #1a0f2e; box-shadow: inset 0 1px 2px #000, 0 0 0 1px rgba(196, 181, 253, .2); overflow: hidden; }
.pz-bar i { display: block; height: 100%; background: linear-gradient(90deg, #8b5cf6, #e9d5ff); box-shadow: 0 0 10px #a78bfa; }
.pz-bio { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: #cfc6ee; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.pz-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.pz-stats > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 12px; border-radius: 10px; min-width: 0; background: linear-gradient(180deg, rgba(42, 22, 80, .45), rgba(14, 8, 26, .6)); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .12); }
.pz-stats small { font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pz-stats b { font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.5vw, 22px); color: #fff; }
.pz-star { font-style: normal; color: #f5c542; }
.pz-zc {
  max-width: 100%; border: 0; cursor: pointer; padding: 5px 11px; border-radius: 20px; font-family: var(--pixel); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--acc, #a78bfa) 45%, #1d1236), #0e0719); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc, #a78bfa) 70%, transparent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pz-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pz-badge { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 8px 14px 8px 10px; border-radius: 12px; background: linear-gradient(180deg, rgba(245, 197, 66, .12), rgba(14, 8, 26, .6)); box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .35); }
.pz-badge i { grid-row: span 2; font-style: normal; font-size: 24px; }
.pz-badge b { font-family: var(--display); font-weight: 400; font-size: 12px; color: #fff; }
.pz-badge small { font-family: var(--pixel); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.pz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pz-rec { display: inline-flex; gap: 8px; align-items: baseline; padding: 7px 12px; border-radius: 10px; font-family: var(--mono); font-size: 12px; color: #e9e2ff; background: rgba(14, 8, 26, .7); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc, #a78bfa) 55%, transparent); }
.pz-rec b { font-family: var(--display); font-weight: 400; color: #f5c542; font-size: 12px; }
.pz-rec em { font-style: normal; color: #fff; }
.pz-ghosts { display: flex; flex-direction: column; gap: 6px; }
.pz-gh { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border-radius: 10px; background: rgba(14, 8, 26, .6); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .12); font-family: var(--mono); font-size: 13px; }
.pz-gh span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-gh em { font-style: normal; color: #fff; }
.pz-gh .cab-btn { min-height: 34px; padding: 0 12px; font-size: 10px; }
.pz-tog { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; color: var(--text); font-family: var(--mono); font-size: 13px; padding: 6px 4px; }
.pz-tog i { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #1a0f2e; box-shadow: inset 0 1px 3px #000, inset 0 0 0 1px rgba(196, 181, 253, .3); transition: background .2s; }
.pz-tog i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(180deg, #fff, #a898e6); transition: transform .2s; }
.pz-tog[aria-checked="true"] i { background: #6d28d9; }
.pz-tog[aria-checked="true"] i::after { transform: translateX(20px); }
.pz-fav, .pz-sel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pz-fav select, .pz-sel select { max-width: 200px; }
.pz-biof { display: flex; gap: 10px; width: 100%; }
.pz-biof input { flex: 1; }

/* zoro card */
.pz-zhead { display: flex; gap: 16px; align-items: center; }
.pz-zdisc { width: 84px; height: 84px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #05020a, 0 0 0 3px color-mix(in srgb, var(--acc) 70%, transparent), 0 0 30px -6px var(--acc); animation: pzSpin 14s linear infinite; }
@keyframes pzSpin { to { transform: rotate(360deg); } }
body.reduce .pz-zdisc { animation: none; }
.pz-zhead > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pz-zhead b { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); color: #fff; overflow-wrap: anywhere; }
.pz-zhead small { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.pz-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.pz-nums > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 10px; background: linear-gradient(180deg, rgba(42, 22, 80, .45), rgba(14, 8, 26, .6)); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .12); }
.pz-nums.two { grid-template-columns: repeat(2, 1fr); margin: 0 0 6px; }
.pz-nums b { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.8vw, 28px); color: #fff; text-shadow: 0 0 14px rgba(139, 92, 246, .7); }
.pz-nums small { font-family: var(--pixel); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); text-align: center; }
.pz-top, .pz-board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.pz-top li, .pz-board li { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 10px; background: rgba(14, 8, 26, .6); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .1); font-family: var(--mono); font-size: 14px; }
.pz-top b, .pz-board b { flex: 1; min-width: 0; font-weight: 700; color: #f3efff; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-top b:hover, .pz-board b:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(196, 181, 253, .6); }
.pz-top em, .pz-board em { font-style: normal; font-family: var(--display); font-size: 13px; color: #fff; }
.pz-rk { flex: none; width: 34px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-family: var(--display); font-size: 13px; color: var(--lilac); background: #0b0616; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .2); }
li.r1 .pz-rk { color: #1a1206; background: linear-gradient(180deg, #fff6d6, #f5c542 48%, #8a6410 52%, #f2d27a); box-shadow: 0 0 12px -2px rgba(245, 197, 66, .8); }
li.r2 .pz-rk { color: #0e0a1a; background: linear-gradient(180deg, #ffffff, #d9d0f7 48%, #6d6488 52%, #e6e0fa); }
li.r3 .pz-rk { color: #1a0c06; background: linear-gradient(180deg, #ffe3cc, #d38a4e 48%, #6b3a16 52%, #e8b183); }
.pz-board li.you { box-shadow: inset 0 0 0 1px rgba(221, 214, 254, .6), 0 0 16px -6px rgba(167, 139, 250, .9); background: rgba(42, 22, 80, .55); }
.pz-board li.pz-calm, .pz-board li.pz-tot { background: none; box-shadow: none; justify-content: center; font-size: 13px; color: var(--dim); }
.pz-ghostcall { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(125, 211, 252, .12), rgba(14, 8, 26, .6)); box-shadow: inset 0 0 0 1px rgba(125, 211, 252, .4); }
.pz-gi { font-size: 26px; color: #7dd3fc; text-shadow: 0 0 12px #7dd3fc; }
.pz-ghostcall div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pz-ghostcall b { font-family: var(--display); font-weight: 400; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pz-ghostcall small { font-family: var(--mono); font-size: 12px; color: #cfe9fb; }
.pz-faces { display: flex; flex-wrap: wrap; gap: 10px; }
.pz-faces button { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; border: 0; background: none; cursor: pointer; padding: 0; color: var(--text); }
.pz-faces img { width: 52px; height: 52px; border-radius: 50%; transition: transform .15s; }
.pz-faces button:hover img { transform: scale(1.08); }
.pz-faces span { max-width: 64px; font-family: var(--mono); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-mini { display: flex; flex-direction: column; gap: 8px; }
.pz-mp { display: flex; gap: 10px; align-items: flex-start; }
.pz-mp img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.pz-mp div { min-width: 0; font-family: var(--mono); font-size: 13px; }
.pz-mp b { font-weight: 700; color: #fff; cursor: pointer; }
.pz-mp time { font-family: var(--pixel); font-size: 9px; color: var(--dim); letter-spacing: .1em; }
.pz-mp p { margin: 2px 0 0; color: #d9d0f7; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* boards controls */
.pz-bctl, .pz-fctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.pz-seg { display: inline-flex; padding: 3px; border-radius: 20px; background: #0b0616; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .22); }
.pz-seg button { border: 0; cursor: pointer; padding: 7px 12px; border-radius: 16px; font-family: var(--pixel); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: none; white-space: nowrap; }
.pz-seg button[aria-checked="true"] { color: #fff; background: linear-gradient(180deg, #8b5cf6, #4c1d95); box-shadow: 0 0 10px -2px rgba(139, 92, 246, .9); }
.pz-chip { border: 0; cursor: pointer; padding: 7px 12px; border-radius: 16px; font-family: var(--pixel); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); background: #0b0616; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .3); }

/* signal feed */
.pz-comp { display: flex; flex-direction: column; gap: 10px; padding: 12px; margin-bottom: 16px; border-radius: 12px; background: rgba(14, 8, 26, .55); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .18); }
.pz-comp.rp { margin: 10px 0 0; padding: 10px; }
.pz-comp textarea, .pz-ed textarea { width: 100%; resize: vertical; min-height: 64px; line-height: 1.45; }
.pz-crow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.pz-crow select { flex: 1; min-width: 120px; max-width: 220px; margin-right: auto; }
.pz-cn { font-family: var(--pixel); font-size: 10px; color: var(--dim); min-width: 3ch; text-align: right; }
.pz-cn.low { color: #fb7185; }
.pz-pbtn { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 18px; font-family: var(--mono); font-size: 13px; color: var(--lilac); background: rgba(11, 6, 22, .8); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .22); transition: box-shadow .15s, color .15s; }
.pz-pbtn:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(221, 214, 254, .6); }
.pz-pbtn.warn { color: #fda4af; }
.pz-pbtn.arm, .cab-btn.arm { color: #fff; background: #7f1d3a; }
.pz-file { position: relative; }
.pz-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pz-att { display: flex; gap: 10px; align-items: center; }
.pz-att[hidden], .pz-doodle[hidden], .pz-more[hidden], .pz-thread[hidden] { display: none; }
.pz-att img { max-width: 160px; max-height: 90px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(196, 181, 253, .3); }
.pz-doodle { display: flex; flex-direction: column; gap: 8px; }
.pz-doodle canvas { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; touch-action: none; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .3), 0 0 0 1px rgba(196, 181, 253, .25); cursor: crosshair; }
.pz-drow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pz-dc { width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(196, 181, 253, .3); }
.pz-dc.on { box-shadow: 0 0 0 2px #05020a, 0 0 0 4px #fff, 0 0 12px var(--c); }
.pz-feed { display: flex; flex-direction: column; gap: 10px; }
.pz-post { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(14, 8, 26, .6); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .12); }
.pz-post.mine { box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .28); }
.pz-post.reply { padding: 8px 0 0; background: none; box-shadow: none; border-top: 1px solid rgba(196, 181, 253, .1); border-radius: 0; }
.pz-pav { width: 44px; height: 44px; border-radius: 50%; flex: none; cursor: pointer; }
.pz-post.reply .pz-pav { width: 32px; height: 32px; }
.pz-pm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pz-pm header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pz-pm header b { font-family: var(--display); font-weight: 400; font-size: 13px; color: #fff; cursor: pointer; }
.pz-pm header .pz-zc { padding: 3px 9px; font-size: 9px; }
.pz-pm time, .pz-post.auto time { font-family: var(--pixel); font-size: 9px; letter-spacing: .1em; color: var(--dim); margin-left: auto; }
.pz-pt { margin: 0; font-family: var(--mono); font-size: 14px; line-height: 1.5; color: #e9e2ff; overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; -webkit-user-select: text; }
.pz-pimg { max-width: 100%; max-height: 300px; border-radius: 10px; align-self: flex-start; box-shadow: 0 0 0 1px rgba(196, 181, 253, .25); background: #0b0616; }
.pz-pm footer { display: flex; gap: 8px; align-items: center; }
.pz-zap { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 18px; font-family: var(--mono); font-size: 13px; color: var(--lilac); background: rgba(11, 6, 22, .8); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .22); transition: color .15s, box-shadow .15s, transform .12s; }
.pz-zap:hover { color: #fff; }
.pz-zap:active { transform: scale(.94); }
.pz-zap.on { color: #fde68a; box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .7), 0 0 14px -4px rgba(250, 204, 21, .8); }
.pz-more { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pz-ed { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.pz-ed input { width: 100%; }
.pz-thread { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pz-post.auto { align-items: center; gap: 10px; padding: 9px 12px; background: linear-gradient(90deg, rgba(245, 197, 66, .08), rgba(14, 8, 26, .5)); box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .22); }
.pz-post.auto p { flex: 1; min-width: 0; margin: 0; font-family: var(--mono); font-size: 13px; color: #e7dcc0; overflow-wrap: anywhere; }
.pz-post.auto p b { color: #fff; cursor: pointer; }
.pz-post.auto .pz-zc { padding: 3px 9px; font-size: 9px; vertical-align: middle; }
.pz-ai { flex: none; color: #f5c542; font-size: 16px; text-shadow: 0 0 10px rgba(245, 197, 66, .8); }
.pz-post.auto time { margin-left: 0; }
.pz-moreb { margin: 14px auto 0; display: flex; }
.pz-moreb[hidden] { display: none; }

/* news */
.pz-ann { padding: 14px 16px; margin-bottom: 12px; border-radius: 12px; background: rgba(14, 8, 26, .6); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .14); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pz-ann.bb { box-shadow: inset 0 0 0 1px rgba(221, 214, 254, .55), 0 0 24px -10px rgba(167, 139, 250, .9); }
.pz-ann header { display: flex; flex-direction: column; gap: 6px; }
.pz-ann header b { font-family: var(--display); font-weight: 400; font-size: 16px; color: #fff; overflow-wrap: anywhere; }
.pz-ann p { margin: 0; font-family: var(--mono); font-size: 14px; line-height: 1.55; color: #d9d0f7; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.pz-poll { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: #0b0616; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .2); }
.pz-pq { margin: 0; font-family: var(--display); font-size: 13px; color: #fff; }
.pz-opts { display: flex; flex-direction: column; gap: 6px; }
.pz-opt { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 14px; border: 0; border-radius: 10px; cursor: pointer; font-family: var(--mono); font-size: 14px; color: #f3efff; text-align: left; background: rgba(42, 22, 80, .45); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .2); }
.pz-opt i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(139, 92, 246, .45), rgba(139, 92, 246, .15)); }
.pz-opt span, .pz-opt em { position: relative; }
.pz-opt em { font-style: normal; font-family: var(--display); font-size: 12px; }
.pz-opt.on { box-shadow: inset 0 0 0 2px #e9e2ff, 0 0 14px -4px rgba(167, 139, 250, .9); }
.pz-opt:disabled { cursor: default; }
.pz-ptxt { display: flex; gap: 8px; }
.pz-ptxt input { flex: 1; }
.pz-picks { margin: 0; padding-left: 18px; font-family: var(--mono); font-size: 13px; color: #e9e2ff; }

/* builder */
.pz-bprev { display: flex; gap: 16px; align-items: center; }
.pz-bprev > div { display: flex; flex-direction: column; gap: 6px; }
.pz-bprev b { font-family: var(--display); font-weight: 400; font-size: 18px; color: #fff; }
.pz-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 7px; }
.pz-parts button { aspect-ratio: 1; padding: 3px; border: 0; border-radius: 14px; cursor: pointer; background: #0b0616; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .16); transition: box-shadow .15s, transform .15s; }
.pz-parts button canvas { width: 100%; height: 100%; display: block; border-radius: 12px; }
.pz-parts button:hover { transform: translateY(-2px); }
.pz-parts button[aria-checked="true"] { box-shadow: 0 0 0 2px #e9e2ff, 0 0 16px rgba(167, 139, 250, .9); }
.pz-sw { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pz-sw button { width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; background: radial-gradient(circle at 35% 30%, #fff, var(--c) 40%, color-mix(in srgb, var(--c) 40%, #05020a)); box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(196, 181, 253, .25); transition: transform .15s; }
.pz-sw button:hover { transform: scale(1.1); }
.pz-sw button[aria-checked="true"] { box-shadow: 0 0 0 2px #05020a, 0 0 0 4px #fff, 0 0 14px var(--c); }
.pz-cust { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-family: var(--display); color: var(--lilac); background: #0b0616; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .4); overflow: hidden; }
.pz-cust input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }
.pz-blist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 260px; overflow-y: auto; padding: 2px; touch-action: pan-y; }
.pz-blist button { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; text-align: left; padding: 8px 10px; border: 0; border-radius: 10px; cursor: pointer; color: var(--text); background: rgba(14, 8, 26, .6); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .14); }
.pz-blist i { grid-row: span 2; font-style: normal; font-size: 20px; }
.pz-blist b { font-family: var(--mono); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-blist small { font-family: var(--pixel); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-blist button[aria-checked="true"] { box-shadow: inset 0 0 0 2px rgba(245, 197, 66, .8), 0 0 14px -4px rgba(245, 197, 66, .8); }

/* following */
.pz-fol { margin: 12px 0 14px; }
.pz-fol .pz-row { cursor: pointer; }

/* ---------- the flat list view (no webgl) ---------- */
.pz-list {
  position: absolute; left: 0; right: 0; top: calc(max(clamp(12px, 2vh, 22px), env(safe-area-inset-top)) + 64px); bottom: 70px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  padding: 10px clamp(14px, 3vw, 48px) 30px;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 29, 138, .35), transparent 60%);
}
.pz-list[hidden] { display: none; }
.pz.flat { background: radial-gradient(circle at 50% 30%, #1a0b3a, #05020a 70%); }
.pz-lbb { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; max-width: 760px; margin: 0 auto 18px; padding: 18px 20px; border: 0; border-radius: 14px; color: #fff; text-align: center; background: repeating-linear-gradient(0deg, rgba(196, 181, 253, .07) 0 1px, transparent 1px 3px), rgba(14, 7, 32, .7); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .45), 0 0 30px -10px rgba(139, 92, 246, .9); cursor: default; }
button.pz-lbb { cursor: pointer; }
.pz-lbb b { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.6vw, 36px); text-shadow: 0 0 18px rgba(167, 139, 250, .9); overflow-wrap: anywhere; }
.pz-lbb small { font-family: var(--pixel); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); }
.pz-lbb.off b { animation: pzFlick 2.4s steps(1) infinite; color: #f5d0fe; }
@keyframes pzFlick { 0%, 100% { opacity: 1; } 7% { opacity: .3; } 9% { opacity: 1; } 52% { opacity: .55; } 54% { opacity: 1; } }
body.reduce .pz-lbb.off b { animation: none; }
.pz-me-row { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto 16px; }
.pz-me-row img { width: 48px; height: 48px; border-radius: 50%; }
.pz-me-row b { font-family: var(--display); font-weight: 400; font-size: 13px; }
.pz-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pz-tile { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: linear-gradient(180deg, rgba(28, 17, 50, .8), rgba(8, 4, 16, .85)); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .14); }
.pz-tile.busy { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 55%, transparent), 0 0 22px -12px var(--acc); }
.pz-tile.mine { box-shadow: inset 0 0 0 2px rgba(233, 226, 255, .7), 0 0 22px -8px rgba(167, 139, 250, .9); }
.pz-tb { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left; border: 0; background: none; cursor: pointer; color: var(--text); padding: 0; }
.pz-tb canvas { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px #05020a, 0 0 0 3px color-mix(in srgb, var(--acc) 60%, transparent); }
.pz-tb b { font-family: var(--display); font-weight: 400; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-tb small { font-family: var(--pixel); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.pz-tf { display: flex; gap: 4px; align-items: center; min-height: 34px; }
.pz-tf button { border: 0; background: none; padding: 0; cursor: pointer; }
.pz-tf img { width: 34px; height: 34px; border-radius: 50%; }
.pz-tf span { font-family: var(--pixel); font-size: 10px; color: var(--dim); }

/* ---------- notifications dropdown (shelf + plaza) ---------- */
.panel.pz-notes { position: fixed; z-index: 58; top: 80px; bottom: auto; right: 16px; left: auto; width: min(400px, calc(100vw - 24px)); max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; --ox: 100%; transform-origin: 100% 0; }
.pz-nl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pz-nl button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 10px; border: 0; border-radius: 10px; cursor: pointer; text-align: left; color: #d9d0f7; background: rgba(14, 8, 26, .5); font-family: var(--mono); font-size: 13px; line-height: 1.4; }
.pz-nl button.new { color: #fff; background: rgba(42, 22, 80, .6); box-shadow: inset 2px 0 0 #e879f9; }
.pz-nl button:hover, .pz-nl button:focus-visible { box-shadow: inset 0 0 0 1px rgba(221, 214, 254, .5); outline: none; }
.pz-nl i { font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #c4b5fd; background: #0b0616; box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .3); }
.pz-nl .k-beaten i { color: #fb7185; } .pz-nl .k-record i, .pz-nl .k-news i { color: #f5c542; } .pz-nl .k-fixed i { color: #86efac; } .pz-nl .k-react i { color: #fde68a; }
.pz-nl span { overflow-wrap: anywhere; }
.pz-nl time { font-family: var(--pixel); font-size: 9px; color: var(--dim); }
.pz-nl .pz-calm { margin: 10px 0; }

/* ---------- the bar pill ---------- */
.pz-pill {
  position: absolute; left: calc(var(--rx, 34px) + var(--rb, 76px) * 1.56 + 30px); top: calc(var(--flatY, 50px) + 6px);
  height: clamp(28px, calc(var(--barH, 120px) - var(--flatY, 50px) - 34px), 36px);
  display: flex; align-items: center; gap: 9px; padding: 0 16px 0 4px; border: 0; border-radius: 30px; cursor: pointer;
  font-family: var(--display); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #e9e2ff;
  background: linear-gradient(180deg, #3b2a6e 0%, #1a0f30 45%, #07030f 52%, #1d1236 80%, #4b3590 100%);
  box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(196, 181, 253, .4), 0 6px 16px -6px #000, 0 0 20px -8px rgba(139, 92, 246, .9);
  transition: transform .16s cubic-bezier(.2, 1.6, .4, 1), box-shadow .2s;
}
.pz-pill:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(221, 214, 254, .85), 0 6px 16px -6px #000, 0 0 26px -4px rgba(167, 139, 250, .95); }
.pz-pill:active { transform: scale(.96); }
.pz-pill:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; }
.pz-pr { display: grid; place-items: center; height: calc(100% - 6px); aspect-ratio: 1; border-radius: 50%; color: #c4b5fd; background: radial-gradient(circle at 50% 35%, #2b1a4f, #0b0616 70%); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .4); }
.pz-pr .pz-i { width: 70%; height: 70%; filter: drop-shadow(0 0 4px rgba(139, 92, 246, .9)); }
.pz-pill:hover .pz-pr { color: #fff; }
.pz-pc { font-style: normal; font-family: var(--pixel); font-size: 10px; letter-spacing: .06em; color: #86efac; text-shadow: 0 0 8px rgba(134, 239, 172, .7); }
.pz-pc[hidden] { display: none; }
.pz-pc::before { content: "● "; font-size: 8px; vertical-align: 1px; }

/* ---------- the case tab: preview | plaza on the attract screen ---------- */
.pz-ct { position: absolute; z-index: 4; top: 10px; right: 12px; display: flex; gap: 2px; padding: 3px; border-radius: 16px; background: rgba(5, 2, 10, .6); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .3); }
.pz-ct[hidden] { display: none; }
.pz-ct button { border: 0; cursor: pointer; padding: 6px 12px; border-radius: 13px; font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(233, 226, 255, .75); background: none; }
.pz-ct button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #8b5cf6, #4c1d95); box-shadow: 0 0 10px -2px rgba(139, 92, 246, .9); }
.pz-cp {
  position: absolute; inset: 0; z-index: 3; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; border-radius: 12px;
  padding: 48px clamp(12px, 2vw, 24px) 16px;
  background: repeating-linear-gradient(0deg, rgba(196, 181, 253, .04) 0 1px, transparent 1px 3px), rgba(7, 3, 16, .93);
}
.pz-cp[hidden] { display: none; }
.pz-cp .pz-nums { margin-top: 0; }
.pz-cp .pz-nums b { font-size: clamp(18px, 1.5vw, 24px); }
.pz-cp .pz-sub { margin: 14px 0 8px; }
.pz-cp .pz-top li { padding: 6px 12px 6px 6px; font-size: 13px; }
.pz-cp .pz-rk { width: 30px; height: 26px; font-size: 12px; }
.pz-cp .pz-faces button { width: 54px; } .pz-cp .pz-faces img { width: 42px; height: 42px; }
.pz-cgo { display: block; margin: 16px auto 0; border: 0; cursor: pointer; padding: 9px 18px; border-radius: 20px; font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #8b5cf6, #4c1d95); box-shadow: 0 0 14px -4px rgba(139, 92, 246, .9); }
.screen.pz-ct-on .screen-tag { opacity: 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .pz-tabs button { padding: 0 12px 0 10px; font-size: 10px; letter-spacing: .1em; }
  .pz-me span { display: none; }
  .pz-me { padding: 0 4px; }
}
@media (max-width: 980px) {
  .pz-tabs button span { display: none; }
  .pz-tabs button { padding: 0 13px; }
  .pz-tabs button[aria-selected="true"] span { display: inline; }
}
@media (max-width: 700px) {
  .pz-head { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .pz-back { width: 46px; padding: 0; justify-content: center; }
  .pz-back span { display: none; }
  .pz-tr { margin-left: auto; }
  .pz-tabs {
    position: fixed; z-index: 11; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); margin: 0; justify-content: space-between; border-radius: 22px; padding: 4px;
  }
  .pz-tabs button, .pz-tabs button[aria-selected="true"] { flex: 1; min-width: 0; height: 56px; padding: 0 2px; flex-direction: column; justify-content: center; gap: 4px; border-radius: 18px; font-family: var(--pixel); font-size: 9px; letter-spacing: .06em; }
  .pz-tabs button span, .pz-tabs button[aria-selected="true"] span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pz-tabs .pz-i { width: 20px; height: 20px; }
  .pz-tabs .pz-tl { display: none; }
  .pz-tabs .pz-ts { display: inline; }
  .pz-panel { left: 0; right: 0; width: auto; min-width: 0; top: 34vh; bottom: calc(max(8px, env(safe-area-inset-bottom)) + 70px); border-radius: 16px 16px 12px 12px; transform: translateY(40px); }
  .pz-panel.on { transform: none; }
  .pz-panel[data-view="builder"] { top: 30vh; }
  .pz-coach { bottom: calc(max(8px, env(safe-area-inset-bottom)) + 74px); font-size: 12px; padding: 9px 14px; gap: 10px; }
  .pz-list { bottom: calc(max(8px, env(safe-area-inset-bottom)) + 120px); }
  .pz-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pz-tb { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 4px; }
  .pz-tb canvas { grid-row: auto; }
  .pz-tb b { max-width: 100%; font-size: 11px; }
  .pz-tf { justify-content: center; }
  .pz-tf img { width: 28px; height: 28px; }
  .pz-big { width: 88px; height: 88px; }
  .pz-pb { padding: 14px 14px 20px; }
  .pz-acts.sticky { margin: 18px -14px -20px; padding: 12px 14px 14px; bottom: -20px; }
  .pz-bub { max-width: 190px; font-size: 12px; }
  .panel.pz-notes { top: 68px; }
}
@media (max-width: 600px) {
  .pz-pill { left: calc(var(--rx, 14px) + var(--rb, 58px) + 6px); top: calc(var(--flatY, 34px) + 4px); width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .pz-pill .pz-pl { display: none; }
  .pz-pr { height: 38px; }
  .pz-pc { position: absolute; right: -6px; top: -8px; padding: 1px 5px; border-radius: 8px; background: #05020a; }
  .pz-pc::before { content: ""; }
  .pz-ct { top: 8px; right: 8px; }
  .pz-ct button { padding: 5px 9px; }
  .pz-cp { padding: 40px 10px 12px; }
  .pz-cp .pz-nums { gap: 5px; } .pz-cp .pz-nums > div { padding: 8px 4px; }
  .pz-stats > div { padding: 10px; }
  .pz-nums small { font-size: 8px; }
}
@media (max-height: 560px) and (min-width: 701px) {
  .pz-panel { top: 64px; bottom: 10px; }
  .pz-coach { bottom: 10px; }
}
/* the shelf's flat view and reduced motion: still, instant */
body.reduce .pz-head, body.reduce .pz-panel, body.reduce .pz-flash, body.reduce .pz-coach { transition-duration: .01ms !important; }

/* ---------- the plaza button: top-centre, above the shelf ---------- */
.pz-pill.pz-top {
  position: fixed; left: 50%; top: clamp(14px, 2.6vh, 28px); z-index: 26; transform: translateX(-50%);
  flex-direction: row; white-space: nowrap; width: auto;
  height: 46px; padding: 0 24px 0 5px; gap: 12px; font-size: 13px; letter-spacing: .26em; pointer-events: auto;
  box-shadow: 0 0 0 2px #05020a, 0 0 0 3px rgba(196, 181, 253, .7), 0 8px 22px -8px #000, 0 0 34px -6px rgba(139, 92, 246, 1);
  transition: transform .16s cubic-bezier(.2, 1.6, .4, 1), box-shadow .2s, opacity .3s ease;
}
.pz-pill.pz-top::after {
  content: ""; position: absolute; inset: -6px; border-radius: 34px; pointer-events: none;
  border: 1px solid rgba(196, 181, 253, .55); animation: pzTopPulse 2.6s ease-out infinite;
}
@keyframes pzTopPulse { 0% { opacity: .9; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.18); } }
.pz-pill.pz-top:hover { transform: translateX(-50%) translateY(-1px) scale(1.05); }
.pz-pill.pz-top:active { transform: translateX(-50%) scale(.96); }
.pz-pill.pz-top .pz-pr { height: 38px; }
body.is-plaza .pz-pill.pz-top, body.is-open .pz-pill.pz-top, body.is-leaving .pz-pill.pz-top, body.cab-on .pz-pill.pz-top,
body.zoro-on .pz-pill.pz-top, body.zoro-loading .pz-pill.pz-top { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pz-pill.pz-top::after { animation: none; opacity: 0; } }
@media (max-width: 600px) {
  .pz-pill.pz-top { left: 50%; top: 64px; width: auto; height: 40px; padding: 0 16px 0 4px; border-radius: 30px; font-size: 11px; }
  .pz-pill.pz-top .pz-pl { display: inline; }
  .pz-pill.pz-top .pz-pr { height: 32px; }
}
