/* ── Custom cursor (desktop fine pointer only) ── */
@media (hover: hover) and (pointer: fine) {
  html[data-profile-cursor-active="true"] body,
  html[data-profile-cursor-active="true"] body * {
    cursor: var(--profile-cursor-url), auto !important;
  }
}

/* ── Edit Profile cursor picker ── */
.cursor-editor__hint {
  margin: 0 0 12px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.cursor-editor__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cursor-editor__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text-secondary);
  font: inherit;
  cursor: pointer;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    transform var(--transition),
    color var(--theme-transition);
}

.cursor-editor__option:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
}

.cursor-editor__option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cursor-editor__option.is-selected {
  border-color: var(--accent-border);
  background: rgba(var(--accent-r), 0.1);
  box-shadow: 0 0 14px var(--accent-glow-soft);
  color: var(--text-primary);
}

.cursor-editor__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.cursor-editor__preview--default {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.cursor-editor__preview-img {
  display: block;
  max-width: 28px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.cursor-editor__label {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 480px) {
  .cursor-editor__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
