.pool-scheme { margin: 48px 0 64px; color: #182532; }
.pool-scheme__intro { margin: 10px 0 22px; max-width: 780px; color: #56626f; font-size: 15px; line-height: 1.5; }
.pool-scheme__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: center; }
.pool-scheme__stage { position: relative; aspect-ratio: 1920 / 1248; overflow: hidden; border-radius: 12px; background: #f3f7fa; }
.pool-scheme__stage > img, .pool-scheme__stage > video, .pool-scheme__stage > canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.pool-scheme__stage > video { opacity: 0; transition: opacity .3s; }
.pool-scheme__stage > video.is-on { opacity: 1; }
.pool-scheme__stage > canvas { pointer-events: none; }
.pool-scheme__legend { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pool-scheme__legend a { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 7px; border-radius: 7px; color: inherit; text-decoration: none; font-size: 13px; line-height: 1.3; }
.pool-scheme__legend a:hover, .pool-scheme__legend a:focus-visible, .pool-scheme__legend a.is-hot { background: #eef3fa; }
.pool-scheme__number { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #25384a; color: white; font-size: 11px; font-weight: 600; }
.pool-scheme__legend a.is-hot .pool-scheme__number { background: #014ce4; }
.pool-scheme__count { color: #6b7785; font-size: 12px; }
.pool-scheme__pin { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; text-decoration: none; z-index: 2; }
.pool-scheme__pin span { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #25384ac9; color: #fff; font-size: 10px; font-weight: 600; }
.pool-scheme__pin:hover span, .pool-scheme__pin.is-hot span { background: #014ce4; }
.pool-scheme__pin:focus-visible { outline: 2px solid #014ce4; border-radius: 50%; }
.pool-scheme__tip { position: absolute; z-index: 3; max-width: 245px; padding: 10px 12px; border-radius: 8px; background: #182532; color: white; font-size: 13px; line-height: 1.4; pointer-events: none; opacity: 0; transform: translate(-50%, -100%); }
.pool-scheme__tip strong { display: block; font-weight: 600; }
.pool-scheme__tip span { color: #d5dde6; }
.pool-scheme__tip.is-on { opacity: 1; }
.pool-scheme__open { position: absolute; right: 12px; bottom: 12px; z-index: 4; border-radius: 22px; padding: 11px 17px; background: #182532e8; color: white; text-decoration: none; font-size: 13px; font-weight: 600; }
.pool-scheme__open:hover { background: #014ce4; color: white; }
.pool-scheme__open:focus-visible { outline: 3px solid #014ce4; outline-offset: 3px; }
.pool-scheme__dialog { width: min(1380px, calc(100vw - 32px)); max-width: none; height: min(900px, calc(100dvh - 32px)); max-height: none; padding: 0; border: 0; border-radius: 12px; color: #182532; background: #fff; }
.pool-scheme__dialog::backdrop { background: #12212bd1; }
.pool-scheme__dialog-head { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; border-bottom: 1px solid #e3e8ee; }
.pool-scheme__dialog-head h2 { margin: 0; font-size: 19px; font-weight: 600; }
.pool-scheme__dialog-head button { padding: 10px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.pool-scheme__frame { height: calc(100% - 60px); }
.pool-scheme__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 1100px) { .pool-scheme__grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; } }
@media (max-width: 900px) {
  .pool-scheme { margin: 32px 0 44px; }
  .pool-scheme__grid { grid-template-columns: 1fr; }
  .pool-scheme__legend { grid-template-columns: 1fr 1fr; gap: 3px 8px; }
  .pool-scheme__legend a { grid-template-columns: 22px minmax(0, 1fr); min-height: 48px; font-size: 12px; gap: 6px; padding: 5px; }
  .pool-scheme__count { display: none; }
  .pool-scheme__pin { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .pool-scheme__dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); border-radius: 8px; }
  .pool-scheme__dialog-head { padding: 0 12px; }
  .pool-scheme__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pool-scheme__stage > video { transition: none; } }
