feat(play): hide NPC tokens from the player screen

A token can be hidden per session from the control menu. The GM still sees it, and its path keeps moving. Scene editor grid labels no longer call a removed helper.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-10-02 10:15:32 +08:00
parent 060bbd471a
commit f6c301a12b
10 changed files with 165 additions and 23 deletions
@@ -35,6 +35,23 @@
z-index: 10;
}
.hiddenFromPlayers {
opacity: 0.55;
}
.hiddenFromPlayers::after {
content: '';
position: absolute;
inset: -3px;
border-radius: 50%;
border: 2px dashed var(--text2);
pointer-events: none;
}
.concealedFromPlayers {
visibility: hidden;
}
/* Кольцо строго по центру круга токена (обёртка = sizePx × sizePx). */
.initiativeActive::before {
content: '';