@font-face { font-family: "Plex"; font-weight: 100 700; src: url("../../core/fonts/ibm-plex-sans-cyrillic-wght.70800b98b5e7.woff2") format("woff2"); unicode-range: U+400-45F; }
@font-face { font-family: "Plex"; font-weight: 100 700; src: url("../../core/fonts/ibm-plex-sans-latin-wght.b2c9031d9fd6.woff2") format("woff2"); unicode-range: U+0-FF; }
* { box-sizing: border-box; }
body { margin: 0; color: #182532; background: #fff; font-family: "Plex", Arial, sans-serif; }
.pool-scene { padding: 16px; }
.pool-scene__status { margin: 0 0 10px; font-size: 13px; color: #56626f; }
.pool-scene.is-ready .pool-scene__status, .pool-scene.is-ready .pool-scene__fallback { display: none; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.stage { position: relative; aspect-ratio: 1920 / 1248; overflow: hidden; border-radius: 10px; background: #f3f7fa; }
.stage canvas, .pool-scene__fallback { display: block; width: 100%; height: 100%; }
.pool-scene__fallback { position: absolute; inset: 0; z-index: 2; }
.pin { position: absolute; left: 0; top: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 0; border-radius: 50%; background: #25384abf; color: white; font-size: 11px; font-weight: 600; text-decoration: none; display: grid; place-items: center; cursor: pointer; opacity: 0; z-index: 3; }
.pin.is-in { opacity: .9; }
.pin.is-hot { background: #014ce4; }
.tip { position: absolute; z-index: 4; max-width: 245px; padding: 9px 12px; border-radius: 8px; color: white; background: #182532; font-size: 13px; line-height: 1.4; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 24px)); }
.tip.is-on { opacity: 1; }
.tip b { display: block; }
.legend { margin: 0; padding: 0; list-style: none; }
.legend a { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 7px; border-radius: 6px; color: inherit; text-decoration: none; font-size: 13px; line-height: 1.3; }
.legend a:hover, .legend a.is-hot { background: #eef3fa; }
.n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #25384a; color: white; font-size: 11px; }
.c { color: #6b7785; font-size: 12px; }
.flow { font-size: 13px; line-height: 1.5; color: #56626f; }
.replay { border: 1px solid #dce3eb; border-radius: 7px; padding: 9px 12px; background: white; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
:focus-visible { outline: 2px solid #014ce4; outline-offset: 2px; }
@media (max-width: 850px) { .grid { grid-template-columns: 1fr; } .legend { display: grid; grid-template-columns: 1fr 1fr; } .pool-scene { padding: 10px; } }
