:root {
  --bg: #0a0b0e;
  --card: #14161b;
  --ink: #f1f2f5;
  --soft: rgba(241, 242, 245, 0.56);
  --line: rgba(241, 242, 245, 0.1);
  --accent: #6ea8ff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: radial-gradient(80% 60% at 50% 100%, color-mix(in srgb, var(--accent) 13%, var(--bg)) 0%, var(--bg) 72%);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 10px 10px;
}

.ns { position: relative; width: min(316px, 100%); border-radius: 28px; background: linear-gradient(180deg, #1a1d23, var(--card)); box-shadow: 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 34px 60px -34px rgba(0, 0, 0, 0.95); overflow: hidden; }
.ns__head { position: relative; z-index: 1; padding: 16px 18px 0; text-align: center; }
.ns__head h2 { font-size: 15.500px; line-height: 20px; font-weight: 730; font-stretch: 102%; letter-spacing: -0.01em; }
.ns__head p { font-size: 12.500px; line-height: 17px; font-weight: 540; color: var(--soft); white-space: nowrap; }

.ns__field { position: relative; height: min(232px, 58vh); touch-action: none; }
.ns__arcs { position: absolute; left: 0; top: 0; width: 100%; height: 100%; fill: none; stroke: rgba(241, 242, 245, 0.07); stroke-width: 1; pointer-events: none; }
.ns__arcs circle:nth-child(1) { stroke-dasharray: 2 5; }

.ns__person { position: absolute; width: 84px; margin: -30px 0 0 -42px; display: grid; justify-items: center; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.ns__pull { position: relative; width: 52px; height: 52px; }
.ns__disc { position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(90% 90% at 30% 20%, rgba(255, 255, 255, 0.2), transparent 60%), #2a2e37; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 18px -10px rgba(0, 0, 0, 0.9); font-size: 15px; font-weight: 740; letter-spacing: 0.02em; }
.ns__person:focus-visible .ns__disc { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.ns__halo { position: absolute; left: -7px; top: -7px; width: 66px; height: 66px; border-radius: 50%; box-shadow: 0 0 0 1.500px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 22px color-mix(in srgb, var(--accent) 40%, transparent); opacity: 0; pointer-events: none; }
.ns__ring { position: absolute; left: -7px; top: -7px; width: 66px; height: 66px; fill: none; stroke: var(--accent); stroke-width: 2.500; stroke-linecap: round; pointer-events: none; opacity: 0; overflow: visible; }
.ns__ring circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ns__ring .ns__track { stroke: rgba(241, 242, 245, 0.12); stroke-dasharray: none; }
.ns__badge { position: absolute; right: -4px; bottom: -3px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2.500px var(--card); transform: scale(0); }
.ns__badge svg { width: 12px; height: 12px; fill: none; stroke: #0c1220; stroke-width: 2.200; stroke-linecap: round; stroke-linejoin: round; }
.ns__badge path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ns__name { margin-top: 7px; font-size: 12.500px; line-height: 16px; font-weight: 680; white-space: nowrap; }
.ns__sub { font-size: 11px; line-height: 14px; font-weight: 540; color: var(--soft); white-space: nowrap; }

.ns__file { position: absolute; left: 50%; top: 81%; width: 0; height: 0; }
.ns__slot { position: absolute; left: -76px; top: -26px; width: 152px; height: 52px; border-radius: 16px; border: 1px dashed rgba(241, 242, 245, 0.16); opacity: 0; pointer-events: none; }
.ns__tile { position: absolute; left: -76px; top: -26px; width: 152px; height: 52px; display: flex; align-items: center; gap: 9px; padding: 0 12px 0 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 22px -14px rgba(0, 0, 0, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; z-index: 3; }
.ns__tile.is-held { cursor: grabbing; }
.ns__glow { position: absolute; left: -10px; right: -10px; top: -8px; bottom: -14px; border-radius: 24px; background: radial-gradient(60% 70% at 50% 60%, color-mix(in srgb, var(--accent) 36%, transparent), transparent 75%); opacity: 0; z-index: -1; pointer-events: none; }
.ns__doc { flex: none; width: 24px; height: 30px; overflow: visible; }
.ns__sheet { fill: #f4f5f8; }
.ns__fold { fill: #c9ccd6; }
.ns__band { fill: var(--accent); }
.ns__meta { display: grid; min-width: 0; }
.ns__meta b { font-size: 12.500px; line-height: 16px; font-weight: 690; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns__meta i { font-style: normal; font-size: 11px; line-height: 14px; font-weight: 540; color: var(--soft); }

.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -5px; transform-origin: 20% 15%; pointer-events: none; opacity: 0; fill: #ffffff; stroke: #101216; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); z-index: 5; }
