/* V128 workspace / prototype retirement */
.context-depth-panel, .context-depth-workspace, .context-depth-controls, .layered-card-deck, .layer-stack-panel, .workspace-stack-panel, .context-layer-window, .v119-inspector-stack-badge, .v120-inspector-backplates, .v121-drag-commit-panel, .v121-fallback-marker-layer, .feature-activation-hub, .feature-hub-panel, .v112-retired-layer-panel, .v119-retired-layer-widget, .v120-retired-layer-ui { display: none !important; }
.drag-layer-source, .map-draggable-entity, [data-entity-id][data-entity-type], .card-list-item, .compact-card-list-item { cursor: grab; }
.drag-layer-source:active, .map-draggable-entity:active, .v113-dragging-source, .v116-dragging { cursor: grabbing !important; opacity: .68; }
.v113-drop-active, .v116-drop-target, .map-drop-surface.map-drop-active { outline: 2px solid color-mix(in srgb, var(--gold) 72%, transparent) !important; outline-offset: 3px !important; box-shadow: 0 0 22px rgba(250,204,21,.28) !important; }
.mode-player .v113-hidden-from-player, html[data-runtime-mode="player"] .v122-player-hidden, body[data-runtime-mode="player"] .v122-player-hidden { display: none !important; }
:root[data-runtime-mode="prep"] .edit-only, :root[data-runtime-mode="prep"] [data-edit-control="true"] { display: revert; }
:root:not([data-runtime-mode="prep"]) .edit-only, :root:not([data-runtime-mode="prep"]) [data-edit-control="true"] { display: none !important; }
.v122-visibility-dot, .v113-visibility-dot { width: 18px; height: 18px; min-width: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1.5px solid rgba(255,255,255,.45); background: transparent; padding: 0; line-height: 1; box-shadow: none; }
.v122-visibility-dot[data-visibility-state="discovered"], .v113-visibility-dot[data-visibility-state="discovered"] { background: rgba(180,185,194,.72); border-color: rgba(220,224,230,.9); }
.v122-visibility-dot[data-visibility-state="known"], .v113-visibility-dot[data-visibility-state="known"] { background: rgba(70,215,115,.86); border-color: rgba(115,255,155,.98); }

/* Wonderland intentional play-context projection */
body.alpha-dm-play::before,
body.alpha-user-play::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10020;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 6px 48px;
  box-sizing: border-box;
  font: 700 12px/1.2 system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(12px);
}
body.alpha-dm-play::before {
  content: "DM Play · Map + Inspector · DM-visible projection";
  color: #f6e8ff;
  background: color-mix(in srgb, #4d2470 88%, transparent);
  border-bottom: 1px solid #c99dff;
}
body.alpha-user-play::before {
  content: "User Play · Audience-safe map projection";
  color: #e9fff6;
  background: color-mix(in srgb, #123f35 90%, transparent);
  border-bottom: 1px solid #7ee2bb;
}
body.alpha-dm-play .app-shell,
body.alpha-user-play .app-shell { padding-top: 34px; }
body.alpha-dm-play [data-alpha-surface="inspector"] {
  outline: 1px solid color-mix(in srgb, #c99dff 75%, transparent);
  outline-offset: -1px;
}
body.alpha-user-play [data-alpha-surface="inspector"],
body.alpha-user-play [data-system-tool],
body.alpha-user-play #open-system { display: none !important; }
@media (max-width: 760px) {
  body.alpha-dm-play::before, body.alpha-user-play::before {
    min-height: 42px; padding-inline: 12px; text-align: center; letter-spacing: .07em;
  }
  body.alpha-dm-play .app-shell, body.alpha-user-play .app-shell { padding-top: 42px; }
}
