.ph-card-resizer {
  position: relative;
}
.ph-card-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 8;
  width: 14px;
  border: 0;
  padding: 0;
  transform: translateX(-50%);
  cursor: col-resize;
  touch-action: none;
  background: transparent;
}

.ph-card-resize-handle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: min(72px, 34%);
  min-height: 34px;
  content: "";
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #98a2b3;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.82);
  opacity: 0.72;
  transition: width 120ms ease, background 120ms ease, opacity 120ms ease;
}

.ph-card-resize-handle:hover::before,
.ph-card-resize-handle:focus-visible::before,
.ph-card-resize-handle.is-active::before {
  width: 4px;
  background: var(--blue, #3370ff);
  opacity: 1;
}

.ph-card-resize-handle:focus-visible {
  outline: 2px solid var(--blue, #3370ff);
  outline-offset: -4px;
}

body.is-card-layout-resizing {
  cursor: col-resize;
  user-select: none;
}

body.is-card-layout-resizing iframe,
body.is-card-layout-resizing embed {
  pointer-events: none;
}

@media (pointer: coarse) {
  .ph-card-resize-handle {
    width: 18px;
  }
}
